@aventurevc/api-schemas 0.8.511 → 0.8.513
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.
|
@@ -9,12 +9,14 @@ declare const EnrichmentSchemaDefinition: z.ZodObject<{
|
|
|
9
9
|
AMBIGUOUS: "AMBIGUOUS";
|
|
10
10
|
NOT_FOUND: "NOT_FOUND";
|
|
11
11
|
SUBSCRIPTION_REQUIRED: "SUBSCRIPTION_REQUIRED";
|
|
12
|
+
TURN_CAPPED: "TURN_CAPPED";
|
|
12
13
|
}>, z.ZodString]> & {
|
|
13
14
|
enum: {
|
|
14
15
|
ALLOWANCE_EXHAUSTED: "ALLOWANCE_EXHAUSTED";
|
|
15
16
|
AMBIGUOUS: "AMBIGUOUS";
|
|
16
17
|
NOT_FOUND: "NOT_FOUND";
|
|
17
18
|
SUBSCRIPTION_REQUIRED: "SUBSCRIPTION_REQUIRED";
|
|
19
|
+
TURN_CAPPED: "TURN_CAPPED";
|
|
18
20
|
};
|
|
19
21
|
}>>;
|
|
20
22
|
run: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
/**
|
|
3
|
-
* 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
|
|
3
|
+
* 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; TURN_CAPPED when a queued run has reached its turn limit and cannot accept an edit; 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
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema EnrichmentRefusalType
|
|
6
6
|
* @endpoint POST /v1/enrichments
|
|
@@ -13,12 +13,14 @@ 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
|
+
TURN_CAPPED: "TURN_CAPPED";
|
|
16
17
|
}>, z.ZodString]> & {
|
|
17
18
|
enum: {
|
|
18
19
|
ALLOWANCE_EXHAUSTED: "ALLOWANCE_EXHAUSTED";
|
|
19
20
|
AMBIGUOUS: "AMBIGUOUS";
|
|
20
21
|
NOT_FOUND: "NOT_FOUND";
|
|
21
22
|
SUBSCRIPTION_REQUIRED: "SUBSCRIPTION_REQUIRED";
|
|
23
|
+
TURN_CAPPED: "TURN_CAPPED";
|
|
22
24
|
};
|
|
23
25
|
};
|
|
24
26
|
export type EnrichmentRefusalType = z.infer<typeof EnrichmentRefusalTypeSchema>;
|
|
@@ -5,9 +5,10 @@ const EnrichmentRefusalTypeSchemaKnownMembers = z.enum([
|
|
|
5
5
|
"ALLOWANCE_EXHAUSTED",
|
|
6
6
|
"AMBIGUOUS",
|
|
7
7
|
"SUBSCRIPTION_REQUIRED",
|
|
8
|
+
"TURN_CAPPED",
|
|
8
9
|
]);
|
|
9
10
|
/**
|
|
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
|
|
11
|
+
* 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; TURN_CAPPED when a queued run has reached its turn limit and cannot accept an edit; 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
|
|
11
12
|
*
|
|
12
13
|
* @openapiSchema EnrichmentRefusalType
|
|
13
14
|
* @endpoint POST /v1/enrichments
|