@linkt/sdk 0.2.0 → 0.4.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/CHANGELOG.md +35 -0
- package/client.d.mts +7 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +7 -4
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/entity.d.mts +392 -0
- package/resources/entity.d.mts.map +1 -0
- package/resources/entity.d.ts +392 -0
- package/resources/entity.d.ts.map +1 -0
- package/resources/entity.js +164 -0
- package/resources/entity.js.map +1 -0
- package/resources/entity.mjs +160 -0
- package/resources/entity.mjs.map +1 -0
- package/resources/icp.d.mts +56 -3
- package/resources/icp.d.mts.map +1 -1
- package/resources/icp.d.ts +56 -3
- package/resources/icp.d.ts.map +1 -1
- package/resources/icp.js +2 -2
- package/resources/icp.mjs +2 -2
- package/resources/index.d.mts +3 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/run.d.mts +3 -3
- package/resources/run.d.ts +3 -3
- package/resources/sheet/index.d.mts +1 -2
- package/resources/sheet/index.d.mts.map +1 -1
- package/resources/sheet/index.d.ts +1 -2
- package/resources/sheet/index.d.ts.map +1 -1
- package/resources/sheet/index.js +1 -3
- package/resources/sheet/index.js.map +1 -1
- package/resources/sheet/index.mjs +0 -1
- package/resources/sheet/index.mjs.map +1 -1
- package/resources/sheet/sheet.d.mts +1 -90
- package/resources/sheet/sheet.d.mts.map +1 -1
- package/resources/sheet/sheet.d.ts +1 -90
- package/resources/sheet/sheet.d.ts.map +1 -1
- package/resources/sheet/sheet.js +0 -22
- package/resources/sheet/sheet.js.map +1 -1
- package/resources/sheet/sheet.mjs +0 -22
- package/resources/sheet/sheet.mjs.map +1 -1
- package/resources/task.d.mts +443 -288
- package/resources/task.d.mts.map +1 -1
- package/resources/task.d.ts +443 -288
- package/resources/task.d.ts.map +1 -1
- package/src/client.ts +57 -20
- package/src/resources/entity.ts +491 -0
- package/src/resources/icp.ts +59 -3
- package/src/resources/index.ts +27 -10
- package/src/resources/run.ts +3 -3
- package/src/resources/sheet/index.ts +0 -11
- package/src/resources/sheet/sheet.ts +0 -136
- package/src/resources/task.ts +530 -329
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/sheet/entity.d.mts +0 -52
- package/resources/sheet/entity.d.mts.map +0 -1
- package/resources/sheet/entity.d.ts +0 -52
- package/resources/sheet/entity.d.ts.map +0 -1
- package/resources/sheet/entity.js +0 -45
- package/resources/sheet/entity.js.map +0 -1
- package/resources/sheet/entity.mjs +0 -41
- package/resources/sheet/entity.mjs.map +0 -1
- package/src/resources/sheet/entity.ts +0 -97
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { buildHeaders } from "../internal/headers.mjs";
|
|
4
|
+
import { path } from "../internal/utils/path.mjs";
|
|
5
|
+
export class Entity extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get a single entity by ID with enrichment.
|
|
8
|
+
*
|
|
9
|
+
* Returns the entity with sheet_name, entity_type, and icp_id populated from the
|
|
10
|
+
* parent sheet.
|
|
11
|
+
*/
|
|
12
|
+
retrieve(entityID, options) {
|
|
13
|
+
return this._client.get(path `/v1/entity/${entityID}`, options);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Update entity status or comments.
|
|
17
|
+
*
|
|
18
|
+
* Only status and comments can be updated via this endpoint. Use status=null to
|
|
19
|
+
* clear status, comments=null to clear comments.
|
|
20
|
+
*
|
|
21
|
+
* Status must be one of: new, reviewed, passed, contacted, or null.
|
|
22
|
+
*/
|
|
23
|
+
update(entityID, body, options) {
|
|
24
|
+
return this._client.put(path `/v1/entity/${entityID}`, { body, ...options });
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Get paginated list of entities with filtering.
|
|
28
|
+
*
|
|
29
|
+
* Supports filtering by:
|
|
30
|
+
*
|
|
31
|
+
* - icp_id: Entities in sheets belonging to an ICP
|
|
32
|
+
* - sheet_id: Entities in a specific sheet
|
|
33
|
+
* - entity_type: Entities of a specific type (company, person, etc.)
|
|
34
|
+
* - status: Filter by workflow status (supports multiple:
|
|
35
|
+
* ?status=new&status=reviewed) Valid values: new, reviewed, passed, contacted,
|
|
36
|
+
* null
|
|
37
|
+
*
|
|
38
|
+
* All results include enrichment fields for UI annotations.
|
|
39
|
+
*/
|
|
40
|
+
list(query = {}, options) {
|
|
41
|
+
return this._client.get('/v1/entity', { query, ...options });
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Delete an entity by ID.
|
|
45
|
+
*
|
|
46
|
+
* This is a hard delete - the entity will be permanently removed.
|
|
47
|
+
*/
|
|
48
|
+
delete(entityID, options) {
|
|
49
|
+
return this._client.delete(path `/v1/entity/${entityID}`, {
|
|
50
|
+
...options,
|
|
51
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Update status for multiple entities at once.
|
|
56
|
+
*
|
|
57
|
+
* Accepts a list of entity IDs and a status value. The status can be:
|
|
58
|
+
*
|
|
59
|
+
* - "new", "reviewed", "passed", "contacted" (valid workflow statuses)
|
|
60
|
+
* - null (to clear the status)
|
|
61
|
+
*
|
|
62
|
+
* Returns the count of successfully updated entities and any failed IDs. Entities
|
|
63
|
+
* may fail to update if they have an invalid ID format or don't exist.
|
|
64
|
+
*
|
|
65
|
+
* WHY: Bulk operations enable users to update status for many entities at once
|
|
66
|
+
* (e.g., mark all search results as "reviewed"), improving workflow efficiency
|
|
67
|
+
* versus N individual PUT calls. Uses batch_update_by_filter for single database
|
|
68
|
+
* roundtrip efficiency.
|
|
69
|
+
*/
|
|
70
|
+
bulkUpdateStatus(body, options) {
|
|
71
|
+
return this._client.patch('/v1/entity/status/bulk', { body, ...options });
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Export entities as CSV.
|
|
75
|
+
*
|
|
76
|
+
* Supports two formats:
|
|
77
|
+
*
|
|
78
|
+
* **separate** (default):
|
|
79
|
+
*
|
|
80
|
+
* - One row per entity
|
|
81
|
+
* - Standard flat export
|
|
82
|
+
* - All entity types exported independently
|
|
83
|
+
*
|
|
84
|
+
* **combined**:
|
|
85
|
+
*
|
|
86
|
+
* - Pre-joined parent-child rows
|
|
87
|
+
* - Requires icp_id parameter
|
|
88
|
+
* - Child entity columns appear first, followed by parent columns
|
|
89
|
+
* - Columns prefixed with entity type (e.g., "Person Name", "Company Industry")
|
|
90
|
+
* - Parent data repeats for each child (one row per child)
|
|
91
|
+
* - Orphan parents (no children) appear as rows with empty child columns
|
|
92
|
+
*
|
|
93
|
+
* **Excluded Fields** (both formats):
|
|
94
|
+
*
|
|
95
|
+
* - id, sheet_id, parent_id, icp_id, entity_type, sheet_name, comments
|
|
96
|
+
*
|
|
97
|
+
* **Included Fields**:
|
|
98
|
+
*
|
|
99
|
+
* - All data.\* fields (the actual enrichment data)
|
|
100
|
+
* - status, created_at, updated_at
|
|
101
|
+
*
|
|
102
|
+
* **Filtering**:
|
|
103
|
+
*
|
|
104
|
+
* - status: Filter by workflow status (supports multiple:
|
|
105
|
+
* ?status=new&status=contacted) Valid values: new, reviewed, passed, contacted,
|
|
106
|
+
* null
|
|
107
|
+
*
|
|
108
|
+
* Args: icp_id: Filter by ICP ID (REQUIRED for format=combined) sheet_id: Filter
|
|
109
|
+
* by sheet ID entity_type: Filter by entity type (ignored for format=combined)
|
|
110
|
+
* entity_ids: Export specific entity IDs status: Filter by status values (multiple
|
|
111
|
+
* allowed) format: Export format - "separate" (default) or "combined"
|
|
112
|
+
*
|
|
113
|
+
* Returns: StreamingResponse with CSV content
|
|
114
|
+
*
|
|
115
|
+
* Raises: HTTPException 400: format=combined without icp_id, or invalid status
|
|
116
|
+
* value HTTPException 404: ICP, sheet, or entities not found
|
|
117
|
+
*/
|
|
118
|
+
export(query = {}, options) {
|
|
119
|
+
return this._client.get('/v1/entity/export', { query, ...options });
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Get entity counts grouped by entity_type.
|
|
123
|
+
*
|
|
124
|
+
* Returns the count of entities for each entity_type (company, person, etc.)
|
|
125
|
+
* across the organization. Supports optional filtering by ICP or status.
|
|
126
|
+
*
|
|
127
|
+
* Additional filtering:
|
|
128
|
+
*
|
|
129
|
+
* - status: Filter by workflow status (supports multiple:
|
|
130
|
+
* ?status=new&status=reviewed) Valid values: new, reviewed, passed, contacted,
|
|
131
|
+
* null
|
|
132
|
+
*
|
|
133
|
+
* Used by Entity Master List for accurate tab navigation counts.
|
|
134
|
+
*/
|
|
135
|
+
getCounts(query = {}, options) {
|
|
136
|
+
return this._client.get('/v1/entity/counts', { query, ...options });
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Search entities by text query.
|
|
140
|
+
*
|
|
141
|
+
* Uses MongoDB Atlas Search for fuzzy text matching on entity names and company
|
|
142
|
+
* fields. Results are sorted by relevance.
|
|
143
|
+
*
|
|
144
|
+
* Scope of search determined by filters:
|
|
145
|
+
*
|
|
146
|
+
* - sheet_id: Search within specific sheet
|
|
147
|
+
* - icp_id: Search across ICP sheets
|
|
148
|
+
* - No filters: Search org-wide
|
|
149
|
+
*
|
|
150
|
+
* Additional filtering:
|
|
151
|
+
*
|
|
152
|
+
* - status: Filter by workflow status (supports multiple:
|
|
153
|
+
* ?status=new&status=reviewed) Valid values: new, reviewed, passed, contacted,
|
|
154
|
+
* null
|
|
155
|
+
*/
|
|
156
|
+
search(query, options) {
|
|
157
|
+
return this._client.get('/v1/entity/search', { query, ...options });
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
//# sourceMappingURL=entity.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity.mjs","sourceRoot":"","sources":["../src/resources/entity.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;;;OAKG;IACH,QAAQ,CAAC,QAAgB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,cAAc,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,QAAgB,EAAE,IAAwB,EAAE,OAAwB;QACzE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,cAAc,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/D,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,QAAgB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,cAAc,QAAQ,EAAE,EAAE;YACvD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,gBAAgB,CACd,IAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4CG;IACH,MAAM,CAAC,QAA+C,EAAE,EAAE,OAAwB;QAChF,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,SAAS,CACP,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,KAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;CACF"}
|
package/resources/icp.d.mts
CHANGED
|
@@ -34,8 +34,8 @@ export declare class Icp extends APIResource {
|
|
|
34
34
|
* Delete an ICP and all related resources.
|
|
35
35
|
*
|
|
36
36
|
* **Cascade delete**: This permanently removes the ICP along with all associated
|
|
37
|
-
* sheets, entities, schedules, tasks, and
|
|
38
|
-
* undone.
|
|
37
|
+
* sheets, entities, schedules, tasks, signals, and actions. This operation cannot
|
|
38
|
+
* be undone.
|
|
39
39
|
*/
|
|
40
40
|
delete(icpID: string, options?: RequestOptions): APIPromise<void>;
|
|
41
41
|
/**
|
|
@@ -48,6 +48,23 @@ export declare class Icp extends APIResource {
|
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* Request model for entity target configuration.
|
|
51
|
+
*
|
|
52
|
+
* Synchronized with core.schema.mongo.icp.EntityTargetConfig to ensure all fields
|
|
53
|
+
* available in the database model can be set via the API.
|
|
54
|
+
*
|
|
55
|
+
* Attributes: entity_type: The entity type to target (e.g., 'company', 'person').
|
|
56
|
+
* description: Business description of what makes a good target. root: If True,
|
|
57
|
+
* this is the root entity type of the search hierarchy. Only one entity target
|
|
58
|
+
* should be marked as root. Defaults to False for backward compatibility with
|
|
59
|
+
* existing API consumers. desired_count: For non-root entities, the desired number
|
|
60
|
+
* of entities per parent (minimum: 1). Uses `ge=1` Field constraint which
|
|
61
|
+
* generates `minimum: 1` in OpenAPI schema for SDK validation. If not specified,
|
|
62
|
+
* defaults to system minimum (typically 2). filters: Optional list of filter
|
|
63
|
+
* criteria to apply to the search.
|
|
64
|
+
*
|
|
65
|
+
* Note: The `root` and `desired_count` fields default to False and None
|
|
66
|
+
* respectively, making them optional in API requests for backward compatibility
|
|
67
|
+
* with existing integrations.
|
|
51
68
|
*/
|
|
52
69
|
export interface EntityTargetConfig {
|
|
53
70
|
/**
|
|
@@ -55,13 +72,23 @@ export interface EntityTargetConfig {
|
|
|
55
72
|
*/
|
|
56
73
|
description: string;
|
|
57
74
|
/**
|
|
58
|
-
* Entity type to target
|
|
75
|
+
* Entity type to target (company, person, etc.)
|
|
59
76
|
*/
|
|
60
77
|
entity_type: string;
|
|
78
|
+
/**
|
|
79
|
+
* For non-root entities, desired count per parent (minimum: 1). If not specified,
|
|
80
|
+
* defaults to system minimum.
|
|
81
|
+
*/
|
|
82
|
+
desired_count?: number | null;
|
|
61
83
|
/**
|
|
62
84
|
* Filters to apply
|
|
63
85
|
*/
|
|
64
86
|
filters?: Array<string>;
|
|
87
|
+
/**
|
|
88
|
+
* If this is the root entity type of the search. Only one entity target should be
|
|
89
|
+
* root.
|
|
90
|
+
*/
|
|
91
|
+
root?: boolean;
|
|
65
92
|
}
|
|
66
93
|
/**
|
|
67
94
|
* Response model for ICP.
|
|
@@ -77,11 +104,37 @@ export interface IcpResponse {
|
|
|
77
104
|
export declare namespace IcpResponse {
|
|
78
105
|
/**
|
|
79
106
|
* Response model for entity target configuration.
|
|
107
|
+
*
|
|
108
|
+
* Synchronized with core.schema.mongo.icp.EntityTargetConfig to return all
|
|
109
|
+
* configuration fields stored in the database to API consumers.
|
|
110
|
+
*
|
|
111
|
+
* Attributes: root: If True, this is the root entity type of the search hierarchy.
|
|
112
|
+
* entity_type: The entity type this config targets (e.g., 'company', 'person').
|
|
113
|
+
* description: Business description of what makes a good target. desired_count:
|
|
114
|
+
* For non-root entities, the desired number of entities per parent. Returns None
|
|
115
|
+
* if not explicitly set in the ICP.
|
|
116
|
+
*
|
|
117
|
+
* Note: The `desired_count` field is included in responses to enable API consumers
|
|
118
|
+
* to see the full configuration. When None, the system applies its default minimum
|
|
119
|
+
* (typically 2).
|
|
80
120
|
*/
|
|
81
121
|
interface EntityTarget {
|
|
122
|
+
/**
|
|
123
|
+
* Business description of targets
|
|
124
|
+
*/
|
|
82
125
|
description: string;
|
|
126
|
+
/**
|
|
127
|
+
* Entity type (company, person, etc.)
|
|
128
|
+
*/
|
|
83
129
|
entity_type: string;
|
|
130
|
+
/**
|
|
131
|
+
* If this is the root entity type
|
|
132
|
+
*/
|
|
84
133
|
root: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* For non-root entities, desired count per parent
|
|
136
|
+
*/
|
|
137
|
+
desired_count?: number | null;
|
|
85
138
|
}
|
|
86
139
|
}
|
|
87
140
|
/**
|
package/resources/icp.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icp.d.mts","sourceRoot":"","sources":["../src/resources/icp.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,GAAI,SAAQ,WAAW;IAClC;;;;;;;;OAQG;IACH,MAAM,CAAC,IAAI,EAAE,eAAe,EAAE,O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WAAW,GAAG,CAAC;IAC3B,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,aAAa,IAAI,aAAa,GACpC,CAAC;CACH"}
|
package/resources/icp.d.ts
CHANGED
|
@@ -34,8 +34,8 @@ export declare class Icp extends APIResource {
|
|
|
34
34
|
* Delete an ICP and all related resources.
|
|
35
35
|
*
|
|
36
36
|
* **Cascade delete**: This permanently removes the ICP along with all associated
|
|
37
|
-
* sheets, entities, schedules, tasks, and
|
|
38
|
-
* undone.
|
|
37
|
+
* sheets, entities, schedules, tasks, signals, and actions. This operation cannot
|
|
38
|
+
* be undone.
|
|
39
39
|
*/
|
|
40
40
|
delete(icpID: string, options?: RequestOptions): APIPromise<void>;
|
|
41
41
|
/**
|
|
@@ -48,6 +48,23 @@ export declare class Icp extends APIResource {
|
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* Request model for entity target configuration.
|
|
51
|
+
*
|
|
52
|
+
* Synchronized with core.schema.mongo.icp.EntityTargetConfig to ensure all fields
|
|
53
|
+
* available in the database model can be set via the API.
|
|
54
|
+
*
|
|
55
|
+
* Attributes: entity_type: The entity type to target (e.g., 'company', 'person').
|
|
56
|
+
* description: Business description of what makes a good target. root: If True,
|
|
57
|
+
* this is the root entity type of the search hierarchy. Only one entity target
|
|
58
|
+
* should be marked as root. Defaults to False for backward compatibility with
|
|
59
|
+
* existing API consumers. desired_count: For non-root entities, the desired number
|
|
60
|
+
* of entities per parent (minimum: 1). Uses `ge=1` Field constraint which
|
|
61
|
+
* generates `minimum: 1` in OpenAPI schema for SDK validation. If not specified,
|
|
62
|
+
* defaults to system minimum (typically 2). filters: Optional list of filter
|
|
63
|
+
* criteria to apply to the search.
|
|
64
|
+
*
|
|
65
|
+
* Note: The `root` and `desired_count` fields default to False and None
|
|
66
|
+
* respectively, making them optional in API requests for backward compatibility
|
|
67
|
+
* with existing integrations.
|
|
51
68
|
*/
|
|
52
69
|
export interface EntityTargetConfig {
|
|
53
70
|
/**
|
|
@@ -55,13 +72,23 @@ export interface EntityTargetConfig {
|
|
|
55
72
|
*/
|
|
56
73
|
description: string;
|
|
57
74
|
/**
|
|
58
|
-
* Entity type to target
|
|
75
|
+
* Entity type to target (company, person, etc.)
|
|
59
76
|
*/
|
|
60
77
|
entity_type: string;
|
|
78
|
+
/**
|
|
79
|
+
* For non-root entities, desired count per parent (minimum: 1). If not specified,
|
|
80
|
+
* defaults to system minimum.
|
|
81
|
+
*/
|
|
82
|
+
desired_count?: number | null;
|
|
61
83
|
/**
|
|
62
84
|
* Filters to apply
|
|
63
85
|
*/
|
|
64
86
|
filters?: Array<string>;
|
|
87
|
+
/**
|
|
88
|
+
* If this is the root entity type of the search. Only one entity target should be
|
|
89
|
+
* root.
|
|
90
|
+
*/
|
|
91
|
+
root?: boolean;
|
|
65
92
|
}
|
|
66
93
|
/**
|
|
67
94
|
* Response model for ICP.
|
|
@@ -77,11 +104,37 @@ export interface IcpResponse {
|
|
|
77
104
|
export declare namespace IcpResponse {
|
|
78
105
|
/**
|
|
79
106
|
* Response model for entity target configuration.
|
|
107
|
+
*
|
|
108
|
+
* Synchronized with core.schema.mongo.icp.EntityTargetConfig to return all
|
|
109
|
+
* configuration fields stored in the database to API consumers.
|
|
110
|
+
*
|
|
111
|
+
* Attributes: root: If True, this is the root entity type of the search hierarchy.
|
|
112
|
+
* entity_type: The entity type this config targets (e.g., 'company', 'person').
|
|
113
|
+
* description: Business description of what makes a good target. desired_count:
|
|
114
|
+
* For non-root entities, the desired number of entities per parent. Returns None
|
|
115
|
+
* if not explicitly set in the ICP.
|
|
116
|
+
*
|
|
117
|
+
* Note: The `desired_count` field is included in responses to enable API consumers
|
|
118
|
+
* to see the full configuration. When None, the system applies its default minimum
|
|
119
|
+
* (typically 2).
|
|
80
120
|
*/
|
|
81
121
|
interface EntityTarget {
|
|
122
|
+
/**
|
|
123
|
+
* Business description of targets
|
|
124
|
+
*/
|
|
82
125
|
description: string;
|
|
126
|
+
/**
|
|
127
|
+
* Entity type (company, person, etc.)
|
|
128
|
+
*/
|
|
83
129
|
entity_type: string;
|
|
130
|
+
/**
|
|
131
|
+
* If this is the root entity type
|
|
132
|
+
*/
|
|
84
133
|
root: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* For non-root entities, desired count per parent
|
|
136
|
+
*/
|
|
137
|
+
desired_count?: number | null;
|
|
85
138
|
}
|
|
86
139
|
}
|
|
87
140
|
/**
|
package/resources/icp.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icp.d.ts","sourceRoot":"","sources":["../src/resources/icp.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,GAAI,SAAQ,WAAW;IAClC;;;;;;;;OAQG;IACH,MAAM,CAAC,IAAI,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;IAIhF;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;IAI1E;;;;OAIG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;IAI/F;;;;;;OAMG;IACH,IAAI,CAAC,KAAK,GAAE,aAAa,GAAG,IAAI,GAAG,SAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAIzG;;;;;;OAMG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,c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,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAC3B;CACF;AAED,MAAM,WAAW,eAAe;IAC9B,WAAW,EAAE,MAAM,CAAC;IAEpB,cAAc,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;IAE1C,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eAAe;IAC9B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,cAAc,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC;IAElD,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,IAAI,CAAC,EAAE,WAAW,GAAG,YAAY,GAAG,IAAI,CAAC;IAEzC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,GAAG,CAAC;IAC3B,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,aAAa,IAAI,aAAa,GACpC,CAAC;CACH"}
|
package/resources/icp.js
CHANGED
|
@@ -46,8 +46,8 @@ class Icp extends resource_1.APIResource {
|
|
|
46
46
|
* Delete an ICP and all related resources.
|
|
47
47
|
*
|
|
48
48
|
* **Cascade delete**: This permanently removes the ICP along with all associated
|
|
49
|
-
* sheets, entities, schedules, tasks, and
|
|
50
|
-
* undone.
|
|
49
|
+
* sheets, entities, schedules, tasks, signals, and actions. This operation cannot
|
|
50
|
+
* be undone.
|
|
51
51
|
*/
|
|
52
52
|
delete(icpID, options) {
|
|
53
53
|
return this._client.delete((0, path_1.path) `/v1/icp/${icpID}`, {
|
package/resources/icp.mjs
CHANGED
|
@@ -43,8 +43,8 @@ export class Icp extends APIResource {
|
|
|
43
43
|
* Delete an ICP and all related resources.
|
|
44
44
|
*
|
|
45
45
|
* **Cascade delete**: This permanently removes the ICP along with all associated
|
|
46
|
-
* sheets, entities, schedules, tasks, and
|
|
47
|
-
* undone.
|
|
46
|
+
* sheets, entities, schedules, tasks, signals, and actions. This operation cannot
|
|
47
|
+
* be undone.
|
|
48
48
|
*/
|
|
49
49
|
delete(icpID, options) {
|
|
50
50
|
return this._client.delete(path `/v1/icp/${icpID}`, {
|
package/resources/index.d.mts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
export { Entity, type EntityResponse, type EntityListResponse, type EntityBulkUpdateStatusResponse, type EntityExportResponse, type EntityGetCountsResponse, type EntitySearchResponse, type EntityUpdateParams, type EntityListParams, type EntityBulkUpdateStatusParams, type EntityExportParams, type EntityGetCountsParams, type EntitySearchParams, } from "./entity.mjs";
|
|
1
2
|
export { Files, type CsvProcessingStatus, type FileRetrieveResponse, type FileListResponse, type FileUploadResponse, type FileListParams, type FileUploadParams, } from "./files.mjs";
|
|
2
3
|
export { Icp, type EntityTargetConfig, type IcpResponse, type IcpListResponse, type IcpGetActiveRunsResponse, type IcpCreateParams, type IcpUpdateParams, type IcpListParams, } from "./icp.mjs";
|
|
3
4
|
export { Run, type RunCreateResponse, type RunRetrieveResponse, type RunListResponse, type RunGetQueueResponse, type RunCreateParams, type RunListParams, type RunGetQueueParams, } from "./run.mjs";
|
|
4
|
-
export { SheetResource, type EntityType, type Sheet, type SheetListResponse, type
|
|
5
|
+
export { SheetResource, type EntityType, type Sheet, type SheetListResponse, type SheetCreateParams, type SheetUpdateParams, type SheetListParams, } from "./sheet/sheet.mjs";
|
|
5
6
|
export { Signal, type SignalResponse, type SignalListResponse, type SignalListParams } from "./signal.mjs";
|
|
6
|
-
export { Task, type IngestTaskConfig, type
|
|
7
|
+
export { Task, type IngestPromptConfigResponse, type IngestTaskConfig, type IngestTaskConfigResponse, type ProfilePromptConfig, type ProfilePromptConfigResponse, type SearchTaskConfig, type SearchTaskConfigResponse, type SignalCsvConfig, type SignalCsvConfigResponse, type SignalSheetConfig, type SignalSheetConfigResponse, type SignalTopicConfig, type SignalTopicConfigResponse, type SignalTypeConfig, type TaskCreateResponse, type TaskRetrieveResponse, type TaskListResponse, type TaskExecuteResponse, type TaskCreateParams, type TaskUpdateParams, type TaskListParams, type TaskExecuteParams, } from "./task.mjs";
|
|
7
8
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,KAAK,EACL,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,gBAAgB,GACtB;OACM,EACL,GAAG,EACH,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,aAAa,GACnB;OACM,EACL,GAAG,EACH,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,iBAAiB,GACvB;OACM,EACL,aAAa,EACb,KAAK,UAAU,EACf,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,8BA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,EACrB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,iBAAiB,GACvB"}
|
package/resources/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
export { Entity, type EntityResponse, type EntityListResponse, type EntityBulkUpdateStatusResponse, type EntityExportResponse, type EntityGetCountsResponse, type EntitySearchResponse, type EntityUpdateParams, type EntityListParams, type EntityBulkUpdateStatusParams, type EntityExportParams, type EntityGetCountsParams, type EntitySearchParams, } from "./entity.js";
|
|
1
2
|
export { Files, type CsvProcessingStatus, type FileRetrieveResponse, type FileListResponse, type FileUploadResponse, type FileListParams, type FileUploadParams, } from "./files.js";
|
|
2
3
|
export { Icp, type EntityTargetConfig, type IcpResponse, type IcpListResponse, type IcpGetActiveRunsResponse, type IcpCreateParams, type IcpUpdateParams, type IcpListParams, } from "./icp.js";
|
|
3
4
|
export { Run, type RunCreateResponse, type RunRetrieveResponse, type RunListResponse, type RunGetQueueResponse, type RunCreateParams, type RunListParams, type RunGetQueueParams, } from "./run.js";
|
|
4
|
-
export { SheetResource, type EntityType, type Sheet, type SheetListResponse, type
|
|
5
|
+
export { SheetResource, type EntityType, type Sheet, type SheetListResponse, type SheetCreateParams, type SheetUpdateParams, type SheetListParams, } from "./sheet/sheet.js";
|
|
5
6
|
export { Signal, type SignalResponse, type SignalListResponse, type SignalListParams } from "./signal.js";
|
|
6
|
-
export { Task, type IngestTaskConfig, type
|
|
7
|
+
export { Task, type IngestPromptConfigResponse, type IngestTaskConfig, type IngestTaskConfigResponse, type ProfilePromptConfig, type ProfilePromptConfigResponse, type SearchTaskConfig, type SearchTaskConfigResponse, type SignalCsvConfig, type SignalCsvConfigResponse, type SignalSheetConfig, type SignalSheetConfigResponse, type SignalTopicConfig, type SignalTopicConfigResponse, type SignalTypeConfig, type TaskCreateResponse, type TaskRetrieveResponse, type TaskListResponse, type TaskExecuteResponse, type TaskCreateParams, type TaskUpdateParams, type TaskListParams, type TaskExecuteParams, } from "./task.js";
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,KAAK,EACL,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,gBAAgB,GACtB;OACM,EACL,GAAG,EACH,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,aAAa,GACnB;OACM,EACL,GAAG,EACH,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,iBAAiB,GACvB;OACM,EACL,aAAa,EACb,KAAK,UAAU,EACf,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,8BAA8B,EACnC,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,4BAA4B,EACjC,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,GACxB;OACM,EACL,KAAK,EACL,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,gBAAgB,GACtB;OACM,EACL,GAAG,EACH,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,aAAa,GACnB;OACM,EACL,GAAG,EACH,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,iBAAiB,GACvB;OACM,EACL,aAAa,EACb,KAAK,UAAU,EACf,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,GACrB;OACM,EAAE,MAAM,EAAE,KAAK,cAAc,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE;OAC/E,EACL,IAAI,EACJ,KAAK,0BAA0B,EAC/B,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,iBAAiB,GACvB"}
|
package/resources/index.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Task = exports.Signal = exports.SheetResource = exports.Run = exports.Icp = exports.Files = void 0;
|
|
4
|
+
exports.Task = exports.Signal = exports.SheetResource = exports.Run = exports.Icp = exports.Files = exports.Entity = void 0;
|
|
5
|
+
var entity_1 = require("./entity.js");
|
|
6
|
+
Object.defineProperty(exports, "Entity", { enumerable: true, get: function () { return entity_1.Entity; } });
|
|
5
7
|
var files_1 = require("./files.js");
|
|
6
8
|
Object.defineProperty(exports, "Files", { enumerable: true, get: function () { return files_1.Files; } });
|
|
7
9
|
var icp_1 = require("./icp.js");
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCAQiB;AAPf,8FAAA,KAAK,OAAA;AAQP,gCASe;AARb,0FAAA,GAAG,OAAA;AASL,gCASe;AARb,0FAAA,GAAG,OAAA;AASL,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAckB;AAbhB,gGAAA,MAAM,OAAA;AAcR,oCAQiB;AAPf,8FAAA,KAAK,OAAA;AAQP,gCASe;AARb,0FAAA,GAAG,OAAA;AASL,gCASe;AARb,0FAAA,GAAG,OAAA;AASL,0CAQuB;AAPrB,sGAAA,aAAa,OAAA;AAQf,sCAAuG;AAA9F,gGAAA,MAAM,OAAA;AACf,kCAwBgB;AAvBd,4FAAA,IAAI,OAAA"}
|
package/resources/index.mjs
CHANGED
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,KAAK,GAON;OACM,EACL,GAAG,GAQJ;OACM,EACL,GAAG,GAQJ;OACM,EACL,aAAa,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,MAAM,GAaP;OACM,EACL,KAAK,GAON;OACM,EACL,GAAG,GAQJ;OACM,EACL,GAAG,GAQJ;OACM,EACL,aAAa,GAOd;OACM,EAAE,MAAM,EAAuE;OAC/E,EACL,IAAI,GAuBL"}
|
package/resources/run.d.mts
CHANGED
|
@@ -95,9 +95,9 @@ export type RunRetrieveResponse = {
|
|
|
95
95
|
* - SheetListResponse (src/api/schema/sheet.py)
|
|
96
96
|
* - ICPListResponse (src/api/schema/icp.py)
|
|
97
97
|
*
|
|
98
|
-
* Attributes: runs: List of AgentRun objects for the current page
|
|
99
|
-
* number of runs matching the filter criteria page: Current
|
|
100
|
-
* page_size: Number of items per page
|
|
98
|
+
* Attributes: runs: List of AgentRun objects for the current page (metadata
|
|
99
|
+
* excluded) total: Total number of runs matching the filter criteria page: Current
|
|
100
|
+
* page number (1-based) page_size: Number of items per page
|
|
101
101
|
*/
|
|
102
102
|
export interface RunListResponse {
|
|
103
103
|
page: number;
|
package/resources/run.d.ts
CHANGED
|
@@ -95,9 +95,9 @@ export type RunRetrieveResponse = {
|
|
|
95
95
|
* - SheetListResponse (src/api/schema/sheet.py)
|
|
96
96
|
* - ICPListResponse (src/api/schema/icp.py)
|
|
97
97
|
*
|
|
98
|
-
* Attributes: runs: List of AgentRun objects for the current page
|
|
99
|
-
* number of runs matching the filter criteria page: Current
|
|
100
|
-
* page_size: Number of items per page
|
|
98
|
+
* Attributes: runs: List of AgentRun objects for the current page (metadata
|
|
99
|
+
* excluded) total: Total number of runs matching the filter criteria page: Current
|
|
100
|
+
* page number (1-based) page_size: Number of items per page
|
|
101
101
|
*/
|
|
102
102
|
export interface RunListResponse {
|
|
103
103
|
page: number;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export { Entity, type EntityRetrieveResponse, type EntityRetrieveParams, type EntityUpdateCommentsParams, type EntityUpdateStatusParams, } from "./entity.mjs";
|
|
2
1
|
export { Schema, type SchemaGetResponse, type SchemaGetDefaultResponse, type SchemaGetFieldDefinitionsResponse, type SchemaAddFieldsParams, type SchemaDeleteFieldsParams, } from "./schema.mjs";
|
|
3
|
-
export { SheetResource, type EntityType, type Sheet, type SheetListResponse, type
|
|
2
|
+
export { SheetResource, type EntityType, type Sheet, type SheetListResponse, type SheetCreateParams, type SheetUpdateParams, type SheetListParams, } from "./sheet.mjs";
|
|
4
3
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/sheet/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/sheet/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,GAC9B;OACM,EACL,aAAa,EACb,KAAK,UAAU,EACf,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,GACrB"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export { Entity, type EntityRetrieveResponse, type EntityRetrieveParams, type EntityUpdateCommentsParams, type EntityUpdateStatusParams, } from "./entity.js";
|
|
2
1
|
export { Schema, type SchemaGetResponse, type SchemaGetDefaultResponse, type SchemaGetFieldDefinitionsResponse, type SchemaAddFieldsParams, type SchemaDeleteFieldsParams, } from "./schema.js";
|
|
3
|
-
export { SheetResource, type EntityType, type Sheet, type SheetListResponse, type
|
|
2
|
+
export { SheetResource, type EntityType, type Sheet, type SheetListResponse, type SheetCreateParams, type SheetUpdateParams, type SheetListParams, } from "./sheet.js";
|
|
4
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/sheet/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/sheet/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,GAC9B;OACM,EACL,aAAa,EACb,KAAK,UAAU,EACf,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,GACrB"}
|
package/resources/sheet/index.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.SheetResource = exports.Schema =
|
|
5
|
-
var entity_1 = require("./entity.js");
|
|
6
|
-
Object.defineProperty(exports, "Entity", { enumerable: true, get: function () { return entity_1.Entity; } });
|
|
4
|
+
exports.SheetResource = exports.Schema = void 0;
|
|
7
5
|
var schema_1 = require("./schema.js");
|
|
8
6
|
Object.defineProperty(exports, "Schema", { enumerable: true, get: function () { return schema_1.Schema; } });
|
|
9
7
|
var sheet_1 = require("./sheet.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/sheet/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/sheet/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAOkB;AANhB,gGAAA,MAAM,OAAA;AAOR,oCAQiB;AAPf,sGAAA,aAAa,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/sheet/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,MAAM,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/sheet/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,MAAM,GAMP;OACM,EACL,aAAa,GAOd"}
|