@crimson-crawler/crimson-crawler-client 4.1.1

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 (41) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +14 -0
  3. package/README.md +940 -0
  4. package/dist/.package-build.json +29 -0
  5. package/dist/_generated/client.gen.cjs +11 -0
  6. package/dist/_generated/client.gen.d.cts +15 -0
  7. package/dist/_generated/client.gen.d.ts +15 -0
  8. package/dist/_generated/client.gen.js +2 -0
  9. package/dist/_generated/index.cjs +140 -0
  10. package/dist/_generated/index.d.cts +3 -0
  11. package/dist/_generated/index.d.ts +3 -0
  12. package/dist/_generated/index.js +3 -0
  13. package/dist/_generated/sdk.gen.cjs +140 -0
  14. package/dist/_generated/sdk.gen.d.cts +946 -0
  15. package/dist/_generated/sdk.gen.d.ts +946 -0
  16. package/dist/_generated/sdk.gen.js +3 -0
  17. package/dist/_generated/types.gen.cjs +2 -0
  18. package/dist/_generated/types.gen.d.cts +9950 -0
  19. package/dist/_generated/types.gen.d.ts +9950 -0
  20. package/dist/_generated/types.gen.js +1 -0
  21. package/dist/chunk-2X3CCE46.js +294 -0
  22. package/dist/chunk-4CXMKUDH.cjs +783 -0
  23. package/dist/chunk-4HSWOQA6.cjs +328 -0
  24. package/dist/chunk-4PCL3ANB.cjs +190 -0
  25. package/dist/chunk-75ZPJI57.cjs +9 -0
  26. package/dist/chunk-C53EHGN4.js +170 -0
  27. package/dist/chunk-MLKGABMK.js +7 -0
  28. package/dist/chunk-QU4MM663.js +780 -0
  29. package/dist/index.cjs +2507 -0
  30. package/dist/index.d.cts +1283 -0
  31. package/dist/index.d.ts +1283 -0
  32. package/dist/index.js +2487 -0
  33. package/dist/presets-BMN8jy08.d.cts +110 -0
  34. package/dist/presets-BMN8jy08.d.ts +110 -0
  35. package/dist/presets.cjs +79 -0
  36. package/dist/presets.d.cts +1 -0
  37. package/dist/presets.d.ts +1 -0
  38. package/dist/presets.js +2 -0
  39. package/dist/types.gen-ObPczyUH.d.cts +327 -0
  40. package/dist/types.gen-ObPczyUH.d.ts +327 -0
  41. package/package.json +131 -0
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,294 @@
1
+ import { client } from './chunk-QU4MM663.js';
2
+
3
+ // src/_generated/sdk.gen.ts
4
+ var artifactEnrich = (options) => (options.client ?? client).post({
5
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
6
+ url: "/v1/artifact-enrich",
7
+ ...options,
8
+ headers: {
9
+ "Content-Type": "application/json",
10
+ ...options.headers
11
+ }
12
+ });
13
+ var artifactEnrichStatus = (options) => (options.client ?? client).get({
14
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
15
+ url: "/v1/artifact-enrich/{enrichment_id}",
16
+ ...options
17
+ });
18
+ var assessGroupExposure = (options) => (options.client ?? client).post({
19
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
20
+ url: "/v1/assess/group-exposure",
21
+ ...options,
22
+ headers: {
23
+ "Content-Type": "application/json",
24
+ ...options.headers
25
+ }
26
+ });
27
+ var assessIocPortfolio = (options) => (options.client ?? client).post({
28
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
29
+ url: "/v1/assess/ioc-portfolio",
30
+ ...options,
31
+ headers: {
32
+ "Content-Type": "application/json",
33
+ ...options.headers
34
+ }
35
+ });
36
+ var assessTechniqueCoverage = (options) => (options.client ?? client).post({
37
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
38
+ url: "/v1/assess/technique-coverage",
39
+ ...options,
40
+ headers: {
41
+ "Content-Type": "application/json",
42
+ ...options.headers
43
+ }
44
+ });
45
+ var assessVulnerabilityExposure = (options) => (options.client ?? client).post({
46
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
47
+ url: "/v1/assess/vulnerability-exposure",
48
+ ...options,
49
+ headers: {
50
+ "Content-Type": "application/json",
51
+ ...options.headers
52
+ }
53
+ });
54
+ var enrichAtlas = (options) => (options.client ?? client).post({
55
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
56
+ url: "/v1/enrich/atlas",
57
+ ...options,
58
+ headers: {
59
+ "Content-Type": "application/json",
60
+ ...options.headers
61
+ }
62
+ });
63
+ var enrichBatch = (options) => (options.client ?? client).post({
64
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
65
+ url: "/v1/enrich/batch",
66
+ ...options,
67
+ headers: {
68
+ "Content-Type": "application/json",
69
+ ...options.headers
70
+ }
71
+ });
72
+ var enrichCampaign = (options) => (options.client ?? client).post({
73
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
74
+ url: "/v1/enrich/campaign",
75
+ ...options,
76
+ headers: {
77
+ "Content-Type": "application/json",
78
+ ...options.headers
79
+ }
80
+ });
81
+ var enrichCapec = (options) => (options.client ?? client).post({
82
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
83
+ url: "/v1/enrich/capec",
84
+ ...options,
85
+ headers: {
86
+ "Content-Type": "application/json",
87
+ ...options.headers
88
+ }
89
+ });
90
+ var enrichCve = (options) => (options.client ?? client).post({
91
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
92
+ url: "/v1/enrich/cve",
93
+ ...options,
94
+ headers: {
95
+ "Content-Type": "application/json",
96
+ ...options.headers
97
+ }
98
+ });
99
+ var enrichCwe = (options) => (options.client ?? client).post({
100
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
101
+ url: "/v1/enrich/cwe",
102
+ ...options,
103
+ headers: {
104
+ "Content-Type": "application/json",
105
+ ...options.headers
106
+ }
107
+ });
108
+ var enrichDefend = (options) => (options.client ?? client).post({
109
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
110
+ url: "/v1/enrich/defend",
111
+ ...options,
112
+ headers: {
113
+ "Content-Type": "application/json",
114
+ ...options.headers
115
+ }
116
+ });
117
+ var enrichDisarm = (options) => (options.client ?? client).post({
118
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
119
+ url: "/v1/enrich/disarm",
120
+ ...options,
121
+ headers: {
122
+ "Content-Type": "application/json",
123
+ ...options.headers
124
+ }
125
+ });
126
+ var enrichGroup = (options) => (options.client ?? client).post({
127
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
128
+ url: "/v1/enrich/group",
129
+ ...options,
130
+ headers: {
131
+ "Content-Type": "application/json",
132
+ ...options.headers
133
+ }
134
+ });
135
+ var enrichIoc = (options) => (options.client ?? client).post({
136
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
137
+ url: "/v1/enrich/ioc",
138
+ ...options,
139
+ headers: {
140
+ "Content-Type": "application/json",
141
+ ...options.headers
142
+ }
143
+ });
144
+ var enrichLocation = (options) => (options.client ?? client).post({
145
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
146
+ url: "/v1/enrich/location",
147
+ ...options,
148
+ headers: {
149
+ "Content-Type": "application/json",
150
+ ...options.headers
151
+ }
152
+ });
153
+ var enrichPackage = (options) => (options.client ?? client).post({
154
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
155
+ url: "/v1/enrich/package",
156
+ ...options,
157
+ headers: {
158
+ "Content-Type": "application/json",
159
+ ...options.headers
160
+ }
161
+ });
162
+ var enrichPocSource = (options) => (options.client ?? client).post({
163
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
164
+ url: "/v1/enrich/poc-source",
165
+ ...options,
166
+ headers: {
167
+ "Content-Type": "application/json",
168
+ ...options.headers
169
+ }
170
+ });
171
+ var enrichProduct = (options) => (options.client ?? client).post({
172
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
173
+ url: "/v1/enrich/product",
174
+ ...options,
175
+ headers: {
176
+ "Content-Type": "application/json",
177
+ ...options.headers
178
+ }
179
+ });
180
+ var enrichSector = (options) => (options.client ?? client).post({
181
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
182
+ url: "/v1/enrich/sector",
183
+ ...options,
184
+ headers: {
185
+ "Content-Type": "application/json",
186
+ ...options.headers
187
+ }
188
+ });
189
+ var enrichSoftware = (options) => (options.client ?? client).post({
190
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
191
+ url: "/v1/enrich/software",
192
+ ...options,
193
+ headers: {
194
+ "Content-Type": "application/json",
195
+ ...options.headers
196
+ }
197
+ });
198
+ var enrichTechnique = (options) => (options.client ?? client).post({
199
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
200
+ url: "/v1/enrich/technique",
201
+ ...options,
202
+ headers: {
203
+ "Content-Type": "application/json",
204
+ ...options.headers
205
+ }
206
+ });
207
+ var inventoryEnrich = (options) => (options.client ?? client).post({
208
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
209
+ url: "/v1/inventory-enrich",
210
+ ...options,
211
+ headers: {
212
+ "Content-Type": "application/json",
213
+ ...options.headers
214
+ }
215
+ });
216
+ var inventoryEnrichStatus = (options) => (options.client ?? client).get({
217
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
218
+ url: "/v1/inventory-enrich/{enrichment_id}",
219
+ ...options
220
+ });
221
+ var searchCti = (options) => (options.client ?? client).post({
222
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
223
+ url: "/v1/search/cti",
224
+ ...options,
225
+ headers: {
226
+ "Content-Type": "application/json",
227
+ ...options.headers
228
+ }
229
+ });
230
+ var searchCve = (options) => (options.client ?? client).post({
231
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
232
+ url: "/v1/search/cve",
233
+ ...options,
234
+ headers: {
235
+ "Content-Type": "application/json",
236
+ ...options.headers
237
+ }
238
+ });
239
+ var searchD3Fend = (options) => (options.client ?? client).post({
240
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
241
+ url: "/v1/search/d3fend",
242
+ ...options,
243
+ headers: {
244
+ "Content-Type": "application/json",
245
+ ...options.headers
246
+ }
247
+ });
248
+ var searchKev = (options) => (options.client ?? client).post({
249
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
250
+ url: "/v1/search/kev",
251
+ ...options,
252
+ headers: {
253
+ "Content-Type": "application/json",
254
+ ...options.headers
255
+ }
256
+ });
257
+ var searchKnowledgebase = (options) => (options.client ?? client).post({
258
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
259
+ url: "/v1/search/knowledgebase",
260
+ ...options,
261
+ headers: {
262
+ "Content-Type": "application/json",
263
+ ...options.headers
264
+ }
265
+ });
266
+ var searchMisp = (options) => (options.client ?? client).post({
267
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
268
+ url: "/v1/search/misp",
269
+ ...options,
270
+ headers: {
271
+ "Content-Type": "application/json",
272
+ ...options.headers
273
+ }
274
+ });
275
+ var searchPoc = (options) => (options.client ?? client).post({
276
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
277
+ url: "/v1/search/poc",
278
+ ...options,
279
+ headers: {
280
+ "Content-Type": "application/json",
281
+ ...options.headers
282
+ }
283
+ });
284
+ var searchVendor = (options) => (options.client ?? client).post({
285
+ security: [{ name: "apikey", type: "apiKey" }, { name: "x-api-key", type: "apiKey" }],
286
+ url: "/v1/search/vendor",
287
+ ...options,
288
+ headers: {
289
+ "Content-Type": "application/json",
290
+ ...options.headers
291
+ }
292
+ });
293
+
294
+ export { artifactEnrich, artifactEnrichStatus, assessGroupExposure, assessIocPortfolio, assessTechniqueCoverage, assessVulnerabilityExposure, enrichAtlas, enrichBatch, enrichCampaign, enrichCapec, enrichCve, enrichCwe, enrichDefend, enrichDisarm, enrichGroup, enrichIoc, enrichLocation, enrichPackage, enrichPocSource, enrichProduct, enrichSector, enrichSoftware, enrichTechnique, inventoryEnrich, inventoryEnrichStatus, searchCti, searchCve, searchD3Fend, searchKev, searchKnowledgebase, searchMisp, searchPoc, searchVendor };