@elevasis/core 0.12.0 → 0.13.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/test-utils/index.d.ts +17 -12
- package/dist/test-utils/index.js +19 -0
- package/package.json +1 -1
- package/src/auth/multi-tenancy/credentials/__tests__/encryption.test.ts +217 -216
- package/src/auth/multi-tenancy/credentials/server/encryption.ts +5 -19
- package/src/auth/multi-tenancy/credentials/server/kek-loader.ts +3 -13
- package/src/auth/multi-tenancy/permissions.ts +12 -5
- package/src/business/acquisition/activity-events.ts +142 -0
- package/src/business/acquisition/api-schemas.ts +694 -689
- package/src/business/acquisition/derive-actions.ts +90 -0
- package/src/business/acquisition/index.ts +111 -109
- package/src/execution/engine/index.ts +434 -434
- package/src/execution/engine/tools/integration/server/adapters/apify/__tests__/apify-run-actor.integration.test.ts +1 -2
- package/src/execution/engine/tools/integration/server/adapters/attio/__tests__/attio-crud.integration.test.ts +0 -1
- package/src/execution/engine/tools/lead-service-types.ts +882 -879
- package/src/execution/engine/tools/registry.ts +699 -700
- package/src/execution/engine/tools/tool-maps.ts +777 -780
- package/src/organization-model/organization-graph.mdx +2 -2
- package/src/platform/constants/versions.ts +1 -1
- package/src/scaffold-registry/index.ts +10 -9
- package/src/scaffold-registry/schema.ts +68 -62
- package/src/supabase/database.types.ts +9 -7
- package/src/test-utils/rls/RLSTestContext.ts +585 -553
|
@@ -21,13 +21,12 @@ import type { RunActorResult } from '../fetch/run-actor'
|
|
|
21
21
|
* - Credential 'elevasis-apify' with valid Apify API token
|
|
22
22
|
* - Organization ID: f9aa5a56-8c13-4cd1-9161-8827ae7b452b
|
|
23
23
|
* - SUPABASE_URL and SUPABASE_SERVICE_KEY env vars set
|
|
24
|
-
* - SECRETS_ENCRYPTION_KEY env var set
|
|
25
24
|
* - Apify account accessible with provided credentials
|
|
26
25
|
*
|
|
27
26
|
* Run: pnpm test apify-run-actor.integration.test.ts
|
|
28
27
|
*/
|
|
29
28
|
|
|
30
|
-
const SKIP_TESTS = !process.env.SUPABASE_URL || !process.env.SUPABASE_SERVICE_KEY
|
|
29
|
+
const SKIP_TESTS = !process.env.SUPABASE_URL || !process.env.SUPABASE_SERVICE_KEY
|
|
31
30
|
|
|
32
31
|
describe.skipIf(SKIP_TESTS)('Apify Run Actor Integration Tests', () => {
|
|
33
32
|
const adapter = new ApifyAdapter()
|
|
@@ -28,7 +28,6 @@ import type {
|
|
|
28
28
|
* - Credential 'elevasis-attio' with valid Attio API Key
|
|
29
29
|
* - Organization ID: f9aa5a56-8c13-4cd1-9161-8827ae7b452b
|
|
30
30
|
* - SUPABASE_URL and SUPABASE_SERVICE_KEY env vars set
|
|
31
|
-
* - SECRETS_ENCRYPTION_KEY env var set
|
|
32
31
|
* - Attio workspace accessible with provided credentials
|
|
33
32
|
*
|
|
34
33
|
* Run: pnpm test attio-crud.integration.test.ts
|