Skip to content

Commit 9e2cfac

Browse files
stainless-app[bot]stainless-bot
authored andcommittedNov 20, 2024·
feat(api): add more path mappings (#3628)
1 parent 9919298 commit 9e2cfac

38 files changed

+6009
-850
lines changed
 

‎.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
configured_endpoints: 1411
1+
configured_endpoints: 1435
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-829ade7062fed63a30accc2a5e1a14c6c26fd4dc003d300d1b25a5416b8b8727.yml

‎api.md

+153-10
Large diffs are not rendered by default.

‎client.go

+2
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ type Client struct {
186186
SecurityTXT *security_txt.SecurityTXTService
187187
Workflows *workflows.WorkflowService
188188
ResourceSharing *resource_sharing.ResourceSharingService
189+
LeakedCredentialChecks *LeakedCredentialCheckService
189190
}
190191

191192
// NewClient generates a new client with the default option read from the
@@ -296,6 +297,7 @@ func NewClient(opts ...option.RequestOption) (r *Client) {
296297
r.SecurityTXT = security_txt.NewSecurityTXTService(opts...)
297298
r.Workflows = workflows.NewWorkflowService(opts...)
298299
r.ResourceSharing = resource_sharing.NewResourceSharingService(opts...)
300+
r.LeakedCredentialChecks = NewLeakedCredentialCheckService(opts...)
299301

300302
return
301303
}

‎email_security/emailsecurity.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import (
1515
type EmailSecurityService struct {
1616
Options []option.RequestOption
1717
Investigate *InvestigateService
18-
Phishguard *PhishguardService
1918
Settings *SettingService
19+
Submissions *SubmissionService
2020
}
2121

2222
// NewEmailSecurityService generates a new service that applies the given options
@@ -26,7 +26,7 @@ func NewEmailSecurityService(opts ...option.RequestOption) (r *EmailSecurityServ
2626
r = &EmailSecurityService{}
2727
r.Options = opts
2828
r.Investigate = NewInvestigateService(opts...)
29-
r.Phishguard = NewPhishguardService(opts...)
3029
r.Settings = NewSettingService(opts...)
30+
r.Submissions = NewSubmissionService(opts...)
3131
return
3232
}

0 commit comments

Comments
 (0)