@faiber/faiber-crm 0.24.1 → 1.1.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/README.md +27 -29
- package/dist/.tsbuildinfo +1 -1
- package/dist/contracts.types.d.ts +201 -0
- package/dist/contracts.types.d.ts.map +1 -0
- package/dist/contracts.types.js +2 -0
- package/dist/contracts.types.js.map +1 -0
- package/dist/index.d.ts +80 -77
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/dist/operations.d.ts +379 -360
- package/dist/operations.d.ts.map +1 -1
- package/dist/operations.js +314 -270
- package/dist/operations.js.map +1 -1
- package/dist/operations.types.d.ts +450 -900
- package/dist/operations.types.d.ts.map +1 -1
- package/dist/types.d.ts +136 -10
- package/dist/types.d.ts.map +1 -1
- package/package.json +4 -3
- package/provenance.json +27 -0
package/README.md
CHANGED
|
@@ -1,60 +1,58 @@
|
|
|
1
1
|
# @faiber/faiber-crm
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Install
|
|
3
|
+
Typed CRM workspaces, pipelines, leads, deals, companies, contacts, teams, tasks, activities, marketing, reports and automation reads.
|
|
6
4
|
|
|
7
5
|
```bash
|
|
8
6
|
npm install @faiber/faiber-crm
|
|
9
7
|
```
|
|
10
8
|
|
|
11
|
-
## Configure
|
|
12
|
-
|
|
13
9
|
```ts
|
|
14
10
|
import { FaiberClient, MemoryTokenProvider } from "@faiber/sdk-core";
|
|
15
11
|
import { CrmApi } from "@faiber/faiber-crm";
|
|
16
12
|
|
|
17
|
-
const tokens = new MemoryTokenProvider();
|
|
18
13
|
const client = new FaiberClient("crm", {
|
|
19
14
|
domains: { crm: process.env.FAIBER_CRM_URL! },
|
|
20
|
-
tokenProvider:
|
|
15
|
+
tokenProvider: new MemoryTokenProvider(),
|
|
21
16
|
axios: { timeout: 15_000, withCredentials: true },
|
|
22
17
|
});
|
|
23
18
|
const api = new CrmApi(client);
|
|
24
|
-
|
|
25
|
-
const leads =
|
|
26
|
-
|
|
19
|
+
const response = await api.listLeads({ q: "Acme", limit: 25 });
|
|
20
|
+
const leads = response.data.data.items;
|
|
21
|
+
const nextCursor = response.data.data.next_cursor;
|
|
22
|
+
|
|
23
|
+
// Use a distinct key for each intended mutation. A duplicate key returns 409.
|
|
24
|
+
const created = await api.createLead(
|
|
25
|
+
{ title: "Acme renewal", estimated_value: 50000, currency: "IRR" },
|
|
26
|
+
{ headers: { "Idempotency-Key": crypto.randomUUID() } },
|
|
27
|
+
);
|
|
28
|
+
await api.updateLead(created.data.data.id,
|
|
29
|
+
{ version: created.data.data.version, score: 80 },
|
|
30
|
+
{ headers: { "Idempotency-Key": crypto.randomUUID() } },
|
|
31
|
+
);
|
|
27
32
|
```
|
|
28
33
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
This package exposes 90 registered operations from the crm service. Common workflows have concise methods on `api`; every registered backend route is also available as a named function on `api.operations`. Generated operation input, query, response, path, verb, and permission contracts are exported from `operations.types`.
|
|
34
|
+
The configured IDP token provider forwards Bearer authorization; `withCredentials` enables secure HttpOnly cookie sessions where supported by the deployment. Keep browser tokens in memory. Each operation's JSDoc states the local permission rules; `crm:admin` bypasses modern CRM handler checks, and otherwise the listed permissions are alternatives. Roles alone do not grant data access. Deployment authentication and gateway isolation must be configured separately. The legacy Office lookup has no local authorization guard.
|
|
32
35
|
|
|
33
|
-
|
|
34
|
-
|---|---:|---|
|
|
35
|
-
| `api` | 85 | `DELETE`, `GET`, `PATCH`, `POST`, `PUT` |
|
|
36
|
-
| `router` | 5 | `GET` |
|
|
36
|
+
The package exposes 92 mounted HTTP operations through `api.operations`, including singular/plural workflow compatibility routes, health/readiness and the two explicit API not-found boundaries. Concise methods on `api` cover common workflows. Source coverage does not certify native execution or gateway policy. The separate `/mcp` summary-evidence mount uses the RMCP protocol and signed summary-run grants; it is not a typed REST business operation in this package. Static dashboard assets use the server's frontend fallback.
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
Most business routes return `{ data, meta: { request_id } }`. Health, readiness and Office lookup use `{ status, message, data }`; readiness returns HTTP 503 when database or broker is unavailable. Lead list/create/update responses contain bare lead records. `getLead` additionally returns a nullable remote `profile`; remote enrichment may be unavailable. Lists return `{items,next_cursor}` inside data, with scalar `cursor` and `limit` (default 50, clamped 1–100). Lead `statuses` is comma-separated. Custom lead sort still compares UUID cursor using `id > cursor`, so it is not a chronological cursor guarantee. Workflow/node/worklog collections return arrays; workflow and node lists include inactive nondeleted rows.
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
Mutations that document `Idempotency-Key` require a nonempty header up to 128 characters. Keys identify submissions and duplicate submissions return 409; they do not replay successful responses. Company/contact/lead/deal updates, stage/assignment updates, task status, team deletion and pipeline/workspace patches use a version. Workflow updates accept version but do not enforce it, and node updates have no version field. Ordinary optional patch nulls preserve values. Workflow `team_id`, `hint`, `actions` and node `sla_minutes`, `actions` distinguish omitted values from explicit nulls, which clear fields. Record assignment replaces both owner/team; omitted IDs clear them.
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
Deletion payloads differ by route: most return `{id,deleted:true}`, compatibility `DELETE /workflow-node/{id}` returns `true`, team-member removal returns the deactivated member, and lead-reminder deletion returns `{lead_id,deleted:number}`. Team deletion also detaches active records and workflow assignments. Use the route-specific named types.
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
Extensible JSON is intentional where the Rust model stores arbitrary values: workspace `settings`; company `address`/`custom_data`; contact `consent`/`custom_data`; lead/deal `custom_data`; pipeline acquire flags/actions; node actions; activity/campaign metadata; audit history event data; durable-job results; report AI interpretation and deterministic summaries; legacy Office flags/assignee IDs/meta. Profile first/last names are optional remote JSON values. These fields remain JSON-safe rather than implying a fixed schema. Workflow action definitions themselves are concrete exported objects with internal/external kinds.
|
|
45
45
|
|
|
46
|
-
All
|
|
47
|
-
|
|
48
|
-
Generic REST resources are capability-guarded. Calling a legacy method that the service does not register throws `UnsupportedOperationError` before sending a request instead of producing a backend `405`.
|
|
49
|
-
|
|
50
|
-
## Errors and cancellation
|
|
46
|
+
All calls preserve complete Axios responses, including headers, status and request context. Final request options support timeouts, interceptors, adapters, credentials and `AbortSignal`. Axios rejects authentication (401), permission (403), missing record (404), version/idempotency conflict (409), validation (422), readiness (503) and transport failures by default.
|
|
51
47
|
|
|
52
48
|
```ts
|
|
53
49
|
try {
|
|
54
|
-
await api.
|
|
50
|
+
await api.getOverview(undefined, { signal: AbortSignal.timeout(5_000) });
|
|
55
51
|
} catch (error) {
|
|
56
|
-
// Axios errors retain response.status and the
|
|
52
|
+
// Axios errors retain response.status and the backend error body.
|
|
57
53
|
}
|
|
58
54
|
```
|
|
59
55
|
|
|
60
|
-
|
|
56
|
+
The API not-found diagnostics `operations.routerApiNotFoundAny(method)` and `operations.routerApiPathNotFoundAny("obsolete/items", method)` return structured 404 without modifying CRM data. HEAD has no body and CORS can answer OPTIONS with empty 200. For deliberate diagnostics, supply `validateStatus` and check for a body. Wildcard diagnostics reject registered API paths, traversal, percent escapes, query/fragment syntax and backslashes locally. CONNECT requires an explicit tunnel-capable Axios adapter.
|
|
57
|
+
|
|
58
|
+
Use [@faiber/faiber-ts-sdk](https://www.npmjs.com/package/@faiber/faiber-ts-sdk) to configure multiple Faiber services together.
|
package/dist/.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"fileNames":["../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es5.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2016.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2017.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2018.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2019.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2021.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2022.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.dom.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.decorators.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../../../../faiber-ts-sdk/node_modules/axios/index.d.ts","../../core/dist/types.d.ts","../../core/dist/env.d.ts","../../core/dist/auth.d.ts","../../core/dist/client.d.ts","../../core/dist/resource.d.ts","../../core/dist/openapi.d.ts","../../core/dist/realtime.d.ts","../../core/dist/index.d.ts","../src/types.ts","../src/operations.types.ts","../src/operations.ts","../src/index.ts"],"fileIdsList":[[61],[60,61],[60,61,62,63,64,65,66,67],[60,61,64],[60],[68,69,70,71],[68,70],[68,69]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"2343ec253c90c370449755739733f5f429f58cffdb51a50977bb4a042012fa8f","impliedFormat":99},{"version":"6cc1f17dc5454eb1112cfb4a2e2ddc93de8c3f9016c8db7bdf0328caac374ffa","impliedFormat":99},{"version":"82065c5512d8d6f81b26cf13ea9ecd3e558be9560f7b5c62260858219ecd87f7","impliedFormat":99},{"version":"ed17ed1b2bcf384c88bc6cec6b427989b98db99fc7ad35a50605501a463bbc53","impliedFormat":99},{"version":"82bf4efcca8ab8764a91ac126c0af605ab6717ee94b2316461b5fa388b27e165","impliedFormat":99},{"version":"74d1d74d5dadbbb70e8e294d3419c58885629a9fc95141cbf158a3febb523300","impliedFormat":99},{"version":"3f5eeb0a84713ccf640b9a6af4629e006f59d7629abc3fc95af2efb062fd0b83","impliedFormat":99},{"version":"ac62f6b0f2e963ea9a251ee8384e64cebe0fe4acd32ca177d838d7c5a7ad2b43","impliedFormat":99},{"version":"fdd1b5a8a2b98f82c94e4dc4e3b207ca81766b656d23acd3c7458fffd9af21dd","impliedFormat":99},{"version":"395d68a8021722a82cb7cc50729a69bed105bea0e9e70775b464fda60218c46e","signature":"15f7439f16fa05acfa23146e427cf3b7b01a024e8741d2c74720531e849f6df5","impliedFormat":99},{"version":"5d59f15c56e6858b6812f557d906480f37d6de3cbb2a195c31e35380d6a8f6ec","signature":"51dc0740674ce3be9f2b3f35cefc9bc4051306e9c574ecc1f1b7174269d6ad5b","impliedFormat":99},{"version":"db87e73942171f6d2f39788f602555ca8bf5f9efa8c1f19ede9c685af446a635","signature":"425d1e4378995aefc8334f004eb369d20a93f060236edc0f2c09c50ac1888982","impliedFormat":99},{"version":"fef71a3bef1ec67202dc7a2abe032f8f2f5765acd951d8b8b7bd9ad0f638efa9","signature":"03849a1d8938c1301ac1d6b8b1523c61882a71f407671f1f77c9e4d4772ec5a3","impliedFormat":99}],"root":[[69,72]],"options":{"composite":true,"declaration":true,"declarationMap":true,"exactOptionalPropertyTypes":true,"module":199,"noUncheckedIndexedAccess":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[63,1],[64,2],[62,1],[68,3],[66,4],[65,4],[61,5],[72,6],[71,7],[70,8],[69,7]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
|
|
1
|
+
{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/axios/index.d.ts","../../core/dist/types.d.ts","../../core/dist/short-id.d.ts","../../core/dist/env.d.ts","../../core/dist/auth.d.ts","../../core/dist/client.d.ts","../../core/dist/resource.d.ts","../../core/dist/openapi.d.ts","../../core/dist/realtime.d.ts","../../core/dist/summary-access.d.ts","../../core/dist/index.d.ts","../src/contracts.types.ts","../src/types.ts","../src/operations.types.ts","../src/operations.ts","../src/index.ts"],"fileIdsList":[[61],[60,61],[60,61,62,63,64,65,66,67,68,69],[60,61,65],[60],[70],[70,71,72,73,74],[70,73],[70,71,72]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"2368a31d44ccc59758e3b3c682fee74e820b08fad98623905a85092018c06e3b","impliedFormat":99},{"version":"61806e75fc22177d65d9b33c90c4b88e4370abd4dd88d8196ca0fc87d7702fe9","impliedFormat":99},{"version":"cd5dcd4588b6b2d1e345d338edef1598cbfd33a138169b5f07a8fd707b63cdca","impliedFormat":99},{"version":"82065c5512d8d6f81b26cf13ea9ecd3e558be9560f7b5c62260858219ecd87f7","impliedFormat":99},{"version":"ed17ed1b2bcf384c88bc6cec6b427989b98db99fc7ad35a50605501a463bbc53","impliedFormat":99},{"version":"82bf4efcca8ab8764a91ac126c0af605ab6717ee94b2316461b5fa388b27e165","impliedFormat":99},{"version":"e8345259c97aa6b8a84b27963fff00e79b7f45852b0024fffc52c9a7949007ac","impliedFormat":99},{"version":"3f5eeb0a84713ccf640b9a6af4629e006f59d7629abc3fc95af2efb062fd0b83","impliedFormat":99},{"version":"ac62f6b0f2e963ea9a251ee8384e64cebe0fe4acd32ca177d838d7c5a7ad2b43","impliedFormat":99},{"version":"967088f3793139562bc3fd0e5db990a8bc2885f7444a1f10ea6a5a6479fa6d40","impliedFormat":99},{"version":"fbb76e489b24bd45225372dec4fddbbc3e9fe4ea23d4da6015fb209e424db9de","impliedFormat":99},{"version":"a258fa87a503da5572b1078e544424d7b9aca6c773b25d771af0930a379be048","signature":"5de89203526e369d9a404ce86397164ebfec1f0143d43aac2879ab3e2429cffa","impliedFormat":99},{"version":"0aa837b22f7711b0947beb9143fec81cb1ae74fe9f7445c5694c1accf9a35607","signature":"36d79f9983c6c1d76ae4e92868d579e202760469697f07f8fc2f066d6454bab2","impliedFormat":99},{"version":"7c0d659a28215f2fabdae45bc2cbaeca5dd3537ba37597f1ab3d0657d07f041c","signature":"99609cfc30b045ab3c1da8f027c217d2216640f8001b5b2feb74f6b00778d7c7","impliedFormat":99},{"version":"349903cc503064725a2be2a95201067e3830de1d9dacf7c319e377eb2bc82462","signature":"2c68bbac0adb8ad8e70427bafa59813d41b4cf4e6845d579ba4e33e312359868","impliedFormat":99},{"version":"9954b6e10e3ffc8f4ac9db43cbc981590fcdf2e6100aeebd9c102d376e455562","signature":"ed7f1aed8fb1e6e0627ca3090b1fe99a5b2f5d2d2ce597a2ca4131c1270e8c0e","impliedFormat":99}],"root":[[71,75]],"options":{"composite":true,"declaration":true,"declarationMap":true,"exactOptionalPropertyTypes":true,"module":199,"noUncheckedIndexedAccess":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[64,1],[65,2],[63,1],[70,3],[67,4],[66,4],[61,5],[71,6],[75,7],[74,8],[73,9],[72,8]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import type { JsonObject, JsonValue, QueryParams } from "@faiber/sdk-core";
|
|
2
|
+
/** Extensible backend JSON: custom metadata is intentionally not constrained by a schema in Rust. */
|
|
3
|
+
export type CrmDynamicJson = JsonValue;
|
|
4
|
+
export type CrmTaskPriority = "low" | "normal" | "high" | "urgent";
|
|
5
|
+
export type CrmTaskStatus = "open" | "in_progress" | "completed" | "cancelled";
|
|
6
|
+
export type CrmActivityCreateType = "note" | "call" | "email" | "meeting" | "demo" | "message";
|
|
7
|
+
export type CrmContactLifecycle = "active" | "inactive" | "do_not_contact";
|
|
8
|
+
export type CrmLeadStatus = "new" | "working" | "qualified" | "disqualified" | "converted";
|
|
9
|
+
export type CrmCampaignStatus = "draft" | "active" | "paused" | "completed" | "archived";
|
|
10
|
+
export type CrmAiMode = "off" | "advisory" | "approval_required" | "bounded_auto";
|
|
11
|
+
export interface CrmTaskCreateInput extends JsonObject {
|
|
12
|
+
"lead_id"?: string | null;
|
|
13
|
+
"deal_id"?: string | null;
|
|
14
|
+
"contact_id"?: string | null;
|
|
15
|
+
"company_id"?: string | null;
|
|
16
|
+
"profile_id"?: string | null;
|
|
17
|
+
"assignee_user_id"?: string | null;
|
|
18
|
+
"title": string;
|
|
19
|
+
"description"?: string | null;
|
|
20
|
+
"task_type"?: string | null;
|
|
21
|
+
"priority"?: CrmTaskPriority | null;
|
|
22
|
+
"due_at"?: string | null;
|
|
23
|
+
}
|
|
24
|
+
export interface CrmTaskStatusInput extends JsonObject {
|
|
25
|
+
"status": CrmTaskStatus;
|
|
26
|
+
"version": number;
|
|
27
|
+
}
|
|
28
|
+
export interface CrmActivityCreateInput extends JsonObject {
|
|
29
|
+
"lead_id"?: string | null;
|
|
30
|
+
"deal_id"?: string | null;
|
|
31
|
+
"contact_id"?: string | null;
|
|
32
|
+
"company_id"?: string | null;
|
|
33
|
+
"activity_type": CrmActivityCreateType;
|
|
34
|
+
"direction"?: string | null;
|
|
35
|
+
"subject"?: string | null;
|
|
36
|
+
"body"?: string | null;
|
|
37
|
+
"outcome"?: string | null;
|
|
38
|
+
"occurred_at"?: string | null;
|
|
39
|
+
"duration_seconds"?: number | null;
|
|
40
|
+
"metadata"?: CrmDynamicJson;
|
|
41
|
+
}
|
|
42
|
+
export interface CrmContactUpdateInput extends JsonObject {
|
|
43
|
+
"version": number;
|
|
44
|
+
"first_name"?: string | null;
|
|
45
|
+
"last_name"?: string | null;
|
|
46
|
+
"job_title"?: string | null;
|
|
47
|
+
"email"?: string | null;
|
|
48
|
+
"phone"?: string | null;
|
|
49
|
+
"preferred_channel"?: string | null;
|
|
50
|
+
"lifecycle_status"?: CrmContactLifecycle | null;
|
|
51
|
+
}
|
|
52
|
+
export interface CrmLeadUpdateInput extends JsonObject {
|
|
53
|
+
"version": number;
|
|
54
|
+
"title"?: string | null;
|
|
55
|
+
"first_name"?: string | null;
|
|
56
|
+
"last_name"?: string | null;
|
|
57
|
+
"company_name"?: string | null;
|
|
58
|
+
"email"?: string | null;
|
|
59
|
+
"phone"?: string | null;
|
|
60
|
+
"segment"?: string | null;
|
|
61
|
+
"offer"?: string | null;
|
|
62
|
+
"status"?: CrmLeadStatus | null;
|
|
63
|
+
"score"?: number | null;
|
|
64
|
+
"estimated_value"?: number | null;
|
|
65
|
+
"currency"?: string | null;
|
|
66
|
+
"next_activity_at"?: string | null;
|
|
67
|
+
"profile_id"?: string | null;
|
|
68
|
+
}
|
|
69
|
+
export interface CrmCampaignCreateInput extends JsonObject {
|
|
70
|
+
"source_id"?: string | null;
|
|
71
|
+
"name": string;
|
|
72
|
+
"slug": string;
|
|
73
|
+
"status"?: CrmCampaignStatus | null;
|
|
74
|
+
"starts_at"?: string | null;
|
|
75
|
+
"ends_at"?: string | null;
|
|
76
|
+
"budget"?: number | null;
|
|
77
|
+
"actual_cost"?: number | null;
|
|
78
|
+
"currency"?: string | null;
|
|
79
|
+
"metadata"?: CrmDynamicJson;
|
|
80
|
+
}
|
|
81
|
+
export interface CrmWorkspaceUpdateInput extends JsonObject {
|
|
82
|
+
"name"?: string | null;
|
|
83
|
+
"locale"?: string | null;
|
|
84
|
+
"timezone"?: string | null;
|
|
85
|
+
"currency"?: string | null;
|
|
86
|
+
"ai_mode"?: CrmAiMode | null;
|
|
87
|
+
"agentic_enabled"?: boolean | null;
|
|
88
|
+
"version": number;
|
|
89
|
+
}
|
|
90
|
+
export interface CrmActivityReminderCreateInput extends JsonObject {
|
|
91
|
+
activity: CrmActivityCreateInput;
|
|
92
|
+
reminder: CrmTaskCreateInput;
|
|
93
|
+
}
|
|
94
|
+
/** Plain scalar cursor query; limit defaults 50, clamped 1..100; a full page supplies a nullable UUID next_cursor. */
|
|
95
|
+
export interface CrmCursorQuery extends QueryParams {
|
|
96
|
+
cursor?: string | null;
|
|
97
|
+
limit?: number | null;
|
|
98
|
+
}
|
|
99
|
+
export interface CrmSearchQuery extends CrmCursorQuery {
|
|
100
|
+
q?: string | null;
|
|
101
|
+
}
|
|
102
|
+
export interface CrmDealListQuery extends CrmSearchQuery {
|
|
103
|
+
pipeline_id?: string | null;
|
|
104
|
+
stage_id?: string | null;
|
|
105
|
+
status?: string | null;
|
|
106
|
+
team_id?: string | null;
|
|
107
|
+
owner_user_id?: string | null;
|
|
108
|
+
}
|
|
109
|
+
/** statuses is one comma-separated string. UUID cursor comparison remains id > cursor even for custom ordering. */
|
|
110
|
+
export interface CrmLeadListQuery extends CrmDealListQuery {
|
|
111
|
+
statuses?: string | null;
|
|
112
|
+
profile_id?: string | null;
|
|
113
|
+
active_from?: string | null;
|
|
114
|
+
active_to?: string | null;
|
|
115
|
+
sort?: "task_priority" | "created_at" | "created_at_desc" | null;
|
|
116
|
+
}
|
|
117
|
+
export interface CrmTaskListQuery extends CrmCursorQuery {
|
|
118
|
+
status?: string | null;
|
|
119
|
+
profile_id?: string | null;
|
|
120
|
+
active_from?: string | null;
|
|
121
|
+
active_to?: string | null;
|
|
122
|
+
}
|
|
123
|
+
export interface CrmJobListQuery extends CrmCursorQuery {
|
|
124
|
+
status?: string | null;
|
|
125
|
+
}
|
|
126
|
+
/** Comma-separated entity columns, with - prefix for descending; unrecognized columns are ignored. */
|
|
127
|
+
export interface CrmEntitySortQuery extends QueryParams {
|
|
128
|
+
sort?: string | null;
|
|
129
|
+
}
|
|
130
|
+
export interface CrmOfficeLeadQuery extends QueryParams {
|
|
131
|
+
profile_id: string;
|
|
132
|
+
foreign_key: string;
|
|
133
|
+
flags?: string;
|
|
134
|
+
}
|
|
135
|
+
export type CrmWorkflowEntityType = "lead" | "deal";
|
|
136
|
+
export type CrmWorkflowStageType = "open" | "won" | "lost";
|
|
137
|
+
export type CrmWorkflowActionKind = "internal" | "external";
|
|
138
|
+
export interface CrmWorkflowActionDefinition extends JsonObject {
|
|
139
|
+
key: string;
|
|
140
|
+
kind: CrmWorkflowActionKind;
|
|
141
|
+
form: string;
|
|
142
|
+
required?: boolean;
|
|
143
|
+
}
|
|
144
|
+
export interface CrmWorkflowCreateInput extends JsonObject {
|
|
145
|
+
"name": string;
|
|
146
|
+
"slug": string;
|
|
147
|
+
"flags"?: string[];
|
|
148
|
+
"acquire_flags": string[];
|
|
149
|
+
"priority": number;
|
|
150
|
+
"entity_type"?: CrmWorkflowEntityType;
|
|
151
|
+
"team_id"?: string | null;
|
|
152
|
+
"is_default"?: boolean;
|
|
153
|
+
"is_active"?: boolean;
|
|
154
|
+
"daily_quota"?: number;
|
|
155
|
+
"can_create_lead"?: boolean;
|
|
156
|
+
"actions"?: CrmWorkflowActionDefinition[];
|
|
157
|
+
"hint"?: string | null;
|
|
158
|
+
}
|
|
159
|
+
export interface CrmWorkflowUpdateInput extends JsonObject {
|
|
160
|
+
"name"?: string | null;
|
|
161
|
+
"slug"?: string | null;
|
|
162
|
+
"flags"?: string[] | null;
|
|
163
|
+
"acquire_flags"?: string[] | null;
|
|
164
|
+
"priority"?: number | null;
|
|
165
|
+
"entity_type"?: CrmWorkflowEntityType | null;
|
|
166
|
+
"team_id"?: string | null;
|
|
167
|
+
"is_default"?: boolean | null;
|
|
168
|
+
"is_active"?: boolean | null;
|
|
169
|
+
"daily_quota"?: number | null;
|
|
170
|
+
"version"?: number | null;
|
|
171
|
+
"can_create_lead"?: boolean | null;
|
|
172
|
+
"actions"?: CrmWorkflowActionDefinition[] | null;
|
|
173
|
+
"hint"?: string | null;
|
|
174
|
+
}
|
|
175
|
+
export interface CrmWorkflowNodeCreateInput extends JsonObject {
|
|
176
|
+
"name": string;
|
|
177
|
+
"slug": string;
|
|
178
|
+
"priority": number;
|
|
179
|
+
"probability"?: number;
|
|
180
|
+
"stage_type"?: CrmWorkflowStageType;
|
|
181
|
+
"sla_minutes"?: number | null;
|
|
182
|
+
"is_active"?: boolean;
|
|
183
|
+
"is_draggable_in"?: boolean;
|
|
184
|
+
"is_draggable_out"?: boolean;
|
|
185
|
+
"actions"?: CrmDynamicJson | null;
|
|
186
|
+
"auto_win"?: boolean;
|
|
187
|
+
}
|
|
188
|
+
export interface CrmWorkflowNodeUpdateInput extends JsonObject {
|
|
189
|
+
"name"?: string | null;
|
|
190
|
+
"slug"?: string | null;
|
|
191
|
+
"priority"?: number | null;
|
|
192
|
+
"probability"?: number | null;
|
|
193
|
+
"stage_type"?: CrmWorkflowStageType | null;
|
|
194
|
+
"sla_minutes"?: number | null;
|
|
195
|
+
"is_active"?: boolean | null;
|
|
196
|
+
"is_draggable_in"?: boolean | null;
|
|
197
|
+
"is_draggable_out"?: boolean | null;
|
|
198
|
+
"actions"?: CrmDynamicJson | null;
|
|
199
|
+
"auto_win"?: boolean | null;
|
|
200
|
+
}
|
|
201
|
+
//# sourceMappingURL=contracts.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contracts.types.d.ts","sourceRoot":"","sources":["../src/contracts.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC3E,qGAAqG;AACrG,MAAM,MAAM,cAAc,GAAG,SAAS,CAAC;AACvC,MAAM,MAAM,eAAe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