@elevasis/sdk 0.7.6 → 0.7.7
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/cli.cjs
CHANGED
|
@@ -43883,7 +43883,7 @@ function wrapAction(commandName, fn) {
|
|
|
43883
43883
|
// package.json
|
|
43884
43884
|
var package_default = {
|
|
43885
43885
|
name: "@elevasis/sdk",
|
|
43886
|
-
version: "0.7.
|
|
43886
|
+
version: "0.7.7",
|
|
43887
43887
|
description: "SDK for building Elevasis organization resources",
|
|
43888
43888
|
type: "module",
|
|
43889
43889
|
bin: {
|
|
@@ -46967,7 +46967,7 @@ Prefer typed adapters over raw \`platform.call()\`.
|
|
|
46967
46967
|
### Singleton adapters (no credential needed)
|
|
46968
46968
|
|
|
46969
46969
|
\`\`\`typescript
|
|
46970
|
-
import { scheduler, storage, llm, notifications,
|
|
46970
|
+
import { scheduler, storage, llm, notifications, acqDb, pdf, approval, execution, email } from '@elevasis/sdk/worker'
|
|
46971
46971
|
\`\`\`
|
|
46972
46972
|
|
|
46973
46973
|
### Factory adapters (credential-bound)
|
package/dist/templates.js
CHANGED
|
@@ -1608,7 +1608,7 @@ Prefer typed adapters over raw \`platform.call()\`.
|
|
|
1608
1608
|
### Singleton adapters (no credential needed)
|
|
1609
1609
|
|
|
1610
1610
|
\`\`\`typescript
|
|
1611
|
-
import { scheduler, storage, llm, notifications,
|
|
1611
|
+
import { scheduler, storage, llm, notifications, acqDb, pdf, approval, execution, email } from '@elevasis/sdk/worker'
|
|
1612
1612
|
\`\`\`
|
|
1613
1613
|
|
|
1614
1614
|
### Factory adapters (credential-bound)
|
|
@@ -23,7 +23,7 @@ export { scheduler } from './scheduler.js';
|
|
|
23
23
|
export { llm } from './llm.js';
|
|
24
24
|
export { storage } from './storage.js';
|
|
25
25
|
export { notifications, type NotificationInput } from './notification.js';
|
|
26
|
-
export {
|
|
26
|
+
export { acqDb } from './lead.js';
|
|
27
27
|
export { pdf } from './pdf.js';
|
|
28
28
|
export { approval } from './approval.js';
|
|
29
29
|
export { execution } from './execution.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* AcqDb Platform Tool Adapter
|
|
3
3
|
*
|
|
4
4
|
* Typed wrapper over platform.call() for acquisition lead management.
|
|
5
5
|
* Singleton export -- no credential needed (platform tool).
|
|
@@ -10,19 +10,19 @@
|
|
|
10
10
|
import { type TypedAdapter } from './create-adapter.js';
|
|
11
11
|
import type { LeadToolMap } from '../../types/index.js';
|
|
12
12
|
/**
|
|
13
|
-
* Typed
|
|
13
|
+
* Typed acqDb adapter for acquisition data management.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* ```ts
|
|
17
|
-
* import {
|
|
17
|
+
* import { acqDb } from '@elevasis/sdk/worker'
|
|
18
18
|
*
|
|
19
|
-
* const deal = await
|
|
19
|
+
* const deal = await acqDb.getDealByEmail({ email: 'jane@acme.com' })
|
|
20
20
|
* if (!deal) {
|
|
21
|
-
* const newDeal = await
|
|
21
|
+
* const newDeal = await acqDb.upsertDeal({
|
|
22
22
|
* attioDealId: 'deal-123',
|
|
23
23
|
* contactEmail: 'jane@acme.com',
|
|
24
24
|
* })
|
|
25
25
|
* }
|
|
26
26
|
* ```
|
|
27
27
|
*/
|
|
28
|
-
export declare const
|
|
28
|
+
export declare const acqDb: TypedAdapter<LeadToolMap>;
|
package/dist/worker/index.js
CHANGED
|
@@ -4966,7 +4966,7 @@ var storage = createAdapter("storage", [
|
|
|
4966
4966
|
var notifications = createAdapter("notification", ["create"]);
|
|
4967
4967
|
|
|
4968
4968
|
// src/worker/adapters/lead.ts
|
|
4969
|
-
var
|
|
4969
|
+
var acqDb = createAdapter("acqDb", [
|
|
4970
4970
|
// List operations
|
|
4971
4971
|
"listLists",
|
|
4972
4972
|
"createList",
|
|
@@ -5377,4 +5377,4 @@ function startWorker(org) {
|
|
|
5377
5377
|
});
|
|
5378
5378
|
}
|
|
5379
5379
|
|
|
5380
|
-
export { PlatformToolError, approval, createAdapter, createAnymailfinderAdapter, createApifyAdapter, createAttioAdapter, createDropboxAdapter, createGmailAdapter, createGoogleSheetsAdapter, createInstantlyAdapter, createMailsoAdapter, createNotionAdapter, createResendAdapter, createSignatureApiAdapter, createStripeAdapter, createTombaAdapter, email, execution,
|
|
5380
|
+
export { PlatformToolError, acqDb, approval, createAdapter, createAnymailfinderAdapter, createApifyAdapter, createAttioAdapter, createDropboxAdapter, createGmailAdapter, createGoogleSheetsAdapter, createInstantlyAdapter, createMailsoAdapter, createNotionAdapter, createResendAdapter, createSignatureApiAdapter, createStripeAdapter, createTombaAdapter, email, execution, llm, notifications, pdf, platform, scheduler, startWorker, storage };
|