Skip to content

Commit 0239b4f

Browse files
feat(api): api update
1 parent 3016cce commit 0239b4f

File tree

5 files changed

+23
-21
lines changed

5 files changed

+23
-21
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1781
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-381ed84335cfa747d09c66cc65add15e3daceb84368f59aa9ce9067c5706d516.yml
3-
openapi_spec_hash: f4d8980ef4fa4c092ab0dfcb5cdb85f8
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-5b3a5962f102d4bffee87e6012f4afa9bd954a19c3bd78c368887941fb8ba92c.yml
3+
openapi_spec_hash: 23a363af2dc9dbe00b2e21fa0df67c43
44
config_hash: ab4569f2e8dd52d04ef8493482a67230

src/resources/logpush/datasets/fields.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { CloudflareError } from '../../../error';
77

88
export class Fields extends APIResource {
99
/**
10-
* Lists all fields available for a dataset. The response result is an object with
10+
* Lists all fields available for a dataset. The response result is. an object with
1111
* key-value pairs, where keys are field names, and values are descriptions.
1212
*
1313
* @example

src/resources/logpush/jobs.ts

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export class Jobs extends APIResource {
3535
* sample_rate: 1,
3636
* timestamp_format: 'unixnano',
3737
* },
38+
* ownership_challenge: '00000000000000000000',
3839
* });
3940
* ```
4041
*/
@@ -90,6 +91,7 @@ export class Jobs extends APIResource {
9091
* sample_rate: 1,
9192
* timestamp_format: 'unixnano',
9293
* },
94+
* ownership_challenge: '00000000000000000000',
9395
* });
9496
* ```
9597
*/
@@ -311,8 +313,8 @@ export interface LogpushJob {
311313
| null;
312314

313315
/**
314-
* Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
315-
* Additional configuration parameters supported by the destination may be
316+
* Uniquely identifies a resource (such as an s3 bucket) where data. will be
317+
* pushed. Additional configuration parameters supported by the destination may be
316318
* included.
317319
*/
318320
destination_conf?: string;
@@ -323,7 +325,7 @@ export interface LogpushJob {
323325
enabled?: boolean;
324326

325327
/**
326-
* If not null, the job is currently failing. Failures are usually repetitive
328+
* If not null, the job is currently failing. Failures are usually. repetitive
327329
* (example: no permissions to write to destination bucket). Only the last failure
328330
* is recorded. On successful execution of a job the error_message and last_error
329331
* are set to null.
@@ -332,7 +334,7 @@ export interface LogpushJob {
332334

333335
/**
334336
* @deprecated This field is deprecated. Please use `max_upload_*` parameters
335-
* instead. The frequency at which Cloudflare sends batches of logs to your
337+
* instead. . The frequency at which Cloudflare sends batches of logs to your
336338
* destination. Setting frequency to high sends your logs in larger quantities of
337339
* smaller files. Setting frequency to low sends logs in smaller quantities of
338340
* larger files.
@@ -354,9 +356,9 @@ export interface LogpushJob {
354356
last_complete?: string | null;
355357

356358
/**
357-
* Records the last time the job failed. If not null, the job is currently failing.
358-
* If null, the job has either never failed or has run successfully at least once
359-
* since last failure. See also the error_message field.
359+
* Records the last time the job failed. If not null, the job is currently.
360+
* failing. If null, the job has either never failed or has run successfully at
361+
* least once since last failure. See also the error_message field.
360362
*/
361363
last_error?: string | null;
362364

@@ -394,7 +396,7 @@ export interface LogpushJob {
394396
max_upload_records?: 0 | number | null;
395397

396398
/**
397-
* Optional human readable job name. Not unique. Cloudflare suggests that you set
399+
* Optional human readable job name. Not unique. Cloudflare suggests. that you set
398400
* this to a meaningful string, like the domain name, to make it easier to identify
399401
* your job.
400402
*/
@@ -568,7 +570,7 @@ export interface JobDeleteResponse {
568570

569571
export interface JobCreateParams {
570572
/**
571-
* Body param: Uniquely identifies a resource (such as an s3 bucket) where data
573+
* Body param: Uniquely identifies a resource (such as an s3 bucket) where data.
572574
* will be pushed. Additional configuration parameters supported by the destination
573575
* may be included.
574576
*/
@@ -632,7 +634,7 @@ export interface JobCreateParams {
632634

633635
/**
634636
* @deprecated Body param: This field is deprecated. Please use `max_upload_*`
635-
* parameters instead. The frequency at which Cloudflare sends batches of logs to
637+
* parameters instead. . The frequency at which Cloudflare sends batches of logs to
636638
* your destination. Setting frequency to high sends your logs in larger quantities
637639
* of smaller files. Setting frequency to low sends logs in smaller quantities of
638640
* larger files.
@@ -679,7 +681,7 @@ export interface JobCreateParams {
679681
max_upload_records?: 0 | number | null;
680682

681683
/**
682-
* Body param: Optional human readable job name. Not unique. Cloudflare suggests
684+
* Body param: Optional human readable job name. Not unique. Cloudflare suggests.
683685
* that you set this to a meaningful string, like the domain name, to make it
684686
* easier to identify your job.
685687
*/
@@ -711,7 +713,7 @@ export interface JobUpdateParams {
711713
zone_id?: string;
712714

713715
/**
714-
* Body param: Uniquely identifies a resource (such as an s3 bucket) where data
716+
* Body param: Uniquely identifies a resource (such as an s3 bucket) where data.
715717
* will be pushed. Additional configuration parameters supported by the destination
716718
* may be included.
717719
*/
@@ -731,7 +733,7 @@ export interface JobUpdateParams {
731733

732734
/**
733735
* @deprecated Body param: This field is deprecated. Please use `max_upload_*`
734-
* parameters instead. The frequency at which Cloudflare sends batches of logs to
736+
* parameters instead. . The frequency at which Cloudflare sends batches of logs to
735737
* your destination. Setting frequency to high sends your logs in larger quantities
736738
* of smaller files. Setting frequency to low sends logs in smaller quantities of
737739
* larger files.
@@ -778,7 +780,7 @@ export interface JobUpdateParams {
778780
max_upload_records?: 0 | number | null;
779781

780782
/**
781-
* Body param: Optional human readable job name. Not unique. Cloudflare suggests
783+
* Body param: Optional human readable job name. Not unique. Cloudflare suggests.
782784
* that you set this to a meaningful string, like the domain name, to make it
783785
* easier to identify your job.
784786
*/

src/resources/logpush/ownership.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export interface OwnershipCreateResponse {
102102

103103
export interface OwnershipCreateParams {
104104
/**
105-
* Body param: Uniquely identifies a resource (such as an s3 bucket) where data
105+
* Body param: Uniquely identifies a resource (such as an s3 bucket) where data.
106106
* will be pushed. Additional configuration parameters supported by the destination
107107
* may be included.
108108
*/
@@ -123,7 +123,7 @@ export interface OwnershipCreateParams {
123123

124124
export interface OwnershipValidateParams {
125125
/**
126-
* Body param: Uniquely identifies a resource (such as an s3 bucket) where data
126+
* Body param: Uniquely identifies a resource (such as an s3 bucket) where data.
127127
* will be pushed. Additional configuration parameters supported by the destination
128128
* may be included.
129129
*/

src/resources/logpush/validate.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export interface ValidateOriginResponse {
146146

147147
export interface ValidateDestinationParams {
148148
/**
149-
* Body param: Uniquely identifies a resource (such as an s3 bucket) where data
149+
* Body param: Uniquely identifies a resource (such as an s3 bucket) where data.
150150
* will be pushed. Additional configuration parameters supported by the destination
151151
* may be included.
152152
*/
@@ -167,7 +167,7 @@ export interface ValidateDestinationParams {
167167

168168
export interface ValidateDestinationExistsParams {
169169
/**
170-
* Body param: Uniquely identifies a resource (such as an s3 bucket) where data
170+
* Body param: Uniquely identifies a resource (such as an s3 bucket) where data.
171171
* will be pushed. Additional configuration parameters supported by the destination
172172
* may be included.
173173
*/

0 commit comments

Comments
 (0)