Skip to content

Commit bf75d50

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): update via SDK Studio (#952)
1 parent b79aa7e commit bf75d50

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6823,7 +6823,7 @@ Methods:
68236823

68246824
- <code title="get /accounts/{account_id}/ai-gateway/gateways/{id}/logs">client.aiGateway.logs.<a href="./src/resources/ai-gateway/logs.ts">get</a>(id, { ...params }) -> LogGetResponse</code>
68256825

6826-
# Iam
6826+
# IAM
68276827

68286828
## PermissionGroups
68296829

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ export class Cloudflare extends Core.APIClient {
225225
cloudforceOne: API.CloudforceOne = new API.CloudforceOne(this);
226226
eventNotifications: API.EventNotifications = new API.EventNotifications(this);
227227
aiGateway: API.AIGateway = new API.AIGateway(this);
228-
iam: API.Iam = new API.Iam(this);
228+
iam: API.IAM = new API.IAM(this);
229229

230230
protected override defaultQuery(): Core.DefaultQuery | undefined {
231231
return this._options.defaultQuery;
@@ -558,7 +558,7 @@ export namespace Cloudflare {
558558

559559
export import AIGateway = API.AIGateway;
560560

561-
export import Iam = API.Iam;
561+
export import IAM = API.IAM;
562562

563563
export import ASN = API.ASN;
564564
export import AuditLog = API.AuditLog;

src/resources/accounts/members.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -854,11 +854,11 @@ export namespace MemberGetResponse {
854854
}
855855

856856
export type MemberCreateParams =
857-
| MemberCreateParams.IamCreateMemberWithRoles
858-
| MemberCreateParams.IamCreateMemberWithPolicies;
857+
| MemberCreateParams.IAMCreateMemberWithRoles
858+
| MemberCreateParams.IAMCreateMemberWithPolicies;
859859

860860
export namespace MemberCreateParams {
861-
export interface IamCreateMemberWithRoles {
861+
export interface IAMCreateMemberWithRoles {
862862
/**
863863
* Path param: Account identifier tag.
864864
*/
@@ -880,7 +880,7 @@ export namespace MemberCreateParams {
880880
status?: 'accepted' | 'pending';
881881
}
882882

883-
export interface IamCreateMemberWithPolicies {
883+
export interface IAMCreateMemberWithPolicies {
884884
/**
885885
* Path param: Account identifier tag.
886886
*/
@@ -894,15 +894,15 @@ export namespace MemberCreateParams {
894894
/**
895895
* Body param: Array of policies associated with this member.
896896
*/
897-
policies: Array<MemberCreateParams.IamCreateMemberWithPolicies.Policy>;
897+
policies: Array<MemberCreateParams.IAMCreateMemberWithPolicies.Policy>;
898898

899899
/**
900900
* Body param:
901901
*/
902902
status?: 'accepted' | 'pending';
903903
}
904904

905-
export namespace IamCreateMemberWithPolicies {
905+
export namespace IAMCreateMemberWithPolicies {
906906
export interface Policy {
907907
/**
908908
* Allow or deny operations against the resources.
@@ -944,7 +944,7 @@ export namespace MemberCreateParams {
944944
}
945945
}
946946

947-
export type MemberUpdateParams = MemberUpdateParams.Member | MemberUpdateParams.IamUpdateMemberWithPolicies;
947+
export type MemberUpdateParams = MemberUpdateParams.Member | MemberUpdateParams.IAMUpdateMemberWithPolicies;
948948

949949
export namespace MemberUpdateParams {
950950
export interface Member {
@@ -968,7 +968,7 @@ export namespace MemberUpdateParams {
968968
}
969969
}
970970

971-
export interface IamUpdateMemberWithPolicies {
971+
export interface IAMUpdateMemberWithPolicies {
972972
/**
973973
* Path param: Account identifier tag.
974974
*/
@@ -977,10 +977,10 @@ export namespace MemberUpdateParams {
977977
/**
978978
* Body param: Array of policies associated with this member.
979979
*/
980-
policies: Array<MemberUpdateParams.IamUpdateMemberWithPolicies.Policy>;
980+
policies: Array<MemberUpdateParams.IAMUpdateMemberWithPolicies.Policy>;
981981
}
982982

983-
export namespace IamUpdateMemberWithPolicies {
983+
export namespace IAMUpdateMemberWithPolicies {
984984
export interface Policy {
985985
/**
986986
* Allow or deny operations against the resources.

src/resources/iam/iam.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ import { APIResource } from '../../resource';
44
import * as PermissionGroupsAPI from './permission-groups';
55
import * as ResourceGroupsAPI from './resource-groups';
66

7-
export class Iam extends APIResource {
7+
export class IAM extends APIResource {
88
permissionGroups: PermissionGroupsAPI.PermissionGroups = new PermissionGroupsAPI.PermissionGroups(
99
this._client,
1010
);
1111
resourceGroups: ResourceGroupsAPI.ResourceGroups = new ResourceGroupsAPI.ResourceGroups(this._client);
1212
}
1313

14-
export namespace Iam {
14+
export namespace IAM {
1515
export import PermissionGroups = PermissionGroupsAPI.PermissionGroups;
1616
export import PermissionGroupListResponse = PermissionGroupsAPI.PermissionGroupListResponse;
1717
export import PermissionGroupGetResponse = PermissionGroupsAPI.PermissionGroupGetResponse;

src/resources/iam/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3-
export { Iam } from './iam';
3+
export { IAM } from './iam';
44
export {
55
PermissionGroupListResponse,
66
PermissionGroupGetResponse,

src/resources/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ export { Firewall } from './firewall/firewall';
3434
export { Healthchecks } from './healthchecks/healthchecks';
3535
export { Hostnames } from './hostnames/hostnames';
3636
export { HyperdriveResource } from './hyperdrive/hyperdrive';
37+
export { IAM } from './iam/iam';
3738
export { IPs } from './ips';
38-
export { Iam } from './iam/iam';
3939
export { Images } from './images/images';
4040
export { Intel } from './intel/intel';
4141
export { KV } from './kv/kv';

0 commit comments

Comments
 (0)