Skip to content

Commit 1710e79

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): OpenAPI spec update via Stainless API (#945)
1 parent 03590a8 commit 1710e79

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1343
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-263576da5eb5ab2ac4e94b5546f7851d1bba6cc4c7cda43454f07e0fc3feed13.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-5e74e6bc5452012a8e268e22531fc275f2e79381aa2f2dd3fd8c0d16e6cd0a28.yml

src/resources/intel/indicator-feeds/indicator-feeds.ts

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,16 @@ export interface IndicatorFeedGetResponse {
223223
*/
224224
description?: string;
225225

226+
/**
227+
* Whether the indicator feed can be attributed to a provider
228+
*/
229+
is_attributable?: boolean;
230+
231+
/**
232+
* Whether the indicator feed is exposed to customers
233+
*/
234+
is_public?: boolean;
235+
226236
/**
227237
* Status of the latest snapshot uploaded
228238
*/
@@ -237,6 +247,16 @@ export interface IndicatorFeedGetResponse {
237247
* The name of the indicator feed
238248
*/
239249
name?: string;
250+
251+
/**
252+
* The unique identifier for the provider
253+
*/
254+
provider_id?: string;
255+
256+
/**
257+
* The provider of the indicator feed
258+
*/
259+
provider_name?: string;
240260
}
241261

242262
export interface IndicatorFeedCreateParams {
@@ -276,6 +296,11 @@ export interface IndicatorFeedUpdateParams {
276296
* Body param: The new is_public value of the feed
277297
*/
278298
is_public?: boolean;
299+
300+
/**
301+
* Body param: The new name of the feed
302+
*/
303+
name?: string;
279304
}
280305

281306
export interface IndicatorFeedListParams {

tests/api-resources/intel/indicator-feeds/indicator-feeds.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ describe('resource indicatorFeeds', () => {
5050
description: 'This is an example description',
5151
is_attributable: true,
5252
is_public: true,
53+
name: 'indicator_list',
5354
});
5455
});
5556

0 commit comments

Comments
 (0)