diff --git a/.stats.yml b/.stats.yml index f215c678e8..c288573d4d 100755 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 1351 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-9cf0f2e4dbcf94a6f29e0703c950ed01985ea901827a95279ef2c9a9966eb6ca.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-a4e604861011b2b2b2d454e411a88c791e365bb09b44b9e012eaf6f89b2d2437.yml diff --git a/src/resources/dns/records.ts b/src/resources/dns/records.ts index 1aa41e306b..7caea00f8a 100755 --- a/src/resources/dns/records.ts +++ b/src/resources/dns/records.ts @@ -2291,11 +2291,6 @@ export namespace RecordCreateParams { */ type: 'A'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -2343,11 +2338,6 @@ export namespace RecordCreateParams { */ type: 'AAAA'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -2395,11 +2385,6 @@ export namespace RecordCreateParams { */ type: 'CAA'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -2463,11 +2448,6 @@ export namespace RecordCreateParams { */ type: 'CERT'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -2536,11 +2516,6 @@ export namespace RecordCreateParams { */ type: 'CNAME'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -2588,11 +2563,6 @@ export namespace RecordCreateParams { */ type: 'DNSKEY'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -2661,11 +2631,6 @@ export namespace RecordCreateParams { */ type: 'DS'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -2734,11 +2699,6 @@ export namespace RecordCreateParams { */ type: 'HTTPS'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -2802,11 +2762,6 @@ export namespace RecordCreateParams { */ type: 'LOC'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -2921,11 +2876,6 @@ export namespace RecordCreateParams { */ type: 'MX'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -2967,11 +2917,6 @@ export namespace RecordCreateParams { */ type: 'NAPTR'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -3050,11 +2995,6 @@ export namespace RecordCreateParams { */ type: 'NS'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -3097,11 +3037,6 @@ export namespace RecordCreateParams { */ type: 'OPENPGPKEY'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -3143,11 +3078,6 @@ export namespace RecordCreateParams { */ type: 'PTR'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -3189,11 +3119,6 @@ export namespace RecordCreateParams { */ type: 'SMIMEA'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -3264,11 +3189,6 @@ export namespace RecordCreateParams { */ type: 'SRV'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -3359,11 +3279,6 @@ export namespace RecordCreateParams { */ type: 'SSHFP'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -3427,11 +3342,6 @@ export namespace RecordCreateParams { */ type: 'SVCB'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -3495,11 +3405,6 @@ export namespace RecordCreateParams { */ type: 'TLSA'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -3568,11 +3473,6 @@ export namespace RecordCreateParams { */ type: 'TXT'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -3620,11 +3520,6 @@ export namespace RecordCreateParams { */ type: 'URI'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -3708,11 +3603,6 @@ export namespace RecordUpdateParams { */ type: 'A'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -3760,11 +3650,6 @@ export namespace RecordUpdateParams { */ type: 'AAAA'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -3812,11 +3697,6 @@ export namespace RecordUpdateParams { */ type: 'CAA'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -3880,11 +3760,6 @@ export namespace RecordUpdateParams { */ type: 'CERT'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -3953,11 +3828,6 @@ export namespace RecordUpdateParams { */ type: 'CNAME'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -4005,11 +3875,6 @@ export namespace RecordUpdateParams { */ type: 'DNSKEY'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -4078,11 +3943,6 @@ export namespace RecordUpdateParams { */ type: 'DS'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -4151,11 +4011,6 @@ export namespace RecordUpdateParams { */ type: 'HTTPS'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -4219,11 +4074,6 @@ export namespace RecordUpdateParams { */ type: 'LOC'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -4338,11 +4188,6 @@ export namespace RecordUpdateParams { */ type: 'MX'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -4384,11 +4229,6 @@ export namespace RecordUpdateParams { */ type: 'NAPTR'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -4467,11 +4307,6 @@ export namespace RecordUpdateParams { */ type: 'NS'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -4514,11 +4349,6 @@ export namespace RecordUpdateParams { */ type: 'OPENPGPKEY'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -4560,11 +4390,6 @@ export namespace RecordUpdateParams { */ type: 'PTR'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -4606,11 +4431,6 @@ export namespace RecordUpdateParams { */ type: 'SMIMEA'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -4681,11 +4501,6 @@ export namespace RecordUpdateParams { */ type: 'SRV'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -4776,11 +4591,6 @@ export namespace RecordUpdateParams { */ type: 'SSHFP'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -4844,11 +4654,6 @@ export namespace RecordUpdateParams { */ type: 'SVCB'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -4912,11 +4717,6 @@ export namespace RecordUpdateParams { */ type: 'TLSA'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -4985,11 +4785,6 @@ export namespace RecordUpdateParams { */ type: 'TXT'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -5037,11 +4832,6 @@ export namespace RecordUpdateParams { */ type: 'URI'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -5303,11 +5093,6 @@ export namespace RecordEditParams { */ type: 'A'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -5355,11 +5140,6 @@ export namespace RecordEditParams { */ type: 'AAAA'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -5407,11 +5187,6 @@ export namespace RecordEditParams { */ type: 'CAA'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -5475,11 +5250,6 @@ export namespace RecordEditParams { */ type: 'CERT'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -5548,11 +5318,6 @@ export namespace RecordEditParams { */ type: 'CNAME'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -5600,11 +5365,6 @@ export namespace RecordEditParams { */ type: 'DNSKEY'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -5673,11 +5433,6 @@ export namespace RecordEditParams { */ type: 'DS'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -5746,11 +5501,6 @@ export namespace RecordEditParams { */ type: 'HTTPS'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -5814,11 +5564,6 @@ export namespace RecordEditParams { */ type: 'LOC'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -5933,11 +5678,6 @@ export namespace RecordEditParams { */ type: 'MX'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -5979,11 +5719,6 @@ export namespace RecordEditParams { */ type: 'NAPTR'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -6062,11 +5797,6 @@ export namespace RecordEditParams { */ type: 'NS'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -6109,11 +5839,6 @@ export namespace RecordEditParams { */ type: 'OPENPGPKEY'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -6155,11 +5880,6 @@ export namespace RecordEditParams { */ type: 'PTR'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -6201,11 +5921,6 @@ export namespace RecordEditParams { */ type: 'SMIMEA'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -6276,11 +5991,6 @@ export namespace RecordEditParams { */ type: 'SRV'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -6371,11 +6081,6 @@ export namespace RecordEditParams { */ type: 'SSHFP'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -6439,11 +6144,6 @@ export namespace RecordEditParams { */ type: 'SVCB'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -6507,11 +6207,6 @@ export namespace RecordEditParams { */ type: 'TLSA'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -6580,11 +6275,6 @@ export namespace RecordEditParams { */ type: 'TXT'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. @@ -6632,11 +6322,6 @@ export namespace RecordEditParams { */ type: 'URI'; - /** - * Body param: Identifier - */ - id?: string; - /** * Body param: Comments or notes about the DNS record. This field has no effect on * DNS responses. diff --git a/tests/api-resources/dns/records.test.ts b/tests/api-resources/dns/records.test.ts index 746caa97cc..be68cb8029 100755 --- a/tests/api-resources/dns/records.test.ts +++ b/tests/api-resources/dns/records.test.ts @@ -34,7 +34,6 @@ describe('resource records', () => { content: '198.51.100.4', name: 'example.com', type: 'A', - id: '023e105f4ecef8ad9ca31a8372d0c353', comment: 'Domain verification record', proxied: false, tags: ['owner:dns-team', 'owner:dns-team', 'owner:dns-team'], @@ -66,7 +65,6 @@ describe('resource records', () => { content: '198.51.100.4', name: 'example.com', type: 'A', - id: '023e105f4ecef8ad9ca31a8372d0c353', comment: 'Domain verification record', proxied: false, tags: ['owner:dns-team', 'owner:dns-team', 'owner:dns-team'], @@ -161,7 +159,6 @@ describe('resource records', () => { content: '198.51.100.4', name: 'example.com', type: 'A', - id: '023e105f4ecef8ad9ca31a8372d0c353', comment: 'Domain verification record', proxied: false, tags: ['owner:dns-team', 'owner:dns-team', 'owner:dns-team'],