@aventurevc/api-schemas 0.8.177 → 0.8.179
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/help-question.js +1 -1
- package/dist/billing/catalog-plan.d.ts +10 -1
- package/dist/billing/checkout-mutation.d.ts +10 -1
- package/dist/billing/checkout.d.ts +10 -1
- package/dist/billing/plan-change-mutation.d.ts +10 -1
- package/dist/billing/plan-change.d.ts +10 -1
- package/dist/billing/plan-type.d.ts +10 -1
- package/dist/billing/plan-type.js +9 -11
- package/dist/billing/subscription.d.ts +20 -2
- package/dist/classification/catalog-bucket.d.ts +0 -8
- package/dist/classification/catalog-bucket.js +0 -4
- package/dist/classification/catalog-category.d.ts +0 -6
- package/dist/classification/catalog-category.js +0 -4
- package/dist/classification/catalog.d.ts +0 -20
- package/dist/classification/classification.d.ts +6 -3
- package/dist/classification/classification.js +0 -4
- package/dist/classification/inactive-tag-details.d.ts +9 -1
- package/dist/classification/join-registry.d.ts +6 -1
- package/dist/classification/join-registry.js +2 -4
- package/dist/content/embedding-match.d.ts +16 -1
- package/dist/content/source-type.d.ts +16 -1
- package/dist/content/source-type.js +15 -17
- package/dist/domain/conflict-type.d.ts +9 -1
- package/dist/domain/conflict-type.js +8 -10
- package/dist/duplicate/create-review.d.ts +9 -1
- package/dist/enrichment/enrichment.d.ts +8 -1
- package/dist/enrichment/refusal-type.d.ts +8 -1
- package/dist/enrichment/refusal-type.js +7 -4
- package/dist/entity/brand.d.ts +0 -76
- package/dist/entity/classification-suggestion.d.ts +0 -12
- package/dist/entity/classification-suggestion.js +0 -4
- package/dist/entity/classification.d.ts +0 -58
- package/dist/entity/comparison-signals.d.ts +41 -1
- package/dist/entity/detail.d.ts +2 -80
- package/dist/entity/enrichment.d.ts +41 -78
- package/dist/entity/enrichment.js +0 -2
- package/dist/entity/filter-sortable.d.ts +23 -1
- package/dist/entity/filter-sortable.js +22 -24
- package/dist/entity/funding-detail.d.ts +43 -1
- package/dist/entity/funding-detail.js +2 -0
- package/dist/entity/fundraise-transaction-entity.d.ts +41 -1
- package/dist/entity/fundraise-transaction.d.ts +41 -1
- package/dist/entity/investor-participation.d.ts +2 -80
- package/dist/entity/list-filter.d.ts +1 -1
- package/dist/entity/list-filter.js +2 -2
- package/dist/entity/list.d.ts +16 -79
- package/dist/entity/natural-search.d.ts +4 -0
- package/dist/entity/people-param.js +2 -2
- package/dist/entity/relationship.d.ts +41 -1
- package/dist/entity/resolution.d.ts +2 -80
- package/dist/entity/similarity-result.d.ts +0 -78
- package/dist/entity/similarity-summary.d.ts +91 -1
- package/dist/entity/similarity-summary.js +4 -1
- package/dist/entity/tag.d.ts +0 -6
- package/dist/entity/tag.js +0 -4
- package/dist/federated/natural-search.d.ts +22 -2
- package/dist/federated/natural-search.js +5 -1
- package/dist/federated/search.d.ts +2 -314
- package/dist/funding/stage.d.ts +42 -1
- package/dist/funding/stage.js +41 -42
- package/dist/harness/task-input-type.d.ts +6 -1
- package/dist/harness/task-input-type.js +2 -1
- package/dist/harness/task.d.ts +6 -1
- package/dist/help/citation.d.ts +11 -1
- package/dist/help/source-type.d.ts +11 -1
- package/dist/help/source-type.js +10 -12
- package/dist/identification/subject.js +1 -1
- package/dist/link/search.d.ts +2 -314
- package/dist/lookup/job-mention.d.ts +0 -78
- package/dist/lookup/job.d.ts +0 -78
- package/dist/mention/lookup.d.ts +0 -78
- package/dist/natural/search-result.d.ts +0 -234
- package/dist/natural/search.d.ts +22 -2
- package/dist/natural/search.js +5 -1
- package/dist/news/source-url-conflict.d.ts +9 -1
- package/dist/pagination/schemas.d.ts +30 -406
- package/dist/person/graph-career-context.d.ts +41 -1
- package/dist/person/graph-similar-entity.d.ts +41 -1
- package/dist/person/natural-search.d.ts +4 -0
- package/dist/person/person.d.ts +16 -1
- package/dist/problem/type.d.ts +62 -2
- package/dist/problem/type.js +11 -10
- package/dist/prose/problem.d.ts +15 -1
- package/dist/prose/problem.js +14 -16
- package/dist/prose/violation.d.ts +15 -1
- package/dist/reasoning/effort.d.ts +10 -1
- package/dist/reasoning/effort.js +9 -4
- package/dist/search/answer-citation.d.ts +9 -1
- package/dist/search/evidence-source.d.ts +9 -1
- package/dist/search/evidence-source.js +8 -10
- package/dist/search/investment.d.ts +16 -1
- package/dist/search/knowledge-graph-attribute.d.ts +7 -1
- package/dist/search/knowledge-graph-fact.d.ts +7 -1
- package/dist/search/knowledge-graph-fact.js +2 -4
- package/dist/search/mode-execution.d.ts +20 -2
- package/dist/search/mode.d.ts +10 -1
- package/dist/search/mode.js +11 -4
- package/dist/search/passage.d.ts +9 -1
- package/dist/search/search.d.ts +7 -1
- package/dist/shared/search.d.ts +2 -314
- package/dist/sort/order-entity-filter-sortable.d.ts +23 -1
- package/dist/standardized/classification.d.ts +6 -3
- package/dist/standardized/classification.js +0 -4
- package/dist/strict/url-lookup-conflict.d.ts +9 -1
- package/dist/unique/id-type.d.ts +14 -2
- package/dist/unique/id-type.js +12 -11
- package/dist/unique/id.d.ts +14 -2
- package/dist/url/duplicate-conflict.d.ts +9 -1
- package/dist/web/search-provider.d.ts +7 -1
- package/dist/web/search-provider.js +2 -4
- package/package.json +1 -1
|
@@ -9,7 +9,14 @@ declare const EnrichmentSchemaDefinition: z.ZodObject<{
|
|
|
9
9
|
AMBIGUOUS: "AMBIGUOUS";
|
|
10
10
|
NOT_FOUND: "NOT_FOUND";
|
|
11
11
|
SUBSCRIPTION_REQUIRED: "SUBSCRIPTION_REQUIRED";
|
|
12
|
-
}>, z.ZodString]
|
|
12
|
+
}>, z.ZodString]> & {
|
|
13
|
+
enum: {
|
|
14
|
+
ALLOWANCE_EXHAUSTED: "ALLOWANCE_EXHAUSTED";
|
|
15
|
+
AMBIGUOUS: "AMBIGUOUS";
|
|
16
|
+
NOT_FOUND: "NOT_FOUND";
|
|
17
|
+
SUBSCRIPTION_REQUIRED: "SUBSCRIPTION_REQUIRED";
|
|
18
|
+
};
|
|
19
|
+
}>>;
|
|
13
20
|
run: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
21
|
attempt: z.ZodInt;
|
|
15
22
|
chassis: z.ZodEnum<{
|
|
@@ -13,6 +13,13 @@ export declare const EnrichmentRefusalTypeSchema: z.ZodUnion<readonly [z.ZodEnum
|
|
|
13
13
|
AMBIGUOUS: "AMBIGUOUS";
|
|
14
14
|
NOT_FOUND: "NOT_FOUND";
|
|
15
15
|
SUBSCRIPTION_REQUIRED: "SUBSCRIPTION_REQUIRED";
|
|
16
|
-
}>, z.ZodString]
|
|
16
|
+
}>, z.ZodString]> & {
|
|
17
|
+
enum: {
|
|
18
|
+
ALLOWANCE_EXHAUSTED: "ALLOWANCE_EXHAUSTED";
|
|
19
|
+
AMBIGUOUS: "AMBIGUOUS";
|
|
20
|
+
NOT_FOUND: "NOT_FOUND";
|
|
21
|
+
SUBSCRIPTION_REQUIRED: "SUBSCRIPTION_REQUIRED";
|
|
22
|
+
};
|
|
23
|
+
};
|
|
17
24
|
export type EnrichmentRefusalType = z.infer<typeof EnrichmentRefusalTypeSchema>;
|
|
18
25
|
//# sourceMappingURL=refusal-type.d.ts.map
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
|
+
const EnrichmentRefusalTypeSchemaKnownMembers = z.enum([
|
|
4
|
+
"NOT_FOUND",
|
|
5
|
+
"ALLOWANCE_EXHAUSTED",
|
|
6
|
+
"AMBIGUOUS",
|
|
7
|
+
"SUBSCRIPTION_REQUIRED",
|
|
8
|
+
]);
|
|
3
9
|
/**
|
|
4
10
|
* Why a batch enrichment filed no run: NOT_FOUND for an unknown record; ALLOWANCE_EXHAUSTED when the record's company or person research allowance is spent and additional usage is off or at its spend cap or prepaid credit; AMBIGUOUS when the record's profile matches more than one current record; SUBSCRIPTION_REQUIRED when the subscription stopped covering research mid-batch, such as additional usage while past due. Readers accept members they do not yet know
|
|
5
11
|
*
|
|
@@ -9,8 +15,5 @@ import { z } from "zod/v4";
|
|
|
9
15
|
* @contractShape enrichment.refusal-type
|
|
10
16
|
* @contractRole canonical
|
|
11
17
|
*/
|
|
12
|
-
export const EnrichmentRefusalTypeSchema = z.union([
|
|
13
|
-
z.enum(["NOT_FOUND", "ALLOWANCE_EXHAUSTED", "AMBIGUOUS", "SUBSCRIPTION_REQUIRED"]),
|
|
14
|
-
z.string(),
|
|
15
|
-
]);
|
|
18
|
+
export const EnrichmentRefusalTypeSchema = Object.assign(z.union([EnrichmentRefusalTypeSchemaKnownMembers, z.string()]), { enum: EnrichmentRefusalTypeSchemaKnownMembers.enum });
|
|
16
19
|
//# sourceMappingURL=refusal-type.js.map
|
package/dist/entity/brand.d.ts
CHANGED
|
@@ -2,16 +2,13 @@ import { z } from "zod/v4";
|
|
|
2
2
|
declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
3
3
|
classification: z.ZodType<{
|
|
4
4
|
geoLocationExposure?: ({
|
|
5
|
-
creatable?: boolean | undefined;
|
|
6
5
|
isCurrent?: boolean | null | undefined;
|
|
7
6
|
isPrimary?: boolean | null | undefined;
|
|
8
7
|
name: string;
|
|
9
8
|
registry: string;
|
|
10
|
-
writable?: boolean | undefined;
|
|
11
9
|
} & {
|
|
12
10
|
bucket?: string | null | undefined;
|
|
13
11
|
classificationId?: number | null | undefined;
|
|
14
|
-
creatable?: boolean | undefined;
|
|
15
12
|
createdAt?: string | null | undefined;
|
|
16
13
|
id: number;
|
|
17
14
|
isCurrent?: boolean | null | undefined;
|
|
@@ -20,19 +17,15 @@ declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
|
20
17
|
slug?: string | null | undefined;
|
|
21
18
|
type: string;
|
|
22
19
|
updatedAt?: string | null | undefined;
|
|
23
|
-
writable?: boolean | undefined;
|
|
24
20
|
})[] | undefined;
|
|
25
21
|
industry?: ({
|
|
26
|
-
creatable?: boolean | undefined;
|
|
27
22
|
isCurrent?: boolean | null | undefined;
|
|
28
23
|
isPrimary?: boolean | null | undefined;
|
|
29
24
|
name: string;
|
|
30
25
|
registry: string;
|
|
31
|
-
writable?: boolean | undefined;
|
|
32
26
|
} & {
|
|
33
27
|
bucket?: string | null | undefined;
|
|
34
28
|
classificationId?: number | null | undefined;
|
|
35
|
-
creatable?: boolean | undefined;
|
|
36
29
|
createdAt?: string | null | undefined;
|
|
37
30
|
id: number;
|
|
38
31
|
isCurrent?: boolean | null | undefined;
|
|
@@ -41,19 +34,15 @@ declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
|
41
34
|
slug?: string | null | undefined;
|
|
42
35
|
type: string;
|
|
43
36
|
updatedAt?: string | null | undefined;
|
|
44
|
-
writable?: boolean | undefined;
|
|
45
37
|
})[] | undefined;
|
|
46
38
|
mainProduct?: ({
|
|
47
|
-
creatable?: boolean | undefined;
|
|
48
39
|
isCurrent?: boolean | null | undefined;
|
|
49
40
|
isPrimary?: boolean | null | undefined;
|
|
50
41
|
name: string;
|
|
51
42
|
registry: string;
|
|
52
|
-
writable?: boolean | undefined;
|
|
53
43
|
} & {
|
|
54
44
|
bucket?: string | null | undefined;
|
|
55
45
|
classificationId?: number | null | undefined;
|
|
56
|
-
creatable?: boolean | undefined;
|
|
57
46
|
createdAt?: string | null | undefined;
|
|
58
47
|
id: number;
|
|
59
48
|
isCurrent?: boolean | null | undefined;
|
|
@@ -62,13 +51,11 @@ declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
|
62
51
|
slug?: string | null | undefined;
|
|
63
52
|
type: string;
|
|
64
53
|
updatedAt?: string | null | undefined;
|
|
65
|
-
writable?: boolean | undefined;
|
|
66
54
|
})[] | undefined;
|
|
67
55
|
standardizedClassification?: {
|
|
68
56
|
category: string;
|
|
69
57
|
classificationId?: number | null | undefined;
|
|
70
58
|
code?: number | null | undefined;
|
|
71
|
-
creatable?: boolean | undefined;
|
|
72
59
|
createdAt?: string | null | undefined;
|
|
73
60
|
id: number;
|
|
74
61
|
isCurrent?: boolean | null | undefined;
|
|
@@ -77,19 +64,15 @@ declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
|
77
64
|
name: string;
|
|
78
65
|
registry: string;
|
|
79
66
|
updatedAt?: string | null | undefined;
|
|
80
|
-
writable?: boolean | undefined;
|
|
81
67
|
}[] | undefined;
|
|
82
68
|
tag?: ({
|
|
83
|
-
creatable?: boolean | undefined;
|
|
84
69
|
isCurrent?: boolean | null | undefined;
|
|
85
70
|
isPrimary?: boolean | null | undefined;
|
|
86
71
|
name: string;
|
|
87
72
|
registry: string;
|
|
88
|
-
writable?: boolean | undefined;
|
|
89
73
|
} & {
|
|
90
74
|
bucket?: string | null | undefined;
|
|
91
75
|
classificationId?: number | null | undefined;
|
|
92
|
-
creatable?: boolean | undefined;
|
|
93
76
|
createdAt?: string | null | undefined;
|
|
94
77
|
id: number;
|
|
95
78
|
isCurrent?: boolean | null | undefined;
|
|
@@ -98,19 +81,15 @@ declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
|
98
81
|
slug?: string | null | undefined;
|
|
99
82
|
type: string;
|
|
100
83
|
updatedAt?: string | null | undefined;
|
|
101
|
-
writable?: boolean | undefined;
|
|
102
84
|
})[] | undefined;
|
|
103
85
|
typeCustomer?: ({
|
|
104
|
-
creatable?: boolean | undefined;
|
|
105
86
|
isCurrent?: boolean | null | undefined;
|
|
106
87
|
isPrimary?: boolean | null | undefined;
|
|
107
88
|
name: string;
|
|
108
89
|
registry: string;
|
|
109
|
-
writable?: boolean | undefined;
|
|
110
90
|
} & {
|
|
111
91
|
bucket?: string | null | undefined;
|
|
112
92
|
classificationId?: number | null | undefined;
|
|
113
|
-
creatable?: boolean | undefined;
|
|
114
93
|
createdAt?: string | null | undefined;
|
|
115
94
|
id: number;
|
|
116
95
|
isCurrent?: boolean | null | undefined;
|
|
@@ -119,19 +98,15 @@ declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
|
119
98
|
slug?: string | null | undefined;
|
|
120
99
|
type: string;
|
|
121
100
|
updatedAt?: string | null | undefined;
|
|
122
|
-
writable?: boolean | undefined;
|
|
123
101
|
})[] | undefined;
|
|
124
102
|
typeModel?: ({
|
|
125
|
-
creatable?: boolean | undefined;
|
|
126
103
|
isCurrent?: boolean | null | undefined;
|
|
127
104
|
isPrimary?: boolean | null | undefined;
|
|
128
105
|
name: string;
|
|
129
106
|
registry: string;
|
|
130
|
-
writable?: boolean | undefined;
|
|
131
107
|
} & {
|
|
132
108
|
bucket?: string | null | undefined;
|
|
133
109
|
classificationId?: number | null | undefined;
|
|
134
|
-
creatable?: boolean | undefined;
|
|
135
110
|
createdAt?: string | null | undefined;
|
|
136
111
|
id: number;
|
|
137
112
|
isCurrent?: boolean | null | undefined;
|
|
@@ -140,19 +115,15 @@ declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
|
140
115
|
slug?: string | null | undefined;
|
|
141
116
|
type: string;
|
|
142
117
|
updatedAt?: string | null | undefined;
|
|
143
|
-
writable?: boolean | undefined;
|
|
144
118
|
})[] | undefined;
|
|
145
119
|
typeOwnership?: ({
|
|
146
|
-
creatable?: boolean | undefined;
|
|
147
120
|
isCurrent?: boolean | null | undefined;
|
|
148
121
|
isPrimary?: boolean | null | undefined;
|
|
149
122
|
name: string;
|
|
150
123
|
registry: string;
|
|
151
|
-
writable?: boolean | undefined;
|
|
152
124
|
} & {
|
|
153
125
|
bucket?: string | null | undefined;
|
|
154
126
|
classificationId?: number | null | undefined;
|
|
155
|
-
creatable?: boolean | undefined;
|
|
156
127
|
createdAt?: string | null | undefined;
|
|
157
128
|
id: number;
|
|
158
129
|
isCurrent?: boolean | null | undefined;
|
|
@@ -161,19 +132,15 @@ declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
|
161
132
|
slug?: string | null | undefined;
|
|
162
133
|
type: string;
|
|
163
134
|
updatedAt?: string | null | undefined;
|
|
164
|
-
writable?: boolean | undefined;
|
|
165
135
|
})[] | undefined;
|
|
166
136
|
typeRevenue?: ({
|
|
167
|
-
creatable?: boolean | undefined;
|
|
168
137
|
isCurrent?: boolean | null | undefined;
|
|
169
138
|
isPrimary?: boolean | null | undefined;
|
|
170
139
|
name: string;
|
|
171
140
|
registry: string;
|
|
172
|
-
writable?: boolean | undefined;
|
|
173
141
|
} & {
|
|
174
142
|
bucket?: string | null | undefined;
|
|
175
143
|
classificationId?: number | null | undefined;
|
|
176
|
-
creatable?: boolean | undefined;
|
|
177
144
|
createdAt?: string | null | undefined;
|
|
178
145
|
id: number;
|
|
179
146
|
isCurrent?: boolean | null | undefined;
|
|
@@ -182,19 +149,15 @@ declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
|
182
149
|
slug?: string | null | undefined;
|
|
183
150
|
type: string;
|
|
184
151
|
updatedAt?: string | null | undefined;
|
|
185
|
-
writable?: boolean | undefined;
|
|
186
152
|
})[] | undefined;
|
|
187
153
|
typeTechnologyUsed?: ({
|
|
188
|
-
creatable?: boolean | undefined;
|
|
189
154
|
isCurrent?: boolean | null | undefined;
|
|
190
155
|
isPrimary?: boolean | null | undefined;
|
|
191
156
|
name: string;
|
|
192
157
|
registry: string;
|
|
193
|
-
writable?: boolean | undefined;
|
|
194
158
|
} & {
|
|
195
159
|
bucket?: string | null | undefined;
|
|
196
160
|
classificationId?: number | null | undefined;
|
|
197
|
-
creatable?: boolean | undefined;
|
|
198
161
|
createdAt?: string | null | undefined;
|
|
199
162
|
id: number;
|
|
200
163
|
isCurrent?: boolean | null | undefined;
|
|
@@ -203,20 +166,16 @@ declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
|
203
166
|
slug?: string | null | undefined;
|
|
204
167
|
type: string;
|
|
205
168
|
updatedAt?: string | null | undefined;
|
|
206
|
-
writable?: boolean | undefined;
|
|
207
169
|
})[] | undefined;
|
|
208
170
|
}, import("./classification.ts").EntityClassificationSchemaInput, z.core.$ZodTypeInternals<{
|
|
209
171
|
geoLocationExposure?: ({
|
|
210
|
-
creatable?: boolean | undefined;
|
|
211
172
|
isCurrent?: boolean | null | undefined;
|
|
212
173
|
isPrimary?: boolean | null | undefined;
|
|
213
174
|
name: string;
|
|
214
175
|
registry: string;
|
|
215
|
-
writable?: boolean | undefined;
|
|
216
176
|
} & {
|
|
217
177
|
bucket?: string | null | undefined;
|
|
218
178
|
classificationId?: number | null | undefined;
|
|
219
|
-
creatable?: boolean | undefined;
|
|
220
179
|
createdAt?: string | null | undefined;
|
|
221
180
|
id: number;
|
|
222
181
|
isCurrent?: boolean | null | undefined;
|
|
@@ -225,19 +184,15 @@ declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
|
225
184
|
slug?: string | null | undefined;
|
|
226
185
|
type: string;
|
|
227
186
|
updatedAt?: string | null | undefined;
|
|
228
|
-
writable?: boolean | undefined;
|
|
229
187
|
})[] | undefined;
|
|
230
188
|
industry?: ({
|
|
231
|
-
creatable?: boolean | undefined;
|
|
232
189
|
isCurrent?: boolean | null | undefined;
|
|
233
190
|
isPrimary?: boolean | null | undefined;
|
|
234
191
|
name: string;
|
|
235
192
|
registry: string;
|
|
236
|
-
writable?: boolean | undefined;
|
|
237
193
|
} & {
|
|
238
194
|
bucket?: string | null | undefined;
|
|
239
195
|
classificationId?: number | null | undefined;
|
|
240
|
-
creatable?: boolean | undefined;
|
|
241
196
|
createdAt?: string | null | undefined;
|
|
242
197
|
id: number;
|
|
243
198
|
isCurrent?: boolean | null | undefined;
|
|
@@ -246,19 +201,15 @@ declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
|
246
201
|
slug?: string | null | undefined;
|
|
247
202
|
type: string;
|
|
248
203
|
updatedAt?: string | null | undefined;
|
|
249
|
-
writable?: boolean | undefined;
|
|
250
204
|
})[] | undefined;
|
|
251
205
|
mainProduct?: ({
|
|
252
|
-
creatable?: boolean | undefined;
|
|
253
206
|
isCurrent?: boolean | null | undefined;
|
|
254
207
|
isPrimary?: boolean | null | undefined;
|
|
255
208
|
name: string;
|
|
256
209
|
registry: string;
|
|
257
|
-
writable?: boolean | undefined;
|
|
258
210
|
} & {
|
|
259
211
|
bucket?: string | null | undefined;
|
|
260
212
|
classificationId?: number | null | undefined;
|
|
261
|
-
creatable?: boolean | undefined;
|
|
262
213
|
createdAt?: string | null | undefined;
|
|
263
214
|
id: number;
|
|
264
215
|
isCurrent?: boolean | null | undefined;
|
|
@@ -267,13 +218,11 @@ declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
|
267
218
|
slug?: string | null | undefined;
|
|
268
219
|
type: string;
|
|
269
220
|
updatedAt?: string | null | undefined;
|
|
270
|
-
writable?: boolean | undefined;
|
|
271
221
|
})[] | undefined;
|
|
272
222
|
standardizedClassification?: {
|
|
273
223
|
category: string;
|
|
274
224
|
classificationId?: number | null | undefined;
|
|
275
225
|
code?: number | null | undefined;
|
|
276
|
-
creatable?: boolean | undefined;
|
|
277
226
|
createdAt?: string | null | undefined;
|
|
278
227
|
id: number;
|
|
279
228
|
isCurrent?: boolean | null | undefined;
|
|
@@ -282,19 +231,15 @@ declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
|
282
231
|
name: string;
|
|
283
232
|
registry: string;
|
|
284
233
|
updatedAt?: string | null | undefined;
|
|
285
|
-
writable?: boolean | undefined;
|
|
286
234
|
}[] | undefined;
|
|
287
235
|
tag?: ({
|
|
288
|
-
creatable?: boolean | undefined;
|
|
289
236
|
isCurrent?: boolean | null | undefined;
|
|
290
237
|
isPrimary?: boolean | null | undefined;
|
|
291
238
|
name: string;
|
|
292
239
|
registry: string;
|
|
293
|
-
writable?: boolean | undefined;
|
|
294
240
|
} & {
|
|
295
241
|
bucket?: string | null | undefined;
|
|
296
242
|
classificationId?: number | null | undefined;
|
|
297
|
-
creatable?: boolean | undefined;
|
|
298
243
|
createdAt?: string | null | undefined;
|
|
299
244
|
id: number;
|
|
300
245
|
isCurrent?: boolean | null | undefined;
|
|
@@ -303,19 +248,15 @@ declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
|
303
248
|
slug?: string | null | undefined;
|
|
304
249
|
type: string;
|
|
305
250
|
updatedAt?: string | null | undefined;
|
|
306
|
-
writable?: boolean | undefined;
|
|
307
251
|
})[] | undefined;
|
|
308
252
|
typeCustomer?: ({
|
|
309
|
-
creatable?: boolean | undefined;
|
|
310
253
|
isCurrent?: boolean | null | undefined;
|
|
311
254
|
isPrimary?: boolean | null | undefined;
|
|
312
255
|
name: string;
|
|
313
256
|
registry: string;
|
|
314
|
-
writable?: boolean | undefined;
|
|
315
257
|
} & {
|
|
316
258
|
bucket?: string | null | undefined;
|
|
317
259
|
classificationId?: number | null | undefined;
|
|
318
|
-
creatable?: boolean | undefined;
|
|
319
260
|
createdAt?: string | null | undefined;
|
|
320
261
|
id: number;
|
|
321
262
|
isCurrent?: boolean | null | undefined;
|
|
@@ -324,19 +265,15 @@ declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
|
324
265
|
slug?: string | null | undefined;
|
|
325
266
|
type: string;
|
|
326
267
|
updatedAt?: string | null | undefined;
|
|
327
|
-
writable?: boolean | undefined;
|
|
328
268
|
})[] | undefined;
|
|
329
269
|
typeModel?: ({
|
|
330
|
-
creatable?: boolean | undefined;
|
|
331
270
|
isCurrent?: boolean | null | undefined;
|
|
332
271
|
isPrimary?: boolean | null | undefined;
|
|
333
272
|
name: string;
|
|
334
273
|
registry: string;
|
|
335
|
-
writable?: boolean | undefined;
|
|
336
274
|
} & {
|
|
337
275
|
bucket?: string | null | undefined;
|
|
338
276
|
classificationId?: number | null | undefined;
|
|
339
|
-
creatable?: boolean | undefined;
|
|
340
277
|
createdAt?: string | null | undefined;
|
|
341
278
|
id: number;
|
|
342
279
|
isCurrent?: boolean | null | undefined;
|
|
@@ -345,19 +282,15 @@ declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
|
345
282
|
slug?: string | null | undefined;
|
|
346
283
|
type: string;
|
|
347
284
|
updatedAt?: string | null | undefined;
|
|
348
|
-
writable?: boolean | undefined;
|
|
349
285
|
})[] | undefined;
|
|
350
286
|
typeOwnership?: ({
|
|
351
|
-
creatable?: boolean | undefined;
|
|
352
287
|
isCurrent?: boolean | null | undefined;
|
|
353
288
|
isPrimary?: boolean | null | undefined;
|
|
354
289
|
name: string;
|
|
355
290
|
registry: string;
|
|
356
|
-
writable?: boolean | undefined;
|
|
357
291
|
} & {
|
|
358
292
|
bucket?: string | null | undefined;
|
|
359
293
|
classificationId?: number | null | undefined;
|
|
360
|
-
creatable?: boolean | undefined;
|
|
361
294
|
createdAt?: string | null | undefined;
|
|
362
295
|
id: number;
|
|
363
296
|
isCurrent?: boolean | null | undefined;
|
|
@@ -366,19 +299,15 @@ declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
|
366
299
|
slug?: string | null | undefined;
|
|
367
300
|
type: string;
|
|
368
301
|
updatedAt?: string | null | undefined;
|
|
369
|
-
writable?: boolean | undefined;
|
|
370
302
|
})[] | undefined;
|
|
371
303
|
typeRevenue?: ({
|
|
372
|
-
creatable?: boolean | undefined;
|
|
373
304
|
isCurrent?: boolean | null | undefined;
|
|
374
305
|
isPrimary?: boolean | null | undefined;
|
|
375
306
|
name: string;
|
|
376
307
|
registry: string;
|
|
377
|
-
writable?: boolean | undefined;
|
|
378
308
|
} & {
|
|
379
309
|
bucket?: string | null | undefined;
|
|
380
310
|
classificationId?: number | null | undefined;
|
|
381
|
-
creatable?: boolean | undefined;
|
|
382
311
|
createdAt?: string | null | undefined;
|
|
383
312
|
id: number;
|
|
384
313
|
isCurrent?: boolean | null | undefined;
|
|
@@ -387,19 +316,15 @@ declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
|
387
316
|
slug?: string | null | undefined;
|
|
388
317
|
type: string;
|
|
389
318
|
updatedAt?: string | null | undefined;
|
|
390
|
-
writable?: boolean | undefined;
|
|
391
319
|
})[] | undefined;
|
|
392
320
|
typeTechnologyUsed?: ({
|
|
393
|
-
creatable?: boolean | undefined;
|
|
394
321
|
isCurrent?: boolean | null | undefined;
|
|
395
322
|
isPrimary?: boolean | null | undefined;
|
|
396
323
|
name: string;
|
|
397
324
|
registry: string;
|
|
398
|
-
writable?: boolean | undefined;
|
|
399
325
|
} & {
|
|
400
326
|
bucket?: string | null | undefined;
|
|
401
327
|
classificationId?: number | null | undefined;
|
|
402
|
-
creatable?: boolean | undefined;
|
|
403
328
|
createdAt?: string | null | undefined;
|
|
404
329
|
id: number;
|
|
405
330
|
isCurrent?: boolean | null | undefined;
|
|
@@ -408,7 +333,6 @@ declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
|
408
333
|
slug?: string | null | undefined;
|
|
409
334
|
type: string;
|
|
410
335
|
updatedAt?: string | null | undefined;
|
|
411
|
-
writable?: boolean | undefined;
|
|
412
336
|
})[] | undefined;
|
|
413
337
|
}, import("./classification.ts").EntityClassificationSchemaInput>>;
|
|
414
338
|
core: z.ZodObject<{
|
|
@@ -2,23 +2,18 @@ import { z } from "zod/v4";
|
|
|
2
2
|
declare const EntityClassificationSuggestionSchemaDefinition: z.ZodObject<{
|
|
3
3
|
alreadyJoined: z.ZodBoolean;
|
|
4
4
|
classification: z.ZodUnion<readonly [z.ZodIntersection<z.ZodType<{
|
|
5
|
-
creatable?: boolean | undefined;
|
|
6
5
|
isCurrent?: boolean | null | undefined;
|
|
7
6
|
isPrimary?: boolean | null | undefined;
|
|
8
7
|
name: string;
|
|
9
8
|
registry: string;
|
|
10
|
-
writable?: boolean | undefined;
|
|
11
9
|
}, import("../classification/classification.ts").ClassificationSchemaInput, z.core.$ZodTypeInternals<{
|
|
12
|
-
creatable?: boolean | undefined;
|
|
13
10
|
isCurrent?: boolean | null | undefined;
|
|
14
11
|
isPrimary?: boolean | null | undefined;
|
|
15
12
|
name: string;
|
|
16
13
|
registry: string;
|
|
17
|
-
writable?: boolean | undefined;
|
|
18
14
|
}, import("../classification/classification.ts").ClassificationSchemaInput>>, z.ZodObject<{
|
|
19
15
|
bucket: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
16
|
classificationId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
21
|
-
creatable: z.ZodOptional<z.ZodBoolean>;
|
|
22
17
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
23
18
|
id: z.ZodInt;
|
|
24
19
|
isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -27,12 +22,10 @@ declare const EntityClassificationSuggestionSchemaDefinition: z.ZodObject<{
|
|
|
27
22
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
23
|
type: z.ZodString;
|
|
29
24
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
30
|
-
writable: z.ZodOptional<z.ZodBoolean>;
|
|
31
25
|
}, z.core.$strip>>, z.ZodType<{
|
|
32
26
|
category: string;
|
|
33
27
|
classificationId?: number | null | undefined;
|
|
34
28
|
code?: number | null | undefined;
|
|
35
|
-
creatable?: boolean | undefined;
|
|
36
29
|
createdAt?: string | null | undefined;
|
|
37
30
|
id: number;
|
|
38
31
|
isCurrent?: boolean | null | undefined;
|
|
@@ -41,12 +34,10 @@ declare const EntityClassificationSuggestionSchemaDefinition: z.ZodObject<{
|
|
|
41
34
|
name: string;
|
|
42
35
|
registry: string;
|
|
43
36
|
updatedAt?: string | null | undefined;
|
|
44
|
-
writable?: boolean | undefined;
|
|
45
37
|
}, import("../standardized/classification.ts").StandardizedClassificationSchemaInput, z.core.$ZodTypeInternals<{
|
|
46
38
|
category: string;
|
|
47
39
|
classificationId?: number | null | undefined;
|
|
48
40
|
code?: number | null | undefined;
|
|
49
|
-
creatable?: boolean | undefined;
|
|
50
41
|
createdAt?: string | null | undefined;
|
|
51
42
|
id: number;
|
|
52
43
|
isCurrent?: boolean | null | undefined;
|
|
@@ -55,12 +46,9 @@ declare const EntityClassificationSuggestionSchemaDefinition: z.ZodObject<{
|
|
|
55
46
|
name: string;
|
|
56
47
|
registry: string;
|
|
57
48
|
updatedAt?: string | null | undefined;
|
|
58
|
-
writable?: boolean | undefined;
|
|
59
49
|
}, import("../standardized/classification.ts").StandardizedClassificationSchemaInput>>]>;
|
|
60
|
-
creatable: z.ZodOptional<z.ZodBoolean>;
|
|
61
50
|
rank: z.ZodInt;
|
|
62
51
|
score: z.ZodNumber;
|
|
63
|
-
writable: z.ZodOptional<z.ZodBoolean>;
|
|
64
52
|
}, z.core.$strip>;
|
|
65
53
|
type EntityClassificationSuggestionDefinition = z.infer<typeof EntityClassificationSuggestionSchemaDefinition>;
|
|
66
54
|
export interface EntityClassificationSuggestionSchemaInput extends z.input<typeof EntityClassificationSuggestionSchemaDefinition> {
|
|
@@ -7,14 +7,10 @@ const EntityClassificationSuggestionSchemaDefinition = z.object({
|
|
|
7
7
|
alreadyJoined: z.boolean(),
|
|
8
8
|
/** Suggested classification tag or standardized classification code. */
|
|
9
9
|
classification: z.union([EntityTagSchema, StandardizedClassificationSchema]),
|
|
10
|
-
/** Whether a missing editorial tag value may be created with type plus name instead of tagId. */
|
|
11
|
-
creatable: z.boolean().optional(),
|
|
12
10
|
/** One-based rank within this suggestion response. */
|
|
13
11
|
rank: z.int(),
|
|
14
12
|
/** Composite embedding similarity score; larger values rank higher. */
|
|
15
13
|
score: z.number(),
|
|
16
|
-
/** Whether this suggestion can be joined through the classification mutation endpoint. */
|
|
17
|
-
writable: z.boolean().optional(),
|
|
18
14
|
});
|
|
19
15
|
/**
|
|
20
16
|
* Ranked classification suggestion derived from the entity profile and classification embeddings.
|