package models

type ObjectAccess struct {
	Create     bool
	Read       bool
	Update     bool
	Delete     bool
	Deactivate bool
}

type FieldAccess struct {
	Createable bool
	Updateable bool
	Readable   bool
}

type RecordTypeAvailability struct {
	ID            string
	DeveloperName string
	Name          string
	Available     bool
	Master        bool
	Default       bool
}

type EffectiveObjectAccess struct {
	Object                 ObjectAccess
	Fields                 map[string]FieldAccess
	RecordTypes            []RecordTypeAvailability
	DefaultRecordTypeID    string
	HasConcreteRecordTypes bool
	AvailableConcreteCount int
}
