@aventurevc/api-schemas 0.8.257 → 0.8.258
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/billing/additional-usage-meter.d.ts +12 -2
- package/dist/billing/additional-usage-type.d.ts +12 -2
- package/dist/billing/additional-usage-type.js +10 -9
- package/dist/billing/additional-usage.d.ts +2 -2
- package/dist/billing/catalog-additional-usage.d.ts +12 -2
- package/dist/billing/catalog-allowance.d.ts +2 -0
- package/dist/billing/catalog-plan.d.ts +2 -0
- package/dist/billing/catalog-plan.js +4 -0
- package/dist/billing/catalog.d.ts +7 -3
- package/dist/billing/catalog.js +1 -1
- package/dist/billing/subscription.d.ts +16 -2
- package/dist/date/range.d.ts +1 -0
- package/dist/date/range.js +1 -0
- package/dist/decimal/range.d.ts +1 -0
- package/dist/decimal/range.js +1 -0
- package/dist/directory/export-column-type.d.ts +67 -0
- package/dist/directory/export-column-type.js +40 -0
- package/dist/directory/export-mutation.d.ts +735 -0
- package/dist/directory/export-mutation.js +37 -0
- package/dist/directory/export.d.ts +50 -0
- package/dist/directory/export.js +24 -0
- package/dist/enrichment/enrichment.d.ts +2 -0
- package/dist/entity/filter-logo-option.d.ts +1 -0
- package/dist/entity/filter-logo-option.js +1 -0
- package/dist/entity/filter.d.ts +1 -0
- package/dist/entity/filter.js +1 -0
- package/dist/entity/fundraise-filter-criteria.d.ts +1 -0
- package/dist/entity/fundraise-filter-criteria.js +1 -0
- package/dist/entity/list-filter.d.ts +2 -0
- package/dist/entity/list-filter.js +2 -0
- package/dist/entity/list-quality-gate.d.ts +1 -0
- package/dist/entity/list-quality-gate.js +1 -0
- package/dist/entity/operating-status.d.ts +1 -0
- package/dist/entity/operating-status.js +1 -0
- package/dist/entity/person-association-filter.d.ts +1 -0
- package/dist/entity/person-association-filter.js +1 -0
- package/dist/entity/url-type.d.ts +2 -0
- package/dist/entity/url-type.js +2 -0
- package/dist/harness/run-detail.d.ts +2 -0
- package/dist/harness/run.d.ts +2 -0
- package/dist/http/problem-detail.d.ts +2 -0
- package/dist/int/range.d.ts +1 -0
- package/dist/int/range.js +1 -0
- package/dist/investor/activity-filter.d.ts +1 -0
- package/dist/investor/activity-filter.js +1 -0
- package/dist/investor/name-match-mode.d.ts +1 -0
- package/dist/investor/name-match-mode.js +1 -0
- package/dist/openapi-component-manifest.js +9 -0
- package/dist/pagination/schemas.d.ts +2 -0
- package/dist/person/filter.d.ts +2 -0
- package/dist/person/filter.js +2 -0
- package/dist/person/list-array-filter.d.ts +1 -0
- package/dist/person/list-array-filter.js +1 -0
- package/dist/research/access-type.d.ts +1 -0
- package/dist/research/access-type.js +1 -0
- package/dist/research/allowance-type.d.ts +3 -1
- package/dist/research/allowance-type.js +2 -1
- package/dist/research/allowance-usage.d.ts +231 -130
- package/dist/research/allowance-usage.js +2 -0
- package/dist/research/allowance.d.ts +13 -16
- package/dist/research/allowance.js +13 -12
- package/dist/shared/directory-type.d.ts +3 -0
- package/dist/shared/directory-type.js +3 -0
- package/dist/url/match-mode.d.ts +1 -0
- package/dist/url/match-mode.js +1 -0
- package/package.json +1 -1
|
@@ -1,135 +1,236 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const ResearchAllowanceUsageSchemaDefinition: z.ZodObject<{
|
|
3
|
-
company: z.
|
|
4
|
-
access
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
access
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
3
|
+
company: z.ZodObject<{
|
|
4
|
+
access: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5
|
+
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
6
|
+
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
7
|
+
EXHAUSTED: "EXHAUSTED";
|
|
8
|
+
INCLUDED: "INCLUDED";
|
|
9
|
+
PLAN_REQUIRED: "PLAN_REQUIRED";
|
|
10
|
+
}>, z.ZodString]> & {
|
|
11
|
+
enum: {
|
|
12
|
+
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
13
|
+
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
14
|
+
EXHAUSTED: "EXHAUSTED";
|
|
15
|
+
INCLUDED: "INCLUDED";
|
|
16
|
+
PLAN_REQUIRED: "PLAN_REQUIRED";
|
|
17
|
+
};
|
|
18
|
+
}>>;
|
|
19
|
+
limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
20
|
+
remaining: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
21
|
+
resetAt: z.ZodISODateTime;
|
|
22
|
+
used: z.ZodInt;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
entityBrand: z.ZodObject<{
|
|
25
|
+
access: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
26
|
+
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
27
|
+
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
28
|
+
EXHAUSTED: "EXHAUSTED";
|
|
29
|
+
INCLUDED: "INCLUDED";
|
|
30
|
+
PLAN_REQUIRED: "PLAN_REQUIRED";
|
|
31
|
+
}>, z.ZodString]> & {
|
|
32
|
+
enum: {
|
|
33
|
+
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
34
|
+
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
35
|
+
EXHAUSTED: "EXHAUSTED";
|
|
36
|
+
INCLUDED: "INCLUDED";
|
|
37
|
+
PLAN_REQUIRED: "PLAN_REQUIRED";
|
|
38
|
+
};
|
|
39
|
+
}>>;
|
|
40
|
+
limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
41
|
+
remaining: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
42
|
+
resetAt: z.ZodISODateTime;
|
|
43
|
+
used: z.ZodInt;
|
|
44
|
+
}, z.core.$strip>;
|
|
45
|
+
entityView: z.ZodObject<{
|
|
46
|
+
access: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
47
|
+
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
48
|
+
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
49
|
+
EXHAUSTED: "EXHAUSTED";
|
|
50
|
+
INCLUDED: "INCLUDED";
|
|
51
|
+
PLAN_REQUIRED: "PLAN_REQUIRED";
|
|
52
|
+
}>, z.ZodString]> & {
|
|
53
|
+
enum: {
|
|
54
|
+
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
55
|
+
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
56
|
+
EXHAUSTED: "EXHAUSTED";
|
|
57
|
+
INCLUDED: "INCLUDED";
|
|
58
|
+
PLAN_REQUIRED: "PLAN_REQUIRED";
|
|
59
|
+
};
|
|
60
|
+
}>>;
|
|
61
|
+
limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
62
|
+
remaining: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
63
|
+
resetAt: z.ZodISODateTime;
|
|
64
|
+
used: z.ZodInt;
|
|
65
|
+
}, z.core.$strip>;
|
|
66
|
+
export: z.ZodOptional<z.ZodObject<{
|
|
67
|
+
access: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
68
|
+
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
69
|
+
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
70
|
+
EXHAUSTED: "EXHAUSTED";
|
|
71
|
+
INCLUDED: "INCLUDED";
|
|
72
|
+
PLAN_REQUIRED: "PLAN_REQUIRED";
|
|
73
|
+
}>, z.ZodString]> & {
|
|
74
|
+
enum: {
|
|
75
|
+
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
76
|
+
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
77
|
+
EXHAUSTED: "EXHAUSTED";
|
|
78
|
+
INCLUDED: "INCLUDED";
|
|
79
|
+
PLAN_REQUIRED: "PLAN_REQUIRED";
|
|
80
|
+
};
|
|
81
|
+
}>>;
|
|
82
|
+
limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
83
|
+
remaining: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
84
|
+
resetAt: z.ZodISODateTime;
|
|
85
|
+
used: z.ZodInt;
|
|
86
|
+
}, z.core.$strip>>;
|
|
87
|
+
newCompany: z.ZodObject<{
|
|
88
|
+
access: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
89
|
+
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
90
|
+
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
91
|
+
EXHAUSTED: "EXHAUSTED";
|
|
92
|
+
INCLUDED: "INCLUDED";
|
|
93
|
+
PLAN_REQUIRED: "PLAN_REQUIRED";
|
|
94
|
+
}>, z.ZodString]> & {
|
|
95
|
+
enum: {
|
|
96
|
+
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
97
|
+
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
98
|
+
EXHAUSTED: "EXHAUSTED";
|
|
99
|
+
INCLUDED: "INCLUDED";
|
|
100
|
+
PLAN_REQUIRED: "PLAN_REQUIRED";
|
|
101
|
+
};
|
|
102
|
+
}>>;
|
|
103
|
+
limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
104
|
+
remaining: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
105
|
+
resetAt: z.ZodISODateTime;
|
|
106
|
+
used: z.ZodInt;
|
|
107
|
+
}, z.core.$strip>;
|
|
108
|
+
newPerson: z.ZodObject<{
|
|
109
|
+
access: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
110
|
+
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
111
|
+
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
112
|
+
EXHAUSTED: "EXHAUSTED";
|
|
113
|
+
INCLUDED: "INCLUDED";
|
|
114
|
+
PLAN_REQUIRED: "PLAN_REQUIRED";
|
|
115
|
+
}>, z.ZodString]> & {
|
|
116
|
+
enum: {
|
|
117
|
+
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
118
|
+
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
119
|
+
EXHAUSTED: "EXHAUSTED";
|
|
120
|
+
INCLUDED: "INCLUDED";
|
|
121
|
+
PLAN_REQUIRED: "PLAN_REQUIRED";
|
|
122
|
+
};
|
|
123
|
+
}>>;
|
|
124
|
+
limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
125
|
+
remaining: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
126
|
+
resetAt: z.ZodISODateTime;
|
|
127
|
+
used: z.ZodInt;
|
|
128
|
+
}, z.core.$strip>;
|
|
129
|
+
person: z.ZodObject<{
|
|
130
|
+
access: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
131
|
+
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
132
|
+
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
133
|
+
EXHAUSTED: "EXHAUSTED";
|
|
134
|
+
INCLUDED: "INCLUDED";
|
|
135
|
+
PLAN_REQUIRED: "PLAN_REQUIRED";
|
|
136
|
+
}>, z.ZodString]> & {
|
|
137
|
+
enum: {
|
|
138
|
+
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
139
|
+
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
140
|
+
EXHAUSTED: "EXHAUSTED";
|
|
141
|
+
INCLUDED: "INCLUDED";
|
|
142
|
+
PLAN_REQUIRED: "PLAN_REQUIRED";
|
|
143
|
+
};
|
|
144
|
+
}>>;
|
|
145
|
+
limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
146
|
+
remaining: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
147
|
+
resetAt: z.ZodISODateTime;
|
|
148
|
+
used: z.ZodInt;
|
|
149
|
+
}, z.core.$strip>;
|
|
150
|
+
personView: z.ZodObject<{
|
|
151
|
+
access: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
152
|
+
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
153
|
+
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
154
|
+
EXHAUSTED: "EXHAUSTED";
|
|
155
|
+
INCLUDED: "INCLUDED";
|
|
156
|
+
PLAN_REQUIRED: "PLAN_REQUIRED";
|
|
157
|
+
}>, z.ZodString]> & {
|
|
158
|
+
enum: {
|
|
159
|
+
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
160
|
+
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
161
|
+
EXHAUSTED: "EXHAUSTED";
|
|
162
|
+
INCLUDED: "INCLUDED";
|
|
163
|
+
PLAN_REQUIRED: "PLAN_REQUIRED";
|
|
164
|
+
};
|
|
165
|
+
}>>;
|
|
166
|
+
limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
167
|
+
remaining: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
168
|
+
resetAt: z.ZodISODateTime;
|
|
169
|
+
used: z.ZodInt;
|
|
170
|
+
}, z.core.$strip>;
|
|
171
|
+
update: z.ZodObject<{
|
|
172
|
+
access: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
173
|
+
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
174
|
+
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
175
|
+
EXHAUSTED: "EXHAUSTED";
|
|
176
|
+
INCLUDED: "INCLUDED";
|
|
177
|
+
PLAN_REQUIRED: "PLAN_REQUIRED";
|
|
178
|
+
}>, z.ZodString]> & {
|
|
179
|
+
enum: {
|
|
180
|
+
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
181
|
+
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
182
|
+
EXHAUSTED: "EXHAUSTED";
|
|
183
|
+
INCLUDED: "INCLUDED";
|
|
184
|
+
PLAN_REQUIRED: "PLAN_REQUIRED";
|
|
185
|
+
};
|
|
186
|
+
}>>;
|
|
187
|
+
limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
188
|
+
remaining: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
189
|
+
resetAt: z.ZodISODateTime;
|
|
190
|
+
used: z.ZodInt;
|
|
191
|
+
}, z.core.$strip>;
|
|
192
|
+
updatePerson: z.ZodObject<{
|
|
193
|
+
access: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
194
|
+
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
195
|
+
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
196
|
+
EXHAUSTED: "EXHAUSTED";
|
|
197
|
+
INCLUDED: "INCLUDED";
|
|
198
|
+
PLAN_REQUIRED: "PLAN_REQUIRED";
|
|
199
|
+
}>, z.ZodString]> & {
|
|
200
|
+
enum: {
|
|
201
|
+
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
202
|
+
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
203
|
+
EXHAUSTED: "EXHAUSTED";
|
|
204
|
+
INCLUDED: "INCLUDED";
|
|
205
|
+
PLAN_REQUIRED: "PLAN_REQUIRED";
|
|
206
|
+
};
|
|
207
|
+
}>>;
|
|
208
|
+
limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
209
|
+
remaining: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
210
|
+
resetAt: z.ZodISODateTime;
|
|
211
|
+
used: z.ZodInt;
|
|
212
|
+
}, z.core.$strip>;
|
|
213
|
+
webSearch: z.ZodObject<{
|
|
214
|
+
access: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
215
|
+
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
216
|
+
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
217
|
+
EXHAUSTED: "EXHAUSTED";
|
|
218
|
+
INCLUDED: "INCLUDED";
|
|
219
|
+
PLAN_REQUIRED: "PLAN_REQUIRED";
|
|
220
|
+
}>, z.ZodString]> & {
|
|
221
|
+
enum: {
|
|
222
|
+
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
223
|
+
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
224
|
+
EXHAUSTED: "EXHAUSTED";
|
|
225
|
+
INCLUDED: "INCLUDED";
|
|
226
|
+
PLAN_REQUIRED: "PLAN_REQUIRED";
|
|
227
|
+
};
|
|
228
|
+
}>>;
|
|
229
|
+
limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
230
|
+
remaining: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
231
|
+
resetAt: z.ZodISODateTime;
|
|
232
|
+
used: z.ZodInt;
|
|
233
|
+
}, z.core.$strip>;
|
|
133
234
|
}, z.core.$strip>;
|
|
134
235
|
type ResearchAllowanceUsageDefinition = z.infer<typeof ResearchAllowanceUsageSchemaDefinition>;
|
|
135
236
|
export interface ResearchAllowanceUsageSchemaInput extends z.input<typeof ResearchAllowanceUsageSchemaDefinition> {
|
|
@@ -7,6 +7,8 @@ const ResearchAllowanceUsageSchemaDefinition = z.object({
|
|
|
7
7
|
/** Thin company brand reads (names, logos, links, tags) */
|
|
8
8
|
entityBrand: ResearchAllowanceSchema,
|
|
9
9
|
entityView: ResearchAllowanceSchema,
|
|
10
|
+
/** Distinct exported records; UTC month on monthly plans, full subscription period on yearly plans */
|
|
11
|
+
export: ResearchAllowanceSchema.optional(),
|
|
10
12
|
/** Deprecated: replaced by company, which it mirrors. */
|
|
11
13
|
newCompany: ResearchAllowanceSchema,
|
|
12
14
|
/** Deprecated: replaced by person, which it mirrors. */
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Usage allowance for one meter in one billing period, the UTC month by default
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema ResearchAllowance
|
|
6
|
+
* @endpoint GET /v1/billing/ai-credits
|
|
7
|
+
* @endpoint GET /v1/billing/subscription
|
|
8
|
+
* @endpoint POST /v1/directory/exports
|
|
9
|
+
* @usedBySchema DirectoryExportSchema
|
|
10
|
+
* @usedBySchema ResearchAllowanceUsageSchema
|
|
11
|
+
* @contractShape research.allowance
|
|
12
|
+
* @contractRole canonical
|
|
13
|
+
*/
|
|
14
|
+
export declare const ResearchAllowanceSchema: z.ZodObject<{
|
|
3
15
|
access: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4
16
|
ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
|
|
5
17
|
BILLING_BLOCKED: "BILLING_BLOCKED";
|
|
@@ -20,20 +32,5 @@ declare const ResearchAllowanceSchemaDefinition: z.ZodObject<{
|
|
|
20
32
|
resetAt: z.ZodISODateTime;
|
|
21
33
|
used: z.ZodInt;
|
|
22
34
|
}, z.core.$strip>;
|
|
23
|
-
type ResearchAllowanceDefinition = z.infer<typeof ResearchAllowanceSchemaDefinition>;
|
|
24
|
-
export interface ResearchAllowanceSchemaInput extends z.input<typeof ResearchAllowanceSchemaDefinition> {
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Usage allowance for one meter in one billing period, the UTC month by default
|
|
28
|
-
*
|
|
29
|
-
* @openapiSchema ResearchAllowance
|
|
30
|
-
* @endpoint GET /v1/billing/ai-credits
|
|
31
|
-
* @endpoint GET /v1/billing/subscription
|
|
32
|
-
* @usedBySchema ResearchAllowanceUsageSchema
|
|
33
|
-
* @contractShape research.allowance
|
|
34
|
-
* @contractRole canonical
|
|
35
|
-
*/
|
|
36
|
-
export declare const ResearchAllowanceSchema: z.ZodType<ResearchAllowanceDefinition, ResearchAllowanceSchemaInput>;
|
|
37
35
|
export type ResearchAllowance = z.infer<typeof ResearchAllowanceSchema>;
|
|
38
|
-
export {};
|
|
39
36
|
//# sourceMappingURL=allowance.d.ts.map
|
|
@@ -1,7 +1,19 @@
|
|
|
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
3
|
import { ResearchAccessTypeSchema } from "./access-type.js";
|
|
4
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Usage allowance for one meter in one billing period, the UTC month by default
|
|
6
|
+
*
|
|
7
|
+
* @openapiSchema ResearchAllowance
|
|
8
|
+
* @endpoint GET /v1/billing/ai-credits
|
|
9
|
+
* @endpoint GET /v1/billing/subscription
|
|
10
|
+
* @endpoint POST /v1/directory/exports
|
|
11
|
+
* @usedBySchema DirectoryExportSchema
|
|
12
|
+
* @usedBySchema ResearchAllowanceUsageSchema
|
|
13
|
+
* @contractShape research.allowance
|
|
14
|
+
* @contractRole canonical
|
|
15
|
+
*/
|
|
16
|
+
export const ResearchAllowanceSchema = z.object({
|
|
5
17
|
/** What filing one more research run on this meter does now, decided exactly as filing decides it; present only on the company and person research meters */
|
|
6
18
|
access: ResearchAccessTypeSchema.nullish(),
|
|
7
19
|
/** Cap for the period; absent when the tier meters without a cap */
|
|
@@ -13,15 +25,4 @@ const ResearchAllowanceSchemaDefinition = z.object({
|
|
|
13
25
|
/** Amount used so far in the period */
|
|
14
26
|
used: z.int(),
|
|
15
27
|
});
|
|
16
|
-
/**
|
|
17
|
-
* Usage allowance for one meter in one billing period, the UTC month by default
|
|
18
|
-
*
|
|
19
|
-
* @openapiSchema ResearchAllowance
|
|
20
|
-
* @endpoint GET /v1/billing/ai-credits
|
|
21
|
-
* @endpoint GET /v1/billing/subscription
|
|
22
|
-
* @usedBySchema ResearchAllowanceUsageSchema
|
|
23
|
-
* @contractShape research.allowance
|
|
24
|
-
* @contractRole canonical
|
|
25
|
-
*/
|
|
26
|
-
export const ResearchAllowanceSchema = ResearchAllowanceSchemaDefinition;
|
|
27
28
|
//# sourceMappingURL=allowance.js.map
|
|
@@ -5,7 +5,10 @@ import { z } from "zod/v4";
|
|
|
5
5
|
* @openapiSchema SharedDirectoryType
|
|
6
6
|
* @endpoint GET /v1/directory/shared
|
|
7
7
|
* @endpoint GET /v1/directory/shared/slug/{slug}
|
|
8
|
+
* @endpoint POST /v1/directory/exports
|
|
8
9
|
* @endpoint POST /v1/directory/shared
|
|
10
|
+
* @usedBySchema DirectoryExportMutationSchema
|
|
11
|
+
* @usedBySchema DirectoryExportSchema
|
|
9
12
|
* @usedBySchema SharedDirectoryListSchema
|
|
10
13
|
* @usedBySchema SharedDirectoryMutationSchema
|
|
11
14
|
* @contractShape shared.directory-type
|
|
@@ -6,7 +6,10 @@ import { z } from "zod/v4";
|
|
|
6
6
|
* @openapiSchema SharedDirectoryType
|
|
7
7
|
* @endpoint GET /v1/directory/shared
|
|
8
8
|
* @endpoint GET /v1/directory/shared/slug/{slug}
|
|
9
|
+
* @endpoint POST /v1/directory/exports
|
|
9
10
|
* @endpoint POST /v1/directory/shared
|
|
11
|
+
* @usedBySchema DirectoryExportMutationSchema
|
|
12
|
+
* @usedBySchema DirectoryExportSchema
|
|
10
13
|
* @usedBySchema SharedDirectoryListSchema
|
|
11
14
|
* @usedBySchema SharedDirectoryMutationSchema
|
|
12
15
|
* @contractShape shared.directory-type
|
package/dist/url/match-mode.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import { z } from "zod/v4";
|
|
|
10
10
|
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
11
11
|
* @endpoint GET /v1/search/shared/{id}
|
|
12
12
|
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
13
|
+
* @endpoint POST /v1/directory/exports
|
|
13
14
|
* @endpoint POST /v1/directory/shared
|
|
14
15
|
* @endpoint POST /v1/entities/filters/refine
|
|
15
16
|
* @endpoint POST /v1/entities/filters/search
|
package/dist/url/match-mode.js
CHANGED
|
@@ -11,6 +11,7 @@ import { z } from "zod/v4";
|
|
|
11
11
|
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
12
12
|
* @endpoint GET /v1/search/shared/{id}
|
|
13
13
|
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
14
|
+
* @endpoint POST /v1/directory/exports
|
|
14
15
|
* @endpoint POST /v1/directory/shared
|
|
15
16
|
* @endpoint POST /v1/entities/filters/refine
|
|
16
17
|
* @endpoint POST /v1/entities/filters/search
|