bem-ai-sdk 0.26.0 → 0.27.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 +14 -0
- package/client.d.mts +127 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +127 -2
- package/client.d.ts.map +1 -1
- package/client.js +136 -3
- package/client.js.map +1 -1
- package/client.mjs +136 -3
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/buckets.d.mts +272 -0
- package/resources/buckets.d.mts.map +1 -0
- package/resources/buckets.d.ts +272 -0
- package/resources/buckets.d.ts.map +1 -0
- package/resources/buckets.js +93 -0
- package/resources/buckets.js.map +1 -0
- package/resources/buckets.mjs +89 -0
- package/resources/buckets.mjs.map +1 -0
- package/resources/entities/entities.d.mts +516 -0
- package/resources/entities/entities.d.mts.map +1 -0
- package/resources/entities/entities.d.ts +516 -0
- package/resources/entities/entities.d.ts.map +1 -0
- package/resources/entities/entities.js +93 -0
- package/resources/entities/entities.js.map +1 -0
- package/resources/entities/entities.mjs +88 -0
- package/resources/entities/entities.mjs.map +1 -0
- package/resources/entities/index.d.mts +3 -0
- package/resources/entities/index.d.mts.map +1 -0
- package/resources/entities/index.d.ts +3 -0
- package/resources/entities/index.d.ts.map +1 -0
- package/resources/entities/index.js +9 -0
- package/resources/entities/index.js.map +1 -0
- package/resources/entities/index.mjs +4 -0
- package/resources/entities/index.mjs.map +1 -0
- package/resources/entities/synonyms.d.mts +109 -0
- package/resources/entities/synonyms.d.mts.map +1 -0
- package/resources/entities/synonyms.d.ts +109 -0
- package/resources/entities/synonyms.d.ts.map +1 -0
- package/resources/entities/synonyms.js +61 -0
- package/resources/entities/synonyms.js.map +1 -0
- package/resources/entities/synonyms.mjs +57 -0
- package/resources/entities/synonyms.mjs.map +1 -0
- package/resources/entities.d.mts +2 -0
- package/resources/entities.d.mts.map +1 -0
- package/resources/entities.d.ts +2 -0
- package/resources/entities.d.ts.map +1 -0
- package/resources/entities.js +6 -0
- package/resources/entities.js.map +1 -0
- package/resources/entities.mjs +3 -0
- package/resources/entities.mjs.map +1 -0
- package/resources/entity-types/entity-types.d.mts +302 -0
- package/resources/entity-types/entity-types.d.mts.map +1 -0
- package/resources/entity-types/entity-types.d.ts +302 -0
- package/resources/entity-types/entity-types.d.ts.map +1 -0
- package/resources/entity-types/entity-types.js +104 -0
- package/resources/entity-types/entity-types.js.map +1 -0
- package/resources/entity-types/entity-types.mjs +99 -0
- package/resources/entity-types/entity-types.mjs.map +1 -0
- package/resources/entity-types/index.d.mts +3 -0
- package/resources/entity-types/index.d.mts.map +1 -0
- package/resources/entity-types/index.d.ts +3 -0
- package/resources/entity-types/index.d.ts.map +1 -0
- package/resources/entity-types/index.js +9 -0
- package/resources/entity-types/index.js.map +1 -0
- package/resources/entity-types/index.mjs +4 -0
- package/resources/entity-types/index.mjs.map +1 -0
- package/resources/entity-types/reviewers.d.mts +136 -0
- package/resources/entity-types/reviewers.d.mts.map +1 -0
- package/resources/entity-types/reviewers.d.ts +136 -0
- package/resources/entity-types/reviewers.d.ts.map +1 -0
- package/resources/entity-types/reviewers.js +74 -0
- package/resources/entity-types/reviewers.js.map +1 -0
- package/resources/entity-types/reviewers.mjs +70 -0
- package/resources/entity-types/reviewers.mjs.map +1 -0
- package/resources/entity-types.d.mts +2 -0
- package/resources/entity-types.d.mts.map +1 -0
- package/resources/entity-types.d.ts +2 -0
- package/resources/entity-types.d.ts.map +1 -0
- package/resources/entity-types.js +6 -0
- package/resources/entity-types.js.map +1 -0
- package/resources/entity-types.mjs +3 -0
- package/resources/entity-types.mjs.map +1 -0
- package/resources/eval/eval.d.mts +4 -0
- package/resources/eval/eval.d.mts.map +1 -1
- package/resources/eval/eval.d.ts +4 -0
- package/resources/eval/eval.d.ts.map +1 -1
- package/resources/eval/eval.js +4 -0
- package/resources/eval/eval.js.map +1 -1
- package/resources/eval/eval.mjs +4 -0
- package/resources/eval/eval.mjs.map +1 -1
- package/resources/eval/index.d.mts +1 -0
- package/resources/eval/index.d.mts.map +1 -1
- package/resources/eval/index.d.ts +1 -0
- package/resources/eval/index.d.ts.map +1 -1
- package/resources/eval/index.js +3 -1
- package/resources/eval/index.js.map +1 -1
- package/resources/eval/index.mjs +1 -0
- package/resources/eval/index.mjs.map +1 -1
- package/resources/eval/score.d.mts +486 -0
- package/resources/eval/score.d.mts.map +1 -0
- package/resources/eval/score.d.ts +486 -0
- package/resources/eval/score.d.ts.map +1 -0
- package/resources/eval/score.js +126 -0
- package/resources/eval/score.js.map +1 -0
- package/resources/eval/score.mjs +122 -0
- package/resources/eval/score.mjs.map +1 -0
- package/resources/fs.d.mts +28 -0
- package/resources/fs.d.mts.map +1 -1
- package/resources/fs.d.ts +28 -0
- package/resources/fs.d.ts.map +1 -1
- package/resources/index.d.mts +6 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +6 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +13 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +6 -0
- package/resources/index.mjs.map +1 -1
- package/resources/knowledge-graph.d.mts +125 -0
- package/resources/knowledge-graph.d.mts.map +1 -0
- package/resources/knowledge-graph.d.ts +125 -0
- package/resources/knowledge-graph.d.ts.map +1 -0
- package/resources/knowledge-graph.js +34 -0
- package/resources/knowledge-graph.js.map +1 -0
- package/resources/knowledge-graph.mjs +30 -0
- package/resources/knowledge-graph.mjs.map +1 -0
- package/resources/review-queue.d.mts +192 -0
- package/resources/review-queue.d.mts.map +1 -0
- package/resources/review-queue.d.ts +192 -0
- package/resources/review-queue.d.ts.map +1 -0
- package/resources/review-queue.js +49 -0
- package/resources/review-queue.js.map +1 -0
- package/resources/review-queue.mjs +45 -0
- package/resources/review-queue.mjs.map +1 -0
- package/resources/subscriptions.d.mts +14 -2
- package/resources/subscriptions.d.mts.map +1 -1
- package/resources/subscriptions.d.ts +14 -2
- package/resources/subscriptions.d.ts.map +1 -1
- package/resources/subscriptions.js +14 -2
- package/resources/subscriptions.js.map +1 -1
- package/resources/subscriptions.mjs +14 -2
- package/resources/subscriptions.mjs.map +1 -1
- package/resources/users.d.mts +62 -0
- package/resources/users.d.mts.map +1 -0
- package/resources/users.d.ts +62 -0
- package/resources/users.d.ts.map +1 -0
- package/resources/users.js +35 -0
- package/resources/users.js.map +1 -0
- package/resources/users.mjs +31 -0
- package/resources/users.mjs.map +1 -0
- package/src/client.ts +220 -3
- package/src/resources/buckets.ts +351 -0
- package/src/resources/entities/entities.ts +639 -0
- package/src/resources/entities/index.ts +20 -0
- package/src/resources/entities/synonyms.ts +140 -0
- package/src/resources/entities.ts +3 -0
- package/src/resources/entity-types/entity-types.ts +396 -0
- package/src/resources/entity-types/index.ts +19 -0
- package/src/resources/entity-types/reviewers.ts +175 -0
- package/src/resources/entity-types.ts +3 -0
- package/src/resources/eval/eval.ts +18 -0
- package/src/resources/eval/index.ts +7 -0
- package/src/resources/eval/score.ts +590 -0
- package/src/resources/fs.ts +30 -0
- package/src/resources/index.ts +40 -0
- package/src/resources/knowledge-graph.ts +153 -0
- package/src/resources/review-queue.ts +234 -0
- package/src/resources/subscriptions.ts +14 -2
- package/src/resources/users.ts +76 -0
- 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
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import * as SynonymsAPI from "./synonyms.mjs";
|
|
4
|
+
import { Synonyms } from "./synonyms.mjs";
|
|
5
|
+
import { path } from "../../internal/utils/path.mjs";
|
|
6
|
+
export class Entities extends APIResource {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.synonyms = new SynonymsAPI.Synonyms(this._client);
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Update Entity
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* const entity = await client.entities.update('id', {
|
|
17
|
+
* status: 'approved',
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
update(id, body, options) {
|
|
22
|
+
return this._client.patch(path `/v3/entities/${id}`, { body, ...options });
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Bulk Seed Entities
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```ts
|
|
29
|
+
* const response = await client.entities.bulkCreate({
|
|
30
|
+
* entities: [
|
|
31
|
+
* {
|
|
32
|
+
* canonical: 'Acme Corporation',
|
|
33
|
+
* type: 'organization',
|
|
34
|
+
* description: 'Industrial conglomerate',
|
|
35
|
+
* synonyms: ['ACME', 'Acme Corp'],
|
|
36
|
+
* attributes: { headquarters: 'Springfield' },
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* onConflict: 'merge',
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
bulkCreate(body, options) {
|
|
44
|
+
return this._client.post('/v3/entities/bulk', { body, ...options });
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Bulk Validate Entities
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```ts
|
|
51
|
+
* const response = await client.entities.bulkValidate({
|
|
52
|
+
* entityIDs: ['ent_2abc', 'ent_2def'],
|
|
53
|
+
* status: 'approved',
|
|
54
|
+
* });
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
bulkValidate(body, options) {
|
|
58
|
+
return this._client.post('/v3/entities/bulk-validate', { body, ...options });
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Get an Entity's Relations
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ```ts
|
|
65
|
+
* const response = await client.entities.retrieveRelations(
|
|
66
|
+
* 'id',
|
|
67
|
+
* );
|
|
68
|
+
* ```
|
|
69
|
+
*/
|
|
70
|
+
retrieveRelations(id, query = {}, options) {
|
|
71
|
+
return this._client.get(path `/v3/entities/${id}/relations`, { query, ...options });
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Get Seed Job Status
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* ```ts
|
|
78
|
+
* const response = await client.entities.retrieveSeedStatus(
|
|
79
|
+
* 'id',
|
|
80
|
+
* );
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
83
|
+
retrieveSeedStatus(id, options) {
|
|
84
|
+
return this._client.get(path `/v3/entities/seed/${id}`, options);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
Entities.Synonyms = Synonyms;
|
|
88
|
+
//# sourceMappingURL=entities.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entities.mjs","sourceRoot":"","sources":["../../src/resources/entities/entities.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EAA6D,QAAQ,EAAE,uBAAmB;AAGjG,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,QAAS,SAAQ,WAAW;IAAzC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAwF1E,CAAC;IAtFC;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAU,EAAE,IAAwB,EAAE,OAAwB;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,gBAAgB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;;;;;;;;;OAkBG;IACH,UAAU,CAAC,IAA4B,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;;;;OAUG;IACH,YAAY,CACV,IAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;OASG;IACH,iBAAiB,CACf,EAAU,EACV,QAA0D,EAAE,EAC5D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,gBAAgB,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;IAED;;;;;;;;;OASG;IACH,kBAAkB,CAAC,EAAU,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,qBAAqB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CACF;AAugBD,QAAQ,CAAC,QAAQ,GAAG,QAAQ,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Entities, type EntityUpdateResponse, type EntityBulkCreateResponse, type EntityBulkValidateResponse, type EntityRetrieveRelationsResponse, type EntityRetrieveSeedStatusResponse, type EntityUpdateParams, type EntityBulkCreateParams, type EntityBulkValidateParams, type EntityRetrieveRelationsParams, } from "./entities.mjs";
|
|
2
|
+
export { Synonyms, type SynonymAddResponse, type SynonymAddParams, type SynonymRemoveParams, } from "./synonyms.mjs";
|
|
3
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/entities/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EACrC,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,6BAA6B,GACnC,uBAAmB;AACpB,OAAO,EACL,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,GACzB,uBAAmB"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Entities, type EntityUpdateResponse, type EntityBulkCreateResponse, type EntityBulkValidateResponse, type EntityRetrieveRelationsResponse, type EntityRetrieveSeedStatusResponse, type EntityUpdateParams, type EntityBulkCreateParams, type EntityBulkValidateParams, type EntityRetrieveRelationsParams, } from "./entities.js";
|
|
2
|
+
export { Synonyms, type SynonymAddResponse, type SynonymAddParams, type SynonymRemoveParams, } from "./synonyms.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/entities/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EACrC,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,6BAA6B,GACnC,sBAAmB;AACpB,OAAO,EACL,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,GACzB,sBAAmB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Synonyms = exports.Entities = void 0;
|
|
5
|
+
var entities_1 = require("./entities.js");
|
|
6
|
+
Object.defineProperty(exports, "Entities", { enumerable: true, get: function () { return entities_1.Entities; } });
|
|
7
|
+
var synonyms_1 = require("./synonyms.js");
|
|
8
|
+
Object.defineProperty(exports, "Synonyms", { enumerable: true, get: function () { return synonyms_1.Synonyms; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/entities/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAWoB;AAVlB,oGAAA,QAAQ,OAAA;AAWV,0CAKoB;AAJlB,oGAAA,QAAQ,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/entities/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,QAAQ,GAUT,uBAAmB;AACpB,OAAO,EACL,QAAQ,GAIT,uBAAmB"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Manage the human-readable surface forms (synonyms) attached to a canonical
|
|
6
|
+
* entity. Synonyms feed the matcher's exact-match path, so adding the right
|
|
7
|
+
* synonyms improves cross-document entity resolution.
|
|
8
|
+
*
|
|
9
|
+
* - **`POST /v3/entities/{id}/synonyms`** attaches a `customer_defined`
|
|
10
|
+
* synonym. If the same normalized form already exists as an `extracted`
|
|
11
|
+
* synonym, it is upgraded to `customer_defined` (so the matcher weights it
|
|
12
|
+
* higher); an existing customer/SME synonym is returned unchanged.
|
|
13
|
+
* - **`DELETE /v3/entities/{id}/synonyms/{synonymID}`** soft-deletes a
|
|
14
|
+
* synonym. Only `customer_defined` and `sme_approved` synonyms are
|
|
15
|
+
* deletable; `extracted` synonyms are resolver-owned and the request is
|
|
16
|
+
* rejected with `409 Conflict`.
|
|
17
|
+
*
|
|
18
|
+
* A merged-away entity id transparently resolves to its surviving canonical
|
|
19
|
+
* entity, so a synonym added to a stale id lands on the entity that persists.
|
|
20
|
+
*/
|
|
21
|
+
export declare class Synonyms extends APIResource {
|
|
22
|
+
/**
|
|
23
|
+
* Add a Synonym to an Entity
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```ts
|
|
27
|
+
* const response = await client.entities.synonyms.add('id', {
|
|
28
|
+
* text: 'ACME Corporation',
|
|
29
|
+
* locale: 'en-US',
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
add(id: string, params: SynonymAddParams, options?: RequestOptions): APIPromise<SynonymAddResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* Remove a Synonym from an Entity
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```ts
|
|
39
|
+
* await client.entities.synonyms.remove('synonymID', {
|
|
40
|
+
* id: 'id',
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
remove(synonymID: string, params: SynonymRemoveParams, options?: RequestOptions): APIPromise<void>;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* One synonym attached to an entity.
|
|
48
|
+
*/
|
|
49
|
+
export interface SynonymAddResponse {
|
|
50
|
+
/**
|
|
51
|
+
* Creation timestamp of the synonym (RFC 3339).
|
|
52
|
+
*/
|
|
53
|
+
createdAt: string;
|
|
54
|
+
/**
|
|
55
|
+
* Lowercased, whitespace-folded form of `text`.
|
|
56
|
+
*/
|
|
57
|
+
normalizedText: string;
|
|
58
|
+
/**
|
|
59
|
+
* Provenance of the synonym. `customer_defined` and `sme_approved` synonyms are
|
|
60
|
+
* deletable; `extracted` synonyms are resolver-owned and cannot be deleted.
|
|
61
|
+
*/
|
|
62
|
+
source: 'extracted' | 'customer_defined' | 'sme_approved';
|
|
63
|
+
/**
|
|
64
|
+
* Stable public identifier for the synonym (`esn_...`).
|
|
65
|
+
*/
|
|
66
|
+
synonymID: string;
|
|
67
|
+
/**
|
|
68
|
+
* The human-readable synonym as authored.
|
|
69
|
+
*/
|
|
70
|
+
text: string;
|
|
71
|
+
/**
|
|
72
|
+
* Optional BCP 47 locale tag, when one was supplied.
|
|
73
|
+
*/
|
|
74
|
+
locale?: string;
|
|
75
|
+
}
|
|
76
|
+
export interface SynonymAddParams {
|
|
77
|
+
/**
|
|
78
|
+
* Body param: The human-readable synonym surface form to attach (e.g. `Acme Corp`,
|
|
79
|
+
* `ACME`). It is normalized (lowercased, whitespace-folded) for the uniqueness key
|
|
80
|
+
* and the matcher's exact-match path.
|
|
81
|
+
*/
|
|
82
|
+
text: string;
|
|
83
|
+
/**
|
|
84
|
+
* Query param: Optional bucket public ID (`bkt_...`) to scope the entity lookup to
|
|
85
|
+
* one bucket. Omit for the unscoped (all account+environment) view.
|
|
86
|
+
*/
|
|
87
|
+
bucket?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Body param: Optional BCP 47 locale tag (e.g. `en-US`) for language-specific
|
|
90
|
+
* synonyms.
|
|
91
|
+
*/
|
|
92
|
+
locale?: string;
|
|
93
|
+
}
|
|
94
|
+
export interface SynonymRemoveParams {
|
|
95
|
+
/**
|
|
96
|
+
* Path param: Entity public ID (`ent_...`). A merged-away id resolves to the
|
|
97
|
+
* surviving entity.
|
|
98
|
+
*/
|
|
99
|
+
id: string;
|
|
100
|
+
/**
|
|
101
|
+
* Query param: Optional bucket public ID (`bkt_...`) to scope the entity lookup to
|
|
102
|
+
* one bucket. Omit for the unscoped (all account+environment) view.
|
|
103
|
+
*/
|
|
104
|
+
bucket?: string;
|
|
105
|
+
}
|
|
106
|
+
export declare namespace Synonyms {
|
|
107
|
+
export { type SynonymAddResponse as SynonymAddResponse, type SynonymAddParams as SynonymAddParams, type SynonymRemoveParams as SynonymRemoveParams, };
|
|
108
|
+
}
|
|
109
|
+
//# sourceMappingURL=synonyms.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"synonyms.d.mts","sourceRoot":"","sources":["../../src/resources/entities/synonyms.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;OAUG;IACH,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAKnG;;;;;;;;;OASG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAQnG;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,MAAM,EAAE,WAAW,GAAG,kBAAkB,GAAG,cAAc,CAAC;IAE1D;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
|
+
/**
|
|
5
|
+
* Manage the human-readable surface forms (synonyms) attached to a canonical
|
|
6
|
+
* entity. Synonyms feed the matcher's exact-match path, so adding the right
|
|
7
|
+
* synonyms improves cross-document entity resolution.
|
|
8
|
+
*
|
|
9
|
+
* - **`POST /v3/entities/{id}/synonyms`** attaches a `customer_defined`
|
|
10
|
+
* synonym. If the same normalized form already exists as an `extracted`
|
|
11
|
+
* synonym, it is upgraded to `customer_defined` (so the matcher weights it
|
|
12
|
+
* higher); an existing customer/SME synonym is returned unchanged.
|
|
13
|
+
* - **`DELETE /v3/entities/{id}/synonyms/{synonymID}`** soft-deletes a
|
|
14
|
+
* synonym. Only `customer_defined` and `sme_approved` synonyms are
|
|
15
|
+
* deletable; `extracted` synonyms are resolver-owned and the request is
|
|
16
|
+
* rejected with `409 Conflict`.
|
|
17
|
+
*
|
|
18
|
+
* A merged-away entity id transparently resolves to its surviving canonical
|
|
19
|
+
* entity, so a synonym added to a stale id lands on the entity that persists.
|
|
20
|
+
*/
|
|
21
|
+
export declare class Synonyms extends APIResource {
|
|
22
|
+
/**
|
|
23
|
+
* Add a Synonym to an Entity
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```ts
|
|
27
|
+
* const response = await client.entities.synonyms.add('id', {
|
|
28
|
+
* text: 'ACME Corporation',
|
|
29
|
+
* locale: 'en-US',
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
add(id: string, params: SynonymAddParams, options?: RequestOptions): APIPromise<SynonymAddResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* Remove a Synonym from an Entity
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```ts
|
|
39
|
+
* await client.entities.synonyms.remove('synonymID', {
|
|
40
|
+
* id: 'id',
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
remove(synonymID: string, params: SynonymRemoveParams, options?: RequestOptions): APIPromise<void>;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* One synonym attached to an entity.
|
|
48
|
+
*/
|
|
49
|
+
export interface SynonymAddResponse {
|
|
50
|
+
/**
|
|
51
|
+
* Creation timestamp of the synonym (RFC 3339).
|
|
52
|
+
*/
|
|
53
|
+
createdAt: string;
|
|
54
|
+
/**
|
|
55
|
+
* Lowercased, whitespace-folded form of `text`.
|
|
56
|
+
*/
|
|
57
|
+
normalizedText: string;
|
|
58
|
+
/**
|
|
59
|
+
* Provenance of the synonym. `customer_defined` and `sme_approved` synonyms are
|
|
60
|
+
* deletable; `extracted` synonyms are resolver-owned and cannot be deleted.
|
|
61
|
+
*/
|
|
62
|
+
source: 'extracted' | 'customer_defined' | 'sme_approved';
|
|
63
|
+
/**
|
|
64
|
+
* Stable public identifier for the synonym (`esn_...`).
|
|
65
|
+
*/
|
|
66
|
+
synonymID: string;
|
|
67
|
+
/**
|
|
68
|
+
* The human-readable synonym as authored.
|
|
69
|
+
*/
|
|
70
|
+
text: string;
|
|
71
|
+
/**
|
|
72
|
+
* Optional BCP 47 locale tag, when one was supplied.
|
|
73
|
+
*/
|
|
74
|
+
locale?: string;
|
|
75
|
+
}
|
|
76
|
+
export interface SynonymAddParams {
|
|
77
|
+
/**
|
|
78
|
+
* Body param: The human-readable synonym surface form to attach (e.g. `Acme Corp`,
|
|
79
|
+
* `ACME`). It is normalized (lowercased, whitespace-folded) for the uniqueness key
|
|
80
|
+
* and the matcher's exact-match path.
|
|
81
|
+
*/
|
|
82
|
+
text: string;
|
|
83
|
+
/**
|
|
84
|
+
* Query param: Optional bucket public ID (`bkt_...`) to scope the entity lookup to
|
|
85
|
+
* one bucket. Omit for the unscoped (all account+environment) view.
|
|
86
|
+
*/
|
|
87
|
+
bucket?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Body param: Optional BCP 47 locale tag (e.g. `en-US`) for language-specific
|
|
90
|
+
* synonyms.
|
|
91
|
+
*/
|
|
92
|
+
locale?: string;
|
|
93
|
+
}
|
|
94
|
+
export interface SynonymRemoveParams {
|
|
95
|
+
/**
|
|
96
|
+
* Path param: Entity public ID (`ent_...`). A merged-away id resolves to the
|
|
97
|
+
* surviving entity.
|
|
98
|
+
*/
|
|
99
|
+
id: string;
|
|
100
|
+
/**
|
|
101
|
+
* Query param: Optional bucket public ID (`bkt_...`) to scope the entity lookup to
|
|
102
|
+
* one bucket. Omit for the unscoped (all account+environment) view.
|
|
103
|
+
*/
|
|
104
|
+
bucket?: string;
|
|
105
|
+
}
|
|
106
|
+
export declare namespace Synonyms {
|
|
107
|
+
export { type SynonymAddResponse as SynonymAddResponse, type SynonymAddParams as SynonymAddParams, type SynonymRemoveParams as SynonymRemoveParams, };
|
|
108
|
+
}
|
|
109
|
+
//# sourceMappingURL=synonyms.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"synonyms.d.ts","sourceRoot":"","sources":["../../src/resources/entities/synonyms.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;OAUG;IACH,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAKnG;;;;;;;;;OASG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAQnG;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,MAAM,EAAE,WAAW,GAAG,kBAAkB,GAAG,cAAc,CAAC;IAE1D;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Synonyms = void 0;
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
const headers_1 = require("../../internal/headers.js");
|
|
7
|
+
const path_1 = require("../../internal/utils/path.js");
|
|
8
|
+
/**
|
|
9
|
+
* Manage the human-readable surface forms (synonyms) attached to a canonical
|
|
10
|
+
* entity. Synonyms feed the matcher's exact-match path, so adding the right
|
|
11
|
+
* synonyms improves cross-document entity resolution.
|
|
12
|
+
*
|
|
13
|
+
* - **`POST /v3/entities/{id}/synonyms`** attaches a `customer_defined`
|
|
14
|
+
* synonym. If the same normalized form already exists as an `extracted`
|
|
15
|
+
* synonym, it is upgraded to `customer_defined` (so the matcher weights it
|
|
16
|
+
* higher); an existing customer/SME synonym is returned unchanged.
|
|
17
|
+
* - **`DELETE /v3/entities/{id}/synonyms/{synonymID}`** soft-deletes a
|
|
18
|
+
* synonym. Only `customer_defined` and `sme_approved` synonyms are
|
|
19
|
+
* deletable; `extracted` synonyms are resolver-owned and the request is
|
|
20
|
+
* rejected with `409 Conflict`.
|
|
21
|
+
*
|
|
22
|
+
* A merged-away entity id transparently resolves to its surviving canonical
|
|
23
|
+
* entity, so a synonym added to a stale id lands on the entity that persists.
|
|
24
|
+
*/
|
|
25
|
+
class Synonyms extends resource_1.APIResource {
|
|
26
|
+
/**
|
|
27
|
+
* Add a Synonym to an Entity
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* const response = await client.entities.synonyms.add('id', {
|
|
32
|
+
* text: 'ACME Corporation',
|
|
33
|
+
* locale: 'en-US',
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
add(id, params, options) {
|
|
38
|
+
const { bucket, ...body } = params;
|
|
39
|
+
return this._client.post((0, path_1.path) `/v3/entities/${id}/synonyms`, { query: { bucket }, body, ...options });
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Remove a Synonym from an Entity
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```ts
|
|
46
|
+
* await client.entities.synonyms.remove('synonymID', {
|
|
47
|
+
* id: 'id',
|
|
48
|
+
* });
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
remove(synonymID, params, options) {
|
|
52
|
+
const { id, bucket } = params;
|
|
53
|
+
return this._client.delete((0, path_1.path) `/v3/entities/${id}/synonyms/${synonymID}`, {
|
|
54
|
+
query: { bucket },
|
|
55
|
+
...options,
|
|
56
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.Synonyms = Synonyms;
|
|
61
|
+
//# sourceMappingURL=synonyms.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"synonyms.js","sourceRoot":"","sources":["../../src/resources/entities/synonyms.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;AAEtD,uDAAiD;AAEjD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;;;;;;;OAUG;IACH,GAAG,CAAC,EAAU,EAAE,MAAwB,EAAE,OAAwB;QAChE,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACnC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,gBAAgB,EAAE,WAAW,EAAE,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,SAAiB,EAAE,MAA2B,EAAE,OAAwB;QAC7E,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,gBAAgB,EAAE,aAAa,SAAS,EAAE,EAAE;YACzE,KAAK,EAAE,EAAE,MAAM,EAAE;YACjB,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAnCD,4BAmCC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
/**
|
|
6
|
+
* Manage the human-readable surface forms (synonyms) attached to a canonical
|
|
7
|
+
* entity. Synonyms feed the matcher's exact-match path, so adding the right
|
|
8
|
+
* synonyms improves cross-document entity resolution.
|
|
9
|
+
*
|
|
10
|
+
* - **`POST /v3/entities/{id}/synonyms`** attaches a `customer_defined`
|
|
11
|
+
* synonym. If the same normalized form already exists as an `extracted`
|
|
12
|
+
* synonym, it is upgraded to `customer_defined` (so the matcher weights it
|
|
13
|
+
* higher); an existing customer/SME synonym is returned unchanged.
|
|
14
|
+
* - **`DELETE /v3/entities/{id}/synonyms/{synonymID}`** soft-deletes a
|
|
15
|
+
* synonym. Only `customer_defined` and `sme_approved` synonyms are
|
|
16
|
+
* deletable; `extracted` synonyms are resolver-owned and the request is
|
|
17
|
+
* rejected with `409 Conflict`.
|
|
18
|
+
*
|
|
19
|
+
* A merged-away entity id transparently resolves to its surviving canonical
|
|
20
|
+
* entity, so a synonym added to a stale id lands on the entity that persists.
|
|
21
|
+
*/
|
|
22
|
+
export class Synonyms extends APIResource {
|
|
23
|
+
/**
|
|
24
|
+
* Add a Synonym to an Entity
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```ts
|
|
28
|
+
* const response = await client.entities.synonyms.add('id', {
|
|
29
|
+
* text: 'ACME Corporation',
|
|
30
|
+
* locale: 'en-US',
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
add(id, params, options) {
|
|
35
|
+
const { bucket, ...body } = params;
|
|
36
|
+
return this._client.post(path `/v3/entities/${id}/synonyms`, { query: { bucket }, body, ...options });
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Remove a Synonym from an Entity
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```ts
|
|
43
|
+
* await client.entities.synonyms.remove('synonymID', {
|
|
44
|
+
* id: 'id',
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
remove(synonymID, params, options) {
|
|
49
|
+
const { id, bucket } = params;
|
|
50
|
+
return this._client.delete(path `/v3/entities/${id}/synonyms/${synonymID}`, {
|
|
51
|
+
query: { bucket },
|
|
52
|
+
...options,
|
|
53
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=synonyms.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"synonyms.mjs","sourceRoot":"","sources":["../../src/resources/entities/synonyms.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;OAUG;IACH,GAAG,CAAC,EAAU,EAAE,MAAwB,EAAE,OAAwB;QAChE,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACnC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,gBAAgB,EAAE,WAAW,EAAE,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,SAAiB,EAAE,MAA2B,EAAE,OAAwB;QAC7E,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,gBAAgB,EAAE,aAAa,SAAS,EAAE,EAAE;YACzE,KAAK,EAAE,EAAE,MAAM,EAAE;YACjB,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entities.d.mts","sourceRoot":"","sources":["../src/resources/entities.ts"],"names":[],"mappings":"AAEA,qCAAiC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../src/resources/entities.ts"],"names":[],"mappings":"AAEA,oCAAiC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const tslib_1 = require("../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./entities/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=entities.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entities.js","sourceRoot":"","sources":["../src/resources/entities.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8DAAiC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entities.mjs","sourceRoot":"","sources":["../src/resources/entities.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,qCAAiC"}
|