declare namespace EDMX { type MaybeArray = T | T[]; export type String = string; type InstancePath = { _text: string; }; type Boolean = boolean; type Byte = number; type Int16 = number; type Int32 = number; type Int64 = number; type Time = string; type Binary = string; type Decimal = number; type Double = number; type Date = string; type Guid = any; type Duration = any; type DateTimeOffset = any; type ComplexType = { Property: MaybeArray; NavigationProperty: MaybeArray; _attributes: { Name: string; }; }; type TypeDefinition = { _attributes: { Name: string; UnderlyingType: string; }; }; type GeographyPoint = any; type ModelPath = { _text: string; }; export interface Edmx { 'edmx:Edmx': { 'edmx:DataServices': { Schema: Schema; }; 'edmx:Reference': MaybeArray; _attributes: { Version: string; }; }; } export interface ReferenceInclude { _attributes: { Alias: string; Namespace: string; }; } export interface Reference { _attributes: { Uri: string; }; 'edmx:Include': ReferenceInclude; } export interface EntityContainer { _attributes: { Name: string; }; EntitySet: MaybeArray; Singleton: MaybeArray; AssociationSet?: MaybeArray; FunctionImport?: MaybeArray; ActionImport: MaybeArray; } export interface ActionReturnType { _attributes: { Type: string; }; } export interface ActionParameter { _attributes: { Name: string; Type: string; }; } export interface FunctionImportParameter { _attributes: { Name: string; Type: string; Mode: string; Nullable: string; MaxLength: string; }; } export interface FunctionImport { _attributes: { Name: string; ReturnType: string; EntitySet: string; }; Parameter: MaybeArray; } export interface Action { _attributes: { Name: string; IsBound: string; EntitySetPath: string; }; Parameter: MaybeArray; ReturnType: ActionReturnType; } export interface Function { _attributes: { Name: string; IsBound: string; EntitySetPath: string; }; Parameter: MaybeArray; ReturnType: ActionReturnType; } export interface Schema { Annotations?: MaybeArray; EntityType?: MaybeArray; ComplexType?: MaybeArray; TypeDefinition?: MaybeArray; EntityContainer: EntityContainer; Action?: MaybeArray; Function?: MaybeArray; Association?: MaybeArray; _attributes: { Namespace: string; Alias: string; }; } export interface PropertyValue { _attributes: InlineExpression & { Property: string; }; Annotation?: Annotation[]; } export interface RecordExpression { PropertyValue?: MaybeArray; Annotation?: MaybeArray; _attributes: { Type: string; }; } export interface Association { _attributes: { Name: string; }; End?: AssociationEnd[]; ReferentialConstraint?: MaybeArray; } export interface AssociationEnd { _attributes: { Role: string; Multiplicity: string; Type: string; }; } export interface EntityType { Key: { PropertyRef: MaybeArray; }; Property: MaybeArray; NavigationProperty: MaybeArray; _attributes: { Name: string; }; } export interface NavigationPropertyBinding { _attributes: { Path: string; Target: string; }; } export interface EntitySet { NavigationPropertyBinding: MaybeArray; _attributes: { Name: string; EntityType: string; }; } export interface Singleton { NavigationPropertyBinding: MaybeArray; _attributes: { Name: string; Type: string; Nullable: string; }; } export interface AssociationSet { _attributes: { Name: string; Association: string; }; End?: AssociationSetEnd[]; } export interface AssociationSetEnd { _attributes: { Role: string; EntitySet: string; }; } export interface ActionImport { _attributes: { Name: string; Action: string; EntitySet: string; }; } export interface PropertyRef { _attributes: { Name: string; }; } export interface Property { _attributes: { Name: string; Type: string; Nullable: string; DefaultValue: string; MaxLength: string; Precision: string; Scale: string; }; } export type NavigationPropertyAttributesV2 = { Name: string; Relationship: string; ToRole: string; FromRole: string; }; export type NavigationPropertyAttributesV4 = { Name: string; Type: string; Partner: string; ContainsTarget: string; }; export interface NavigationProperty { _attributes: NavigationPropertyAttributesV2 | NavigationPropertyAttributesV4; ReferentialConstraint?: ReferentialConstraint; } export interface ReferentialConstraint { _attributes: { Property: string; ReferencedProperty: string; }; } export interface V2ReferentialConstraint { Dependent: { PropertyRef: { _attributes: { Name: string; }; }; _attributes: { Role: string; }; }; Principal: { PropertyRef: { _attributes: { Name: string; }; }; _attributes: { Role: string; }; }; } export type BinaryWrapper = Record<'Binary', Binary>; export type BoolWrapper = Record<'Bool', string>; export type DateWrapperWrapper = Record<'Date', Date>; export type DateTimeOffsetWrapper = Record<'DateTimeOffset', any>; export type DecimalWrapper = Record<'Decimal', string>; export type DurationWrapper = Record<'Duration', any>; export type EnumMemberWrapper = Record<'EnumMember', string>; export type FloatWrapper = Record<'Float', number>; export type GuidWrapper = Record<'Guid', any>; export type IntWrapper = Record<'Int', string>; export type StringWrapper = Record<'String', string>; export type TimeOfDayWrapper = Record<'TimeOfDay', Time>; export type AnnotationPathWrapper = Record<'AnnotationPath', ModelPath>; export type AnnotationPathInlineWrapper = Record<'AnnotationPath', string>; export type ModelElementPathWrapper = Record<'ModelElementPath', ModelPath>; export type NavigationPropertyPathWrapper = Record<'NavigationPropertyPath', ModelPath>; export type NavigationPropertyPathInlineWrapper = Record<'NavigationPropertyPath', string>; export type PathWrapper = Record<'Path', InstancePath>; export type PathInlineWrapper = Record<'Path', string>; export type PropertyPathWrapper = Record<'PropertyPath', ModelPath>; export type PropertyPathInlineWrapper = Record<'PropertyPath', string>; export type UrlRefWrapper = Record<'UrlRef', URL>; export type RecordWrapper = Record<'Record', RecordExpression>; export type CollectionWrapper = Record<'Collection', CollectionExpression>; export type ApplyWrapper = Record<'Apply', ApplyExpression>; // // #SupplierActivity-change?SupplierActivity={RSP} // // export type ApplyExpression = any; export type InlineExpression = Partial< BinaryWrapper & BoolWrapper & DateWrapperWrapper & DateTimeOffsetWrapper & DecimalWrapper & DurationWrapper & EnumMemberWrapper & FloatWrapper & GuidWrapper & IntWrapper & StringWrapper & TimeOfDayWrapper & AnnotationPathInlineWrapper & ModelElementPathWrapper & NavigationPropertyPathInlineWrapper & PathInlineWrapper & PropertyPathInlineWrapper & UrlRefWrapper & RecordWrapper & ApplyWrapper & CollectionWrapper >; export type Expression = Partial< BinaryWrapper & BoolWrapper & DateWrapperWrapper & DateTimeOffsetWrapper & DecimalWrapper & DurationWrapper & EnumMemberWrapper & FloatWrapper & GuidWrapper & IntWrapper & StringWrapper & TimeOfDayWrapper & AnnotationPathWrapper & ModelElementPathWrapper & NavigationPropertyPathWrapper & PathWrapper & PropertyPathWrapper & UrlRefWrapper & RecordWrapper & ApplyWrapper & CollectionWrapper > & T; export type BinaryCollectionWrapper = Record<'Binary', Binary[]>; export type BooleanCollectionWrapper = Record<'Boolean', Boolean[]>; export type DateCollectionWrapperCollectionWrapper = Record<'Date', Date[]>; export type DateTimeOffsetCollectionWrapper = Record<'DateTimeOffset', any[]>; export type DecimalCollectionWrapper = Record<'Decimal', number[]>; export type DurationCollectionWrapper = Record<'Duration', any[]>; export type EnumMemberCollectionWrapper = Record<'EnumMember', any[]>; export type FloatCollectionWrapper = Record<'Float', number[]>; export type GuidCollectionWrapper = Record<'Guid', any[]>; export type IntCollectionWrapper = Record<'Int', number[]>; export type StringCollectionWrapper = Record<'String', ModelPath[]>; export type IfCollectionWrapper = Record<'If', any[]>; export type TimeOfDayCollectionWrapper = Record<'TimeOfDay', Time[]>; export type AnnotationPathCollectionWrapper = Record<'AnnotationPath', ModelPath[]>; export type ModelElementPathCollectionWrapper = Record<'ModelElementPath', ModelPath[]>; export type NavigationPropertyPathCollectionWrapper = Record<'NavigationPropertyPath', ModelPath[]>; export type PathCollectionWrapper = Record<'Path', ModelPath[]>; export type PropertyPathCollectionWrapper = Record<'PropertyPath', ModelPath[]>; export type UrlRefCollectionWrapper = Record<'UrlRef', URL[]>; export type RecordCollectionWrapper = Record<'Record', RecordExpression[]>; export type CollectionExpression = | BinaryCollectionWrapper | BooleanCollectionWrapper | DateCollectionWrapperCollectionWrapper | DateTimeOffsetCollectionWrapper | DecimalCollectionWrapper | DurationCollectionWrapper | EnumMemberCollectionWrapper | FloatCollectionWrapper | GuidCollectionWrapper | IntCollectionWrapper | StringCollectionWrapper | TimeOfDayCollectionWrapper | AnnotationPathCollectionWrapper | ModelElementPathCollectionWrapper | NavigationPropertyPathCollectionWrapper | PathCollectionWrapper | PropertyPathCollectionWrapper | UrlRefCollectionWrapper | RecordCollectionWrapper; export type AnnotationAttribute = { _attributes: { Term: string; Qualifier?: string; } & InlineExpression; }; export type Annotation = Expression & { Annotation: Annotation[]; }; export interface AnnotationCollection { Record: MaybeArray; PropertyPath: { _text: string; }; Path: MaybeArray; } export type AnnotationPropertyPath = string; export interface AnnotationProperties { Path?: string; PropertyPath?: string; AnnotationPath?: string; NavigationPropertyPath?: string; String?: string; Bool?: string; EnumMember?: string; Decimal?: string; } export interface AnnotationList { _attributes: { Target: string; }; Annotation: MaybeArray; } } declare module '@sap-ux/vocabularies/EDMX' { export = EDMX; }