@superblocksteam/shared 0.9570.0 → 0.9572.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bindings/utils.d.ts.map +1 -1
- package/dist/bindings/utils.js.map +1 -1
- package/dist/bindings/utils.test.js.map +1 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js.map +1 -1
- package/dist/constants.test.js.map +1 -1
- package/dist/dbfs/hashing.d.ts.map +1 -1
- package/dist/dbfs/hashing.js +1 -1
- package/dist/dbfs/hashing.js.map +1 -1
- package/dist/errors/integration.d.ts.map +1 -1
- package/dist/errors/integration.js +1 -1
- package/dist/errors/integration.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/jwt/verifier.d.ts.map +1 -1
- package/dist/jwt/verifier.js.map +1 -1
- package/dist/jwt/verifier.test.js.map +1 -1
- package/dist/org-features/index.test.js.map +1 -1
- package/dist/pageMigrations/migrations/v4to5.test.js.map +1 -1
- package/dist/pageMigrations/migrations/v5to6.d.ts.map +1 -1
- package/dist/pageMigrations/migrations/v5to6.js.map +1 -1
- package/dist/pageMigrations/migrations/v5to6.test.js.map +1 -1
- package/dist/pageMigrations/migrations/v6to7/adjustModalCanvases.d.ts.map +1 -1
- package/dist/pageMigrations/migrations/v6to7/adjustModalCanvases.js.map +1 -1
- package/dist/pageMigrations/migrations/v6to7/adjustModalCanvases.test.js.map +1 -1
- package/dist/pageMigrations/migrations/v6to7/migrateToDimensions.d.ts.map +1 -1
- package/dist/pageMigrations/migrations/v6to7/migrateToDimensions.js.map +1 -1
- package/dist/pageMigrations/migrations/v6to7/migrateToDimensions.test.js.map +1 -1
- package/dist/pageMigrations/migrations/v6to7/migrateToSections.test.js.map +1 -1
- package/dist/pageMigrations/migrations/v6to7/v6to7.test.js.map +1 -1
- package/dist/pageMigrations/migrations/v7to8.d.ts.map +1 -1
- package/dist/pageMigrations/migrations/v7to8.js.map +1 -1
- package/dist/pageMigrations/migrations/v7to8.test.js.map +1 -1
- package/dist/pages/pageV8.d.ts.map +1 -1
- package/dist/pages/pageV8.js.map +1 -1
- package/dist/plugins/registry.d.ts.map +1 -1
- package/dist/plugins/registry.js.map +1 -1
- package/dist/plugins/templates/gsheets.d.ts.map +1 -1
- package/dist/plugins/templates/gsheets.js.map +1 -1
- package/dist/plugins/templates/kafka.d.ts.map +1 -1
- package/dist/plugins/templates/kafka.js.map +1 -1
- package/dist/plugins/templates/mariadb.js +1 -1
- package/dist/plugins/templates/mariadb.js.map +1 -1
- package/dist/plugins/templates/mssql.js +1 -1
- package/dist/plugins/templates/mssql.js.map +1 -1
- package/dist/plugins/templates/mysql.js +1 -1
- package/dist/plugins/templates/mysql.js.map +1 -1
- package/dist/plugins/templates/postgres.js +1 -1
- package/dist/plugins/templates/postgres.js.map +1 -1
- package/dist/plugins/templates/salesforce.js +1 -1
- package/dist/plugins/templates/salesforce.js.map +1 -1
- package/dist/plugins/templates/shared/auth.d.ts.map +1 -1
- package/dist/plugins/templates/shared/auth.js +18 -0
- package/dist/plugins/templates/shared/auth.js.map +1 -1
- package/dist/plugins/templates/shared/openapi.d.ts.map +1 -1
- package/dist/plugins/templates/shared/openapi.js.map +1 -1
- package/dist/plugins/templates/snowflake.js +1 -1
- package/dist/plugins/templates/snowflake.js.map +1 -1
- package/dist/refactoring/application.d.ts.map +1 -1
- package/dist/refactoring/application.js.map +1 -1
- package/dist/refactoring/refactor.d.ts.map +1 -1
- package/dist/refactoring/refactor.js.map +1 -1
- package/dist/refactoring/refactor.test.js.map +1 -1
- package/dist/refactoring/rename.d.ts.map +1 -1
- package/dist/refactoring/rename.js.map +1 -1
- package/dist/refactoring/updates.d.ts.map +1 -1
- package/dist/refactoring/updates.js.map +1 -1
- package/dist/signing/JSON/index.test.js +1 -1
- package/dist/signing/JSON/index.test.js.map +1 -1
- package/dist/signing/constants.d.ts.map +1 -1
- package/dist/signing/hashing.d.ts.map +1 -1
- package/dist/signing/hashing.js.map +1 -1
- package/dist/signing/hashing.test.js.map +1 -1
- package/dist/signing/index.d.ts +1 -1
- package/dist/signing/index.d.ts.map +1 -1
- package/dist/signing/index.js +2 -2
- package/dist/signing/index.js.map +1 -1
- package/dist/signing/index.test.js +1 -1
- package/dist/signing/index.test.js.map +1 -1
- package/dist/socket/protocol.d.ts +1 -1
- package/dist/socket/protocol.d.ts.map +1 -1
- package/dist/socket/socket.d.ts.map +1 -1
- package/dist/socket/socket.js.map +1 -1
- package/dist/socket/socketWithClientAuth.d.ts.map +1 -1
- package/dist/socket/socketWithClientAuth.js.map +1 -1
- package/dist/socket/tracedSocket.d.ts.map +1 -1
- package/dist/socket/tracedSocket.js.map +1 -1
- package/dist/tracing/errorSanitizer.test.js.map +1 -1
- package/dist/tracing/methodTracing.d.ts.map +1 -1
- package/dist/tracing/methodTracing.js.map +1 -1
- package/dist/types/api/action.d.ts.map +1 -1
- package/dist/types/api/action.js.map +1 -1
- package/dist/types/api/execution.d.ts.map +1 -1
- package/dist/types/api/execution.js.map +1 -1
- package/dist/types/api/index.d.ts.map +1 -1
- package/dist/types/api/index.js.map +1 -1
- package/dist/types/audit/apiRunDetails.d.ts +6 -0
- package/dist/types/audit/apiRunDetails.d.ts.map +1 -1
- package/dist/types/audit/apiRunDetails.js +5 -0
- package/dist/types/audit/apiRunDetails.js.map +1 -1
- package/dist/types/audit/audit.d.ts +12 -0
- package/dist/types/audit/audit.d.ts.map +1 -1
- package/dist/types/audit/audit.js +9 -2
- package/dist/types/audit/audit.js.map +1 -1
- package/dist/types/audit/index.d.ts +1 -0
- package/dist/types/audit/index.d.ts.map +1 -1
- package/dist/types/audit/index.js +1 -0
- package/dist/types/audit/index.js.map +1 -1
- package/dist/types/audit/ocsf.d.ts +101 -0
- package/dist/types/audit/ocsf.d.ts.map +1 -0
- package/dist/types/audit/ocsf.js +70 -0
- package/dist/types/audit/ocsf.js.map +1 -0
- package/dist/types/billing/billing.d.ts +3 -0
- package/dist/types/billing/billing.d.ts.map +1 -1
- package/dist/types/common/file.test.js.map +1 -1
- package/dist/types/datasource/auth.d.ts +2 -0
- package/dist/types/datasource/auth.d.ts.map +1 -1
- package/dist/types/datasource/auth.js +5 -0
- package/dist/types/datasource/auth.js.map +1 -1
- package/dist/types/datasource/auth.test.d.ts +2 -0
- package/dist/types/datasource/auth.test.d.ts.map +1 -0
- package/dist/types/datasource/auth.test.js +58 -0
- package/dist/types/datasource/auth.test.js.map +1 -0
- package/dist/types/datasource/index.d.ts.map +1 -1
- package/dist/types/datasource/index.js.map +1 -1
- package/dist/types/datasource/index.test.js.map +1 -1
- package/dist/types/datasource/metadata/index.d.ts.map +1 -1
- package/dist/types/datasource/metadata/index.js.map +1 -1
- package/dist/types/datasource/test.d.ts +1 -1
- package/dist/types/datasource/test.d.ts.map +1 -1
- package/dist/types/deployment/index.d.ts +1 -1
- package/dist/types/deployment/index.d.ts.map +1 -1
- package/dist/types/event/index.d.ts +1 -0
- package/dist/types/event/index.d.ts.map +1 -1
- package/dist/types/event/index.js +1 -0
- package/dist/types/event/index.js.map +1 -1
- package/dist/types/metadata/index.d.ts.map +1 -1
- package/dist/types/metadata/index.js.map +1 -1
- package/dist/types/organization/agent.d.ts.map +1 -1
- package/dist/types/organization/agent.js.map +1 -1
- package/dist/types/organization/agent.test.js.map +1 -1
- package/dist/types/page/Dimension.test.js.map +1 -1
- package/dist/types/page/event.d.ts.map +1 -1
- package/dist/types/page/event.js.map +1 -1
- package/dist/types/page/layout.d.ts +1 -1
- package/dist/types/page/layout.d.ts.map +1 -1
- package/dist/types/plugin/evaluation.d.ts.map +1 -1
- package/dist/types/plugin/evaluation.js.map +1 -1
- package/dist/types/response/GetAuditLogsEntitiesResponseBody.d.ts +1 -0
- package/dist/types/response/GetAuditLogsEntitiesResponseBody.d.ts.map +1 -1
- package/dist/types/response/GetAuditLogsResponseBody.d.ts +1 -0
- package/dist/types/response/GetAuditLogsResponseBody.d.ts.map +1 -1
- package/dist/utils/apiv2.d.ts.map +1 -1
- package/dist/utils/apiv2.js.map +1 -1
- package/dist/utils/apiv2.test.js +1 -1
- package/dist/utils/apiv2.test.js.map +1 -1
- package/dist/utils/attachment-upload.test.js.map +1 -1
- package/dist/utils/configuration.d.ts.map +1 -1
- package/dist/utils/configuration.js.map +1 -1
- package/dist/utils/configuration.test.js.map +1 -1
- package/dist/utils/env.test.js.map +1 -1
- package/dist/utils/environment.test.js.map +1 -1
- package/dist/utils/git-url.test.js.map +1 -1
- package/dist/utils/gitlab-workflow.d.ts +3 -0
- package/dist/utils/gitlab-workflow.d.ts.map +1 -0
- package/dist/utils/gitlab-workflow.js +35 -0
- package/dist/utils/gitlab-workflow.js.map +1 -0
- package/dist/utils/normalize.d.ts.map +1 -1
- package/dist/utils/normalize.js.map +1 -1
- package/dist/utils/page.d.ts.map +1 -1
- package/dist/utils/page.js.map +1 -1
- package/dist/utils/page.test.js.map +1 -1
- package/dist/utils/string.test.js.map +1 -1
- package/dist/utils/tracedEventEmitter.d.ts.map +1 -1
- package/dist/utils/tracedEventEmitter.js.map +1 -1
- package/dist/utils/tracedEventEmitter.test.js.map +1 -1
- package/dist/utils/truncate.test.js.map +1 -1
- package/dist/utils/url.d.ts.map +1 -1
- package/dist/utils/url.js.map +1 -1
- package/dist/utils/url.test.js.map +1 -1
- package/dist-esm/bindings/utils.d.ts.map +1 -1
- package/dist-esm/bindings/utils.js.map +1 -1
- package/dist-esm/bindings/utils.test.js.map +1 -1
- package/dist-esm/constants.d.ts.map +1 -1
- package/dist-esm/constants.js.map +1 -1
- package/dist-esm/constants.test.js.map +1 -1
- package/dist-esm/dbfs/hashing.d.ts.map +1 -1
- package/dist-esm/dbfs/hashing.js +1 -1
- package/dist-esm/dbfs/hashing.js.map +1 -1
- package/dist-esm/errors/integration.d.ts.map +1 -1
- package/dist-esm/errors/integration.js +1 -1
- package/dist-esm/errors/integration.js.map +1 -1
- package/dist-esm/index.d.ts +1 -0
- package/dist-esm/index.d.ts.map +1 -1
- package/dist-esm/index.js +1 -0
- package/dist-esm/index.js.map +1 -1
- package/dist-esm/jwt/verifier.d.ts.map +1 -1
- package/dist-esm/jwt/verifier.js.map +1 -1
- package/dist-esm/jwt/verifier.test.js.map +1 -1
- package/dist-esm/org-features/index.test.js.map +1 -1
- package/dist-esm/pageMigrations/migrations/v4to5.test.js.map +1 -1
- package/dist-esm/pageMigrations/migrations/v5to6.d.ts.map +1 -1
- package/dist-esm/pageMigrations/migrations/v5to6.js.map +1 -1
- package/dist-esm/pageMigrations/migrations/v5to6.test.js.map +1 -1
- package/dist-esm/pageMigrations/migrations/v6to7/adjustModalCanvases.d.ts.map +1 -1
- package/dist-esm/pageMigrations/migrations/v6to7/adjustModalCanvases.js.map +1 -1
- package/dist-esm/pageMigrations/migrations/v6to7/adjustModalCanvases.test.js.map +1 -1
- package/dist-esm/pageMigrations/migrations/v6to7/migrateToDimensions.d.ts.map +1 -1
- package/dist-esm/pageMigrations/migrations/v6to7/migrateToDimensions.js.map +1 -1
- package/dist-esm/pageMigrations/migrations/v6to7/migrateToDimensions.test.js.map +1 -1
- package/dist-esm/pageMigrations/migrations/v6to7/migrateToSections.test.js.map +1 -1
- package/dist-esm/pageMigrations/migrations/v6to7/v6to7.test.js.map +1 -1
- package/dist-esm/pageMigrations/migrations/v7to8.d.ts.map +1 -1
- package/dist-esm/pageMigrations/migrations/v7to8.js.map +1 -1
- package/dist-esm/pageMigrations/migrations/v7to8.test.js.map +1 -1
- package/dist-esm/pages/pageV8.d.ts.map +1 -1
- package/dist-esm/pages/pageV8.js.map +1 -1
- package/dist-esm/plugins/registry.d.ts.map +1 -1
- package/dist-esm/plugins/registry.js.map +1 -1
- package/dist-esm/plugins/templates/gsheets.d.ts.map +1 -1
- package/dist-esm/plugins/templates/gsheets.js.map +1 -1
- package/dist-esm/plugins/templates/kafka.d.ts.map +1 -1
- package/dist-esm/plugins/templates/kafka.js.map +1 -1
- package/dist-esm/plugins/templates/mariadb.js +1 -1
- package/dist-esm/plugins/templates/mariadb.js.map +1 -1
- package/dist-esm/plugins/templates/mssql.js +1 -1
- package/dist-esm/plugins/templates/mssql.js.map +1 -1
- package/dist-esm/plugins/templates/mysql.js +1 -1
- package/dist-esm/plugins/templates/mysql.js.map +1 -1
- package/dist-esm/plugins/templates/postgres.js +1 -1
- package/dist-esm/plugins/templates/postgres.js.map +1 -1
- package/dist-esm/plugins/templates/salesforce.js +1 -1
- package/dist-esm/plugins/templates/salesforce.js.map +1 -1
- package/dist-esm/plugins/templates/shared/auth.d.ts.map +1 -1
- package/dist-esm/plugins/templates/shared/auth.js +18 -0
- package/dist-esm/plugins/templates/shared/auth.js.map +1 -1
- package/dist-esm/plugins/templates/shared/openapi.d.ts.map +1 -1
- package/dist-esm/plugins/templates/shared/openapi.js.map +1 -1
- package/dist-esm/plugins/templates/snowflake.js +1 -1
- package/dist-esm/plugins/templates/snowflake.js.map +1 -1
- package/dist-esm/refactoring/application.d.ts.map +1 -1
- package/dist-esm/refactoring/application.js.map +1 -1
- package/dist-esm/refactoring/refactor.d.ts.map +1 -1
- package/dist-esm/refactoring/refactor.js.map +1 -1
- package/dist-esm/refactoring/refactor.test.js.map +1 -1
- package/dist-esm/refactoring/rename.d.ts.map +1 -1
- package/dist-esm/refactoring/rename.js.map +1 -1
- package/dist-esm/refactoring/updates.d.ts.map +1 -1
- package/dist-esm/refactoring/updates.js.map +1 -1
- package/dist-esm/signing/JSON/index.test.js +1 -1
- package/dist-esm/signing/JSON/index.test.js.map +1 -1
- package/dist-esm/signing/constants.d.ts.map +1 -1
- package/dist-esm/signing/hashing.d.ts.map +1 -1
- package/dist-esm/signing/hashing.js.map +1 -1
- package/dist-esm/signing/hashing.test.js.map +1 -1
- package/dist-esm/signing/index.d.ts +1 -1
- package/dist-esm/signing/index.d.ts.map +1 -1
- package/dist-esm/signing/index.js +2 -2
- package/dist-esm/signing/index.js.map +1 -1
- package/dist-esm/signing/index.test.js +1 -1
- package/dist-esm/signing/index.test.js.map +1 -1
- package/dist-esm/socket/protocol.d.ts +1 -1
- package/dist-esm/socket/protocol.d.ts.map +1 -1
- package/dist-esm/socket/socket.d.ts.map +1 -1
- package/dist-esm/socket/socket.js.map +1 -1
- package/dist-esm/socket/socketWithClientAuth.d.ts.map +1 -1
- package/dist-esm/socket/socketWithClientAuth.js.map +1 -1
- package/dist-esm/socket/tracedSocket.d.ts.map +1 -1
- package/dist-esm/socket/tracedSocket.js.map +1 -1
- package/dist-esm/tracing/errorSanitizer.test.js.map +1 -1
- package/dist-esm/tracing/methodTracing.d.ts.map +1 -1
- package/dist-esm/tracing/methodTracing.js.map +1 -1
- package/dist-esm/types/api/action.d.ts.map +1 -1
- package/dist-esm/types/api/action.js.map +1 -1
- package/dist-esm/types/api/execution.d.ts.map +1 -1
- package/dist-esm/types/api/execution.js.map +1 -1
- package/dist-esm/types/api/index.d.ts.map +1 -1
- package/dist-esm/types/api/index.js.map +1 -1
- package/dist-esm/types/audit/apiRunDetails.d.ts +6 -0
- package/dist-esm/types/audit/apiRunDetails.d.ts.map +1 -1
- package/dist-esm/types/audit/apiRunDetails.js +5 -0
- package/dist-esm/types/audit/apiRunDetails.js.map +1 -1
- package/dist-esm/types/audit/audit.d.ts +12 -0
- package/dist-esm/types/audit/audit.d.ts.map +1 -1
- package/dist-esm/types/audit/audit.js +9 -2
- package/dist-esm/types/audit/audit.js.map +1 -1
- package/dist-esm/types/audit/index.d.ts +1 -0
- package/dist-esm/types/audit/index.d.ts.map +1 -1
- package/dist-esm/types/audit/index.js +1 -0
- package/dist-esm/types/audit/index.js.map +1 -1
- package/dist-esm/types/audit/ocsf.d.ts +101 -0
- package/dist-esm/types/audit/ocsf.d.ts.map +1 -0
- package/dist-esm/types/audit/ocsf.js +65 -0
- package/dist-esm/types/audit/ocsf.js.map +1 -0
- package/dist-esm/types/billing/billing.d.ts +3 -0
- package/dist-esm/types/billing/billing.d.ts.map +1 -1
- package/dist-esm/types/common/file.test.js.map +1 -1
- package/dist-esm/types/datasource/auth.d.ts +2 -0
- package/dist-esm/types/datasource/auth.d.ts.map +1 -1
- package/dist-esm/types/datasource/auth.js +5 -0
- package/dist-esm/types/datasource/auth.js.map +1 -1
- package/dist-esm/types/datasource/auth.test.d.ts +2 -0
- package/dist-esm/types/datasource/auth.test.d.ts.map +1 -0
- package/dist-esm/types/datasource/auth.test.js +56 -0
- package/dist-esm/types/datasource/auth.test.js.map +1 -0
- package/dist-esm/types/datasource/index.d.ts.map +1 -1
- package/dist-esm/types/datasource/index.js.map +1 -1
- package/dist-esm/types/datasource/index.test.js.map +1 -1
- package/dist-esm/types/datasource/metadata/index.d.ts.map +1 -1
- package/dist-esm/types/datasource/metadata/index.js.map +1 -1
- package/dist-esm/types/datasource/test.d.ts +1 -1
- package/dist-esm/types/datasource/test.d.ts.map +1 -1
- package/dist-esm/types/deployment/index.d.ts +1 -1
- package/dist-esm/types/deployment/index.d.ts.map +1 -1
- package/dist-esm/types/event/index.d.ts +1 -0
- package/dist-esm/types/event/index.d.ts.map +1 -1
- package/dist-esm/types/event/index.js +1 -0
- package/dist-esm/types/event/index.js.map +1 -1
- package/dist-esm/types/metadata/index.d.ts.map +1 -1
- package/dist-esm/types/metadata/index.js.map +1 -1
- package/dist-esm/types/organization/agent.d.ts.map +1 -1
- package/dist-esm/types/organization/agent.js.map +1 -1
- package/dist-esm/types/organization/agent.test.js.map +1 -1
- package/dist-esm/types/page/Dimension.test.js.map +1 -1
- package/dist-esm/types/page/event.d.ts.map +1 -1
- package/dist-esm/types/page/event.js.map +1 -1
- package/dist-esm/types/page/layout.d.ts +1 -1
- package/dist-esm/types/page/layout.d.ts.map +1 -1
- package/dist-esm/types/plugin/evaluation.d.ts.map +1 -1
- package/dist-esm/types/plugin/evaluation.js.map +1 -1
- package/dist-esm/types/response/GetAuditLogsEntitiesResponseBody.d.ts +1 -0
- package/dist-esm/types/response/GetAuditLogsEntitiesResponseBody.d.ts.map +1 -1
- package/dist-esm/types/response/GetAuditLogsResponseBody.d.ts +1 -0
- package/dist-esm/types/response/GetAuditLogsResponseBody.d.ts.map +1 -1
- package/dist-esm/utils/apiv2.d.ts.map +1 -1
- package/dist-esm/utils/apiv2.js.map +1 -1
- package/dist-esm/utils/apiv2.test.js +1 -1
- package/dist-esm/utils/apiv2.test.js.map +1 -1
- package/dist-esm/utils/attachment-upload.test.js.map +1 -1
- package/dist-esm/utils/configuration.d.ts.map +1 -1
- package/dist-esm/utils/configuration.js.map +1 -1
- package/dist-esm/utils/configuration.test.js.map +1 -1
- package/dist-esm/utils/env.test.js.map +1 -1
- package/dist-esm/utils/environment.test.js.map +1 -1
- package/dist-esm/utils/git-url.test.js.map +1 -1
- package/dist-esm/utils/gitlab-workflow.d.ts +3 -0
- package/dist-esm/utils/gitlab-workflow.d.ts.map +1 -0
- package/dist-esm/utils/gitlab-workflow.js +31 -0
- package/dist-esm/utils/gitlab-workflow.js.map +1 -0
- package/dist-esm/utils/normalize.d.ts.map +1 -1
- package/dist-esm/utils/normalize.js.map +1 -1
- package/dist-esm/utils/page.d.ts.map +1 -1
- package/dist-esm/utils/page.js.map +1 -1
- package/dist-esm/utils/page.test.js.map +1 -1
- package/dist-esm/utils/string.test.js.map +1 -1
- package/dist-esm/utils/tracedEventEmitter.d.ts.map +1 -1
- package/dist-esm/utils/tracedEventEmitter.js.map +1 -1
- package/dist-esm/utils/tracedEventEmitter.test.js.map +1 -1
- package/dist-esm/utils/truncate.test.js.map +1 -1
- package/dist-esm/utils/url.d.ts.map +1 -1
- package/dist-esm/utils/url.js.map +1 -1
- package/dist-esm/utils/url.test.js.map +1 -1
- package/package.json +1 -1
- package/src/bindings/utils.test.ts +1 -0
- package/src/bindings/utils.ts +1 -0
- package/src/constants.test.ts +3 -1
- package/src/constants.ts +1 -0
- package/src/dbfs/hashing.ts +2 -1
- package/src/errors/integration.ts +2 -1
- package/src/index.ts +1 -0
- package/src/jwt/verifier.test.ts +2 -2
- package/src/jwt/verifier.ts +1 -0
- package/src/org-features/index.test.ts +1 -0
- package/src/pageMigrations/migrations/v4to5.test.ts +1 -0
- package/src/pageMigrations/migrations/v5to6.test.ts +1 -0
- package/src/pageMigrations/migrations/v5to6.ts +1 -0
- package/src/pageMigrations/migrations/v6to7/adjustModalCanvases.test.ts +1 -0
- package/src/pageMigrations/migrations/v6to7/adjustModalCanvases.ts +1 -0
- package/src/pageMigrations/migrations/v6to7/migrateToDimensions.test.ts +1 -0
- package/src/pageMigrations/migrations/v6to7/migrateToDimensions.ts +1 -0
- package/src/pageMigrations/migrations/v6to7/migrateToSections.test.ts +1 -0
- package/src/pageMigrations/migrations/v6to7/v6to7.test.ts +1 -0
- package/src/pageMigrations/migrations/v7to8.test.ts +1 -0
- package/src/pageMigrations/migrations/v7to8.ts +1 -0
- package/src/pages/pageV8.ts +1 -0
- package/src/plugins/registry.ts +0 -1
- package/src/plugins/templates/gsheets.ts +0 -1
- package/src/plugins/templates/kafka.ts +1 -0
- package/src/plugins/templates/mariadb.ts +1 -1
- package/src/plugins/templates/mssql.ts +1 -1
- package/src/plugins/templates/mysql.ts +1 -1
- package/src/plugins/templates/postgres.ts +1 -1
- package/src/plugins/templates/salesforce.ts +1 -1
- package/src/plugins/templates/shared/auth.ts +18 -0
- package/src/plugins/templates/shared/openapi.ts +1 -0
- package/src/plugins/templates/snowflake.ts +1 -1
- package/src/refactoring/application.ts +1 -0
- package/src/refactoring/refactor.test.ts +1 -0
- package/src/refactoring/refactor.ts +1 -0
- package/src/refactoring/rename.ts +1 -0
- package/src/refactoring/updates.ts +1 -0
- package/src/signing/JSON/index.test.ts +2 -1
- package/src/signing/constants.ts +1 -0
- package/src/signing/hashing.test.ts +1 -0
- package/src/signing/hashing.ts +1 -0
- package/src/signing/index.test.ts +3 -1
- package/src/signing/index.ts +5 -3
- package/src/socket/protocol.ts +13 -13
- package/src/socket/socket.ts +1 -0
- package/src/socket/socketWithClientAuth.ts +1 -0
- package/src/socket/tracedSocket.ts +1 -0
- package/src/tracing/errorSanitizer.test.ts +1 -0
- package/src/tracing/methodTracing.ts +1 -0
- package/src/types/api/action.ts +1 -0
- package/src/types/api/execution.ts +3 -1
- package/src/types/api/index.ts +1 -0
- package/src/types/audit/apiRunDetails.ts +7 -0
- package/src/types/audit/audit.ts +13 -2
- package/src/types/audit/index.ts +1 -0
- package/src/types/audit/ocsf.ts +121 -0
- package/src/types/billing/billing.ts +3 -0
- package/src/types/common/file.test.ts +1 -0
- package/src/types/datasource/auth.test.ts +64 -0
- package/src/types/datasource/auth.ts +6 -0
- package/src/types/datasource/index.test.ts +1 -0
- package/src/types/datasource/index.ts +1 -0
- package/src/types/datasource/metadata/index.ts +1 -0
- package/src/types/datasource/test.ts +1 -1
- package/src/types/deployment/index.ts +1 -1
- package/src/types/event/index.ts +1 -0
- package/src/types/metadata/index.ts +1 -0
- package/src/types/organization/agent.test.ts +1 -0
- package/src/types/organization/agent.ts +1 -0
- package/src/types/page/Dimension.test.ts +1 -0
- package/src/types/page/event.ts +1 -0
- package/src/types/page/layout.ts +1 -1
- package/src/types/plugin/evaluation.ts +1 -1
- package/src/types/response/GetAuditLogsEntitiesResponseBody.ts +1 -0
- package/src/types/response/GetAuditLogsResponseBody.ts +1 -0
- package/src/utils/apiv2.test.ts +3 -1
- package/src/utils/apiv2.ts +1 -0
- package/src/utils/attachment-upload.test.ts +1 -0
- package/src/utils/configuration.test.ts +1 -0
- package/src/utils/configuration.ts +1 -1
- package/src/utils/env.test.ts +1 -0
- package/src/utils/environment.test.ts +1 -0
- package/src/utils/git-url.test.ts +1 -0
- package/src/utils/gitlab-workflow.ts +33 -0
- package/src/utils/normalize.ts +1 -0
- package/src/utils/page.test.ts +1 -0
- package/src/utils/page.ts +1 -0
- package/src/utils/string.test.ts +1 -0
- package/src/utils/tracedEventEmitter.test.ts +1 -0
- package/src/utils/tracedEventEmitter.ts +2 -0
- package/src/utils/truncate.test.ts +1 -0
- package/src/utils/url.test.ts +1 -0
- package/src/utils/url.ts +1 -0
package/src/dbfs/hashing.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { BufferSource } from 'node:stream/web';
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
import { sha256Base64 } from '../signing/hashing.js';
|
|
4
|
+
import { sha256Object } from '../signing/index.js';
|
|
4
5
|
import unreachable from '../utils/unreachable.js';
|
|
5
6
|
import type { DirectoryEntry } from './types.js';
|
|
6
7
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
// Integration errors are external errors to Superblocks and thrown from API execution
|
|
2
|
-
import { Code as CommonErrorCode } from '@superblocksteam/types';
|
|
3
2
|
import { isEmpty } from 'lodash';
|
|
4
3
|
|
|
4
|
+
import { Code as CommonErrorCode } from '@superblocksteam/types';
|
|
5
|
+
|
|
5
6
|
interface IntegrationInternalError {
|
|
6
7
|
code?: number | string;
|
|
7
8
|
pluginName?: string;
|
package/src/index.ts
CHANGED
|
@@ -9,6 +9,7 @@ export * from './constants.js';
|
|
|
9
9
|
export * from './pageMigrations/index.js';
|
|
10
10
|
export * from './utils/appDSL.js';
|
|
11
11
|
export * from './utils/github-workflow.js';
|
|
12
|
+
export * from './utils/gitlab-workflow.js';
|
|
12
13
|
export * from './pages/index.js';
|
|
13
14
|
export * from './utils/page.js';
|
|
14
15
|
export * from './utils/response-dto.js';
|
package/src/jwt/verifier.test.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { generateKeyPairSync } from 'node:crypto';
|
|
2
|
-
import { SignJWT, importPKCS8 } from 'jose';
|
|
3
2
|
|
|
3
|
+
import { SignJWT, importPKCS8 } from 'jose';
|
|
4
4
|
import { type JWTPayload } from 'jose';
|
|
5
|
-
|
|
6
5
|
import { vi, describe, it, expect, beforeAll } from 'vitest';
|
|
6
|
+
|
|
7
7
|
import { JwtVerifier, JwtVerifierOptions, JwtKey } from './verifier.js';
|
|
8
8
|
type SigningMaterial = {
|
|
9
9
|
privateKeyPem: string;
|
package/src/jwt/verifier.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createLocalJWKSet, createRemoteJWKSet, decodeProtectedHeader, jwtVerify } from 'jose';
|
|
2
2
|
import type { JWTPayload, JWTVerifyOptions, RemoteJWKSetOptions } from 'jose';
|
|
3
3
|
import { isEmpty } from 'lodash';
|
|
4
|
+
|
|
4
5
|
import { UnauthorizedError } from '../errors/index.js';
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import { cloneDeep } from 'lodash';
|
|
7
7
|
import { describe, it, expect } from 'vitest';
|
|
8
|
+
|
|
8
9
|
import type { PageDSL4and5 } from '../../types/index.js';
|
|
9
10
|
import containerV4 from '../../utils/pageFixtures/v4/container.js';
|
|
10
11
|
import emptyV4 from '../../utils/pageFixtures/v4/empty.js';
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
import { cloneDeep } from 'lodash';
|
|
9
9
|
import { describe, it, expect } from 'vitest';
|
|
10
|
+
|
|
10
11
|
import type { PageDSL4and5, WidgetProps4and5 } from '../../types/index.js';
|
|
11
12
|
import containerV4 from '../../utils/pageFixtures/v4/container.js';
|
|
12
13
|
import codeTrigger from '../../utils/pageFixtures/v5/codeTrigger.js';
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
import { cloneDeep } from 'lodash';
|
|
9
9
|
import { describe, test, expect } from 'vitest';
|
|
10
|
+
|
|
10
11
|
import with2ModalsAppV6DSL from '../../../utils/pageFixtures/v6/with_2_modals.js';
|
|
11
12
|
import { adjustModalCanvases } from './adjustModalCanvases.js';
|
|
12
13
|
import { migrate6to7 } from './v6to7.js';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { cloneDeep } from 'lodash';
|
|
2
2
|
import { describe, test, expect } from 'vitest';
|
|
3
|
+
|
|
3
4
|
import type { WidgetProps6, WidgetProps7 } from '../../../types/index.js';
|
|
4
5
|
import containerV4 from '../../../utils/pageFixtures/v4/container.js';
|
|
5
6
|
import { migrate4to5 } from '../v4to5.js';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { cloneDeep } from 'lodash';
|
|
2
2
|
import { describe, it, expect } from 'vitest';
|
|
3
|
+
|
|
3
4
|
import type { PageDSL6 } from '../../../index.js';
|
|
4
5
|
import initialAppV6DSL from '../../../utils/pageFixtures/v6/initial_app.js';
|
|
5
6
|
import withNestedModal from '../../../utils/pageFixtures/v6/nested_modal.js';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { cloneDeep, get, omit } from 'lodash';
|
|
2
2
|
import { describe, it, expect } from 'vitest';
|
|
3
|
+
|
|
3
4
|
import type { PageDSL7, WidgetProps7 } from '../../types/index.js';
|
|
4
5
|
import canvases from '../../utils/pageFixtures/v7/canvases.js';
|
|
5
6
|
import gridsAndForms from '../../utils/pageFixtures/v7/grids_and_forms.js';
|
package/src/pages/pageV8.ts
CHANGED
package/src/plugins/registry.ts
CHANGED
|
@@ -8,7 +8,6 @@ import {
|
|
|
8
8
|
PluginResponseType,
|
|
9
9
|
PluginType
|
|
10
10
|
} from '../../types/index.js';
|
|
11
|
-
|
|
12
11
|
import { SERVICE_ACCOUNT_GHOST_TEXT, PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants.js';
|
|
13
12
|
import { authSections } from './shared/auth.js';
|
|
14
13
|
import { markAsDeprecated, sortByDisplayName } from './utils.js';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { KafkaV1 as Kafka } from '@superblocksteam/types';
|
|
2
|
+
|
|
2
3
|
import { EditorLanguage, FormComponentType, InputDataType, Plugin, PluginResponseType, PluginType } from '../../types/index.js';
|
|
3
4
|
import { PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants.js';
|
|
4
5
|
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
PluginType
|
|
10
10
|
} from '../../types/index.js';
|
|
11
11
|
import { PARAMETERIZED_SQL_DESCRIPTION, PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants.js';
|
|
12
|
-
import { SqlOperations } from './shared/index.js';
|
|
13
12
|
import { CONNECTION_METHODS_AND_DISPLAY_NAMES, makeDropdownItem } from './shared/db.js';
|
|
13
|
+
import { SqlOperations } from './shared/index.js';
|
|
14
14
|
|
|
15
15
|
const MariaDBPluginVersions = {
|
|
16
16
|
V1: '0.0.1',
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
PluginType
|
|
10
10
|
} from '../../types/index.js';
|
|
11
11
|
import { PARAMETERIZED_SQL_DESCRIPTION, PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants.js';
|
|
12
|
-
import { SqlOperations } from './shared/index.js';
|
|
13
12
|
import { CONNECTION_METHODS_AND_DISPLAY_NAMES, makeDropdownItem } from './shared/db.js';
|
|
13
|
+
import { SqlOperations } from './shared/index.js';
|
|
14
14
|
|
|
15
15
|
const MicrosoftSQLPluginVersions = {
|
|
16
16
|
V1: '0.0.1',
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
PluginType
|
|
10
10
|
} from '../../types/index.js';
|
|
11
11
|
import { PARAMETERIZED_SQL_DESCRIPTION, PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants.js';
|
|
12
|
-
import { SqlOperations, sshTunnelSections } from './shared/index.js';
|
|
13
12
|
import { CONNECTION_METHODS_AND_DISPLAY_NAMES, makeDropdownItem } from './shared/db.js';
|
|
13
|
+
import { SqlOperations, sshTunnelSections } from './shared/index.js';
|
|
14
14
|
|
|
15
15
|
const MySQLPluginVersions = {
|
|
16
16
|
V1: '0.0.1',
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
PluginType
|
|
10
10
|
} from '../../types/index.js';
|
|
11
11
|
import { PARAMETERIZED_SQL_DESCRIPTION, PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants.js';
|
|
12
|
-
import { SqlOperations, sshTunnelSections } from './shared/index.js';
|
|
13
12
|
import { CONNECTION_METHODS_AND_DISPLAY_NAMES, makeDropdownItem } from './shared/db.js';
|
|
13
|
+
import { SqlOperations, sshTunnelSections } from './shared/index.js';
|
|
14
14
|
|
|
15
15
|
const PostgresPluginVersions = {
|
|
16
16
|
V1: '0.0.1',
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
PluginResponseType,
|
|
10
10
|
PluginType
|
|
11
11
|
} from '../../types/index.js';
|
|
12
|
+
import { PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants.js';
|
|
12
13
|
import {
|
|
13
14
|
BASE_CLIENT_ID,
|
|
14
15
|
BASE_CLIENT_SECRET,
|
|
@@ -18,7 +19,6 @@ import {
|
|
|
18
19
|
BASE_SUBJECT_TOKEN_TYPE,
|
|
19
20
|
BASE_TOKEN_URL
|
|
20
21
|
} from './shared/index.js';
|
|
21
|
-
import { PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants.js';
|
|
22
22
|
import { authSections } from './shared/index.js';
|
|
23
23
|
|
|
24
24
|
export const SalesforcePluginVersions = {
|
|
@@ -954,6 +954,19 @@ export const authSections = ({
|
|
|
954
954
|
]
|
|
955
955
|
}
|
|
956
956
|
}
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
label: '',
|
|
960
|
+
messageTemplate: `Your identity provider token from SSO login will be available as **\`{{ oauth.token }}\`**. Add it to a header or parameter.
|
|
961
|
+
This method requires an interactive session — it cannot be used in Workflows or Scheduled Jobs.`,
|
|
962
|
+
name: 'IdpTokenPassthroughAlert',
|
|
963
|
+
startVersion,
|
|
964
|
+
componentType: FormComponentType.ALERT,
|
|
965
|
+
display: {
|
|
966
|
+
show: {
|
|
967
|
+
authType: [IntegrationAuthType.OAUTH2_IDP_TOKEN_PASSTHROUGH]
|
|
968
|
+
}
|
|
969
|
+
}
|
|
957
970
|
}
|
|
958
971
|
],
|
|
959
972
|
fieldNamesToHide
|
|
@@ -1527,6 +1540,11 @@ function authTypeOptions({
|
|
|
1527
1540
|
value: IntegrationAuthType.OAUTH2_TOKEN_EXCHANGE,
|
|
1528
1541
|
key: IntegrationAuthType.OAUTH2_TOKEN_EXCHANGE
|
|
1529
1542
|
});
|
|
1543
|
+
options.push({
|
|
1544
|
+
displayName: getDisplayName(IntegrationAuthType.OAUTH2_IDP_TOKEN_PASSTHROUGH),
|
|
1545
|
+
value: IntegrationAuthType.OAUTH2_IDP_TOKEN_PASSTHROUGH,
|
|
1546
|
+
key: IntegrationAuthType.OAUTH2_IDP_TOKEN_PASSTHROUGH
|
|
1547
|
+
});
|
|
1530
1548
|
}
|
|
1531
1549
|
|
|
1532
1550
|
if (enabledMethods.oauth2BringYourOwn) {
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
IntegrationAuthType
|
|
10
10
|
} from '../../types/index.js';
|
|
11
11
|
import { PARAMETERIZED_SQL_DESCRIPTION, SQL_INITIAL_TEXT, PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants.js';
|
|
12
|
+
import { makeDropdownItem } from './shared/db.js';
|
|
12
13
|
import {
|
|
13
14
|
BASE_SUBJECT_TOKEN_SOURCE,
|
|
14
15
|
BASE_TOKEN_URL,
|
|
@@ -18,7 +19,6 @@ import {
|
|
|
18
19
|
BASE_SCOPE,
|
|
19
20
|
BASE_SUBJECT_TOKEN_STATIC_TOKEN
|
|
20
21
|
} from './shared/index.js';
|
|
21
|
-
import { makeDropdownItem } from './shared/db.js';
|
|
22
22
|
|
|
23
23
|
const SnowflakePluginVersions = {
|
|
24
24
|
V1: '0.0.1',
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { tokenize } from 'esprima';
|
|
2
2
|
import { describe, it, expect } from 'vitest';
|
|
3
|
+
|
|
3
4
|
import { EvaluationPair, extractJsEvaluationPairsWithTokenizer, LanguagePluginID } from '../types/index.js';
|
|
4
5
|
import { refactorNameInCode, refactorNameInString, refactorNameInValue, refactorNameInStep } from './refactor.js';
|
|
5
6
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { isArray, isEqual, isObject, isString } from 'lodash';
|
|
2
|
+
|
|
2
3
|
import { StringSegment, getDynamicStringSegments, isExactBinding, joinStringWithBindings } from '../bindings/index.js';
|
|
3
4
|
import { LanguagePluginID } from '../types/plugin/language.js';
|
|
4
5
|
import { Extractor } from './types.js';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { isEqual } from 'lodash';
|
|
2
2
|
import { v4 as uuidv4 } from 'uuid';
|
|
3
|
+
|
|
3
4
|
import { isValidMultiStepDef, isValidStepDef, TriggerStepType, ValidStepDef } from '../types/page/event.js';
|
|
4
5
|
import { refactorNameInCode, refactorNameInValue, ScopedDataTree } from './refactor.js';
|
|
5
6
|
import { Extractor } from './types.js';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { get, isEqual, isArray } from 'lodash';
|
|
2
|
+
|
|
2
3
|
import { PageDSL, isValidStepDef, ValidMultiStepDef, StepDef } from '../types/index.js';
|
|
3
4
|
import { FlattenedWidgetProps } from '../utils/normalize.js';
|
|
4
5
|
import { refactorNameInString, refactorNameInValue, ScopedDataTree } from './refactor.js';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { describe, test, expect } from 'vitest';
|
|
2
|
+
|
|
3
|
+
import { stableJSONStringify, testStringOut, testStringSrc } from '.';
|
|
2
4
|
import { stableJSONStringify_fast } from './fast.js';
|
|
3
5
|
import { stableJSONStringify_portable } from './portable.js';
|
|
4
|
-
import { stableJSONStringify, testStringOut, testStringSrc } from '.';
|
|
5
6
|
|
|
6
7
|
// an object with keys that are intentionally out of order
|
|
7
8
|
const obj1 = {
|
package/src/signing/constants.ts
CHANGED
package/src/signing/hashing.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { UtilsV1 as UtilsV1Pb } from '@superblocksteam/types';
|
|
2
1
|
import { describe, it, expect } from 'vitest';
|
|
2
|
+
|
|
3
|
+
import { UtilsV1 as UtilsV1Pb } from '@superblocksteam/types';
|
|
4
|
+
|
|
3
5
|
import { AnyPageDSL, ApplicationConfiguration, ApplicationSettings } from '../types/index.js';
|
|
4
6
|
import {
|
|
5
7
|
ApplicationSignatureTreeV1,
|
package/src/signing/index.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { UtilsV1 as UtilsV1Pb } from '@superblocksteam/types';
|
|
2
1
|
import { isEqual } from 'lodash';
|
|
3
|
-
|
|
2
|
+
|
|
3
|
+
import { UtilsV1 as UtilsV1Pb } from '@superblocksteam/types';
|
|
4
|
+
|
|
4
5
|
import { ApplicationConfiguration, ApplicationSettings, IApplicationV2Dto } from '../types/application/index.js';
|
|
6
|
+
import { AnyPageDSL } from '../types/index.js';
|
|
5
7
|
import unreachable from '../utils/unreachable.js';
|
|
6
|
-
import { stableJSONStringify } from './JSON/index.js';
|
|
7
8
|
import {
|
|
8
9
|
ApplicationSettingsHashes,
|
|
9
10
|
ApplicationSignatureTree,
|
|
@@ -12,6 +13,7 @@ import {
|
|
|
12
13
|
ApplicationSignatureTreeV2
|
|
13
14
|
} from './constants.js';
|
|
14
15
|
import { sha256Base64 } from './hashing.js';
|
|
16
|
+
import { stableJSONStringify } from './JSON/index.js';
|
|
15
17
|
import { getEnumProtoName } from './proto.js';
|
|
16
18
|
|
|
17
19
|
export * from './constants.js';
|
package/src/socket/protocol.ts
CHANGED
|
@@ -2,19 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import { DirectoryEntry, PutManyRequestPayload, PutManyResponsePayload } from '../dbfs/types.js';
|
|
4
4
|
import { ApiToSign, ApiToVerify, AppToSign, AppToVerify, ApplicationSignatureTreeSigned, Signature } from '../signing/constants.js';
|
|
5
|
-
import {
|
|
6
|
-
AiChatMessageDto,
|
|
7
|
-
AiChatMessagePayload,
|
|
8
|
-
AiPromptCostRequest,
|
|
9
|
-
AiPromptCostResponse,
|
|
10
|
-
AiWorkflowEvent,
|
|
11
|
-
AiResolveAttachmentLeasesRequest,
|
|
12
|
-
AiResolveAttachmentLeasesResponse,
|
|
13
|
-
FactCreate,
|
|
14
|
-
FactDto,
|
|
15
|
-
FactListQuery,
|
|
16
|
-
ListFactsResponse
|
|
17
|
-
} from '../types/index.js';
|
|
18
5
|
import {
|
|
19
6
|
ApplicationConfiguration,
|
|
20
7
|
ApplicationPageClonePayload,
|
|
@@ -38,6 +25,19 @@ import {
|
|
|
38
25
|
LockInfo,
|
|
39
26
|
DegradedMode
|
|
40
27
|
} from '../types';
|
|
28
|
+
import {
|
|
29
|
+
AiChatMessageDto,
|
|
30
|
+
AiChatMessagePayload,
|
|
31
|
+
AiPromptCostRequest,
|
|
32
|
+
AiPromptCostResponse,
|
|
33
|
+
AiWorkflowEvent,
|
|
34
|
+
AiResolveAttachmentLeasesRequest,
|
|
35
|
+
AiResolveAttachmentLeasesResponse,
|
|
36
|
+
FactCreate,
|
|
37
|
+
FactDto,
|
|
38
|
+
FactListQuery,
|
|
39
|
+
ListFactsResponse
|
|
40
|
+
} from '../types/index.js';
|
|
41
41
|
import { MethodSchema } from './types.js';
|
|
42
42
|
|
|
43
43
|
export const serverWsPath = 'v1/rpc-ws';
|
package/src/socket/socket.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Tracer } from '@opentelemetry/api';
|
|
2
2
|
import WebSocket from 'isomorphic-ws';
|
|
3
|
+
|
|
3
4
|
import { createISocketClient } from './socket.js';
|
|
4
5
|
import { TracedSocket } from './tracedSocket.js';
|
|
5
6
|
import { GenericMiddleware, ISocketClient, MethodHandlers, RequestContextBase, SocketTimeouts } from './types.js';
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
} from '@opentelemetry/api';
|
|
13
13
|
import { SEMATTRS_MESSAGING_DESTINATION_KIND, SEMATTRS_MESSAGING_SYSTEM } from '@opentelemetry/semantic-conventions';
|
|
14
14
|
import WebSocket from 'isomorphic-ws';
|
|
15
|
+
|
|
15
16
|
import {
|
|
16
17
|
OBS_SOCKET_STATUS_CODE,
|
|
17
18
|
OBS_TAG_API_ID,
|
package/src/types/api/action.ts
CHANGED
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
SalesforcePluginV1 as Salesforce,
|
|
12
12
|
SmtpPluginV1 as Smtp
|
|
13
13
|
} from '@superblocksteam/types';
|
|
14
|
+
|
|
14
15
|
import { GoogleSheetsActionType, GoogleSheetsDestinationType, GoogleSheetsFormatType } from '../../plugins/index.js';
|
|
15
16
|
import { Property } from '../common/property.js';
|
|
16
17
|
import { IntegrationAuthType } from '../datasource/index.js';
|
package/src/types/api/index.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Api as ApiPb, Trigger_Job, Trigger_Workflow } from '@superblocksteam/types';
|
|
2
2
|
import { Metadata, UserType as ProtoUserType } from '@superblocksteam/types';
|
|
3
|
+
|
|
3
4
|
import { Param } from '../common/param.js';
|
|
4
5
|
import { DatasourceEnvironments } from '../datasource/index.js';
|
|
5
6
|
import { IntegrationDto } from '../integration/index.js';
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated Legacy audit run details. Use OCSFAuditEvent instead.
|
|
3
|
+
*/
|
|
4
|
+
|
|
1
5
|
import { ApiLocationContext } from '../api/index.js';
|
|
2
6
|
import { AuditLogDetails } from './audit.js';
|
|
3
7
|
|
|
8
|
+
/** @deprecated Use OCSFAuditEvent instead. */
|
|
4
9
|
interface ApiRunDetails extends AuditLogDetails {
|
|
5
10
|
target: string;
|
|
6
11
|
locationContext?: ApiLocationContext;
|
|
@@ -9,11 +14,13 @@ interface ApiRunDetails extends AuditLogDetails {
|
|
|
9
14
|
error?: string;
|
|
10
15
|
}
|
|
11
16
|
|
|
17
|
+
/** @deprecated Use OCSFStatusId instead. */
|
|
12
18
|
export enum ApiRunStatus {
|
|
13
19
|
SUCCESS,
|
|
14
20
|
FAIL
|
|
15
21
|
}
|
|
16
22
|
|
|
23
|
+
/** @deprecated Use OCSFAuditEvent type checking instead. */
|
|
17
24
|
export function isApiRunDetails(details: AuditLogDetails | undefined): details is ApiRunDetails {
|
|
18
25
|
if (!details) {
|
|
19
26
|
return false;
|
package/src/types/audit/audit.ts
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated Legacy audit log types. Use OCSF types from './ocsf.js' and
|
|
3
|
+
* the audit_event table instead. These will be removed once the v2 audit
|
|
4
|
+
* system fully replaces the legacy audit_log table.
|
|
5
|
+
*/
|
|
6
|
+
|
|
1
7
|
import { UserType } from '../../index.js';
|
|
2
8
|
import { ApiLocationContext } from '../api/index.js';
|
|
3
9
|
import { ApiResourceTiming } from '../common/timing.js';
|
|
4
10
|
import { ApiRunStatus } from './apiRunDetails.js';
|
|
5
11
|
|
|
12
|
+
/** @deprecated Use OCSF resource types instead. */
|
|
6
13
|
export enum AuditLogEntityType {
|
|
7
14
|
APPLICATION,
|
|
8
15
|
WORKFLOW,
|
|
@@ -34,8 +41,10 @@ type NonApplicationAuditLogEntity = BaseAuditLogEntity & {
|
|
|
34
41
|
type: Exclude<AuditLogEntityType, AuditLogEntityType.APPLICATION | AuditLogEntityType.APPLICATION_API>;
|
|
35
42
|
};
|
|
36
43
|
|
|
44
|
+
/** @deprecated Use OCSF resource types instead. */
|
|
37
45
|
export type AuditLogEntity = ApplicationAuditLogEntity | ApplicationApiAuditLogEntity | NonApplicationAuditLogEntity;
|
|
38
46
|
|
|
47
|
+
/** @deprecated Use OCSFStatusId instead. */
|
|
39
48
|
export enum AuditLogStatusFilter {
|
|
40
49
|
ALL = 'All',
|
|
41
50
|
SUCCESS = 'Success',
|
|
@@ -48,10 +57,12 @@ export enum AuditLogStatusFilter {
|
|
|
48
57
|
// crashed halfway through) rather than still running.
|
|
49
58
|
export const ABANDONED_EXECUTION_THRESH_MINUTES = 30;
|
|
50
59
|
|
|
60
|
+
/** @deprecated Use OCSFClassUid / OCSFActivityId instead. */
|
|
51
61
|
export enum AuditLogEventType {
|
|
52
62
|
API_RUN
|
|
53
63
|
}
|
|
54
64
|
|
|
65
|
+
/** @deprecated Use OCSFAuditEvent instead. */
|
|
55
66
|
export interface AuditLogDetails {
|
|
56
67
|
type: AuditLogEventType;
|
|
57
68
|
endTime?: Date;
|
|
@@ -62,6 +73,7 @@ export interface AuditLogDetails {
|
|
|
62
73
|
timing?: ApiResourceTiming;
|
|
63
74
|
}
|
|
64
75
|
|
|
76
|
+
/** @deprecated Use OCSFAuditEvent instead. */
|
|
65
77
|
export type AuditLogDto = {
|
|
66
78
|
id?: string;
|
|
67
79
|
name?: string;
|
|
@@ -90,6 +102,5 @@ interface StepDetail {
|
|
|
90
102
|
executionTimeMs?: number;
|
|
91
103
|
}
|
|
92
104
|
|
|
93
|
-
|
|
94
|
-
// backend for proper pagination.
|
|
105
|
+
/** @deprecated The v2 audit API uses cursor-based pagination. */
|
|
95
106
|
export const AUDIT_LOG_PAGINATION_LIMIT = 5000;
|
package/src/types/audit/index.ts
CHANGED