Skip to content

Commit 645e36f

Browse files
feat(api): api update
1 parent d8d0999 commit 645e36f

File tree

100 files changed

+1178
-207
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+1178
-207
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: 1775
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-8e0538866d9e5c4160420a6fa355975d6d67ed9afe8baa485bab806895b4ebee.yml
3-
openapi_spec_hash: 99927ea5b698f1e5f9d27222e2cd3d4e
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-df3e57fc009b3288e627cc200018db5b00f119bf7af968734eaa7abb101d9243.yml
3+
openapi_spec_hash: 721c84387f1cfda7d1c2ad8479a5212c
44
config_hash: 4a37da9893560914a7ac1a75cc01202a

abuse_reports/aliases.go

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,10 +409,15 @@ type TokenPolicyPermissionGroupsMeta = shared.TokenPolicyPermissionGroupsMeta
409409
// This is an alias to an internal type.
410410
type TokenPolicyResourcesUnion = shared.TokenPolicyResourcesUnion
411411

412+
// Map of simple string resource permissions
413+
//
414+
// This is an alias to an internal type.
415+
type TokenPolicyResourcesIAMResourcesTypeObjectString = shared.TokenPolicyResourcesIAMResourcesTypeObjectString
416+
412417
// Map of nested resource permissions
413418
//
414419
// This is an alias to an internal type.
415-
type TokenPolicyResourcesMap = shared.TokenPolicyResourcesMap
420+
type TokenPolicyResourcesIAMResourcesTypeObjectNested = shared.TokenPolicyResourcesIAMResourcesTypeObjectNested
416421

417422
// This is an alias to an internal type.
418423
type TokenPolicyParam = shared.TokenPolicyParam
@@ -433,10 +438,15 @@ type TokenPolicyPermissionGroupsMetaParam = shared.TokenPolicyPermissionGroupsMe
433438
// This is an alias to an internal type.
434439
type TokenPolicyResourcesUnionParam = shared.TokenPolicyResourcesUnionParam
435440

441+
// Map of simple string resource permissions
442+
//
443+
// This is an alias to an internal type.
444+
type TokenPolicyResourcesIAMResourcesTypeObjectStringParam = shared.TokenPolicyResourcesIAMResourcesTypeObjectStringParam
445+
436446
// Map of nested resource permissions
437447
//
438448
// This is an alias to an internal type.
439-
type TokenPolicyResourcesMapParam = shared.TokenPolicyResourcesMapParam
449+
type TokenPolicyResourcesIAMResourcesTypeObjectNestedParam = shared.TokenPolicyResourcesIAMResourcesTypeObjectNestedParam
440450

441451
// The token value.
442452
//

accounts/aliases.go

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,10 +409,15 @@ type TokenPolicyPermissionGroupsMeta = shared.TokenPolicyPermissionGroupsMeta
409409
// This is an alias to an internal type.
410410
type TokenPolicyResourcesUnion = shared.TokenPolicyResourcesUnion
411411

412+
// Map of simple string resource permissions
413+
//
414+
// This is an alias to an internal type.
415+
type TokenPolicyResourcesIAMResourcesTypeObjectString = shared.TokenPolicyResourcesIAMResourcesTypeObjectString
416+
412417
// Map of nested resource permissions
413418
//
414419
// This is an alias to an internal type.
415-
type TokenPolicyResourcesMap = shared.TokenPolicyResourcesMap
420+
type TokenPolicyResourcesIAMResourcesTypeObjectNested = shared.TokenPolicyResourcesIAMResourcesTypeObjectNested
416421

417422
// This is an alias to an internal type.
418423
type TokenPolicyParam = shared.TokenPolicyParam
@@ -433,10 +438,15 @@ type TokenPolicyPermissionGroupsMetaParam = shared.TokenPolicyPermissionGroupsMe
433438
// This is an alias to an internal type.
434439
type TokenPolicyResourcesUnionParam = shared.TokenPolicyResourcesUnionParam
435440

441+
// Map of simple string resource permissions
442+
//
443+
// This is an alias to an internal type.
444+
type TokenPolicyResourcesIAMResourcesTypeObjectStringParam = shared.TokenPolicyResourcesIAMResourcesTypeObjectStringParam
445+
436446
// Map of nested resource permissions
437447
//
438448
// This is an alias to an internal type.
439-
type TokenPolicyResourcesMapParam = shared.TokenPolicyResourcesMapParam
449+
type TokenPolicyResourcesIAMResourcesTypeObjectNestedParam = shared.TokenPolicyResourcesIAMResourcesTypeObjectNestedParam
440450

441451
// The token value.
442452
//

accounts/token_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func TestTokenNewWithOptionalParams(t *testing.T) {
4848
Value: cloudflare.F("value"),
4949
}),
5050
}}),
51-
Resources: cloudflare.F[shared.TokenPolicyResourcesUnionParam](shared.TokenPolicyResourcesMapParam(map[string]string{
51+
Resources: cloudflare.F[shared.TokenPolicyResourcesUnionParam](shared.TokenPolicyResourcesIAMResourcesTypeObjectStringParam(map[string]string{
5252
"foo": "string",
5353
})),
5454
}}),
@@ -114,7 +114,7 @@ func TestTokenUpdateWithOptionalParams(t *testing.T) {
114114
Value: cloudflare.F("value"),
115115
}),
116116
}}),
117-
Resources: cloudflare.F[shared.TokenPolicyResourcesUnionParam](shared.TokenPolicyResourcesMapParam(map[string]string{
117+
Resources: cloudflare.F[shared.TokenPolicyResourcesUnionParam](shared.TokenPolicyResourcesIAMResourcesTypeObjectStringParam(map[string]string{
118118
"foo": "string",
119119
})),
120120
}}),

acm/aliases.go

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,10 +409,15 @@ type TokenPolicyPermissionGroupsMeta = shared.TokenPolicyPermissionGroupsMeta
409409
// This is an alias to an internal type.
410410
type TokenPolicyResourcesUnion = shared.TokenPolicyResourcesUnion
411411

412+
// Map of simple string resource permissions
413+
//
414+
// This is an alias to an internal type.
415+
type TokenPolicyResourcesIAMResourcesTypeObjectString = shared.TokenPolicyResourcesIAMResourcesTypeObjectString
416+
412417
// Map of nested resource permissions
413418
//
414419
// This is an alias to an internal type.
415-
type TokenPolicyResourcesMap = shared.TokenPolicyResourcesMap
420+
type TokenPolicyResourcesIAMResourcesTypeObjectNested = shared.TokenPolicyResourcesIAMResourcesTypeObjectNested
416421

417422
// This is an alias to an internal type.
418423
type TokenPolicyParam = shared.TokenPolicyParam
@@ -433,10 +438,15 @@ type TokenPolicyPermissionGroupsMetaParam = shared.TokenPolicyPermissionGroupsMe
433438
// This is an alias to an internal type.
434439
type TokenPolicyResourcesUnionParam = shared.TokenPolicyResourcesUnionParam
435440

441+
// Map of simple string resource permissions
442+
//
443+
// This is an alias to an internal type.
444+
type TokenPolicyResourcesIAMResourcesTypeObjectStringParam = shared.TokenPolicyResourcesIAMResourcesTypeObjectStringParam
445+
436446
// Map of nested resource permissions
437447
//
438448
// This is an alias to an internal type.
439-
type TokenPolicyResourcesMapParam = shared.TokenPolicyResourcesMapParam
449+
type TokenPolicyResourcesIAMResourcesTypeObjectNestedParam = shared.TokenPolicyResourcesIAMResourcesTypeObjectNestedParam
440450

441451
// The token value.
442452
//

addressing/aliases.go

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,10 +409,15 @@ type TokenPolicyPermissionGroupsMeta = shared.TokenPolicyPermissionGroupsMeta
409409
// This is an alias to an internal type.
410410
type TokenPolicyResourcesUnion = shared.TokenPolicyResourcesUnion
411411

412+
// Map of simple string resource permissions
413+
//
414+
// This is an alias to an internal type.
415+
type TokenPolicyResourcesIAMResourcesTypeObjectString = shared.TokenPolicyResourcesIAMResourcesTypeObjectString
416+
412417
// Map of nested resource permissions
413418
//
414419
// This is an alias to an internal type.
415-
type TokenPolicyResourcesMap = shared.TokenPolicyResourcesMap
420+
type TokenPolicyResourcesIAMResourcesTypeObjectNested = shared.TokenPolicyResourcesIAMResourcesTypeObjectNested
416421

417422
// This is an alias to an internal type.
418423
type TokenPolicyParam = shared.TokenPolicyParam
@@ -433,10 +438,15 @@ type TokenPolicyPermissionGroupsMetaParam = shared.TokenPolicyPermissionGroupsMe
433438
// This is an alias to an internal type.
434439
type TokenPolicyResourcesUnionParam = shared.TokenPolicyResourcesUnionParam
435440

441+
// Map of simple string resource permissions
442+
//
443+
// This is an alias to an internal type.
444+
type TokenPolicyResourcesIAMResourcesTypeObjectStringParam = shared.TokenPolicyResourcesIAMResourcesTypeObjectStringParam
445+
436446
// Map of nested resource permissions
437447
//
438448
// This is an alias to an internal type.
439-
type TokenPolicyResourcesMapParam = shared.TokenPolicyResourcesMapParam
449+
type TokenPolicyResourcesIAMResourcesTypeObjectNestedParam = shared.TokenPolicyResourcesIAMResourcesTypeObjectNestedParam
440450

441451
// The token value.
442452
//

ai/aliases.go

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,10 +409,15 @@ type TokenPolicyPermissionGroupsMeta = shared.TokenPolicyPermissionGroupsMeta
409409
// This is an alias to an internal type.
410410
type TokenPolicyResourcesUnion = shared.TokenPolicyResourcesUnion
411411

412+
// Map of simple string resource permissions
413+
//
414+
// This is an alias to an internal type.
415+
type TokenPolicyResourcesIAMResourcesTypeObjectString = shared.TokenPolicyResourcesIAMResourcesTypeObjectString
416+
412417
// Map of nested resource permissions
413418
//
414419
// This is an alias to an internal type.
415-
type TokenPolicyResourcesMap = shared.TokenPolicyResourcesMap
420+
type TokenPolicyResourcesIAMResourcesTypeObjectNested = shared.TokenPolicyResourcesIAMResourcesTypeObjectNested
416421

417422
// This is an alias to an internal type.
418423
type TokenPolicyParam = shared.TokenPolicyParam
@@ -433,10 +438,15 @@ type TokenPolicyPermissionGroupsMetaParam = shared.TokenPolicyPermissionGroupsMe
433438
// This is an alias to an internal type.
434439
type TokenPolicyResourcesUnionParam = shared.TokenPolicyResourcesUnionParam
435440

441+
// Map of simple string resource permissions
442+
//
443+
// This is an alias to an internal type.
444+
type TokenPolicyResourcesIAMResourcesTypeObjectStringParam = shared.TokenPolicyResourcesIAMResourcesTypeObjectStringParam
445+
436446
// Map of nested resource permissions
437447
//
438448
// This is an alias to an internal type.
439-
type TokenPolicyResourcesMapParam = shared.TokenPolicyResourcesMapParam
449+
type TokenPolicyResourcesIAMResourcesTypeObjectNestedParam = shared.TokenPolicyResourcesIAMResourcesTypeObjectNestedParam
440450

441451
// The token value.
442452
//

ai_gateway/aliases.go

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,10 +409,15 @@ type TokenPolicyPermissionGroupsMeta = shared.TokenPolicyPermissionGroupsMeta
409409
// This is an alias to an internal type.
410410
type TokenPolicyResourcesUnion = shared.TokenPolicyResourcesUnion
411411

412+
// Map of simple string resource permissions
413+
//
414+
// This is an alias to an internal type.
415+
type TokenPolicyResourcesIAMResourcesTypeObjectString = shared.TokenPolicyResourcesIAMResourcesTypeObjectString
416+
412417
// Map of nested resource permissions
413418
//
414419
// This is an alias to an internal type.
415-
type TokenPolicyResourcesMap = shared.TokenPolicyResourcesMap
420+
type TokenPolicyResourcesIAMResourcesTypeObjectNested = shared.TokenPolicyResourcesIAMResourcesTypeObjectNested
416421

417422
// This is an alias to an internal type.
418423
type TokenPolicyParam = shared.TokenPolicyParam
@@ -433,10 +438,15 @@ type TokenPolicyPermissionGroupsMetaParam = shared.TokenPolicyPermissionGroupsMe
433438
// This is an alias to an internal type.
434439
type TokenPolicyResourcesUnionParam = shared.TokenPolicyResourcesUnionParam
435440

441+
// Map of simple string resource permissions
442+
//
443+
// This is an alias to an internal type.
444+
type TokenPolicyResourcesIAMResourcesTypeObjectStringParam = shared.TokenPolicyResourcesIAMResourcesTypeObjectStringParam
445+
436446
// Map of nested resource permissions
437447
//
438448
// This is an alias to an internal type.
439-
type TokenPolicyResourcesMapParam = shared.TokenPolicyResourcesMapParam
449+
type TokenPolicyResourcesIAMResourcesTypeObjectNestedParam = shared.TokenPolicyResourcesIAMResourcesTypeObjectNestedParam
440450

441451
// The token value.
442452
//

alerting/aliases.go

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,10 +409,15 @@ type TokenPolicyPermissionGroupsMeta = shared.TokenPolicyPermissionGroupsMeta
409409
// This is an alias to an internal type.
410410
type TokenPolicyResourcesUnion = shared.TokenPolicyResourcesUnion
411411

412+
// Map of simple string resource permissions
413+
//
414+
// This is an alias to an internal type.
415+
type TokenPolicyResourcesIAMResourcesTypeObjectString = shared.TokenPolicyResourcesIAMResourcesTypeObjectString
416+
412417
// Map of nested resource permissions
413418
//
414419
// This is an alias to an internal type.
415-
type TokenPolicyResourcesMap = shared.TokenPolicyResourcesMap
420+
type TokenPolicyResourcesIAMResourcesTypeObjectNested = shared.TokenPolicyResourcesIAMResourcesTypeObjectNested
416421

417422
// This is an alias to an internal type.
418423
type TokenPolicyParam = shared.TokenPolicyParam
@@ -433,10 +438,15 @@ type TokenPolicyPermissionGroupsMetaParam = shared.TokenPolicyPermissionGroupsMe
433438
// This is an alias to an internal type.
434439
type TokenPolicyResourcesUnionParam = shared.TokenPolicyResourcesUnionParam
435440

441+
// Map of simple string resource permissions
442+
//
443+
// This is an alias to an internal type.
444+
type TokenPolicyResourcesIAMResourcesTypeObjectStringParam = shared.TokenPolicyResourcesIAMResourcesTypeObjectStringParam
445+
436446
// Map of nested resource permissions
437447
//
438448
// This is an alias to an internal type.
439-
type TokenPolicyResourcesMapParam = shared.TokenPolicyResourcesMapParam
449+
type TokenPolicyResourcesIAMResourcesTypeObjectNestedParam = shared.TokenPolicyResourcesIAMResourcesTypeObjectNestedParam
440450

441451
// The token value.
442452
//

aliases.go

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,10 +409,15 @@ type TokenPolicyPermissionGroupsMeta = shared.TokenPolicyPermissionGroupsMeta
409409
// This is an alias to an internal type.
410410
type TokenPolicyResourcesUnion = shared.TokenPolicyResourcesUnion
411411

412+
// Map of simple string resource permissions
413+
//
414+
// This is an alias to an internal type.
415+
type TokenPolicyResourcesIAMResourcesTypeObjectString = shared.TokenPolicyResourcesIAMResourcesTypeObjectString
416+
412417
// Map of nested resource permissions
413418
//
414419
// This is an alias to an internal type.
415-
type TokenPolicyResourcesMap = shared.TokenPolicyResourcesMap
420+
type TokenPolicyResourcesIAMResourcesTypeObjectNested = shared.TokenPolicyResourcesIAMResourcesTypeObjectNested
416421

417422
// This is an alias to an internal type.
418423
type TokenPolicyParam = shared.TokenPolicyParam
@@ -433,10 +438,15 @@ type TokenPolicyPermissionGroupsMetaParam = shared.TokenPolicyPermissionGroupsMe
433438
// This is an alias to an internal type.
434439
type TokenPolicyResourcesUnionParam = shared.TokenPolicyResourcesUnionParam
435440

441+
// Map of simple string resource permissions
442+
//
443+
// This is an alias to an internal type.
444+
type TokenPolicyResourcesIAMResourcesTypeObjectStringParam = shared.TokenPolicyResourcesIAMResourcesTypeObjectStringParam
445+
436446
// Map of nested resource permissions
437447
//
438448
// This is an alias to an internal type.
439-
type TokenPolicyResourcesMapParam = shared.TokenPolicyResourcesMapParam
449+
type TokenPolicyResourcesIAMResourcesTypeObjectNestedParam = shared.TokenPolicyResourcesIAMResourcesTypeObjectNestedParam
440450

441451
// The token value.
442452
//

0 commit comments

Comments
 (0)