diff --git a/accounts/aliases.go b/accounts/aliases.go index d36d616e912..fb2637c8eb9 100644 --- a/accounts/aliases.go +++ b/accounts/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/accounts/member.go b/accounts/member.go index 1bc77957070..3a64aeff560 100644 --- a/accounts/member.go +++ b/accounts/member.go @@ -38,7 +38,7 @@ func NewMemberService(opts ...option.RequestOption) (r *MemberService) { } // Add a user to the list of members for this account. -func (r *MemberService) New(ctx context.Context, params MemberNewParams, opts ...option.RequestOption) (res *MemberNewResponse, err error) { +func (r *MemberService) New(ctx context.Context, params MemberNewParams, opts ...option.RequestOption) (res *shared.Member, err error) { var env MemberNewResponseEnvelope opts = append(r.Options[:], opts...) if params.AccountID.Value == "" { @@ -55,7 +55,7 @@ func (r *MemberService) New(ctx context.Context, params MemberNewParams, opts .. } // Modify an account member. -func (r *MemberService) Update(ctx context.Context, memberID string, params MemberUpdateParams, opts ...option.RequestOption) (res *MemberUpdateResponse, err error) { +func (r *MemberService) Update(ctx context.Context, memberID string, params MemberUpdateParams, opts ...option.RequestOption) (res *shared.Member, err error) { var env MemberUpdateResponseEnvelope opts = append(r.Options[:], opts...) if params.AccountID.Value == "" { @@ -76,7 +76,7 @@ func (r *MemberService) Update(ctx context.Context, memberID string, params Memb } // List all members of an account. -func (r *MemberService) List(ctx context.Context, params MemberListParams, opts ...option.RequestOption) (res *pagination.V4PagePaginationArray[MemberListResponse], err error) { +func (r *MemberService) List(ctx context.Context, params MemberListParams, opts ...option.RequestOption) (res *pagination.V4PagePaginationArray[shared.Member], err error) { var raw *http.Response opts = append(r.Options[:], opts...) opts = append([]option.RequestOption{option.WithResponseInto(&raw)}, opts...) @@ -98,7 +98,7 @@ func (r *MemberService) List(ctx context.Context, params MemberListParams, opts } // List all members of an account. -func (r *MemberService) ListAutoPaging(ctx context.Context, params MemberListParams, opts ...option.RequestOption) *pagination.V4PagePaginationArrayAutoPager[MemberListResponse] { +func (r *MemberService) ListAutoPaging(ctx context.Context, params MemberListParams, opts ...option.RequestOption) *pagination.V4PagePaginationArrayAutoPager[shared.Member] { return pagination.NewV4PagePaginationArrayAutoPager(r.List(ctx, params, opts...)) } @@ -124,7 +124,7 @@ func (r *MemberService) Delete(ctx context.Context, memberID string, body Member } // Get information about a specific member of an account. -func (r *MemberService) Get(ctx context.Context, memberID string, query MemberGetParams, opts ...option.RequestOption) (res *MemberGetResponse, err error) { +func (r *MemberService) Get(ctx context.Context, memberID string, query MemberGetParams, opts ...option.RequestOption) (res *shared.Member, err error) { var env MemberGetResponseEnvelope opts = append(r.Options[:], opts...) if query.AccountID.Value == "" { @@ -160,1110 +160,6 @@ func (r Status) IsKnown() bool { return false } -type MemberNewResponse struct { - // Membership identifier tag. - ID string `json:"id"` - // Access policy for the membership - Policies []MemberNewResponsePolicy `json:"policies"` - // Roles assigned to this Member. - Roles []MemberNewResponseRole `json:"roles"` - // A member's status in the account. - Status MemberNewResponseStatus `json:"status"` - // Details of the user associated to the membership. - User MemberNewResponseUser `json:"user"` - JSON memberNewResponseJSON `json:"-"` -} - -// memberNewResponseJSON contains the JSON metadata for the struct -// [MemberNewResponse] -type memberNewResponseJSON struct { - ID apijson.Field - Policies apijson.Field - Roles apijson.Field - Status apijson.Field - User apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberNewResponse) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberNewResponseJSON) RawJSON() string { - return r.raw -} - -type MemberNewResponsePolicy struct { - // Policy identifier. - ID string `json:"id"` - // Allow or deny operations against the resources. - Access MemberNewResponsePoliciesAccess `json:"access"` - // A set of permission groups that are specified to the policy. - PermissionGroups []MemberNewResponsePoliciesPermissionGroup `json:"permission_groups"` - // A list of resource groups that the policy applies to. - ResourceGroups []MemberNewResponsePoliciesResourceGroup `json:"resource_groups"` - JSON memberNewResponsePolicyJSON `json:"-"` -} - -// memberNewResponsePolicyJSON contains the JSON metadata for the struct -// [MemberNewResponsePolicy] -type memberNewResponsePolicyJSON struct { - ID apijson.Field - Access apijson.Field - PermissionGroups apijson.Field - ResourceGroups apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberNewResponsePolicy) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberNewResponsePolicyJSON) RawJSON() string { - return r.raw -} - -// Allow or deny operations against the resources. -type MemberNewResponsePoliciesAccess string - -const ( - MemberNewResponsePoliciesAccessAllow MemberNewResponsePoliciesAccess = "allow" - MemberNewResponsePoliciesAccessDeny MemberNewResponsePoliciesAccess = "deny" -) - -func (r MemberNewResponsePoliciesAccess) IsKnown() bool { - switch r { - case MemberNewResponsePoliciesAccessAllow, MemberNewResponsePoliciesAccessDeny: - return true - } - return false -} - -// A named group of permissions that map to a group of operations against -// resources. -type MemberNewResponsePoliciesPermissionGroup struct { - // Identifier of the group. - ID string `json:"id,required"` - // Attributes associated to the permission group. - Meta MemberNewResponsePoliciesPermissionGroupsMeta `json:"meta"` - // Name of the group. - Name string `json:"name"` - JSON memberNewResponsePoliciesPermissionGroupJSON `json:"-"` -} - -// memberNewResponsePoliciesPermissionGroupJSON contains the JSON metadata for the -// struct [MemberNewResponsePoliciesPermissionGroup] -type memberNewResponsePoliciesPermissionGroupJSON struct { - ID apijson.Field - Meta apijson.Field - Name apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberNewResponsePoliciesPermissionGroup) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberNewResponsePoliciesPermissionGroupJSON) RawJSON() string { - return r.raw -} - -// Attributes associated to the permission group. -type MemberNewResponsePoliciesPermissionGroupsMeta struct { - Key string `json:"key"` - Value string `json:"value"` - JSON memberNewResponsePoliciesPermissionGroupsMetaJSON `json:"-"` -} - -// memberNewResponsePoliciesPermissionGroupsMetaJSON contains the JSON metadata for -// the struct [MemberNewResponsePoliciesPermissionGroupsMeta] -type memberNewResponsePoliciesPermissionGroupsMetaJSON struct { - Key apijson.Field - Value apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberNewResponsePoliciesPermissionGroupsMeta) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberNewResponsePoliciesPermissionGroupsMetaJSON) RawJSON() string { - return r.raw -} - -// A group of scoped resources. -type MemberNewResponsePoliciesResourceGroup struct { - // Identifier of the group. - ID string `json:"id,required"` - // The scope associated to the resource group - Scope []MemberNewResponsePoliciesResourceGroupsScope `json:"scope,required"` - // Attributes associated to the resource group. - Meta MemberNewResponsePoliciesResourceGroupsMeta `json:"meta"` - // Name of the resource group. - Name string `json:"name"` - JSON memberNewResponsePoliciesResourceGroupJSON `json:"-"` -} - -// memberNewResponsePoliciesResourceGroupJSON contains the JSON metadata for the -// struct [MemberNewResponsePoliciesResourceGroup] -type memberNewResponsePoliciesResourceGroupJSON struct { - ID apijson.Field - Scope apijson.Field - Meta apijson.Field - Name apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberNewResponsePoliciesResourceGroup) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberNewResponsePoliciesResourceGroupJSON) RawJSON() string { - return r.raw -} - -// A scope is a combination of scope objects which provides additional context. -type MemberNewResponsePoliciesResourceGroupsScope struct { - // This is a combination of pre-defined resource name and identifier (like Account - // ID etc.) - Key string `json:"key,required"` - // A list of scope objects for additional context. - Objects []MemberNewResponsePoliciesResourceGroupsScopeObject `json:"objects,required"` - JSON memberNewResponsePoliciesResourceGroupsScopeJSON `json:"-"` -} - -// memberNewResponsePoliciesResourceGroupsScopeJSON contains the JSON metadata for -// the struct [MemberNewResponsePoliciesResourceGroupsScope] -type memberNewResponsePoliciesResourceGroupsScopeJSON struct { - Key apijson.Field - Objects apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberNewResponsePoliciesResourceGroupsScope) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberNewResponsePoliciesResourceGroupsScopeJSON) RawJSON() string { - return r.raw -} - -// A scope object represents any resource that can have actions applied against -// invite. -type MemberNewResponsePoliciesResourceGroupsScopeObject struct { - // This is a combination of pre-defined resource name and identifier (like Zone ID - // etc.) - Key string `json:"key,required"` - JSON memberNewResponsePoliciesResourceGroupsScopeObjectJSON `json:"-"` -} - -// memberNewResponsePoliciesResourceGroupsScopeObjectJSON contains the JSON -// metadata for the struct [MemberNewResponsePoliciesResourceGroupsScopeObject] -type memberNewResponsePoliciesResourceGroupsScopeObjectJSON struct { - Key apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberNewResponsePoliciesResourceGroupsScopeObject) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberNewResponsePoliciesResourceGroupsScopeObjectJSON) RawJSON() string { - return r.raw -} - -// Attributes associated to the resource group. -type MemberNewResponsePoliciesResourceGroupsMeta struct { - Key string `json:"key"` - Value string `json:"value"` - JSON memberNewResponsePoliciesResourceGroupsMetaJSON `json:"-"` -} - -// memberNewResponsePoliciesResourceGroupsMetaJSON contains the JSON metadata for -// the struct [MemberNewResponsePoliciesResourceGroupsMeta] -type memberNewResponsePoliciesResourceGroupsMetaJSON struct { - Key apijson.Field - Value apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberNewResponsePoliciesResourceGroupsMeta) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberNewResponsePoliciesResourceGroupsMetaJSON) RawJSON() string { - return r.raw -} - -type MemberNewResponseRole struct { - // Role identifier tag. - ID string `json:"id,required"` - // Description of role's permissions. - Description string `json:"description,required"` - // Role name. - Name string `json:"name,required"` - Permissions MemberNewResponseRolesPermissions `json:"permissions,required"` - JSON memberNewResponseRoleJSON `json:"-"` -} - -// memberNewResponseRoleJSON contains the JSON metadata for the struct -// [MemberNewResponseRole] -type memberNewResponseRoleJSON struct { - ID apijson.Field - Description apijson.Field - Name apijson.Field - Permissions apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberNewResponseRole) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberNewResponseRoleJSON) RawJSON() string { - return r.raw -} - -type MemberNewResponseRolesPermissions struct { - Analytics shared.PermissionGrant `json:"analytics"` - Billing shared.PermissionGrant `json:"billing"` - CachePurge shared.PermissionGrant `json:"cache_purge"` - DNS shared.PermissionGrant `json:"dns"` - DNSRecords shared.PermissionGrant `json:"dns_records"` - LB shared.PermissionGrant `json:"lb"` - Logs shared.PermissionGrant `json:"logs"` - Organization shared.PermissionGrant `json:"organization"` - SSL shared.PermissionGrant `json:"ssl"` - WAF shared.PermissionGrant `json:"waf"` - ZoneSettings shared.PermissionGrant `json:"zone_settings"` - Zones shared.PermissionGrant `json:"zones"` - JSON memberNewResponseRolesPermissionsJSON `json:"-"` -} - -// memberNewResponseRolesPermissionsJSON contains the JSON metadata for the struct -// [MemberNewResponseRolesPermissions] -type memberNewResponseRolesPermissionsJSON struct { - Analytics apijson.Field - Billing apijson.Field - CachePurge apijson.Field - DNS apijson.Field - DNSRecords apijson.Field - LB apijson.Field - Logs apijson.Field - Organization apijson.Field - SSL apijson.Field - WAF apijson.Field - ZoneSettings apijson.Field - Zones apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberNewResponseRolesPermissions) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberNewResponseRolesPermissionsJSON) RawJSON() string { - return r.raw -} - -// A member's status in the account. -type MemberNewResponseStatus string - -const ( - MemberNewResponseStatusAccepted MemberNewResponseStatus = "accepted" - MemberNewResponseStatusPending MemberNewResponseStatus = "pending" -) - -func (r MemberNewResponseStatus) IsKnown() bool { - switch r { - case MemberNewResponseStatusAccepted, MemberNewResponseStatusPending: - return true - } - return false -} - -// Details of the user associated to the membership. -type MemberNewResponseUser struct { - // The contact email address of the user. - Email string `json:"email,required"` - // Identifier - ID string `json:"id"` - // User's first name - FirstName string `json:"first_name,nullable"` - // User's last name - LastName string `json:"last_name,nullable"` - // Indicates whether two-factor authentication is enabled for the user account. - // Does not apply to API authentication. - TwoFactorAuthenticationEnabled bool `json:"two_factor_authentication_enabled"` - JSON memberNewResponseUserJSON `json:"-"` -} - -// memberNewResponseUserJSON contains the JSON metadata for the struct -// [MemberNewResponseUser] -type memberNewResponseUserJSON struct { - Email apijson.Field - ID apijson.Field - FirstName apijson.Field - LastName apijson.Field - TwoFactorAuthenticationEnabled apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberNewResponseUser) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberNewResponseUserJSON) RawJSON() string { - return r.raw -} - -type MemberUpdateResponse struct { - // Membership identifier tag. - ID string `json:"id"` - // Access policy for the membership - Policies []MemberUpdateResponsePolicy `json:"policies"` - // Roles assigned to this Member. - Roles []MemberUpdateResponseRole `json:"roles"` - // A member's status in the account. - Status MemberUpdateResponseStatus `json:"status"` - // Details of the user associated to the membership. - User MemberUpdateResponseUser `json:"user"` - JSON memberUpdateResponseJSON `json:"-"` -} - -// memberUpdateResponseJSON contains the JSON metadata for the struct -// [MemberUpdateResponse] -type memberUpdateResponseJSON struct { - ID apijson.Field - Policies apijson.Field - Roles apijson.Field - Status apijson.Field - User apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberUpdateResponse) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberUpdateResponseJSON) RawJSON() string { - return r.raw -} - -type MemberUpdateResponsePolicy struct { - // Policy identifier. - ID string `json:"id"` - // Allow or deny operations against the resources. - Access MemberUpdateResponsePoliciesAccess `json:"access"` - // A set of permission groups that are specified to the policy. - PermissionGroups []MemberUpdateResponsePoliciesPermissionGroup `json:"permission_groups"` - // A list of resource groups that the policy applies to. - ResourceGroups []MemberUpdateResponsePoliciesResourceGroup `json:"resource_groups"` - JSON memberUpdateResponsePolicyJSON `json:"-"` -} - -// memberUpdateResponsePolicyJSON contains the JSON metadata for the struct -// [MemberUpdateResponsePolicy] -type memberUpdateResponsePolicyJSON struct { - ID apijson.Field - Access apijson.Field - PermissionGroups apijson.Field - ResourceGroups apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberUpdateResponsePolicy) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberUpdateResponsePolicyJSON) RawJSON() string { - return r.raw -} - -// Allow or deny operations against the resources. -type MemberUpdateResponsePoliciesAccess string - -const ( - MemberUpdateResponsePoliciesAccessAllow MemberUpdateResponsePoliciesAccess = "allow" - MemberUpdateResponsePoliciesAccessDeny MemberUpdateResponsePoliciesAccess = "deny" -) - -func (r MemberUpdateResponsePoliciesAccess) IsKnown() bool { - switch r { - case MemberUpdateResponsePoliciesAccessAllow, MemberUpdateResponsePoliciesAccessDeny: - return true - } - return false -} - -// A named group of permissions that map to a group of operations against -// resources. -type MemberUpdateResponsePoliciesPermissionGroup struct { - // Identifier of the group. - ID string `json:"id,required"` - // Attributes associated to the permission group. - Meta MemberUpdateResponsePoliciesPermissionGroupsMeta `json:"meta"` - // Name of the group. - Name string `json:"name"` - JSON memberUpdateResponsePoliciesPermissionGroupJSON `json:"-"` -} - -// memberUpdateResponsePoliciesPermissionGroupJSON contains the JSON metadata for -// the struct [MemberUpdateResponsePoliciesPermissionGroup] -type memberUpdateResponsePoliciesPermissionGroupJSON struct { - ID apijson.Field - Meta apijson.Field - Name apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberUpdateResponsePoliciesPermissionGroup) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberUpdateResponsePoliciesPermissionGroupJSON) RawJSON() string { - return r.raw -} - -// Attributes associated to the permission group. -type MemberUpdateResponsePoliciesPermissionGroupsMeta struct { - Key string `json:"key"` - Value string `json:"value"` - JSON memberUpdateResponsePoliciesPermissionGroupsMetaJSON `json:"-"` -} - -// memberUpdateResponsePoliciesPermissionGroupsMetaJSON contains the JSON metadata -// for the struct [MemberUpdateResponsePoliciesPermissionGroupsMeta] -type memberUpdateResponsePoliciesPermissionGroupsMetaJSON struct { - Key apijson.Field - Value apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberUpdateResponsePoliciesPermissionGroupsMeta) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberUpdateResponsePoliciesPermissionGroupsMetaJSON) RawJSON() string { - return r.raw -} - -// A group of scoped resources. -type MemberUpdateResponsePoliciesResourceGroup struct { - // Identifier of the group. - ID string `json:"id,required"` - // The scope associated to the resource group - Scope []MemberUpdateResponsePoliciesResourceGroupsScope `json:"scope,required"` - // Attributes associated to the resource group. - Meta MemberUpdateResponsePoliciesResourceGroupsMeta `json:"meta"` - // Name of the resource group. - Name string `json:"name"` - JSON memberUpdateResponsePoliciesResourceGroupJSON `json:"-"` -} - -// memberUpdateResponsePoliciesResourceGroupJSON contains the JSON metadata for the -// struct [MemberUpdateResponsePoliciesResourceGroup] -type memberUpdateResponsePoliciesResourceGroupJSON struct { - ID apijson.Field - Scope apijson.Field - Meta apijson.Field - Name apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberUpdateResponsePoliciesResourceGroup) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberUpdateResponsePoliciesResourceGroupJSON) RawJSON() string { - return r.raw -} - -// A scope is a combination of scope objects which provides additional context. -type MemberUpdateResponsePoliciesResourceGroupsScope struct { - // This is a combination of pre-defined resource name and identifier (like Account - // ID etc.) - Key string `json:"key,required"` - // A list of scope objects for additional context. - Objects []MemberUpdateResponsePoliciesResourceGroupsScopeObject `json:"objects,required"` - JSON memberUpdateResponsePoliciesResourceGroupsScopeJSON `json:"-"` -} - -// memberUpdateResponsePoliciesResourceGroupsScopeJSON contains the JSON metadata -// for the struct [MemberUpdateResponsePoliciesResourceGroupsScope] -type memberUpdateResponsePoliciesResourceGroupsScopeJSON struct { - Key apijson.Field - Objects apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberUpdateResponsePoliciesResourceGroupsScope) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberUpdateResponsePoliciesResourceGroupsScopeJSON) RawJSON() string { - return r.raw -} - -// A scope object represents any resource that can have actions applied against -// invite. -type MemberUpdateResponsePoliciesResourceGroupsScopeObject struct { - // This is a combination of pre-defined resource name and identifier (like Zone ID - // etc.) - Key string `json:"key,required"` - JSON memberUpdateResponsePoliciesResourceGroupsScopeObjectJSON `json:"-"` -} - -// memberUpdateResponsePoliciesResourceGroupsScopeObjectJSON contains the JSON -// metadata for the struct [MemberUpdateResponsePoliciesResourceGroupsScopeObject] -type memberUpdateResponsePoliciesResourceGroupsScopeObjectJSON struct { - Key apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberUpdateResponsePoliciesResourceGroupsScopeObject) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberUpdateResponsePoliciesResourceGroupsScopeObjectJSON) RawJSON() string { - return r.raw -} - -// Attributes associated to the resource group. -type MemberUpdateResponsePoliciesResourceGroupsMeta struct { - Key string `json:"key"` - Value string `json:"value"` - JSON memberUpdateResponsePoliciesResourceGroupsMetaJSON `json:"-"` -} - -// memberUpdateResponsePoliciesResourceGroupsMetaJSON contains the JSON metadata -// for the struct [MemberUpdateResponsePoliciesResourceGroupsMeta] -type memberUpdateResponsePoliciesResourceGroupsMetaJSON struct { - Key apijson.Field - Value apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberUpdateResponsePoliciesResourceGroupsMeta) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberUpdateResponsePoliciesResourceGroupsMetaJSON) RawJSON() string { - return r.raw -} - -type MemberUpdateResponseRole struct { - // Role identifier tag. - ID string `json:"id,required"` - // Description of role's permissions. - Description string `json:"description,required"` - // Role name. - Name string `json:"name,required"` - Permissions MemberUpdateResponseRolesPermissions `json:"permissions,required"` - JSON memberUpdateResponseRoleJSON `json:"-"` -} - -// memberUpdateResponseRoleJSON contains the JSON metadata for the struct -// [MemberUpdateResponseRole] -type memberUpdateResponseRoleJSON struct { - ID apijson.Field - Description apijson.Field - Name apijson.Field - Permissions apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberUpdateResponseRole) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberUpdateResponseRoleJSON) RawJSON() string { - return r.raw -} - -type MemberUpdateResponseRolesPermissions struct { - Analytics shared.PermissionGrant `json:"analytics"` - Billing shared.PermissionGrant `json:"billing"` - CachePurge shared.PermissionGrant `json:"cache_purge"` - DNS shared.PermissionGrant `json:"dns"` - DNSRecords shared.PermissionGrant `json:"dns_records"` - LB shared.PermissionGrant `json:"lb"` - Logs shared.PermissionGrant `json:"logs"` - Organization shared.PermissionGrant `json:"organization"` - SSL shared.PermissionGrant `json:"ssl"` - WAF shared.PermissionGrant `json:"waf"` - ZoneSettings shared.PermissionGrant `json:"zone_settings"` - Zones shared.PermissionGrant `json:"zones"` - JSON memberUpdateResponseRolesPermissionsJSON `json:"-"` -} - -// memberUpdateResponseRolesPermissionsJSON contains the JSON metadata for the -// struct [MemberUpdateResponseRolesPermissions] -type memberUpdateResponseRolesPermissionsJSON struct { - Analytics apijson.Field - Billing apijson.Field - CachePurge apijson.Field - DNS apijson.Field - DNSRecords apijson.Field - LB apijson.Field - Logs apijson.Field - Organization apijson.Field - SSL apijson.Field - WAF apijson.Field - ZoneSettings apijson.Field - Zones apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberUpdateResponseRolesPermissions) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberUpdateResponseRolesPermissionsJSON) RawJSON() string { - return r.raw -} - -// A member's status in the account. -type MemberUpdateResponseStatus string - -const ( - MemberUpdateResponseStatusAccepted MemberUpdateResponseStatus = "accepted" - MemberUpdateResponseStatusPending MemberUpdateResponseStatus = "pending" -) - -func (r MemberUpdateResponseStatus) IsKnown() bool { - switch r { - case MemberUpdateResponseStatusAccepted, MemberUpdateResponseStatusPending: - return true - } - return false -} - -// Details of the user associated to the membership. -type MemberUpdateResponseUser struct { - // The contact email address of the user. - Email string `json:"email,required"` - // Identifier - ID string `json:"id"` - // User's first name - FirstName string `json:"first_name,nullable"` - // User's last name - LastName string `json:"last_name,nullable"` - // Indicates whether two-factor authentication is enabled for the user account. - // Does not apply to API authentication. - TwoFactorAuthenticationEnabled bool `json:"two_factor_authentication_enabled"` - JSON memberUpdateResponseUserJSON `json:"-"` -} - -// memberUpdateResponseUserJSON contains the JSON metadata for the struct -// [MemberUpdateResponseUser] -type memberUpdateResponseUserJSON struct { - Email apijson.Field - ID apijson.Field - FirstName apijson.Field - LastName apijson.Field - TwoFactorAuthenticationEnabled apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberUpdateResponseUser) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberUpdateResponseUserJSON) RawJSON() string { - return r.raw -} - -type MemberListResponse struct { - // Membership identifier tag. - ID string `json:"id"` - // Access policy for the membership - Policies []MemberListResponsePolicy `json:"policies"` - // Roles assigned to this Member. - Roles []MemberListResponseRole `json:"roles"` - // A member's status in the account. - Status MemberListResponseStatus `json:"status"` - // Details of the user associated to the membership. - User MemberListResponseUser `json:"user"` - JSON memberListResponseJSON `json:"-"` -} - -// memberListResponseJSON contains the JSON metadata for the struct -// [MemberListResponse] -type memberListResponseJSON struct { - ID apijson.Field - Policies apijson.Field - Roles apijson.Field - Status apijson.Field - User apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberListResponse) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberListResponseJSON) RawJSON() string { - return r.raw -} - -type MemberListResponsePolicy struct { - // Policy identifier. - ID string `json:"id"` - // Allow or deny operations against the resources. - Access MemberListResponsePoliciesAccess `json:"access"` - // A set of permission groups that are specified to the policy. - PermissionGroups []MemberListResponsePoliciesPermissionGroup `json:"permission_groups"` - // A list of resource groups that the policy applies to. - ResourceGroups []MemberListResponsePoliciesResourceGroup `json:"resource_groups"` - JSON memberListResponsePolicyJSON `json:"-"` -} - -// memberListResponsePolicyJSON contains the JSON metadata for the struct -// [MemberListResponsePolicy] -type memberListResponsePolicyJSON struct { - ID apijson.Field - Access apijson.Field - PermissionGroups apijson.Field - ResourceGroups apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberListResponsePolicy) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberListResponsePolicyJSON) RawJSON() string { - return r.raw -} - -// Allow or deny operations against the resources. -type MemberListResponsePoliciesAccess string - -const ( - MemberListResponsePoliciesAccessAllow MemberListResponsePoliciesAccess = "allow" - MemberListResponsePoliciesAccessDeny MemberListResponsePoliciesAccess = "deny" -) - -func (r MemberListResponsePoliciesAccess) IsKnown() bool { - switch r { - case MemberListResponsePoliciesAccessAllow, MemberListResponsePoliciesAccessDeny: - return true - } - return false -} - -// A named group of permissions that map to a group of operations against -// resources. -type MemberListResponsePoliciesPermissionGroup struct { - // Identifier of the group. - ID string `json:"id,required"` - // Attributes associated to the permission group. - Meta MemberListResponsePoliciesPermissionGroupsMeta `json:"meta"` - // Name of the group. - Name string `json:"name"` - JSON memberListResponsePoliciesPermissionGroupJSON `json:"-"` -} - -// memberListResponsePoliciesPermissionGroupJSON contains the JSON metadata for the -// struct [MemberListResponsePoliciesPermissionGroup] -type memberListResponsePoliciesPermissionGroupJSON struct { - ID apijson.Field - Meta apijson.Field - Name apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberListResponsePoliciesPermissionGroup) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberListResponsePoliciesPermissionGroupJSON) RawJSON() string { - return r.raw -} - -// Attributes associated to the permission group. -type MemberListResponsePoliciesPermissionGroupsMeta struct { - Key string `json:"key"` - Value string `json:"value"` - JSON memberListResponsePoliciesPermissionGroupsMetaJSON `json:"-"` -} - -// memberListResponsePoliciesPermissionGroupsMetaJSON contains the JSON metadata -// for the struct [MemberListResponsePoliciesPermissionGroupsMeta] -type memberListResponsePoliciesPermissionGroupsMetaJSON struct { - Key apijson.Field - Value apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberListResponsePoliciesPermissionGroupsMeta) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberListResponsePoliciesPermissionGroupsMetaJSON) RawJSON() string { - return r.raw -} - -// A group of scoped resources. -type MemberListResponsePoliciesResourceGroup struct { - // Identifier of the group. - ID string `json:"id,required"` - // The scope associated to the resource group - Scope []MemberListResponsePoliciesResourceGroupsScope `json:"scope,required"` - // Attributes associated to the resource group. - Meta MemberListResponsePoliciesResourceGroupsMeta `json:"meta"` - // Name of the resource group. - Name string `json:"name"` - JSON memberListResponsePoliciesResourceGroupJSON `json:"-"` -} - -// memberListResponsePoliciesResourceGroupJSON contains the JSON metadata for the -// struct [MemberListResponsePoliciesResourceGroup] -type memberListResponsePoliciesResourceGroupJSON struct { - ID apijson.Field - Scope apijson.Field - Meta apijson.Field - Name apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberListResponsePoliciesResourceGroup) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberListResponsePoliciesResourceGroupJSON) RawJSON() string { - return r.raw -} - -// A scope is a combination of scope objects which provides additional context. -type MemberListResponsePoliciesResourceGroupsScope struct { - // This is a combination of pre-defined resource name and identifier (like Account - // ID etc.) - Key string `json:"key,required"` - // A list of scope objects for additional context. - Objects []MemberListResponsePoliciesResourceGroupsScopeObject `json:"objects,required"` - JSON memberListResponsePoliciesResourceGroupsScopeJSON `json:"-"` -} - -// memberListResponsePoliciesResourceGroupsScopeJSON contains the JSON metadata for -// the struct [MemberListResponsePoliciesResourceGroupsScope] -type memberListResponsePoliciesResourceGroupsScopeJSON struct { - Key apijson.Field - Objects apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberListResponsePoliciesResourceGroupsScope) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberListResponsePoliciesResourceGroupsScopeJSON) RawJSON() string { - return r.raw -} - -// A scope object represents any resource that can have actions applied against -// invite. -type MemberListResponsePoliciesResourceGroupsScopeObject struct { - // This is a combination of pre-defined resource name and identifier (like Zone ID - // etc.) - Key string `json:"key,required"` - JSON memberListResponsePoliciesResourceGroupsScopeObjectJSON `json:"-"` -} - -// memberListResponsePoliciesResourceGroupsScopeObjectJSON contains the JSON -// metadata for the struct [MemberListResponsePoliciesResourceGroupsScopeObject] -type memberListResponsePoliciesResourceGroupsScopeObjectJSON struct { - Key apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberListResponsePoliciesResourceGroupsScopeObject) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberListResponsePoliciesResourceGroupsScopeObjectJSON) RawJSON() string { - return r.raw -} - -// Attributes associated to the resource group. -type MemberListResponsePoliciesResourceGroupsMeta struct { - Key string `json:"key"` - Value string `json:"value"` - JSON memberListResponsePoliciesResourceGroupsMetaJSON `json:"-"` -} - -// memberListResponsePoliciesResourceGroupsMetaJSON contains the JSON metadata for -// the struct [MemberListResponsePoliciesResourceGroupsMeta] -type memberListResponsePoliciesResourceGroupsMetaJSON struct { - Key apijson.Field - Value apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberListResponsePoliciesResourceGroupsMeta) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberListResponsePoliciesResourceGroupsMetaJSON) RawJSON() string { - return r.raw -} - -type MemberListResponseRole struct { - // Role identifier tag. - ID string `json:"id,required"` - // Description of role's permissions. - Description string `json:"description,required"` - // Role name. - Name string `json:"name,required"` - Permissions MemberListResponseRolesPermissions `json:"permissions,required"` - JSON memberListResponseRoleJSON `json:"-"` -} - -// memberListResponseRoleJSON contains the JSON metadata for the struct -// [MemberListResponseRole] -type memberListResponseRoleJSON struct { - ID apijson.Field - Description apijson.Field - Name apijson.Field - Permissions apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberListResponseRole) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberListResponseRoleJSON) RawJSON() string { - return r.raw -} - -type MemberListResponseRolesPermissions struct { - Analytics shared.PermissionGrant `json:"analytics"` - Billing shared.PermissionGrant `json:"billing"` - CachePurge shared.PermissionGrant `json:"cache_purge"` - DNS shared.PermissionGrant `json:"dns"` - DNSRecords shared.PermissionGrant `json:"dns_records"` - LB shared.PermissionGrant `json:"lb"` - Logs shared.PermissionGrant `json:"logs"` - Organization shared.PermissionGrant `json:"organization"` - SSL shared.PermissionGrant `json:"ssl"` - WAF shared.PermissionGrant `json:"waf"` - ZoneSettings shared.PermissionGrant `json:"zone_settings"` - Zones shared.PermissionGrant `json:"zones"` - JSON memberListResponseRolesPermissionsJSON `json:"-"` -} - -// memberListResponseRolesPermissionsJSON contains the JSON metadata for the struct -// [MemberListResponseRolesPermissions] -type memberListResponseRolesPermissionsJSON struct { - Analytics apijson.Field - Billing apijson.Field - CachePurge apijson.Field - DNS apijson.Field - DNSRecords apijson.Field - LB apijson.Field - Logs apijson.Field - Organization apijson.Field - SSL apijson.Field - WAF apijson.Field - ZoneSettings apijson.Field - Zones apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberListResponseRolesPermissions) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberListResponseRolesPermissionsJSON) RawJSON() string { - return r.raw -} - -// A member's status in the account. -type MemberListResponseStatus string - -const ( - MemberListResponseStatusAccepted MemberListResponseStatus = "accepted" - MemberListResponseStatusPending MemberListResponseStatus = "pending" -) - -func (r MemberListResponseStatus) IsKnown() bool { - switch r { - case MemberListResponseStatusAccepted, MemberListResponseStatusPending: - return true - } - return false -} - -// Details of the user associated to the membership. -type MemberListResponseUser struct { - // The contact email address of the user. - Email string `json:"email,required"` - // Identifier - ID string `json:"id"` - // User's first name - FirstName string `json:"first_name,nullable"` - // User's last name - LastName string `json:"last_name,nullable"` - // Indicates whether two-factor authentication is enabled for the user account. - // Does not apply to API authentication. - TwoFactorAuthenticationEnabled bool `json:"two_factor_authentication_enabled"` - JSON memberListResponseUserJSON `json:"-"` -} - -// memberListResponseUserJSON contains the JSON metadata for the struct -// [MemberListResponseUser] -type memberListResponseUserJSON struct { - Email apijson.Field - ID apijson.Field - FirstName apijson.Field - LastName apijson.Field - TwoFactorAuthenticationEnabled apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberListResponseUser) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberListResponseUserJSON) RawJSON() string { - return r.raw -} - type MemberDeleteResponse struct { // Identifier ID string `json:"id,required"` @@ -1286,374 +182,6 @@ func (r memberDeleteResponseJSON) RawJSON() string { return r.raw } -type MemberGetResponse struct { - // Membership identifier tag. - ID string `json:"id"` - // Access policy for the membership - Policies []MemberGetResponsePolicy `json:"policies"` - // Roles assigned to this Member. - Roles []MemberGetResponseRole `json:"roles"` - // A member's status in the account. - Status MemberGetResponseStatus `json:"status"` - // Details of the user associated to the membership. - User MemberGetResponseUser `json:"user"` - JSON memberGetResponseJSON `json:"-"` -} - -// memberGetResponseJSON contains the JSON metadata for the struct -// [MemberGetResponse] -type memberGetResponseJSON struct { - ID apijson.Field - Policies apijson.Field - Roles apijson.Field - Status apijson.Field - User apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberGetResponse) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberGetResponseJSON) RawJSON() string { - return r.raw -} - -type MemberGetResponsePolicy struct { - // Policy identifier. - ID string `json:"id"` - // Allow or deny operations against the resources. - Access MemberGetResponsePoliciesAccess `json:"access"` - // A set of permission groups that are specified to the policy. - PermissionGroups []MemberGetResponsePoliciesPermissionGroup `json:"permission_groups"` - // A list of resource groups that the policy applies to. - ResourceGroups []MemberGetResponsePoliciesResourceGroup `json:"resource_groups"` - JSON memberGetResponsePolicyJSON `json:"-"` -} - -// memberGetResponsePolicyJSON contains the JSON metadata for the struct -// [MemberGetResponsePolicy] -type memberGetResponsePolicyJSON struct { - ID apijson.Field - Access apijson.Field - PermissionGroups apijson.Field - ResourceGroups apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberGetResponsePolicy) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberGetResponsePolicyJSON) RawJSON() string { - return r.raw -} - -// Allow or deny operations against the resources. -type MemberGetResponsePoliciesAccess string - -const ( - MemberGetResponsePoliciesAccessAllow MemberGetResponsePoliciesAccess = "allow" - MemberGetResponsePoliciesAccessDeny MemberGetResponsePoliciesAccess = "deny" -) - -func (r MemberGetResponsePoliciesAccess) IsKnown() bool { - switch r { - case MemberGetResponsePoliciesAccessAllow, MemberGetResponsePoliciesAccessDeny: - return true - } - return false -} - -// A named group of permissions that map to a group of operations against -// resources. -type MemberGetResponsePoliciesPermissionGroup struct { - // Identifier of the group. - ID string `json:"id,required"` - // Attributes associated to the permission group. - Meta MemberGetResponsePoliciesPermissionGroupsMeta `json:"meta"` - // Name of the group. - Name string `json:"name"` - JSON memberGetResponsePoliciesPermissionGroupJSON `json:"-"` -} - -// memberGetResponsePoliciesPermissionGroupJSON contains the JSON metadata for the -// struct [MemberGetResponsePoliciesPermissionGroup] -type memberGetResponsePoliciesPermissionGroupJSON struct { - ID apijson.Field - Meta apijson.Field - Name apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberGetResponsePoliciesPermissionGroup) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberGetResponsePoliciesPermissionGroupJSON) RawJSON() string { - return r.raw -} - -// Attributes associated to the permission group. -type MemberGetResponsePoliciesPermissionGroupsMeta struct { - Key string `json:"key"` - Value string `json:"value"` - JSON memberGetResponsePoliciesPermissionGroupsMetaJSON `json:"-"` -} - -// memberGetResponsePoliciesPermissionGroupsMetaJSON contains the JSON metadata for -// the struct [MemberGetResponsePoliciesPermissionGroupsMeta] -type memberGetResponsePoliciesPermissionGroupsMetaJSON struct { - Key apijson.Field - Value apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberGetResponsePoliciesPermissionGroupsMeta) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberGetResponsePoliciesPermissionGroupsMetaJSON) RawJSON() string { - return r.raw -} - -// A group of scoped resources. -type MemberGetResponsePoliciesResourceGroup struct { - // Identifier of the group. - ID string `json:"id,required"` - // The scope associated to the resource group - Scope []MemberGetResponsePoliciesResourceGroupsScope `json:"scope,required"` - // Attributes associated to the resource group. - Meta MemberGetResponsePoliciesResourceGroupsMeta `json:"meta"` - // Name of the resource group. - Name string `json:"name"` - JSON memberGetResponsePoliciesResourceGroupJSON `json:"-"` -} - -// memberGetResponsePoliciesResourceGroupJSON contains the JSON metadata for the -// struct [MemberGetResponsePoliciesResourceGroup] -type memberGetResponsePoliciesResourceGroupJSON struct { - ID apijson.Field - Scope apijson.Field - Meta apijson.Field - Name apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberGetResponsePoliciesResourceGroup) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberGetResponsePoliciesResourceGroupJSON) RawJSON() string { - return r.raw -} - -// A scope is a combination of scope objects which provides additional context. -type MemberGetResponsePoliciesResourceGroupsScope struct { - // This is a combination of pre-defined resource name and identifier (like Account - // ID etc.) - Key string `json:"key,required"` - // A list of scope objects for additional context. - Objects []MemberGetResponsePoliciesResourceGroupsScopeObject `json:"objects,required"` - JSON memberGetResponsePoliciesResourceGroupsScopeJSON `json:"-"` -} - -// memberGetResponsePoliciesResourceGroupsScopeJSON contains the JSON metadata for -// the struct [MemberGetResponsePoliciesResourceGroupsScope] -type memberGetResponsePoliciesResourceGroupsScopeJSON struct { - Key apijson.Field - Objects apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberGetResponsePoliciesResourceGroupsScope) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberGetResponsePoliciesResourceGroupsScopeJSON) RawJSON() string { - return r.raw -} - -// A scope object represents any resource that can have actions applied against -// invite. -type MemberGetResponsePoliciesResourceGroupsScopeObject struct { - // This is a combination of pre-defined resource name and identifier (like Zone ID - // etc.) - Key string `json:"key,required"` - JSON memberGetResponsePoliciesResourceGroupsScopeObjectJSON `json:"-"` -} - -// memberGetResponsePoliciesResourceGroupsScopeObjectJSON contains the JSON -// metadata for the struct [MemberGetResponsePoliciesResourceGroupsScopeObject] -type memberGetResponsePoliciesResourceGroupsScopeObjectJSON struct { - Key apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberGetResponsePoliciesResourceGroupsScopeObject) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberGetResponsePoliciesResourceGroupsScopeObjectJSON) RawJSON() string { - return r.raw -} - -// Attributes associated to the resource group. -type MemberGetResponsePoliciesResourceGroupsMeta struct { - Key string `json:"key"` - Value string `json:"value"` - JSON memberGetResponsePoliciesResourceGroupsMetaJSON `json:"-"` -} - -// memberGetResponsePoliciesResourceGroupsMetaJSON contains the JSON metadata for -// the struct [MemberGetResponsePoliciesResourceGroupsMeta] -type memberGetResponsePoliciesResourceGroupsMetaJSON struct { - Key apijson.Field - Value apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberGetResponsePoliciesResourceGroupsMeta) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberGetResponsePoliciesResourceGroupsMetaJSON) RawJSON() string { - return r.raw -} - -type MemberGetResponseRole struct { - // Role identifier tag. - ID string `json:"id,required"` - // Description of role's permissions. - Description string `json:"description,required"` - // Role name. - Name string `json:"name,required"` - Permissions MemberGetResponseRolesPermissions `json:"permissions,required"` - JSON memberGetResponseRoleJSON `json:"-"` -} - -// memberGetResponseRoleJSON contains the JSON metadata for the struct -// [MemberGetResponseRole] -type memberGetResponseRoleJSON struct { - ID apijson.Field - Description apijson.Field - Name apijson.Field - Permissions apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberGetResponseRole) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberGetResponseRoleJSON) RawJSON() string { - return r.raw -} - -type MemberGetResponseRolesPermissions struct { - Analytics shared.PermissionGrant `json:"analytics"` - Billing shared.PermissionGrant `json:"billing"` - CachePurge shared.PermissionGrant `json:"cache_purge"` - DNS shared.PermissionGrant `json:"dns"` - DNSRecords shared.PermissionGrant `json:"dns_records"` - LB shared.PermissionGrant `json:"lb"` - Logs shared.PermissionGrant `json:"logs"` - Organization shared.PermissionGrant `json:"organization"` - SSL shared.PermissionGrant `json:"ssl"` - WAF shared.PermissionGrant `json:"waf"` - ZoneSettings shared.PermissionGrant `json:"zone_settings"` - Zones shared.PermissionGrant `json:"zones"` - JSON memberGetResponseRolesPermissionsJSON `json:"-"` -} - -// memberGetResponseRolesPermissionsJSON contains the JSON metadata for the struct -// [MemberGetResponseRolesPermissions] -type memberGetResponseRolesPermissionsJSON struct { - Analytics apijson.Field - Billing apijson.Field - CachePurge apijson.Field - DNS apijson.Field - DNSRecords apijson.Field - LB apijson.Field - Logs apijson.Field - Organization apijson.Field - SSL apijson.Field - WAF apijson.Field - ZoneSettings apijson.Field - Zones apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberGetResponseRolesPermissions) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberGetResponseRolesPermissionsJSON) RawJSON() string { - return r.raw -} - -// A member's status in the account. -type MemberGetResponseStatus string - -const ( - MemberGetResponseStatusAccepted MemberGetResponseStatus = "accepted" - MemberGetResponseStatusPending MemberGetResponseStatus = "pending" -) - -func (r MemberGetResponseStatus) IsKnown() bool { - switch r { - case MemberGetResponseStatusAccepted, MemberGetResponseStatusPending: - return true - } - return false -} - -// Details of the user associated to the membership. -type MemberGetResponseUser struct { - // The contact email address of the user. - Email string `json:"email,required"` - // Identifier - ID string `json:"id"` - // User's first name - FirstName string `json:"first_name,nullable"` - // User's last name - LastName string `json:"last_name,nullable"` - // Indicates whether two-factor authentication is enabled for the user account. - // Does not apply to API authentication. - TwoFactorAuthenticationEnabled bool `json:"two_factor_authentication_enabled"` - JSON memberGetResponseUserJSON `json:"-"` -} - -// memberGetResponseUserJSON contains the JSON metadata for the struct -// [MemberGetResponseUser] -type memberGetResponseUserJSON struct { - Email apijson.Field - ID apijson.Field - FirstName apijson.Field - LastName apijson.Field - TwoFactorAuthenticationEnabled apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *MemberGetResponseUser) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r memberGetResponseUserJSON) RawJSON() string { - return r.raw -} - type MemberNewParams struct { // Account identifier tag. AccountID param.Field[string] `path:"account_id,required"` @@ -1813,7 +341,7 @@ type MemberNewResponseEnvelope struct { Messages []shared.ResponseInfo `json:"messages,required"` // Whether the API call was successful Success MemberNewResponseEnvelopeSuccess `json:"success,required"` - Result MemberNewResponse `json:"result"` + Result shared.Member `json:"result"` JSON memberNewResponseEnvelopeJSON `json:"-"` } @@ -1882,7 +410,7 @@ type MemberUpdateParamsBodyUnion interface { type MemberUpdateParamsBodyIAMUpdateMemberWithRoles struct { // Roles assigned to this member. - Roles param.Field[[]MemberUpdateParamsBodyIAMUpdateMemberWithRolesRole] `json:"roles"` + Roles param.Field[[]shared.RoleParam] `json:"roles"` } func (r MemberUpdateParamsBodyIAMUpdateMemberWithRoles) MarshalJSON() (data []byte, err error) { @@ -1892,34 +420,6 @@ func (r MemberUpdateParamsBodyIAMUpdateMemberWithRoles) MarshalJSON() (data []by func (r MemberUpdateParamsBodyIAMUpdateMemberWithRoles) implementsAccountsMemberUpdateParamsBodyUnion() { } -type MemberUpdateParamsBodyIAMUpdateMemberWithRolesRole struct { - // Role identifier tag. - ID param.Field[string] `json:"id,required"` -} - -func (r MemberUpdateParamsBodyIAMUpdateMemberWithRolesRole) MarshalJSON() (data []byte, err error) { - return apijson.MarshalRoot(r) -} - -type MemberUpdateParamsBodyIAMUpdateMemberWithRolesRolesPermissions struct { - Analytics param.Field[shared.PermissionGrantParam] `json:"analytics"` - Billing param.Field[shared.PermissionGrantParam] `json:"billing"` - CachePurge param.Field[shared.PermissionGrantParam] `json:"cache_purge"` - DNS param.Field[shared.PermissionGrantParam] `json:"dns"` - DNSRecords param.Field[shared.PermissionGrantParam] `json:"dns_records"` - LB param.Field[shared.PermissionGrantParam] `json:"lb"` - Logs param.Field[shared.PermissionGrantParam] `json:"logs"` - Organization param.Field[shared.PermissionGrantParam] `json:"organization"` - SSL param.Field[shared.PermissionGrantParam] `json:"ssl"` - WAF param.Field[shared.PermissionGrantParam] `json:"waf"` - ZoneSettings param.Field[shared.PermissionGrantParam] `json:"zone_settings"` - Zones param.Field[shared.PermissionGrantParam] `json:"zones"` -} - -func (r MemberUpdateParamsBodyIAMUpdateMemberWithRolesRolesPermissions) MarshalJSON() (data []byte, err error) { - return apijson.MarshalRoot(r) -} - // A member's status in the account. type MemberUpdateParamsBodyIAMUpdateMemberWithRolesStatus string @@ -2032,7 +532,7 @@ type MemberUpdateResponseEnvelope struct { Messages []shared.ResponseInfo `json:"messages,required"` // Whether the API call was successful Success MemberUpdateResponseEnvelopeSuccess `json:"success,required"` - Result MemberUpdateResponse `json:"result"` + Result shared.Member `json:"result"` JSON memberUpdateResponseEnvelopeJSON `json:"-"` } @@ -2202,7 +702,7 @@ type MemberGetResponseEnvelope struct { Messages []shared.ResponseInfo `json:"messages,required"` // Whether the API call was successful Success MemberGetResponseEnvelopeSuccess `json:"success,required"` - Result MemberGetResponse `json:"result"` + Result shared.Member `json:"result"` JSON memberGetResponseEnvelopeJSON `json:"-"` } diff --git a/accounts/member_test.go b/accounts/member_test.go index 2137d1ee756..a8c7692eb9a 100644 --- a/accounts/member_test.go +++ b/accounts/member_test.go @@ -12,6 +12,7 @@ import ( "github.com/cloudflare/cloudflare-go/v3/accounts" "github.com/cloudflare/cloudflare-go/v3/internal/testutil" "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v3/shared" ) func TestMemberNewWithOptionalParams(t *testing.T) { @@ -65,7 +66,7 @@ func TestMemberUpdateWithOptionalParams(t *testing.T) { accounts.MemberUpdateParams{ AccountID: cloudflare.F("eb78d65290b24279ba6f44721b3ea3c4"), Body: accounts.MemberUpdateParamsBodyIAMUpdateMemberWithRoles{ - Roles: cloudflare.F([]accounts.MemberUpdateParamsBodyIAMUpdateMemberWithRolesRole{{ + Roles: cloudflare.F([]shared.RoleParam{{ ID: cloudflare.F("3536bcfad5faccb999b47003c79917fb"), }, { ID: cloudflare.F("3536bcfad5faccb999b47003c79917fb"), diff --git a/accounts/role.go b/accounts/role.go index 0f701913695..6500fb78dac 100644 --- a/accounts/role.go +++ b/accounts/role.go @@ -36,7 +36,7 @@ func NewRoleService(opts ...option.RequestOption) (r *RoleService) { } // Get all available roles for an account. -func (r *RoleService) List(ctx context.Context, query RoleListParams, opts ...option.RequestOption) (res *pagination.SinglePage[RoleListResponse], err error) { +func (r *RoleService) List(ctx context.Context, query RoleListParams, opts ...option.RequestOption) (res *pagination.SinglePage[shared.Role], err error) { var raw *http.Response opts = append(r.Options[:], opts...) opts = append([]option.RequestOption{option.WithResponseInto(&raw)}, opts...) @@ -58,12 +58,12 @@ func (r *RoleService) List(ctx context.Context, query RoleListParams, opts ...op } // Get all available roles for an account. -func (r *RoleService) ListAutoPaging(ctx context.Context, query RoleListParams, opts ...option.RequestOption) *pagination.SinglePageAutoPager[RoleListResponse] { +func (r *RoleService) ListAutoPaging(ctx context.Context, query RoleListParams, opts ...option.RequestOption) *pagination.SinglePageAutoPager[shared.Role] { return pagination.NewSinglePageAutoPager(r.List(ctx, query, opts...)) } // Get information about a specific role for an account. -func (r *RoleService) Get(ctx context.Context, roleID string, query RoleGetParams, opts ...option.RequestOption) (res *RoleGetResponse, err error) { +func (r *RoleService) Get(ctx context.Context, roleID string, query RoleGetParams, opts ...option.RequestOption) (res *shared.Role, err error) { var env RoleGetResponseEnvelope opts = append(r.Options[:], opts...) if query.AccountID.Value == "" { @@ -83,151 +83,6 @@ func (r *RoleService) Get(ctx context.Context, roleID string, query RoleGetParam return } -type RoleListResponse struct { - // Role identifier tag. - ID string `json:"id,required"` - // Description of role's permissions. - Description string `json:"description,required"` - // Role name. - Name string `json:"name,required"` - Permissions RoleListResponsePermissions `json:"permissions,required"` - JSON roleListResponseJSON `json:"-"` -} - -// roleListResponseJSON contains the JSON metadata for the struct -// [RoleListResponse] -type roleListResponseJSON struct { - ID apijson.Field - Description apijson.Field - Name apijson.Field - Permissions apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *RoleListResponse) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r roleListResponseJSON) RawJSON() string { - return r.raw -} - -type RoleListResponsePermissions struct { - Analytics shared.PermissionGrant `json:"analytics"` - Billing shared.PermissionGrant `json:"billing"` - CachePurge shared.PermissionGrant `json:"cache_purge"` - DNS shared.PermissionGrant `json:"dns"` - DNSRecords shared.PermissionGrant `json:"dns_records"` - LB shared.PermissionGrant `json:"lb"` - Logs shared.PermissionGrant `json:"logs"` - Organization shared.PermissionGrant `json:"organization"` - SSL shared.PermissionGrant `json:"ssl"` - WAF shared.PermissionGrant `json:"waf"` - ZoneSettings shared.PermissionGrant `json:"zone_settings"` - Zones shared.PermissionGrant `json:"zones"` - JSON roleListResponsePermissionsJSON `json:"-"` -} - -// roleListResponsePermissionsJSON contains the JSON metadata for the struct -// [RoleListResponsePermissions] -type roleListResponsePermissionsJSON struct { - Analytics apijson.Field - Billing apijson.Field - CachePurge apijson.Field - DNS apijson.Field - DNSRecords apijson.Field - LB apijson.Field - Logs apijson.Field - Organization apijson.Field - SSL apijson.Field - WAF apijson.Field - ZoneSettings apijson.Field - Zones apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *RoleListResponsePermissions) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r roleListResponsePermissionsJSON) RawJSON() string { - return r.raw -} - -type RoleGetResponse struct { - // Role identifier tag. - ID string `json:"id,required"` - // Description of role's permissions. - Description string `json:"description,required"` - // Role name. - Name string `json:"name,required"` - Permissions RoleGetResponsePermissions `json:"permissions,required"` - JSON roleGetResponseJSON `json:"-"` -} - -// roleGetResponseJSON contains the JSON metadata for the struct [RoleGetResponse] -type roleGetResponseJSON struct { - ID apijson.Field - Description apijson.Field - Name apijson.Field - Permissions apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *RoleGetResponse) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r roleGetResponseJSON) RawJSON() string { - return r.raw -} - -type RoleGetResponsePermissions struct { - Analytics shared.PermissionGrant `json:"analytics"` - Billing shared.PermissionGrant `json:"billing"` - CachePurge shared.PermissionGrant `json:"cache_purge"` - DNS shared.PermissionGrant `json:"dns"` - DNSRecords shared.PermissionGrant `json:"dns_records"` - LB shared.PermissionGrant `json:"lb"` - Logs shared.PermissionGrant `json:"logs"` - Organization shared.PermissionGrant `json:"organization"` - SSL shared.PermissionGrant `json:"ssl"` - WAF shared.PermissionGrant `json:"waf"` - ZoneSettings shared.PermissionGrant `json:"zone_settings"` - Zones shared.PermissionGrant `json:"zones"` - JSON roleGetResponsePermissionsJSON `json:"-"` -} - -// roleGetResponsePermissionsJSON contains the JSON metadata for the struct -// [RoleGetResponsePermissions] -type roleGetResponsePermissionsJSON struct { - Analytics apijson.Field - Billing apijson.Field - CachePurge apijson.Field - DNS apijson.Field - DNSRecords apijson.Field - LB apijson.Field - Logs apijson.Field - Organization apijson.Field - SSL apijson.Field - WAF apijson.Field - ZoneSettings apijson.Field - Zones apijson.Field - raw string - ExtraFields map[string]apijson.Field -} - -func (r *RoleGetResponsePermissions) UnmarshalJSON(data []byte) (err error) { - return apijson.UnmarshalRoot(data, r) -} - -func (r roleGetResponsePermissionsJSON) RawJSON() string { - return r.raw -} - type RoleListParams struct { // Account identifier tag. AccountID param.Field[string] `path:"account_id,required"` @@ -243,7 +98,7 @@ type RoleGetResponseEnvelope struct { Messages []shared.ResponseInfo `json:"messages,required"` // Whether the API call was successful Success RoleGetResponseEnvelopeSuccess `json:"success,required"` - Result RoleGetResponse `json:"result"` + Result shared.Role `json:"result"` JSON roleGetResponseEnvelopeJSON `json:"-"` } diff --git a/acm/aliases.go b/acm/aliases.go index 12d12b60b08..942cbe140fc 100644 --- a/acm/aliases.go +++ b/acm/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/addressing/aliases.go b/addressing/aliases.go index 516346801e8..eabc8d38c7e 100644 --- a/addressing/aliases.go +++ b/addressing/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/ai_gateway/aliases.go b/ai_gateway/aliases.go index a59817a78f2..78c9a1da485 100644 --- a/ai_gateway/aliases.go +++ b/ai_gateway/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/alerting/aliases.go b/alerting/aliases.go index b1f0918a9f7..f1d55fd1477 100644 --- a/alerting/aliases.go +++ b/alerting/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/aliases.go b/aliases.go index 6f54e63518f..932ed3f5fe9 100644 --- a/aliases.go +++ b/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/api.md b/api.md index ff26891360c..d8f737e629c 100644 --- a/api.md +++ b/api.md @@ -5,6 +5,7 @@ - shared.CertificateRequestType - shared.PermissionGrantParam - shared.RatePlanParam +- shared.RoleParam - shared.SortDirection - shared.SubscriptionParam @@ -16,10 +17,12 @@ - shared.CertificateRequestType - shared.CloudflareTunnel - shared.ErrorData +- shared.Member - shared.Permission - shared.PermissionGrant - shared.RatePlan - shared.ResponseInfo +- shared.Role - shared.Subscription # Accounts @@ -46,31 +49,22 @@ Methods: Response Types: - accounts.Status -- accounts.MemberNewResponse -- accounts.MemberUpdateResponse -- accounts.MemberListResponse - accounts.MemberDeleteResponse -- accounts.MemberGetResponse Methods: -- client.Accounts.Members.New(ctx context.Context, params accounts.MemberNewParams) (accounts.MemberNewResponse, error) -- client.Accounts.Members.Update(ctx context.Context, memberID string, params accounts.MemberUpdateParams) (accounts.MemberUpdateResponse, error) -- client.Accounts.Members.List(ctx context.Context, params accounts.MemberListParams) (pagination.V4PagePaginationArray[accounts.MemberListResponse], error) +- client.Accounts.Members.New(ctx context.Context, params accounts.MemberNewParams) (shared.Member, error) +- client.Accounts.Members.Update(ctx context.Context, memberID string, params accounts.MemberUpdateParams) (shared.Member, error) +- client.Accounts.Members.List(ctx context.Context, params accounts.MemberListParams) (pagination.V4PagePaginationArray[shared.Member], error) - client.Accounts.Members.Delete(ctx context.Context, memberID string, body accounts.MemberDeleteParams) (accounts.MemberDeleteResponse, error) -- client.Accounts.Members.Get(ctx context.Context, memberID string, query accounts.MemberGetParams) (accounts.MemberGetResponse, error) +- client.Accounts.Members.Get(ctx context.Context, memberID string, query accounts.MemberGetParams) (shared.Member, error) ## Roles -Response Types: - -- accounts.RoleListResponse -- accounts.RoleGetResponse - Methods: -- client.Accounts.Roles.List(ctx context.Context, query accounts.RoleListParams) (pagination.SinglePage[accounts.RoleListResponse], error) -- client.Accounts.Roles.Get(ctx context.Context, roleID string, query accounts.RoleGetParams) (accounts.RoleGetResponse, error) +- client.Accounts.Roles.List(ctx context.Context, query accounts.RoleListParams) (pagination.SinglePage[shared.Role], error) +- client.Accounts.Roles.Get(ctx context.Context, roleID string, query accounts.RoleGetParams) (shared.Role, error) ## Subscriptions diff --git a/api_gateway/aliases.go b/api_gateway/aliases.go index 576f91d58ee..bceafbf2e34 100644 --- a/api_gateway/aliases.go +++ b/api_gateway/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/argo/aliases.go b/argo/aliases.go index 3fb99f37863..fa1aab7a03e 100644 --- a/argo/aliases.go +++ b/argo/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/audit_logs/aliases.go b/audit_logs/aliases.go index 818e85803c3..5ba48acc45d 100644 --- a/audit_logs/aliases.go +++ b/audit_logs/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/billing/aliases.go b/billing/aliases.go index a565b204233..51a8d0993af 100644 --- a/billing/aliases.go +++ b/billing/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/bot_management/aliases.go b/bot_management/aliases.go index 4f1061c1130..e0ddea8279e 100644 --- a/bot_management/aliases.go +++ b/bot_management/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/botnet_feed/aliases.go b/botnet_feed/aliases.go index 71ab11d9abf..67e2a850d5f 100644 --- a/botnet_feed/aliases.go +++ b/botnet_feed/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/brand_protection/aliases.go b/brand_protection/aliases.go index 317f9367869..231a6159df3 100644 --- a/brand_protection/aliases.go +++ b/brand_protection/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/cache/aliases.go b/cache/aliases.go index 5b8fc8b48d7..f104c6f9f86 100644 --- a/cache/aliases.go +++ b/cache/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/calls/aliases.go b/calls/aliases.go index 99edd6b4703..7f624a4889e 100644 --- a/calls/aliases.go +++ b/calls/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/certificate_authorities/aliases.go b/certificate_authorities/aliases.go index 8cf4709b30d..7c90f3c169d 100644 --- a/certificate_authorities/aliases.go +++ b/certificate_authorities/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/client_certificates/aliases.go b/client_certificates/aliases.go index ea1025a8f5a..5961397ba4a 100644 --- a/client_certificates/aliases.go +++ b/client_certificates/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/cloud_connector/aliases.go b/cloud_connector/aliases.go index 1cb2530e300..83bde90b022 100644 --- a/cloud_connector/aliases.go +++ b/cloud_connector/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/cloudforce_one/aliases.go b/cloudforce_one/aliases.go index 9beee5abbb3..6b0951e91b2 100644 --- a/cloudforce_one/aliases.go +++ b/cloudforce_one/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/custom_certificates/aliases.go b/custom_certificates/aliases.go index abb472c7859..70c685d80a8 100644 --- a/custom_certificates/aliases.go +++ b/custom_certificates/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/custom_hostnames/aliases.go b/custom_hostnames/aliases.go index 3c5706f364a..df60b6f91d2 100644 --- a/custom_hostnames/aliases.go +++ b/custom_hostnames/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/custom_nameservers/aliases.go b/custom_nameservers/aliases.go index 9eadedb2b46..3706073f7e0 100644 --- a/custom_nameservers/aliases.go +++ b/custom_nameservers/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/d1/aliases.go b/d1/aliases.go index dbf657c3e07..1f1eead951c 100644 --- a/d1/aliases.go +++ b/d1/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/dcv_delegation/aliases.go b/dcv_delegation/aliases.go index da88a029613..ef803c71684 100644 --- a/dcv_delegation/aliases.go +++ b/dcv_delegation/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/diagnostics/aliases.go b/diagnostics/aliases.go index ce86ca61ff4..2e855aa6102 100644 --- a/diagnostics/aliases.go +++ b/diagnostics/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/dns/aliases.go b/dns/aliases.go index 3c84912849c..ad56d3a4494 100644 --- a/dns/aliases.go +++ b/dns/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/dnssec/aliases.go b/dnssec/aliases.go index 296f5ed62e2..ab51493a4d4 100644 --- a/dnssec/aliases.go +++ b/dnssec/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/durable_objects/aliases.go b/durable_objects/aliases.go index 2e5a6d7f0d2..2e39a9d8416 100644 --- a/durable_objects/aliases.go +++ b/durable_objects/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/email_routing/aliases.go b/email_routing/aliases.go index 7b3b4198c40..12093d47018 100644 --- a/email_routing/aliases.go +++ b/email_routing/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/email_security/aliases.go b/email_security/aliases.go index 8cc5ea05a78..c52bd107ea6 100644 --- a/email_security/aliases.go +++ b/email_security/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/filters/aliases.go b/filters/aliases.go index 016eac05e26..b8da589b5dd 100644 --- a/filters/aliases.go +++ b/filters/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/firewall/aliases.go b/firewall/aliases.go index d4437b1b709..9774d99ca04 100644 --- a/firewall/aliases.go +++ b/firewall/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/healthchecks/aliases.go b/healthchecks/aliases.go index f8d36287620..7fb90d75b45 100644 --- a/healthchecks/aliases.go +++ b/healthchecks/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/hostnames/aliases.go b/hostnames/aliases.go index 52aff6e4cae..d94e40504ed 100644 --- a/hostnames/aliases.go +++ b/hostnames/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/hyperdrive/aliases.go b/hyperdrive/aliases.go index 486fd5d82b9..bc07048f9f8 100644 --- a/hyperdrive/aliases.go +++ b/hyperdrive/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/iam/aliases.go b/iam/aliases.go index 4a44ae1200b..22fdf27bffb 100644 --- a/iam/aliases.go +++ b/iam/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/images/aliases.go b/images/aliases.go index 6f2978f1b76..b37fcd80182 100644 --- a/images/aliases.go +++ b/images/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/intel/aliases.go b/intel/aliases.go index 5a555e7e1ca..b34ca14b26a 100644 --- a/intel/aliases.go +++ b/intel/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/ips/aliases.go b/ips/aliases.go index b99453d70fb..c17ae4c0236 100644 --- a/ips/aliases.go +++ b/ips/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/keyless_certificates/aliases.go b/keyless_certificates/aliases.go index 0f65e05ff77..5d801caed34 100644 --- a/keyless_certificates/aliases.go +++ b/keyless_certificates/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/kv/aliases.go b/kv/aliases.go index 8c7d7744ebb..2f54d2aa814 100644 --- a/kv/aliases.go +++ b/kv/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/load_balancers/aliases.go b/load_balancers/aliases.go index d82c51f9bcc..c46cf5f5c31 100644 --- a/load_balancers/aliases.go +++ b/load_balancers/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/logpush/aliases.go b/logpush/aliases.go index 986eaa96fb0..373648cd5d5 100644 --- a/logpush/aliases.go +++ b/logpush/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/logs/aliases.go b/logs/aliases.go index cf0fc50f104..27202924178 100644 --- a/logs/aliases.go +++ b/logs/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/magic_network_monitoring/aliases.go b/magic_network_monitoring/aliases.go index 21fd2a8b0c0..690b487b032 100644 --- a/magic_network_monitoring/aliases.go +++ b/magic_network_monitoring/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/magic_transit/aliases.go b/magic_transit/aliases.go index 43800dd9546..e7dbd1ec0c5 100644 --- a/magic_transit/aliases.go +++ b/magic_transit/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/managed_transforms/aliases.go b/managed_transforms/aliases.go index d9fe781014e..701a10f36b7 100644 --- a/managed_transforms/aliases.go +++ b/managed_transforms/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/memberships/aliases.go b/memberships/aliases.go index 2e3d44a697d..ac382dbffd8 100644 --- a/memberships/aliases.go +++ b/memberships/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/mtls_certificates/aliases.go b/mtls_certificates/aliases.go index 5394e697834..9fef64dba29 100644 --- a/mtls_certificates/aliases.go +++ b/mtls_certificates/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/origin_ca_certificates/aliases.go b/origin_ca_certificates/aliases.go index fe2c9d59546..382fd690f68 100644 --- a/origin_ca_certificates/aliases.go +++ b/origin_ca_certificates/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/origin_post_quantum_encryption/aliases.go b/origin_post_quantum_encryption/aliases.go index caad8b55f7f..dc923db6f65 100644 --- a/origin_post_quantum_encryption/aliases.go +++ b/origin_post_quantum_encryption/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/origin_tls_client_auth/aliases.go b/origin_tls_client_auth/aliases.go index 4f262b435c3..8d4b8d4a357 100644 --- a/origin_tls_client_auth/aliases.go +++ b/origin_tls_client_auth/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/page_shield/aliases.go b/page_shield/aliases.go index d3c39c7cf48..0b05872bf2c 100644 --- a/page_shield/aliases.go +++ b/page_shield/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/pagerules/aliases.go b/pagerules/aliases.go index 7a383e70d88..e6e87acdc5c 100644 --- a/pagerules/aliases.go +++ b/pagerules/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/pages/aliases.go b/pages/aliases.go index 0fa9b7610a2..39bab28eb80 100644 --- a/pages/aliases.go +++ b/pages/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/queues/aliases.go b/queues/aliases.go index af518671853..0ff8e8e8f7a 100644 --- a/queues/aliases.go +++ b/queues/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/r2/aliases.go b/r2/aliases.go index 46213d31e0e..484744ee064 100644 --- a/r2/aliases.go +++ b/r2/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/radar/aliases.go b/radar/aliases.go index 5b8f8faa1c9..d60f571cad8 100644 --- a/radar/aliases.go +++ b/radar/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/rate_limits/aliases.go b/rate_limits/aliases.go index 62b89527a79..e0bf37ee473 100644 --- a/rate_limits/aliases.go +++ b/rate_limits/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/registrar/aliases.go b/registrar/aliases.go index 29d0b8f5fe2..d1297b83403 100644 --- a/registrar/aliases.go +++ b/registrar/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/request_tracers/aliases.go b/request_tracers/aliases.go index 3286c1554fe..5df2ec9f827 100644 --- a/request_tracers/aliases.go +++ b/request_tracers/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/rules/aliases.go b/rules/aliases.go index ebbd1fac2d0..23f5a33161e 100644 --- a/rules/aliases.go +++ b/rules/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/rulesets/aliases.go b/rulesets/aliases.go index b5276a095d6..4eccdb7c781 100644 --- a/rulesets/aliases.go +++ b/rulesets/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/rum/aliases.go b/rum/aliases.go index 63c3c76468d..bc940d2db2a 100644 --- a/rum/aliases.go +++ b/rum/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/secondary_dns/aliases.go b/secondary_dns/aliases.go index 74e1176e601..53c45d37ef0 100644 --- a/secondary_dns/aliases.go +++ b/secondary_dns/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/shared/shared.go b/shared/shared.go index 3e65218dad2..ece0c49fefb 100644 --- a/shared/shared.go +++ b/shared/shared.go @@ -403,6 +403,298 @@ func (r errorDataJSON) RawJSON() string { return r.raw } +type Member struct { + // Membership identifier tag. + ID string `json:"id"` + // Access policy for the membership + Policies []MemberPolicy `json:"policies"` + // Roles assigned to this Member. + Roles []Role `json:"roles"` + // A member's status in the account. + Status MemberStatus `json:"status"` + // Details of the user associated to the membership. + User MemberUser `json:"user"` + JSON memberJSON `json:"-"` +} + +// memberJSON contains the JSON metadata for the struct [Member] +type memberJSON struct { + ID apijson.Field + Policies apijson.Field + Roles apijson.Field + Status apijson.Field + User apijson.Field + raw string + ExtraFields map[string]apijson.Field +} + +func (r *Member) UnmarshalJSON(data []byte) (err error) { + return apijson.UnmarshalRoot(data, r) +} + +func (r memberJSON) RawJSON() string { + return r.raw +} + +type MemberPolicy struct { + // Policy identifier. + ID string `json:"id"` + // Allow or deny operations against the resources. + Access MemberPoliciesAccess `json:"access"` + // A set of permission groups that are specified to the policy. + PermissionGroups []MemberPoliciesPermissionGroup `json:"permission_groups"` + // A list of resource groups that the policy applies to. + ResourceGroups []MemberPoliciesResourceGroup `json:"resource_groups"` + JSON memberPolicyJSON `json:"-"` +} + +// memberPolicyJSON contains the JSON metadata for the struct [MemberPolicy] +type memberPolicyJSON struct { + ID apijson.Field + Access apijson.Field + PermissionGroups apijson.Field + ResourceGroups apijson.Field + raw string + ExtraFields map[string]apijson.Field +} + +func (r *MemberPolicy) UnmarshalJSON(data []byte) (err error) { + return apijson.UnmarshalRoot(data, r) +} + +func (r memberPolicyJSON) RawJSON() string { + return r.raw +} + +// Allow or deny operations against the resources. +type MemberPoliciesAccess string + +const ( + MemberPoliciesAccessAllow MemberPoliciesAccess = "allow" + MemberPoliciesAccessDeny MemberPoliciesAccess = "deny" +) + +func (r MemberPoliciesAccess) IsKnown() bool { + switch r { + case MemberPoliciesAccessAllow, MemberPoliciesAccessDeny: + return true + } + return false +} + +// A named group of permissions that map to a group of operations against +// resources. +type MemberPoliciesPermissionGroup struct { + // Identifier of the group. + ID string `json:"id,required"` + // Attributes associated to the permission group. + Meta MemberPoliciesPermissionGroupsMeta `json:"meta"` + // Name of the group. + Name string `json:"name"` + JSON memberPoliciesPermissionGroupJSON `json:"-"` +} + +// memberPoliciesPermissionGroupJSON contains the JSON metadata for the struct +// [MemberPoliciesPermissionGroup] +type memberPoliciesPermissionGroupJSON struct { + ID apijson.Field + Meta apijson.Field + Name apijson.Field + raw string + ExtraFields map[string]apijson.Field +} + +func (r *MemberPoliciesPermissionGroup) UnmarshalJSON(data []byte) (err error) { + return apijson.UnmarshalRoot(data, r) +} + +func (r memberPoliciesPermissionGroupJSON) RawJSON() string { + return r.raw +} + +// Attributes associated to the permission group. +type MemberPoliciesPermissionGroupsMeta struct { + Key string `json:"key"` + Value string `json:"value"` + JSON memberPoliciesPermissionGroupsMetaJSON `json:"-"` +} + +// memberPoliciesPermissionGroupsMetaJSON contains the JSON metadata for the struct +// [MemberPoliciesPermissionGroupsMeta] +type memberPoliciesPermissionGroupsMetaJSON struct { + Key apijson.Field + Value apijson.Field + raw string + ExtraFields map[string]apijson.Field +} + +func (r *MemberPoliciesPermissionGroupsMeta) UnmarshalJSON(data []byte) (err error) { + return apijson.UnmarshalRoot(data, r) +} + +func (r memberPoliciesPermissionGroupsMetaJSON) RawJSON() string { + return r.raw +} + +// A group of scoped resources. +type MemberPoliciesResourceGroup struct { + // Identifier of the group. + ID string `json:"id,required"` + // The scope associated to the resource group + Scope []MemberPoliciesResourceGroupsScope `json:"scope,required"` + // Attributes associated to the resource group. + Meta MemberPoliciesResourceGroupsMeta `json:"meta"` + // Name of the resource group. + Name string `json:"name"` + JSON memberPoliciesResourceGroupJSON `json:"-"` +} + +// memberPoliciesResourceGroupJSON contains the JSON metadata for the struct +// [MemberPoliciesResourceGroup] +type memberPoliciesResourceGroupJSON struct { + ID apijson.Field + Scope apijson.Field + Meta apijson.Field + Name apijson.Field + raw string + ExtraFields map[string]apijson.Field +} + +func (r *MemberPoliciesResourceGroup) UnmarshalJSON(data []byte) (err error) { + return apijson.UnmarshalRoot(data, r) +} + +func (r memberPoliciesResourceGroupJSON) RawJSON() string { + return r.raw +} + +// A scope is a combination of scope objects which provides additional context. +type MemberPoliciesResourceGroupsScope struct { + // This is a combination of pre-defined resource name and identifier (like Account + // ID etc.) + Key string `json:"key,required"` + // A list of scope objects for additional context. + Objects []MemberPoliciesResourceGroupsScopeObject `json:"objects,required"` + JSON memberPoliciesResourceGroupsScopeJSON `json:"-"` +} + +// memberPoliciesResourceGroupsScopeJSON contains the JSON metadata for the struct +// [MemberPoliciesResourceGroupsScope] +type memberPoliciesResourceGroupsScopeJSON struct { + Key apijson.Field + Objects apijson.Field + raw string + ExtraFields map[string]apijson.Field +} + +func (r *MemberPoliciesResourceGroupsScope) UnmarshalJSON(data []byte) (err error) { + return apijson.UnmarshalRoot(data, r) +} + +func (r memberPoliciesResourceGroupsScopeJSON) RawJSON() string { + return r.raw +} + +// A scope object represents any resource that can have actions applied against +// invite. +type MemberPoliciesResourceGroupsScopeObject struct { + // This is a combination of pre-defined resource name and identifier (like Zone ID + // etc.) + Key string `json:"key,required"` + JSON memberPoliciesResourceGroupsScopeObjectJSON `json:"-"` +} + +// memberPoliciesResourceGroupsScopeObjectJSON contains the JSON metadata for the +// struct [MemberPoliciesResourceGroupsScopeObject] +type memberPoliciesResourceGroupsScopeObjectJSON struct { + Key apijson.Field + raw string + ExtraFields map[string]apijson.Field +} + +func (r *MemberPoliciesResourceGroupsScopeObject) UnmarshalJSON(data []byte) (err error) { + return apijson.UnmarshalRoot(data, r) +} + +func (r memberPoliciesResourceGroupsScopeObjectJSON) RawJSON() string { + return r.raw +} + +// Attributes associated to the resource group. +type MemberPoliciesResourceGroupsMeta struct { + Key string `json:"key"` + Value string `json:"value"` + JSON memberPoliciesResourceGroupsMetaJSON `json:"-"` +} + +// memberPoliciesResourceGroupsMetaJSON contains the JSON metadata for the struct +// [MemberPoliciesResourceGroupsMeta] +type memberPoliciesResourceGroupsMetaJSON struct { + Key apijson.Field + Value apijson.Field + raw string + ExtraFields map[string]apijson.Field +} + +func (r *MemberPoliciesResourceGroupsMeta) UnmarshalJSON(data []byte) (err error) { + return apijson.UnmarshalRoot(data, r) +} + +func (r memberPoliciesResourceGroupsMetaJSON) RawJSON() string { + return r.raw +} + +// A member's status in the account. +type MemberStatus string + +const ( + MemberStatusAccepted MemberStatus = "accepted" + MemberStatusPending MemberStatus = "pending" +) + +func (r MemberStatus) IsKnown() bool { + switch r { + case MemberStatusAccepted, MemberStatusPending: + return true + } + return false +} + +// Details of the user associated to the membership. +type MemberUser struct { + // The contact email address of the user. + Email string `json:"email,required"` + // Identifier + ID string `json:"id"` + // User's first name + FirstName string `json:"first_name,nullable"` + // User's last name + LastName string `json:"last_name,nullable"` + // Indicates whether two-factor authentication is enabled for the user account. + // Does not apply to API authentication. + TwoFactorAuthenticationEnabled bool `json:"two_factor_authentication_enabled"` + JSON memberUserJSON `json:"-"` +} + +// memberUserJSON contains the JSON metadata for the struct [MemberUser] +type memberUserJSON struct { + Email apijson.Field + ID apijson.Field + FirstName apijson.Field + LastName apijson.Field + TwoFactorAuthenticationEnabled apijson.Field + raw string + ExtraFields map[string]apijson.Field +} + +func (r *MemberUser) UnmarshalJSON(data []byte) (err error) { + return apijson.UnmarshalRoot(data, r) +} + +func (r memberUserJSON) RawJSON() string { + return r.raw +} + type Permission = string type PermissionGrant struct { @@ -520,6 +812,105 @@ func (r responseInfoJSON) RawJSON() string { return r.raw } +type Role struct { + // Role identifier tag. + ID string `json:"id,required"` + // Description of role's permissions. + Description string `json:"description,required"` + // Role name. + Name string `json:"name,required"` + Permissions RolePermissions `json:"permissions,required"` + JSON roleJSON `json:"-"` +} + +// roleJSON contains the JSON metadata for the struct [Role] +type roleJSON struct { + ID apijson.Field + Description apijson.Field + Name apijson.Field + Permissions apijson.Field + raw string + ExtraFields map[string]apijson.Field +} + +func (r *Role) UnmarshalJSON(data []byte) (err error) { + return apijson.UnmarshalRoot(data, r) +} + +func (r roleJSON) RawJSON() string { + return r.raw +} + +type RolePermissions struct { + Analytics PermissionGrant `json:"analytics"` + Billing PermissionGrant `json:"billing"` + CachePurge PermissionGrant `json:"cache_purge"` + DNS PermissionGrant `json:"dns"` + DNSRecords PermissionGrant `json:"dns_records"` + LB PermissionGrant `json:"lb"` + Logs PermissionGrant `json:"logs"` + Organization PermissionGrant `json:"organization"` + SSL PermissionGrant `json:"ssl"` + WAF PermissionGrant `json:"waf"` + ZoneSettings PermissionGrant `json:"zone_settings"` + Zones PermissionGrant `json:"zones"` + JSON rolePermissionsJSON `json:"-"` +} + +// rolePermissionsJSON contains the JSON metadata for the struct [RolePermissions] +type rolePermissionsJSON struct { + Analytics apijson.Field + Billing apijson.Field + CachePurge apijson.Field + DNS apijson.Field + DNSRecords apijson.Field + LB apijson.Field + Logs apijson.Field + Organization apijson.Field + SSL apijson.Field + WAF apijson.Field + ZoneSettings apijson.Field + Zones apijson.Field + raw string + ExtraFields map[string]apijson.Field +} + +func (r *RolePermissions) UnmarshalJSON(data []byte) (err error) { + return apijson.UnmarshalRoot(data, r) +} + +func (r rolePermissionsJSON) RawJSON() string { + return r.raw +} + +type RoleParam struct { + // Role identifier tag. + ID param.Field[string] `json:"id,required"` +} + +func (r RoleParam) MarshalJSON() (data []byte, err error) { + return apijson.MarshalRoot(r) +} + +type RolePermissionsParam struct { + Analytics param.Field[PermissionGrantParam] `json:"analytics"` + Billing param.Field[PermissionGrantParam] `json:"billing"` + CachePurge param.Field[PermissionGrantParam] `json:"cache_purge"` + DNS param.Field[PermissionGrantParam] `json:"dns"` + DNSRecords param.Field[PermissionGrantParam] `json:"dns_records"` + LB param.Field[PermissionGrantParam] `json:"lb"` + Logs param.Field[PermissionGrantParam] `json:"logs"` + Organization param.Field[PermissionGrantParam] `json:"organization"` + SSL param.Field[PermissionGrantParam] `json:"ssl"` + WAF param.Field[PermissionGrantParam] `json:"waf"` + ZoneSettings param.Field[PermissionGrantParam] `json:"zone_settings"` + Zones param.Field[PermissionGrantParam] `json:"zones"` +} + +func (r RolePermissionsParam) MarshalJSON() (data []byte, err error) { + return apijson.MarshalRoot(r) +} + // Direction to order DNS records in. type SortDirection string diff --git a/snippets/aliases.go b/snippets/aliases.go index 668badaa732..a772f59bb57 100644 --- a/snippets/aliases.go +++ b/snippets/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/spectrum/aliases.go b/spectrum/aliases.go index a609160fa9d..dd490fb819f 100644 --- a/spectrum/aliases.go +++ b/spectrum/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/speed/aliases.go b/speed/aliases.go index 14c4eb6b74a..62fc645fb11 100644 --- a/speed/aliases.go +++ b/speed/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/ssl/aliases.go b/ssl/aliases.go index 7c8e1c725b0..a454cd1ce3d 100644 --- a/ssl/aliases.go +++ b/ssl/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/storage/aliases.go b/storage/aliases.go index 3c45c9c3482..6659bdd779f 100644 --- a/storage/aliases.go +++ b/storage/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/stream/aliases.go b/stream/aliases.go index 9a21d7cf98b..3bb6cd52f76 100644 --- a/stream/aliases.go +++ b/stream/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/turnstile/aliases.go b/turnstile/aliases.go index 8a56887cad7..ebc1b8dadaa 100644 --- a/turnstile/aliases.go +++ b/turnstile/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/url_normalization/aliases.go b/url_normalization/aliases.go index e937e0064d1..61d82b05ebb 100644 --- a/url_normalization/aliases.go +++ b/url_normalization/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/url_scanner/aliases.go b/url_scanner/aliases.go index ecb2ec97f06..6a4e4e8fa26 100644 --- a/url_scanner/aliases.go +++ b/url_scanner/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/user/aliases.go b/user/aliases.go index 29f84b24853..877cf7a867a 100644 --- a/user/aliases.go +++ b/user/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/vectorize/aliases.go b/vectorize/aliases.go index 47fc7163a7b..0b9c2202242 100644 --- a/vectorize/aliases.go +++ b/vectorize/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/waiting_rooms/aliases.go b/waiting_rooms/aliases.go index 1b024879394..c381b03702a 100644 --- a/waiting_rooms/aliases.go +++ b/waiting_rooms/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/warp_connector/aliases.go b/warp_connector/aliases.go index 3e589d981bb..e37a5d42ed7 100644 --- a/warp_connector/aliases.go +++ b/warp_connector/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/web3/aliases.go b/web3/aliases.go index bb2154b3cc3..7b1e8dff03e 100644 --- a/web3/aliases.go +++ b/web3/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/workers/aliases.go b/workers/aliases.go index 0d8d059b3dc..9e89d0589d1 100644 --- a/workers/aliases.go +++ b/workers/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/workers_for_platforms/aliases.go b/workers_for_platforms/aliases.go index bacdde305fc..90180c7c582 100644 --- a/workers_for_platforms/aliases.go +++ b/workers_for_platforms/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/zero_trust/aliases.go b/zero_trust/aliases.go index 81900c9af03..3755698bacb 100644 --- a/zero_trust/aliases.go +++ b/zero_trust/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type. diff --git a/zones/aliases.go b/zones/aliases.go index 5be6de20384..aec3691d33b 100644 --- a/zones/aliases.go +++ b/zones/aliases.go @@ -127,6 +127,71 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI // This is an alias to an internal type. type ErrorData = shared.ErrorData +// This is an alias to an internal type. +type Member = shared.Member + +// This is an alias to an internal type. +type MemberPolicy = shared.MemberPolicy + +// Allow or deny operations against the resources. +// +// This is an alias to an internal type. +type MemberPoliciesAccess = shared.MemberPoliciesAccess + +// This is an alias to an internal value. +const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow + +// This is an alias to an internal value. +const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny + +// A named group of permissions that map to a group of operations against +// resources. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + +// Attributes associated to the permission group. +// +// This is an alias to an internal type. +type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + +// A group of scoped resources. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + +// A scope is a combination of scope objects which provides additional context. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + +// A scope object represents any resource that can have actions applied against +// invite. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + +// Attributes associated to the resource group. +// +// This is an alias to an internal type. +type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + +// A member's status in the account. +// +// This is an alias to an internal type. +type MemberStatus = shared.MemberStatus + +// This is an alias to an internal value. +const MemberStatusAccepted = shared.MemberStatusAccepted + +// This is an alias to an internal value. +const MemberStatusPending = shared.MemberStatusPending + +// Details of the user associated to the membership. +// +// This is an alias to an internal type. +type MemberUser = shared.MemberUser + // This is an alias to an internal type. type Permission = shared.Permission @@ -149,6 +214,18 @@ type RatePlanParam = shared.RatePlanParam // This is an alias to an internal type. type ResponseInfo = shared.ResponseInfo +// This is an alias to an internal type. +type Role = shared.Role + +// This is an alias to an internal type. +type RolePermissions = shared.RolePermissions + +// This is an alias to an internal type. +type RoleParam = shared.RoleParam + +// This is an alias to an internal type. +type RolePermissionsParam = shared.RolePermissionsParam + // Direction to order DNS records in. // // This is an alias to an internal type.