Skip to content

Commit c31170c

Browse files
author
stlc-bot
committed
fix(openapi): keep legacy batch inputs in the spec as deprecated (#2225)
feat(access-policies): limit which websites API requests can reach (#2213) feat(brand): support log-free brand and styleguide requests (#2231) fix(brand): keep metadata-only usage logs for ZDR brand requests (#2234) Stainless-Generated-From: bd19d3e1a874768866022d3fd7f280fcb21759f8
1 parent 2374d4c commit c31170c

6 files changed

Lines changed: 116 additions & 116 deletions

File tree

‎lib/context_dev/models/brand_retrieve_params.rb‎

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ class ByDomain < ContextDev::Internal::Type::BaseModel
9898
api_name: :timeoutOpts
9999

100100
# @!attribute zdr
101-
# `enabled` disables request logs, usage logs, and traces. Brand data and hosted
102-
# assets may still be stored. Returns 403 `ZDR_NOT_ENABLED` unless your
103-
# organization has ZDR.
101+
# `enabled` disables request logs and traces and omits request and response
102+
# content from usage logs. Brand data and hosted assets may still be stored.
103+
# Returns 403 `ZDR_NOT_ENABLED` unless your organization has ZDR.
104104
#
105105
# @return [Symbol, ContextDev::Models::BrandRetrieveParams::Body::ByDomain::Zdr, nil]
106106
optional :zdr, enum: -> { ContextDev::BrandRetrieveParams::Body::ByDomain::Zdr }
@@ -125,7 +125,7 @@ class ByDomain < ContextDev::Internal::Type::BaseModel
125125
#
126126
# @param timeout_opts [ContextDev::Models::BrandRetrieveParams::Body::ByDomain::TimeoutOpts] Request deadline and what to return when it passes.
127127
#
128-
# @param zdr [Symbol, ContextDev::Models::BrandRetrieveParams::Body::ByDomain::Zdr] `enabled` disables request logs, usage logs, and traces. Brand data and hosted a
128+
# @param zdr [Symbol, ContextDev::Models::BrandRetrieveParams::Body::ByDomain::Zdr] `enabled` disables request logs and traces and omits request and response conten
129129
#
130130
# @param type [Symbol, :by_domain] Discriminator for domain-based brand retrieval.
131131

@@ -299,9 +299,9 @@ module Behavior
299299
end
300300
end
301301

302-
# `enabled` disables request logs, usage logs, and traces. Brand data and hosted
303-
# assets may still be stored. Returns 403 `ZDR_NOT_ENABLED` unless your
304-
# organization has ZDR.
302+
# `enabled` disables request logs and traces and omits request and response
303+
# content from usage logs. Brand data and hosted assets may still be stored.
304+
# Returns 403 `ZDR_NOT_ENABLED` unless your organization has ZDR.
305305
#
306306
# @see ContextDev::Models::BrandRetrieveParams::Body::ByDomain#zdr
307307
module Zdr
@@ -378,9 +378,9 @@ class ByName < ContextDev::Internal::Type::BaseModel
378378
api_name: :timeoutOpts
379379

380380
# @!attribute zdr
381-
# `enabled` disables request logs, usage logs, and traces. Brand data and hosted
382-
# assets may still be stored. Returns 403 `ZDR_NOT_ENABLED` unless your
383-
# organization has ZDR.
381+
# `enabled` disables request logs and traces and omits request and response
382+
# content from usage logs. Brand data and hosted assets may still be stored.
383+
# Returns 403 `ZDR_NOT_ENABLED` unless your organization has ZDR.
384384
#
385385
# @return [Symbol, ContextDev::Models::BrandRetrieveParams::Body::ByName::Zdr, nil]
386386
optional :zdr, enum: -> { ContextDev::BrandRetrieveParams::Body::ByName::Zdr }
@@ -408,7 +408,7 @@ class ByName < ContextDev::Internal::Type::BaseModel
408408
#
409409
# @param timeout_opts [ContextDev::Models::BrandRetrieveParams::Body::ByName::TimeoutOpts] Request deadline and what to return when it passes.
410410
#
411-
# @param zdr [Symbol, ContextDev::Models::BrandRetrieveParams::Body::ByName::Zdr] `enabled` disables request logs, usage logs, and traces. Brand data and hosted a
411+
# @param zdr [Symbol, ContextDev::Models::BrandRetrieveParams::Body::ByName::Zdr] `enabled` disables request logs and traces and omits request and response conten
412412
#
413413
# @param type [Symbol, :by_name] Discriminator for name-based brand retrieval.
414414

@@ -833,9 +833,9 @@ module Behavior
833833
end
834834
end
835835

836-
# `enabled` disables request logs, usage logs, and traces. Brand data and hosted
837-
# assets may still be stored. Returns 403 `ZDR_NOT_ENABLED` unless your
838-
# organization has ZDR.
836+
# `enabled` disables request logs and traces and omits request and response
837+
# content from usage logs. Brand data and hosted assets may still be stored.
838+
# Returns 403 `ZDR_NOT_ENABLED` unless your organization has ZDR.
839839
#
840840
# @see ContextDev::Models::BrandRetrieveParams::Body::ByName#zdr
841841
module Zdr
@@ -905,9 +905,9 @@ class ByEmail < ContextDev::Internal::Type::BaseModel
905905
api_name: :timeoutOpts
906906

907907
# @!attribute zdr
908-
# `enabled` disables request logs, usage logs, and traces. Brand data and hosted
909-
# assets may still be stored. Returns 403 `ZDR_NOT_ENABLED` unless your
910-
# organization has ZDR.
908+
# `enabled` disables request logs and traces and omits request and response
909+
# content from usage logs. Brand data and hosted assets may still be stored.
910+
# Returns 403 `ZDR_NOT_ENABLED` unless your organization has ZDR.
911911
#
912912
# @return [Symbol, ContextDev::Models::BrandRetrieveParams::Body::ByEmail::Zdr, nil]
913913
optional :zdr, enum: -> { ContextDev::BrandRetrieveParams::Body::ByEmail::Zdr }
@@ -934,7 +934,7 @@ class ByEmail < ContextDev::Internal::Type::BaseModel
934934
#
935935
# @param timeout_opts [ContextDev::Models::BrandRetrieveParams::Body::ByEmail::TimeoutOpts] Request deadline and what to return when it passes.
936936
#
937-
# @param zdr [Symbol, ContextDev::Models::BrandRetrieveParams::Body::ByEmail::Zdr] `enabled` disables request logs, usage logs, and traces. Brand data and hosted a
937+
# @param zdr [Symbol, ContextDev::Models::BrandRetrieveParams::Body::ByEmail::Zdr] `enabled` disables request logs and traces and omits request and response conten
938938
#
939939
# @param type [Symbol, :by_email] Discriminator for email-based brand retrieval.
940940

@@ -1108,9 +1108,9 @@ module Behavior
11081108
end
11091109
end
11101110

1111-
# `enabled` disables request logs, usage logs, and traces. Brand data and hosted
1112-
# assets may still be stored. Returns 403 `ZDR_NOT_ENABLED` unless your
1113-
# organization has ZDR.
1111+
# `enabled` disables request logs and traces and omits request and response
1112+
# content from usage logs. Brand data and hosted assets may still be stored.
1113+
# Returns 403 `ZDR_NOT_ENABLED` unless your organization has ZDR.
11141114
#
11151115
# @see ContextDev::Models::BrandRetrieveParams::Body::ByEmail#zdr
11161116
module Zdr
@@ -1186,9 +1186,9 @@ class ByTicker < ContextDev::Internal::Type::BaseModel
11861186
api_name: :timeoutOpts
11871187

11881188
# @!attribute zdr
1189-
# `enabled` disables request logs, usage logs, and traces. Brand data and hosted
1190-
# assets may still be stored. Returns 403 `ZDR_NOT_ENABLED` unless your
1191-
# organization has ZDR.
1189+
# `enabled` disables request logs and traces and omits request and response
1190+
# content from usage logs. Brand data and hosted assets may still be stored.
1191+
# Returns 403 `ZDR_NOT_ENABLED` unless your organization has ZDR.
11921192
#
11931193
# @return [Symbol, ContextDev::Models::BrandRetrieveParams::Body::ByTicker::Zdr, nil]
11941194
optional :zdr, enum: -> { ContextDev::BrandRetrieveParams::Body::ByTicker::Zdr }
@@ -1216,7 +1216,7 @@ class ByTicker < ContextDev::Internal::Type::BaseModel
12161216
#
12171217
# @param timeout_opts [ContextDev::Models::BrandRetrieveParams::Body::ByTicker::TimeoutOpts] Request deadline and what to return when it passes.
12181218
#
1219-
# @param zdr [Symbol, ContextDev::Models::BrandRetrieveParams::Body::ByTicker::Zdr] `enabled` disables request logs, usage logs, and traces. Brand data and hosted a
1219+
# @param zdr [Symbol, ContextDev::Models::BrandRetrieveParams::Body::ByTicker::Zdr] `enabled` disables request logs and traces and omits request and response conten
12201220
#
12211221
# @param type [Symbol, :by_ticker] Discriminator for ticker-based brand retrieval.
12221222

@@ -1473,9 +1473,9 @@ module Behavior
14731473
end
14741474
end
14751475

1476-
# `enabled` disables request logs, usage logs, and traces. Brand data and hosted
1477-
# assets may still be stored. Returns 403 `ZDR_NOT_ENABLED` unless your
1478-
# organization has ZDR.
1476+
# `enabled` disables request logs and traces and omits request and response
1477+
# content from usage logs. Brand data and hosted assets may still be stored.
1478+
# Returns 403 `ZDR_NOT_ENABLED` unless your organization has ZDR.
14791479
#
14801480
# @see ContextDev::Models::BrandRetrieveParams::Body::ByTicker#zdr
14811481
module Zdr
@@ -1525,9 +1525,9 @@ class ByDirectURL < ContextDev::Internal::Type::BaseModel
15251525
api_name: :timeoutOpts
15261526

15271527
# @!attribute zdr
1528-
# `enabled` disables request logs, usage logs, and traces. Brand data and hosted
1529-
# assets may still be stored. Returns 403 `ZDR_NOT_ENABLED` unless your
1530-
# organization has ZDR.
1528+
# `enabled` disables request logs and traces and omits request and response
1529+
# content from usage logs. Brand data and hosted assets may still be stored.
1530+
# Returns 403 `ZDR_NOT_ENABLED` unless your organization has ZDR.
15311531
#
15321532
# @return [Symbol, ContextDev::Models::BrandRetrieveParams::Body::ByDirectURL::Zdr, nil]
15331533
optional :zdr, enum: -> { ContextDev::BrandRetrieveParams::Body::ByDirectURL::Zdr }
@@ -1547,7 +1547,7 @@ class ByDirectURL < ContextDev::Internal::Type::BaseModel
15471547
#
15481548
# @param timeout_opts [ContextDev::Models::BrandRetrieveParams::Body::ByDirectURL::TimeoutOpts] Request deadline and what to return when it passes.
15491549
#
1550-
# @param zdr [Symbol, ContextDev::Models::BrandRetrieveParams::Body::ByDirectURL::Zdr] `enabled` disables request logs, usage logs, and traces. Brand data and hosted a
1550+
# @param zdr [Symbol, ContextDev::Models::BrandRetrieveParams::Body::ByDirectURL::Zdr] `enabled` disables request logs and traces and omits request and response conten
15511551
#
15521552
# @param type [Symbol, :by_direct_url] Discriminator for direct-URL-based brand retrieval.
15531553

@@ -1592,9 +1592,9 @@ module Behavior
15921592
end
15931593
end
15941594

1595-
# `enabled` disables request logs, usage logs, and traces. Brand data and hosted
1596-
# assets may still be stored. Returns 403 `ZDR_NOT_ENABLED` unless your
1597-
# organization has ZDR.
1595+
# `enabled` disables request logs and traces and omits request and response
1596+
# content from usage logs. Brand data and hosted assets may still be stored.
1597+
# Returns 403 `ZDR_NOT_ENABLED` unless your organization has ZDR.
15981598
#
15991599
# @see ContextDev::Models::BrandRetrieveParams::Body::ByDirectURL#zdr
16001600
module Zdr
@@ -1690,9 +1690,9 @@ class ByTransaction < ContextDev::Internal::Type::BaseModel
16901690
api_name: :timeoutOpts
16911691

16921692
# @!attribute zdr
1693-
# `enabled` disables request logs, usage logs, and traces. Brand data and hosted
1694-
# assets may still be stored. Returns 403 `ZDR_NOT_ENABLED` unless your
1695-
# organization has ZDR.
1693+
# `enabled` disables request logs and traces and omits request and response
1694+
# content from usage logs. Brand data and hosted assets may still be stored.
1695+
# Returns 403 `ZDR_NOT_ENABLED` unless your organization has ZDR.
16961696
#
16971697
# @return [Symbol, ContextDev::Models::BrandRetrieveParams::Body::ByTransaction::Zdr, nil]
16981698
optional :zdr, enum: -> { ContextDev::BrandRetrieveParams::Body::ByTransaction::Zdr }
@@ -1726,7 +1726,7 @@ class ByTransaction < ContextDev::Internal::Type::BaseModel
17261726
#
17271727
# @param timeout_opts [ContextDev::Models::BrandRetrieveParams::Body::ByTransaction::TimeoutOpts] Request deadline and what to return when it passes.
17281728
#
1729-
# @param zdr [Symbol, ContextDev::Models::BrandRetrieveParams::Body::ByTransaction::Zdr] `enabled` disables request logs, usage logs, and traces. Brand data and hosted a
1729+
# @param zdr [Symbol, ContextDev::Models::BrandRetrieveParams::Body::ByTransaction::Zdr] `enabled` disables request logs and traces and omits request and response conten
17301730
#
17311731
# @param type [Symbol, :by_transaction] Discriminator for transaction-based brand retrieval.
17321732

@@ -2181,9 +2181,9 @@ module Behavior
21812181
end
21822182
end
21832183

2184-
# `enabled` disables request logs, usage logs, and traces. Brand data and hosted
2185-
# assets may still be stored. Returns 403 `ZDR_NOT_ENABLED` unless your
2186-
# organization has ZDR.
2184+
# `enabled` disables request logs and traces and omits request and response
2185+
# content from usage logs. Brand data and hosted assets may still be stored.
2186+
# Returns 403 `ZDR_NOT_ENABLED` unless your organization has ZDR.
21872187
#
21882188
# @see ContextDev::Models::BrandRetrieveParams::Body::ByTransaction#zdr
21892189
module Zdr

‎lib/context_dev/models/web_extract_styleguide_params.rb‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ class WebExtractStyleguideParams < ContextDev::Internal::Type::BaseModel
5454
optional :timeout_opts, -> { ContextDev::WebExtractStyleguideParams::TimeoutOpts }
5555

5656
# @!attribute zdr
57-
# `enabled` disables request logs, usage logs, and traces. Brand data and hosted
58-
# assets may still be stored. Returns 403 `ZDR_NOT_ENABLED` unless your
59-
# organization has ZDR.
57+
# `enabled` disables request logs and traces and omits request and response
58+
# content from usage logs. Brand data and hosted assets may still be stored.
59+
# Returns 403 `ZDR_NOT_ENABLED` unless your organization has ZDR.
6060
#
6161
# @return [Symbol, ContextDev::Models::WebExtractStyleguideParams::Zdr, nil]
6262
optional :zdr, enum: -> { ContextDev::WebExtractStyleguideParams::Zdr }
@@ -79,7 +79,7 @@ class WebExtractStyleguideParams < ContextDev::Internal::Type::BaseModel
7979
#
8080
# @param timeout_opts [ContextDev::Models::WebExtractStyleguideParams::TimeoutOpts] Request deadline and what to return when it passes.
8181
#
82-
# @param zdr [Symbol, ContextDev::Models::WebExtractStyleguideParams::Zdr] `enabled` disables request logs, usage logs, and traces. Brand data and hosted a
82+
# @param zdr [Symbol, ContextDev::Models::WebExtractStyleguideParams::Zdr] `enabled` disables request logs and traces and omits request and response conten
8383
#
8484
# @param request_options [ContextDev::RequestOptions, Hash{Symbol=>Object}]
8585

@@ -134,9 +134,9 @@ module Behavior
134134
end
135135
end
136136

137-
# `enabled` disables request logs, usage logs, and traces. Brand data and hosted
138-
# assets may still be stored. Returns 403 `ZDR_NOT_ENABLED` unless your
139-
# organization has ZDR.
137+
# `enabled` disables request logs and traces and omits request and response
138+
# content from usage logs. Brand data and hosted assets may still be stored.
139+
# Returns 403 `ZDR_NOT_ENABLED` unless your organization has ZDR.
140140
module Zdr
141141
extend ContextDev::Internal::Type::Enum
142142

‎lib/context_dev/resources/web.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def extract_competitors(params)
9797
#
9898
# @param timeout_opts [ContextDev::Models::WebExtractStyleguideParams::TimeoutOpts] Request deadline and what to return when it passes.
9999
#
100-
# @param zdr [Symbol, ContextDev::Models::WebExtractStyleguideParams::Zdr] `enabled` disables request logs, usage logs, and traces. Brand data and hosted a
100+
# @param zdr [Symbol, ContextDev::Models::WebExtractStyleguideParams::Zdr] `enabled` disables request logs and traces and omits request and response conten
101101
#
102102
# @param request_options [ContextDev::RequestOptions, Hash{Symbol=>Object}, nil]
103103
#

0 commit comments

Comments
 (0)