bem-ai-sdk 0.27.0 → 0.29.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.
Files changed (138) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/client.d.mts +10 -10
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +10 -10
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/buckets.d.mts +9 -113
  10. package/resources/buckets.d.mts.map +1 -1
  11. package/resources/buckets.d.ts +9 -113
  12. package/resources/buckets.d.ts.map +1 -1
  13. package/resources/buckets.js +3 -3
  14. package/resources/buckets.js.map +1 -1
  15. package/resources/buckets.mjs +3 -3
  16. package/resources/buckets.mjs.map +1 -1
  17. package/resources/entities/entities.d.mts +52 -93
  18. package/resources/entities/entities.d.mts.map +1 -1
  19. package/resources/entities/entities.d.ts +52 -93
  20. package/resources/entities/entities.d.ts.map +1 -1
  21. package/resources/entities/entities.js.map +1 -1
  22. package/resources/entities/entities.mjs.map +1 -1
  23. package/resources/entities/index.d.mts +1 -1
  24. package/resources/entities/index.d.mts.map +1 -1
  25. package/resources/entities/index.d.ts +1 -1
  26. package/resources/entities/index.d.ts.map +1 -1
  27. package/resources/entities/index.js.map +1 -1
  28. package/resources/entities/index.mjs.map +1 -1
  29. package/resources/entity-types/entity-types.d.mts +8 -124
  30. package/resources/entity-types/entity-types.d.mts.map +1 -1
  31. package/resources/entity-types/entity-types.d.ts +8 -124
  32. package/resources/entity-types/entity-types.d.ts.map +1 -1
  33. package/resources/entity-types/entity-types.js.map +1 -1
  34. package/resources/entity-types/entity-types.mjs.map +1 -1
  35. package/resources/entity-types/index.d.mts +2 -2
  36. package/resources/entity-types/index.d.mts.map +1 -1
  37. package/resources/entity-types/index.d.ts +2 -2
  38. package/resources/entity-types/index.d.ts.map +1 -1
  39. package/resources/entity-types/index.js.map +1 -1
  40. package/resources/entity-types/index.mjs.map +1 -1
  41. package/resources/entity-types/reviewers.d.mts +10 -39
  42. package/resources/entity-types/reviewers.d.mts.map +1 -1
  43. package/resources/entity-types/reviewers.d.ts +10 -39
  44. package/resources/entity-types/reviewers.d.ts.map +1 -1
  45. package/resources/entity-types/reviewers.js +1 -1
  46. package/resources/entity-types/reviewers.js.map +1 -1
  47. package/resources/entity-types/reviewers.mjs +1 -1
  48. package/resources/entity-types/reviewers.mjs.map +1 -1
  49. package/resources/errors.d.mts +9 -0
  50. package/resources/errors.d.mts.map +1 -1
  51. package/resources/errors.d.ts +9 -0
  52. package/resources/errors.d.ts.map +1 -1
  53. package/resources/eval/eval.d.mts +2 -2
  54. package/resources/eval/eval.d.mts.map +1 -1
  55. package/resources/eval/eval.d.ts +2 -2
  56. package/resources/eval/eval.d.ts.map +1 -1
  57. package/resources/eval/eval.js.map +1 -1
  58. package/resources/eval/eval.mjs.map +1 -1
  59. package/resources/eval/index.d.mts +1 -1
  60. package/resources/eval/index.d.mts.map +1 -1
  61. package/resources/eval/index.d.ts +1 -1
  62. package/resources/eval/index.d.ts.map +1 -1
  63. package/resources/eval/index.js.map +1 -1
  64. package/resources/eval/index.mjs.map +1 -1
  65. package/resources/eval/score.d.mts +60 -219
  66. package/resources/eval/score.d.mts.map +1 -1
  67. package/resources/eval/score.d.ts +60 -219
  68. package/resources/eval/score.d.ts.map +1 -1
  69. package/resources/eval/score.js +2 -2
  70. package/resources/eval/score.js.map +1 -1
  71. package/resources/eval/score.mjs +2 -2
  72. package/resources/eval/score.mjs.map +1 -1
  73. package/resources/functions/functions.d.mts +495 -896
  74. package/resources/functions/functions.d.mts.map +1 -1
  75. package/resources/functions/functions.d.ts +495 -896
  76. package/resources/functions/functions.d.ts.map +1 -1
  77. package/resources/functions/functions.js +2 -2
  78. package/resources/functions/functions.js.map +1 -1
  79. package/resources/functions/functions.mjs +2 -2
  80. package/resources/functions/functions.mjs.map +1 -1
  81. package/resources/functions/index.d.mts +1 -1
  82. package/resources/functions/index.d.mts.map +1 -1
  83. package/resources/functions/index.d.ts +1 -1
  84. package/resources/functions/index.d.ts.map +1 -1
  85. package/resources/functions/index.js.map +1 -1
  86. package/resources/functions/index.mjs.map +1 -1
  87. package/resources/functions/versions.d.mts +44 -18
  88. package/resources/functions/versions.d.mts.map +1 -1
  89. package/resources/functions/versions.d.ts +44 -18
  90. package/resources/functions/versions.d.ts.map +1 -1
  91. package/resources/index.d.mts +5 -5
  92. package/resources/index.d.mts.map +1 -1
  93. package/resources/index.d.ts +5 -5
  94. package/resources/index.d.ts.map +1 -1
  95. package/resources/index.js.map +1 -1
  96. package/resources/index.mjs.map +1 -1
  97. package/resources/knowledge-graph.d.mts +18 -0
  98. package/resources/knowledge-graph.d.mts.map +1 -1
  99. package/resources/knowledge-graph.d.ts +18 -0
  100. package/resources/knowledge-graph.d.ts.map +1 -1
  101. package/resources/outputs.d.mts +80 -2
  102. package/resources/outputs.d.mts.map +1 -1
  103. package/resources/outputs.d.ts +80 -2
  104. package/resources/outputs.d.ts.map +1 -1
  105. package/resources/views.d.mts +97 -745
  106. package/resources/views.d.mts.map +1 -1
  107. package/resources/views.d.ts +97 -745
  108. package/resources/views.d.ts.map +1 -1
  109. package/resources/workflows/workflows.d.mts +10 -19
  110. package/resources/workflows/workflows.d.mts.map +1 -1
  111. package/resources/workflows/workflows.d.ts +10 -19
  112. package/resources/workflows/workflows.d.ts.map +1 -1
  113. package/resources/workflows/workflows.js.map +1 -1
  114. package/resources/workflows/workflows.mjs.map +1 -1
  115. package/src/client.ts +38 -18
  116. package/src/resources/buckets.ts +9 -137
  117. package/src/resources/entities/entities.ts +61 -106
  118. package/src/resources/entities/index.ts +2 -0
  119. package/src/resources/entity-types/entity-types.ts +8 -151
  120. package/src/resources/entity-types/index.ts +2 -4
  121. package/src/resources/entity-types/reviewers.ts +11 -49
  122. package/src/resources/errors.ts +10 -0
  123. package/src/resources/eval/eval.ts +8 -4
  124. package/src/resources/eval/index.ts +4 -2
  125. package/src/resources/eval/score.ts +66 -263
  126. package/src/resources/functions/functions.ts +536 -987
  127. package/src/resources/functions/index.ts +8 -0
  128. package/src/resources/functions/versions.ts +54 -18
  129. package/src/resources/index.ts +19 -9
  130. package/src/resources/knowledge-graph.ts +21 -0
  131. package/src/resources/outputs.ts +102 -1
  132. package/src/resources/views.ts +118 -936
  133. package/src/resources/workflows/workflows.ts +11 -21
  134. package/src/version.ts +1 -1
  135. package/version.d.mts +1 -1
  136. package/version.d.ts +1 -1
  137. package/version.js +1 -1
  138. package/version.mjs +1 -1
@@ -1,4 +1,5 @@
1
1
  import { APIResource } from "../../core/resource.js";
2
+ import * as EntitiesAPI from "./entities.js";
2
3
  import * as SynonymsAPI from "./synonyms.js";
3
4
  import { SynonymAddParams, SynonymAddResponse, SynonymRemoveParams, Synonyms } from "./synonyms.js";
4
5
  import { APIPromise } from "../../core/api-promise.js";
@@ -71,6 +72,52 @@ export declare class Entities extends APIResource {
71
72
  */
72
73
  retrieveSeedStatus(id: string, options?: RequestOptions): APIPromise<EntityRetrieveSeedStatusResponse>;
73
74
  }
75
+ /**
76
+ * A compact view of an entity sitting on the far end of a relation edge — the
77
+ * stable public id, the canonical name, and the effective type. The full entity is
78
+ * fetched separately via the entity detail / File System endpoints.
79
+ */
80
+ export interface RelatedEntity {
81
+ /**
82
+ * Stable public identifier for the entity (`ent_...`).
83
+ */
84
+ id: string;
85
+ /**
86
+ * Canonical (most descriptive) surface form of the entity.
87
+ */
88
+ canonical: string;
89
+ /**
90
+ * Hops from the queried entity. This endpoint returns direct relations, so this is
91
+ * 1 (a self-loop's far end is the queried entity itself, 0).
92
+ */
93
+ depth: number;
94
+ /**
95
+ * Effective entity type.
96
+ */
97
+ type: string;
98
+ }
99
+ /**
100
+ * The outcome of seeding one row.
101
+ */
102
+ export interface SeedRowResult {
103
+ /**
104
+ * The canonical name from the input row.
105
+ */
106
+ canonical: string;
107
+ /**
108
+ * What happened to this row: `created` (new entity), `merged-with` (matched an
109
+ * existing entity), or `rejected` (see `reason`).
110
+ */
111
+ outcome: 'created' | 'merged-with' | 'rejected';
112
+ /**
113
+ * Public ID (`ent_...`) of the created or merged entity. Absent when rejected.
114
+ */
115
+ entityID?: string;
116
+ /**
117
+ * Human-readable explanation when `outcome` is `rejected`.
118
+ */
119
+ reason?: string;
120
+ }
74
121
  /**
75
122
  * An entity record, including its curation status and assigned type.
76
123
  */
@@ -131,35 +178,13 @@ export interface EntityBulkCreateResponse {
131
178
  /**
132
179
  * Per-row outcomes, in request order.
133
180
  */
134
- results: Array<EntityBulkCreateResponse.Result>;
181
+ results: Array<SeedRowResult>;
135
182
  /**
136
183
  * Per-outcome tally across a batch.
137
184
  */
138
185
  summary: EntityBulkCreateResponse.Summary;
139
186
  }
140
187
  export declare namespace EntityBulkCreateResponse {
141
- /**
142
- * The outcome of seeding one row.
143
- */
144
- interface Result {
145
- /**
146
- * The canonical name from the input row.
147
- */
148
- canonical: string;
149
- /**
150
- * What happened to this row: `created` (new entity), `merged-with` (matched an
151
- * existing entity), or `rejected` (see `reason`).
152
- */
153
- outcome: 'created' | 'merged-with' | 'rejected';
154
- /**
155
- * Public ID (`ent_...`) of the created or merged entity. Absent when rejected.
156
- */
157
- entityID?: string;
158
- /**
159
- * Human-readable explanation when `outcome` is `rejected`.
160
- */
161
- reason?: string;
162
- }
163
188
  /**
164
189
  * Per-outcome tally across a batch.
165
190
  */
@@ -268,28 +293,7 @@ export declare namespace EntityRetrieveRelationsResponse {
268
293
  * stable public id, the canonical name, and the effective type. The full entity is
269
294
  * fetched separately via the entity detail / File System endpoints.
270
295
  */
271
- sourceEntity: Inbound.SourceEntity;
272
- }
273
- namespace Inbound {
274
- /**
275
- * A compact view of an entity sitting on the far end of a relation edge — the
276
- * stable public id, the canonical name, and the effective type. The full entity is
277
- * fetched separately via the entity detail / File System endpoints.
278
- */
279
- interface SourceEntity {
280
- /**
281
- * Stable public identifier for the entity (`ent_...`).
282
- */
283
- id: string;
284
- /**
285
- * Canonical (most descriptive) surface form of the entity.
286
- */
287
- canonical: string;
288
- /**
289
- * Effective entity type.
290
- */
291
- type: string;
292
- }
296
+ sourceEntity: EntitiesAPI.RelatedEntity;
293
297
  }
294
298
  /**
295
299
  * One edge pointing AWAY from the queried entity (it is the source).
@@ -312,28 +316,7 @@ export declare namespace EntityRetrieveRelationsResponse {
312
316
  * stable public id, the canonical name, and the effective type. The full entity is
313
317
  * fetched separately via the entity detail / File System endpoints.
314
318
  */
315
- targetEntity: Outbound.TargetEntity;
316
- }
317
- namespace Outbound {
318
- /**
319
- * A compact view of an entity sitting on the far end of a relation edge — the
320
- * stable public id, the canonical name, and the effective type. The full entity is
321
- * fetched separately via the entity detail / File System endpoints.
322
- */
323
- interface TargetEntity {
324
- /**
325
- * Stable public identifier for the entity (`ent_...`).
326
- */
327
- id: string;
328
- /**
329
- * Canonical (most descriptive) surface form of the entity.
330
- */
331
- canonical: string;
332
- /**
333
- * Effective entity type.
334
- */
335
- type: string;
336
- }
319
+ targetEntity: EntitiesAPI.RelatedEntity;
337
320
  }
338
321
  }
339
322
  /**
@@ -371,31 +354,7 @@ export interface EntityRetrieveSeedStatusResponse {
371
354
  /**
372
355
  * Per-row outcomes. Present only once `status` is `completed`.
373
356
  */
374
- results?: Array<EntityRetrieveSeedStatusResponse.Result>;
375
- }
376
- export declare namespace EntityRetrieveSeedStatusResponse {
377
- /**
378
- * The outcome of seeding one row.
379
- */
380
- interface Result {
381
- /**
382
- * The canonical name from the input row.
383
- */
384
- canonical: string;
385
- /**
386
- * What happened to this row: `created` (new entity), `merged-with` (matched an
387
- * existing entity), or `rejected` (see `reason`).
388
- */
389
- outcome: 'created' | 'merged-with' | 'rejected';
390
- /**
391
- * Public ID (`ent_...`) of the created or merged entity. Absent when rejected.
392
- */
393
- entityID?: string;
394
- /**
395
- * Human-readable explanation when `outcome` is `rejected`.
396
- */
397
- reason?: string;
398
- }
357
+ results?: Array<SeedRowResult>;
399
358
  }
400
359
  export interface EntityUpdateParams {
401
360
  /**
@@ -510,7 +469,7 @@ export interface EntityRetrieveRelationsParams {
510
469
  relationType?: string;
511
470
  }
512
471
  export declare namespace Entities {
513
- export { type EntityUpdateResponse as EntityUpdateResponse, type EntityBulkCreateResponse as EntityBulkCreateResponse, type EntityBulkValidateResponse as EntityBulkValidateResponse, type EntityRetrieveRelationsResponse as EntityRetrieveRelationsResponse, type EntityRetrieveSeedStatusResponse as EntityRetrieveSeedStatusResponse, type EntityUpdateParams as EntityUpdateParams, type EntityBulkCreateParams as EntityBulkCreateParams, type EntityBulkValidateParams as EntityBulkValidateParams, type EntityRetrieveRelationsParams as EntityRetrieveRelationsParams, };
472
+ export { type RelatedEntity as RelatedEntity, type SeedRowResult as SeedRowResult, type EntityUpdateResponse as EntityUpdateResponse, type EntityBulkCreateResponse as EntityBulkCreateResponse, type EntityBulkValidateResponse as EntityBulkValidateResponse, type EntityRetrieveRelationsResponse as EntityRetrieveRelationsResponse, type EntityRetrieveSeedStatusResponse as EntityRetrieveSeedStatusResponse, type EntityUpdateParams as EntityUpdateParams, type EntityBulkCreateParams as EntityBulkCreateParams, type EntityBulkValidateParams as EntityBulkValidateParams, type EntityRetrieveRelationsParams as EntityRetrieveRelationsParams, };
514
473
  export { Synonyms as Synonyms, type SynonymAddResponse as SynonymAddResponse, type SynonymAddParams as SynonymAddParams, type SynonymRemoveParams as SynonymRemoveParams, };
515
474
  }
516
475
  //# sourceMappingURL=entities.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../src/resources/entities/entities.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,WAAW,sBAAmB;AAC1C,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,QAAQ,EAAE,sBAAmB;AACjG,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,QAAS,SAAQ,WAAW;IACvC,Q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M,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;AAudD,QAAQ,CAAC,QAAQ,GAAG,QAAQ,CAAC"}
@@ -1,3 +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";
1
+ export { Entities, type RelatedEntity, type SeedRowResult, type EntityUpdateResponse, type EntityBulkCreateResponse, type EntityBulkValidateResponse, type EntityRetrieveRelationsResponse, type EntityRetrieveSeedStatusResponse, type EntityUpdateParams, type EntityBulkCreateParams, type EntityBulkValidateParams, type EntityRetrieveRelationsParams, } from "./entities.mjs";
2
2
  export { Synonyms, type SynonymAddResponse, type SynonymAddParams, type SynonymRemoveParams, } from "./synonyms.mjs";
3
3
  //# sourceMappingURL=index.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/entities/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,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"}
@@ -1,3 +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";
1
+ export { Entities, type RelatedEntity, type SeedRowResult, type EntityUpdateResponse, type EntityBulkCreateResponse, type EntityBulkValidateResponse, type EntityRetrieveRelationsResponse, type EntityRetrieveSeedStatusResponse, type EntityUpdateParams, type EntityBulkCreateParams, type EntityBulkValidateParams, type EntityRetrieveRelationsParams, } from "./entities.js";
2
2
  export { Synonyms, type SynonymAddResponse, type SynonymAddParams, type SynonymRemoveParams, } from "./synonyms.js";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/entities/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,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"}
@@ -1 +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"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/entities/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAaoB;AAZlB,oGAAA,QAAQ,OAAA;AAaV,0CAKoB;AAJlB,oGAAA,QAAQ,OAAA"}
@@ -1 +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"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/entities/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,QAAQ,GAYT,uBAAmB;AACpB,OAAO,EACL,QAAQ,GAIT,uBAAmB"}
@@ -1,6 +1,6 @@
1
1
  import { APIResource } from "../../core/resource.mjs";
2
2
  import * as ReviewersAPI from "./reviewers.mjs";
3
- import { ReviewerAssignParams, ReviewerAssignResponse, ReviewerListResponse, ReviewerRemoveParams, Reviewers } from "./reviewers.mjs";
3
+ import { Reviewer, ReviewerAssignParams, ReviewerListResponse, ReviewerRemoveParams, Reviewers } from "./reviewers.mjs";
4
4
  import { APIPromise } from "../../core/api-promise.mjs";
5
5
  import { RequestOptions } from "../../internal/request-options.mjs";
6
6
  /**
@@ -36,7 +36,7 @@ export declare class EntityTypes extends APIResource {
36
36
  * });
37
37
  * ```
38
38
  */
39
- create(body: EntityTypeCreateParams, options?: RequestOptions): APIPromise<EntityTypeCreateResponse>;
39
+ create(body: EntityTypeCreateParams, options?: RequestOptions): APIPromise<EntityType>;
40
40
  /**
41
41
  * Get an Entity Type
42
42
  *
@@ -47,7 +47,7 @@ export declare class EntityTypes extends APIResource {
47
47
  * );
48
48
  * ```
49
49
  */
50
- retrieve(typeID: string, options?: RequestOptions): APIPromise<EntityTypeRetrieveResponse>;
50
+ retrieve(typeID: string, options?: RequestOptions): APIPromise<EntityType>;
51
51
  /**
52
52
  * Update an Entity Type
53
53
  *
@@ -58,7 +58,7 @@ export declare class EntityTypes extends APIResource {
58
58
  * );
59
59
  * ```
60
60
  */
61
- update(typeID: string, body: EntityTypeUpdateParams, options?: RequestOptions): APIPromise<EntityTypeUpdateResponse>;
61
+ update(typeID: string, body: EntityTypeUpdateParams, options?: RequestOptions): APIPromise<EntityType>;
62
62
  /**
63
63
  * List Entity Types
64
64
  *
@@ -84,83 +84,7 @@ export declare class EntityTypes extends APIResource {
84
84
  * `parentTypeID`, and may carry per-type structured attribute metadata in
85
85
  * `attributeSchema` (for example `{"unit": "mg", "range": [0, 100]}`).
86
86
  */
87
- export interface EntityTypeCreateResponse {
88
- /**
89
- * Creation timestamp (RFC 3339).
90
- */
91
- createdAt: string;
92
- /**
93
- * Optional human-facing note about the type.
94
- */
95
- description: string;
96
- /**
97
- * Human-facing type name. Unique within an account+environment, and immutable once
98
- * set.
99
- */
100
- name: string;
101
- /**
102
- * Public ID (`ety_...`) of the parent type, or an empty string when the type is
103
- * top-level.
104
- */
105
- parentTypeID: string;
106
- /**
107
- * Stable public identifier for the entity type (`ety_...`).
108
- */
109
- typeID: string;
110
- /**
111
- * Last-update timestamp (RFC 3339).
112
- */
113
- updatedAt: string;
114
- /**
115
- * Optional per-type structured attribute metadata.
116
- */
117
- attributeSchema?: unknown;
118
- }
119
- /**
120
- * An EntityType is a customer-defined type in the knowledge-graph taxonomy, scoped
121
- * to an account+environment. Types may be organised into hierarchies via
122
- * `parentTypeID`, and may carry per-type structured attribute metadata in
123
- * `attributeSchema` (for example `{"unit": "mg", "range": [0, 100]}`).
124
- */
125
- export interface EntityTypeRetrieveResponse {
126
- /**
127
- * Creation timestamp (RFC 3339).
128
- */
129
- createdAt: string;
130
- /**
131
- * Optional human-facing note about the type.
132
- */
133
- description: string;
134
- /**
135
- * Human-facing type name. Unique within an account+environment, and immutable once
136
- * set.
137
- */
138
- name: string;
139
- /**
140
- * Public ID (`ety_...`) of the parent type, or an empty string when the type is
141
- * top-level.
142
- */
143
- parentTypeID: string;
144
- /**
145
- * Stable public identifier for the entity type (`ety_...`).
146
- */
147
- typeID: string;
148
- /**
149
- * Last-update timestamp (RFC 3339).
150
- */
151
- updatedAt: string;
152
- /**
153
- * Optional per-type structured attribute metadata.
154
- */
155
- attributeSchema?: unknown;
156
- }
157
- /**
158
- * An EntityType is a customer-defined type in the knowledge-graph taxonomy, scoped
159
- * to an account+environment. Types may be organised into hierarchies via
160
- * `parentTypeID`, and may carry per-type structured attribute metadata in
161
- * `attributeSchema` (for example `{"unit": "mg", "range": [0, 100]}`).
162
- */
163
- export interface EntityTypeUpdateResponse {
87
+ export interface EntityType {
164
88
  /**
165
89
  * Creation timestamp (RFC 3339).
166
90
  */
@@ -196,52 +120,12 @@ export interface EntityTypeUpdateResponse {
196
120
  * Response body for listing entity types.
197
121
  */
198
122
  export interface EntityTypeListResponse {
199
- entityTypes: Array<EntityTypeListResponse.EntityType>;
123
+ entityTypes: Array<EntityType>;
200
124
  /**
201
125
  * Total number of entity types matching the query, ignoring pagination.
202
126
  */
203
127
  totalCount: number;
204
128
  }
205
- export declare namespace EntityTypeListResponse {
206
- /**
207
- * An EntityType is a customer-defined type in the knowledge-graph taxonomy, scoped
208
- * to an account+environment. Types may be organised into hierarchies via
209
- * `parentTypeID`, and may carry per-type structured attribute metadata in
210
- * `attributeSchema` (for example `{"unit": "mg", "range": [0, 100]}`).
211
- */
212
- interface EntityType {
213
- /**
214
- * Creation timestamp (RFC 3339).
215
- */
216
- createdAt: string;
217
- /**
218
- * Optional human-facing note about the type.
219
- */
220
- description: string;
221
- /**
222
- * Human-facing type name. Unique within an account+environment, and immutable once
223
- * set.
224
- */
225
- name: string;
226
- /**
227
- * Public ID (`ety_...`) of the parent type, or an empty string when the type is
228
- * top-level.
229
- */
230
- parentTypeID: string;
231
- /**
232
- * Stable public identifier for the entity type (`ety_...`).
233
- */
234
- typeID: string;
235
- /**
236
- * Last-update timestamp (RFC 3339).
237
- */
238
- updatedAt: string;
239
- /**
240
- * Optional per-type structured attribute metadata.
241
- */
242
- attributeSchema?: unknown;
243
- }
244
- }
245
129
  export interface EntityTypeCreateParams {
246
130
  /**
247
131
  * Type name. Required and unique within the account+environment.
@@ -296,7 +180,7 @@ export interface EntityTypeListParams {
296
180
  startingAfter?: string;
297
181
  }
298
182
  export declare namespace EntityTypes {
299
- export { type EntityTypeCreateResponse as EntityTypeCreateResponse, type EntityTypeRetrieveResponse as EntityTypeRetrieveResponse, type EntityTypeUpdateResponse as EntityTypeUpdateResponse, type EntityTypeListResponse as EntityTypeListResponse, type EntityTypeCreateParams as EntityTypeCreateParams, type EntityTypeUpdateParams as EntityTypeUpdateParams, type EntityTypeListParams as EntityTypeListParams, };
300
- export { Reviewers as Reviewers, type ReviewerListResponse as ReviewerListResponse, type ReviewerAssignResponse as ReviewerAssignResponse, type ReviewerAssignParams as ReviewerAssignParams, type ReviewerRemoveParams as ReviewerRemoveParams, };
183
+ export { type EntityType as EntityType, type EntityTypeListResponse as EntityTypeListResponse, type EntityTypeCreateParams as EntityTypeCreateParams, type EntityTypeUpdateParams as EntityTypeUpdateParams, type EntityTypeListParams as EntityTypeListParams, };
184
+ export { Reviewers as Reviewers, type Reviewer as Reviewer, type ReviewerListResponse as ReviewerListResponse, type ReviewerAssignParams as ReviewerAssignParams, type ReviewerRemoveParams as ReviewerRemoveParams, };
301
185
  }
302
186
  //# sourceMappingURL=entity-types.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entity-types.d.mts","sourceRoot":"","sources":["../../src/resources/entity-types/entity-types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW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CACH"}
1
+ {"version":3,"file":"entity-types.d.mts","sourceRoot":"","sources":["../../src/resources/entity-types/entity-types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,YAAY,wBAAoB;AAC5C,OAAO,EACL,QAAQ,EACR,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACpB,SAAS,EACV,wBAAoB;AACrB,OAAO,EAAE,UAAU,EAAE,mCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAE7E;;;;;;;;;;OAUG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;IAItF;;;;;;;;;OASG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;IAI1E;;;;;;;;;OASG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;IAItG;;;;;;;OAOG;IACH,IAAI,CACF,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAIrC;;;;;;;OAOG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAMnE;AAED;;;;;GAKG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH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SAAS,EACtB,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
@@ -1,6 +1,6 @@
1
1
  import { APIResource } from "../../core/resource.js";
2
2
  import * as ReviewersAPI from "./reviewers.js";
3
- import { ReviewerAssignParams, ReviewerAssignResponse, ReviewerListResponse, ReviewerRemoveParams, Reviewers } from "./reviewers.js";
3
+ import { Reviewer, ReviewerAssignParams, ReviewerListResponse, ReviewerRemoveParams, Reviewers } from "./reviewers.js";
4
4
  import { APIPromise } from "../../core/api-promise.js";
5
5
  import { RequestOptions } from "../../internal/request-options.js";
6
6
  /**
@@ -36,7 +36,7 @@ export declare class EntityTypes extends APIResource {
36
36
  * });
37
37
  * ```
38
38
  */
39
- create(body: EntityTypeCreateParams, options?: RequestOptions): APIPromise<EntityTypeCreateResponse>;
39
+ create(body: EntityTypeCreateParams, options?: RequestOptions): APIPromise<EntityType>;
40
40
  /**
41
41
  * Get an Entity Type
42
42
  *
@@ -47,7 +47,7 @@ export declare class EntityTypes extends APIResource {
47
47
  * );
48
48
  * ```
49
49
  */
50
- retrieve(typeID: string, options?: RequestOptions): APIPromise<EntityTypeRetrieveResponse>;
50
+ retrieve(typeID: string, options?: RequestOptions): APIPromise<EntityType>;
51
51
  /**
52
52
  * Update an Entity Type
53
53
  *
@@ -58,7 +58,7 @@ export declare class EntityTypes extends APIResource {
58
58
  * );
59
59
  * ```
60
60
  */
61
- update(typeID: string, body: EntityTypeUpdateParams, options?: RequestOptions): APIPromise<EntityTypeUpdateResponse>;
61
+ update(typeID: string, body: EntityTypeUpdateParams, options?: RequestOptions): APIPromise<EntityType>;
62
62
  /**
63
63
  * List Entity Types
64
64
  *
@@ -84,83 +84,7 @@ export declare class EntityTypes extends APIResource {
84
84
  * `parentTypeID`, and may carry per-type structured attribute metadata in
85
85
  * `attributeSchema` (for example `{"unit": "mg", "range": [0, 100]}`).
86
86
  */
87
- export interface EntityTypeCreateResponse {
88
- /**
89
- * Creation timestamp (RFC 3339).
90
- */
91
- createdAt: string;
92
- /**
93
- * Optional human-facing note about the type.
94
- */
95
- description: string;
96
- /**
97
- * Human-facing type name. Unique within an account+environment, and immutable once
98
- * set.
99
- */
100
- name: string;
101
- /**
102
- * Public ID (`ety_...`) of the parent type, or an empty string when the type is
103
- * top-level.
104
- */
105
- parentTypeID: string;
106
- /**
107
- * Stable public identifier for the entity type (`ety_...`).
108
- */
109
- typeID: string;
110
- /**
111
- * Last-update timestamp (RFC 3339).
112
- */
113
- updatedAt: string;
114
- /**
115
- * Optional per-type structured attribute metadata.
116
- */
117
- attributeSchema?: unknown;
118
- }
119
- /**
120
- * An EntityType is a customer-defined type in the knowledge-graph taxonomy, scoped
121
- * to an account+environment. Types may be organised into hierarchies via
122
- * `parentTypeID`, and may carry per-type structured attribute metadata in
123
- * `attributeSchema` (for example `{"unit": "mg", "range": [0, 100]}`).
124
- */
125
- export interface EntityTypeRetrieveResponse {
126
- /**
127
- * Creation timestamp (RFC 3339).
128
- */
129
- createdAt: string;
130
- /**
131
- * Optional human-facing note about the type.
132
- */
133
- description: string;
134
- /**
135
- * Human-facing type name. Unique within an account+environment, and immutable once
136
- * set.
137
- */
138
- name: string;
139
- /**
140
- * Public ID (`ety_...`) of the parent type, or an empty string when the type is
141
- * top-level.
142
- */
143
- parentTypeID: string;
144
- /**
145
- * Stable public identifier for the entity type (`ety_...`).
146
- */
147
- typeID: string;
148
- /**
149
- * Last-update timestamp (RFC 3339).
150
- */
151
- updatedAt: string;
152
- /**
153
- * Optional per-type structured attribute metadata.
154
- */
155
- attributeSchema?: unknown;
156
- }
157
- /**
158
- * An EntityType is a customer-defined type in the knowledge-graph taxonomy, scoped
159
- * to an account+environment. Types may be organised into hierarchies via
160
- * `parentTypeID`, and may carry per-type structured attribute metadata in
161
- * `attributeSchema` (for example `{"unit": "mg", "range": [0, 100]}`).
162
- */
163
- export interface EntityTypeUpdateResponse {
87
+ export interface EntityType {
164
88
  /**
165
89
  * Creation timestamp (RFC 3339).
166
90
  */
@@ -196,52 +120,12 @@ export interface EntityTypeUpdateResponse {
196
120
  * Response body for listing entity types.
197
121
  */
198
122
  export interface EntityTypeListResponse {
199
- entityTypes: Array<EntityTypeListResponse.EntityType>;
123
+ entityTypes: Array<EntityType>;
200
124
  /**
201
125
  * Total number of entity types matching the query, ignoring pagination.
202
126
  */
203
127
  totalCount: number;
204
128
  }
205
- export declare namespace EntityTypeListResponse {
206
- /**
207
- * An EntityType is a customer-defined type in the knowledge-graph taxonomy, scoped
208
- * to an account+environment. Types may be organised into hierarchies via
209
- * `parentTypeID`, and may carry per-type structured attribute metadata in
210
- * `attributeSchema` (for example `{"unit": "mg", "range": [0, 100]}`).
211
- */
212
- interface EntityType {
213
- /**
214
- * Creation timestamp (RFC 3339).
215
- */
216
- createdAt: string;
217
- /**
218
- * Optional human-facing note about the type.
219
- */
220
- description: string;
221
- /**
222
- * Human-facing type name. Unique within an account+environment, and immutable once
223
- * set.
224
- */
225
- name: string;
226
- /**
227
- * Public ID (`ety_...`) of the parent type, or an empty string when the type is
228
- * top-level.
229
- */
230
- parentTypeID: string;
231
- /**
232
- * Stable public identifier for the entity type (`ety_...`).
233
- */
234
- typeID: string;
235
- /**
236
- * Last-update timestamp (RFC 3339).
237
- */
238
- updatedAt: string;
239
- /**
240
- * Optional per-type structured attribute metadata.
241
- */
242
- attributeSchema?: unknown;
243
- }
244
- }
245
129
  export interface EntityTypeCreateParams {
246
130
  /**
247
131
  * Type name. Required and unique within the account+environment.
@@ -296,7 +180,7 @@ export interface EntityTypeListParams {
296
180
  startingAfter?: string;
297
181
  }
298
182
  export declare namespace EntityTypes {
299
- export { type EntityTypeCreateResponse as EntityTypeCreateResponse, type EntityTypeRetrieveResponse as EntityTypeRetrieveResponse, type EntityTypeUpdateResponse as EntityTypeUpdateResponse, type EntityTypeListResponse as EntityTypeListResponse, type EntityTypeCreateParams as EntityTypeCreateParams, type EntityTypeUpdateParams as EntityTypeUpdateParams, type EntityTypeListParams as EntityTypeListParams, };
300
- export { Reviewers as Reviewers, type ReviewerListResponse as ReviewerListResponse, type ReviewerAssignResponse as ReviewerAssignResponse, type ReviewerAssignParams as ReviewerAssignParams, type ReviewerRemoveParams as ReviewerRemoveParams, };
183
+ export { type EntityType as EntityType, type EntityTypeListResponse as EntityTypeListResponse, type EntityTypeCreateParams as EntityTypeCreateParams, type EntityTypeUpdateParams as EntityTypeUpdateParams, type EntityTypeListParams as EntityTypeListParams, };
184
+ export { Reviewers as Reviewers, type Reviewer as Reviewer, type ReviewerListResponse as ReviewerListResponse, type ReviewerAssignParams as ReviewerAssignParams, type ReviewerRemoveParams as ReviewerRemoveParams, };
301
185
  }
302
186
  //# sourceMappingURL=entity-types.d.ts.map