@sap-ux/vocabularies-types
Advanced tools
Comparing version 0.8.0 to 0.9.0
@@ -121,3 +121,4 @@ import type { AnnotationList, FullyQualifiedName, RawAnnotation, SimpleIdentifier } from './BaseEdm'; | ||
}; | ||
export type PropertyAnnotationValue<P> = P | PathAnnotationExpression<P> | ApplyAnnotationExpression<P> | AndAnnotationExpression<P> | OrAnnotationExpression<P> | EqAnnotationExpression<P> | NeAnnotationExpression<P> | NotAnnotationExpression<P> | GtAnnotationExpression<P> | GeAnnotationExpression<P> | LtAnnotationExpression<P> | LeAnnotationExpression<P> | IfAnnotationExpression<P>; | ||
export type PropertyAnnotationValue<P> = DynamicAnnotationExpression<P>; | ||
export type DynamicAnnotationExpression<P> = PathAnnotationExpression<P> | ApplyAnnotationExpression<P> | AndAnnotationExpression<P> | OrAnnotationExpression<P> | EqAnnotationExpression<P> | NeAnnotationExpression<P> | NotAnnotationExpression<P> | GtAnnotationExpression<P> | GeAnnotationExpression<P> | LtAnnotationExpression<P> | LeAnnotationExpression<P> | IfAnnotationExpression<P>; | ||
export type IDecimal = { | ||
@@ -146,3 +147,2 @@ isDecimal(): boolean; | ||
export type PrimitiveType = Binary | Boolean | Byte | Date | DateTimeOffset | Decimal | Double | Duration | Guid | Int16 | Int32 | Int64 | String | GeographyPoint; | ||
export type EnumValue<P> = P | PathAnnotationExpression<P> | ApplyAnnotationExpression<P> | IfAnnotationExpression<P>; | ||
export type String = InstanceType<StringConstructor>; | ||
@@ -149,0 +149,0 @@ export type Boolean = InstanceType<BooleanConstructor>; |
{ | ||
"name": "@sap-ux/vocabularies-types", | ||
"version": "0.8.0", | ||
"version": "0.9.0", | ||
"description": "SAP Fiori OData - TS types for vocabularies", | ||
@@ -24,3 +24,3 @@ "repository": { | ||
"@types/mkdirp": "1.0.2", | ||
"axios": "0.26.1", | ||
"axios": "0.27.2", | ||
"mkdirp": "1.0.4" | ||
@@ -27,0 +27,0 @@ }, |
@@ -5,3 +5,2 @@ import * as Core from "./Core"; | ||
import AnnotationTerm = Edm.AnnotationTerm; | ||
import PropertyAnnotationValue = Edm.PropertyAnnotationValue; | ||
import ComplexType = Edm.RecordComplexType; | ||
@@ -25,7 +24,7 @@ /** | ||
*/ | ||
Transformations: PropertyAnnotationValue<Edm.String[]>; | ||
Transformations: Edm.String[]; | ||
/** | ||
Qualified names of custom aggregation methods that can be used in `aggregate(...with...)` | ||
*/ | ||
CustomAggregationMethods: PropertyAnnotationValue<Edm.String[]>; | ||
CustomAggregationMethods: Edm.String[]; | ||
/** | ||
@@ -41,3 +40,3 @@ The service supports rollup hierarchies in a `groupby` transformation | ||
*/ | ||
PropertyRestrictions: PropertyAnnotationValue<Edm.Boolean>; | ||
PropertyRestrictions: Edm.Boolean; | ||
/** | ||
@@ -97,2 +96,25 @@ A non-empty collection indicates that only the listed properties of the annotated target are supported by the `groupby` transformation | ||
} | ||
export declare const enum RollupTypeValues { | ||
/** | ||
No support for `rollup` or `rollupall` | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
None = 0, | ||
/** | ||
Only one `rollup` or `rollupall` operator per `groupby` | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
SingleHierarchy = 1, | ||
/** | ||
Full support for `rollup` and `rollupall` | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
MultipleHierarchies = 2 | ||
} | ||
/** | ||
@@ -103,3 +125,3 @@ This property can be used in the `groupby` transformation | ||
term: AggregationAnnotationTerms.Groupable; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -110,3 +132,3 @@ This property can be used in the `aggregate` transformation | ||
term: AggregationAnnotationTerms.Aggregatable; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -117,3 +139,3 @@ Dynamic property that can be used in the `aggregate` transformation | ||
term: AggregationAnnotationTerms.CustomAggregate; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -208,7 +230,7 @@ The annotated property or custom aggregate is only well-defined in the context of these properties | ||
*/ | ||
Name: PropertyAnnotationValue<Edm.String>; | ||
Name: Edm.String; | ||
/** | ||
Qualified name of a primitive type. The aggregated value will be of that type | ||
*/ | ||
Type: PropertyAnnotationValue<Edm.String>; | ||
Type: Edm.String; | ||
}; | ||
@@ -215,0 +237,0 @@ export declare const enum AggregationAnnotationTerms { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AggregationAnnotationTypes = exports.AggregationAnnotationTerms = exports.RollupType = void 0; | ||
exports.AggregationAnnotationTypes = exports.AggregationAnnotationTerms = exports.RollupTypeValues = exports.RollupType = void 0; | ||
// EnumType | ||
@@ -32,2 +32,26 @@ /** | ||
})(RollupType = exports.RollupType || (exports.RollupType = {})); | ||
var RollupTypeValues; | ||
(function (RollupTypeValues) { | ||
/** | ||
No support for `rollup` or `rollupall` | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
RollupTypeValues[RollupTypeValues["None"] = 0] = "None"; | ||
/** | ||
Only one `rollup` or `rollupall` operator per `groupby` | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
RollupTypeValues[RollupTypeValues["SingleHierarchy"] = 1] = "SingleHierarchy"; | ||
/** | ||
Full support for `rollup` and `rollupall` | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
RollupTypeValues[RollupTypeValues["MultipleHierarchies"] = 2] = "MultipleHierarchies"; | ||
})(RollupTypeValues = exports.RollupTypeValues || (exports.RollupTypeValues = {})); | ||
var AggregationAnnotationTerms; | ||
@@ -34,0 +58,0 @@ (function (AggregationAnnotationTerms) { |
@@ -5,3 +5,2 @@ import * as Core from "./Core"; | ||
import AnnotationTerm = Edm.AnnotationTerm; | ||
import PropertyAnnotationValue = Edm.PropertyAnnotationValue; | ||
import ComplexType = Edm.RecordComplexType; | ||
@@ -13,3 +12,3 @@ /** | ||
term: AnalyticsAnnotationTerms.Dimension; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -20,3 +19,3 @@ A property holding the numeric value of a measure in an analytical context | ||
term: AnalyticsAnnotationTerms.Measure; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -27,3 +26,3 @@ The measure has non-negative and additive values; it can be used in whole-part charts, e.g. the Donut | ||
term: AnalyticsAnnotationTerms.AccumulativeMeasure; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -43,3 +42,3 @@ Number of properties in the entity instance that have been aggregated away | ||
term: AnalyticsAnnotationTerms.DrillURL; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -51,3 +50,3 @@ Processes or generates plan data. Its logic may have side-effects on entity sets. | ||
term: AnalyticsAnnotationTerms.PlanningAction; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -54,0 +53,0 @@ Dynamic properties for aggregate expressions with specified aggregation method defined on the annotated entity type. |
import * as Edm from "../Edm"; | ||
import AnnotationTerm = Edm.AnnotationTerm; | ||
import PropertyAnnotationValue = Edm.PropertyAnnotationValue; | ||
import ComplexType = Edm.RecordComplexType; | ||
@@ -20,3 +19,3 @@ /** | ||
*/ | ||
RequiredScopes: PropertyAnnotationValue<Edm.String[]>; | ||
RequiredScopes: Edm.String[]; | ||
}; | ||
@@ -37,7 +36,7 @@ /** | ||
*/ | ||
Name: PropertyAnnotationValue<Edm.String>; | ||
Name: Edm.String; | ||
/** | ||
Description of the authorization scheme | ||
*/ | ||
Description?: PropertyAnnotationValue<Edm.String>; | ||
Description?: Edm.String; | ||
}; | ||
@@ -49,3 +48,3 @@ export type OpenIDConnect = ComplexType & Omit<Authorization, '$Type'> & { | ||
*/ | ||
IssuerUrl: PropertyAnnotationValue<Edm.String>; | ||
IssuerUrl: Edm.String; | ||
}; | ||
@@ -57,7 +56,7 @@ export type Http = ComplexType & Omit<Authorization, '$Type'> & { | ||
*/ | ||
Scheme: PropertyAnnotationValue<Edm.String>; | ||
Scheme: Edm.String; | ||
/** | ||
Format of the bearer token | ||
*/ | ||
BearerFormat?: PropertyAnnotationValue<Edm.String>; | ||
BearerFormat?: Edm.String; | ||
}; | ||
@@ -73,3 +72,3 @@ export type OAuthAuthorization = ComplexType & Omit<Authorization, '$Type'> & { | ||
*/ | ||
RefreshUrl?: PropertyAnnotationValue<Edm.String>; | ||
RefreshUrl?: Edm.String; | ||
}; | ||
@@ -81,3 +80,3 @@ export type OAuth2ClientCredentials = ComplexType & Omit<OAuthAuthorization, '$Type'> & { | ||
*/ | ||
TokenUrl: PropertyAnnotationValue<Edm.String>; | ||
TokenUrl: Edm.String; | ||
}; | ||
@@ -89,3 +88,3 @@ export type OAuth2Implicit = ComplexType & Omit<OAuthAuthorization, '$Type'> & { | ||
*/ | ||
AuthorizationUrl: PropertyAnnotationValue<Edm.String>; | ||
AuthorizationUrl: Edm.String; | ||
}; | ||
@@ -97,3 +96,3 @@ export type OAuth2Password = ComplexType & Omit<OAuthAuthorization, '$Type'> & { | ||
*/ | ||
TokenUrl: PropertyAnnotationValue<Edm.String>; | ||
TokenUrl: Edm.String; | ||
}; | ||
@@ -105,7 +104,7 @@ export type OAuth2AuthCode = ComplexType & Omit<OAuthAuthorization, '$Type'> & { | ||
*/ | ||
AuthorizationUrl: PropertyAnnotationValue<Edm.String>; | ||
AuthorizationUrl: Edm.String; | ||
/** | ||
Token Url | ||
*/ | ||
TokenUrl: PropertyAnnotationValue<Edm.String>; | ||
TokenUrl: Edm.String; | ||
}; | ||
@@ -117,11 +116,11 @@ export type AuthorizationScope = ComplexType & { | ||
*/ | ||
Scope: PropertyAnnotationValue<Edm.String>; | ||
Scope: Edm.String; | ||
/** | ||
Identity that has access to the scope or can grant access to the scope. | ||
*/ | ||
Grant?: PropertyAnnotationValue<Edm.String>; | ||
Grant?: Edm.String; | ||
/** | ||
Description of the scope | ||
*/ | ||
Description: PropertyAnnotationValue<Edm.String>; | ||
Description: Edm.String; | ||
}; | ||
@@ -133,3 +132,3 @@ export type ApiKey = ComplexType & Omit<Authorization, '$Type'> & { | ||
*/ | ||
KeyName: PropertyAnnotationValue<Edm.String>; | ||
KeyName: Edm.String; | ||
/** | ||
@@ -163,2 +162,25 @@ Whether the API Key is passed in the header or as a query option | ||
} | ||
export declare const enum KeyLocationValues { | ||
/** | ||
API Key is passed in the header | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
Header = 0, | ||
/** | ||
API Key is passed as a query option | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
QueryOption = 1, | ||
/** | ||
API Key is passed as a cookie | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
Cookie = 2 | ||
} | ||
/** | ||
@@ -165,0 +187,0 @@ The name of the authorization scheme. |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AuthAnnotationTypes = exports.AuthAnnotationTerms = exports.KeyLocation = void 0; | ||
exports.AuthAnnotationTypes = exports.AuthAnnotationTerms = exports.KeyLocationValues = exports.KeyLocation = void 0; | ||
// EnumType | ||
@@ -29,2 +29,26 @@ var KeyLocation; | ||
})(KeyLocation = exports.KeyLocation || (exports.KeyLocation = {})); | ||
var KeyLocationValues; | ||
(function (KeyLocationValues) { | ||
/** | ||
API Key is passed in the header | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
KeyLocationValues[KeyLocationValues["Header"] = 0] = "Header"; | ||
/** | ||
API Key is passed as a query option | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
KeyLocationValues[KeyLocationValues["QueryOption"] = 1] = "QueryOption"; | ||
/** | ||
API Key is passed as a cookie | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
KeyLocationValues[KeyLocationValues["Cookie"] = 2] = "Cookie"; | ||
})(KeyLocationValues = exports.KeyLocationValues || (exports.KeyLocationValues = {})); | ||
var AuthAnnotationTerms; | ||
@@ -31,0 +55,0 @@ (function (AuthAnnotationTerms) { |
@@ -6,3 +6,2 @@ import * as Auth from "./Auth"; | ||
import PropertyAnnotationValue = Edm.PropertyAnnotationValue; | ||
import EnumValue = Edm.EnumValue; | ||
import ComplexType = Edm.RecordComplexType; | ||
@@ -12,3 +11,3 @@ /** | ||
*/ | ||
export type ConformanceLevel = EnumValue<ConformanceLevelType>; | ||
export type ConformanceLevel = ConformanceLevelType | ConformanceLevelTypeValues; | ||
export declare const enum ConformanceLevelType { | ||
@@ -37,2 +36,25 @@ /** | ||
} | ||
export declare const enum ConformanceLevelTypeValues { | ||
/** | ||
Minimal conformance level | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
Minimal = 0, | ||
/** | ||
Intermediate conformance level | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
Intermediate = 1, | ||
/** | ||
Advanced conformance level | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
Advanced = 2 | ||
} | ||
/** | ||
@@ -43,3 +65,3 @@ Media types of supported formats, including format parameters | ||
term: CapabilitiesAnnotationTerms.SupportedFormats; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String[]>>; | ||
} & AnnotationTerm<Edm.String[]>; | ||
/** | ||
@@ -50,3 +72,3 @@ Media types of supported formats for $metadata, including format parameters | ||
term: CapabilitiesAnnotationTerms.SupportedMetadataFormats; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String[]>>; | ||
} & AnnotationTerm<Edm.String[]>; | ||
/** | ||
@@ -57,3 +79,3 @@ List of acceptable compression methods for ($batch) requests, e.g. gzip | ||
term: CapabilitiesAnnotationTerms.AcceptableEncodings; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String[]>>; | ||
} & AnnotationTerm<Edm.String[]>; | ||
/** | ||
@@ -64,3 +86,3 @@ Service supports the asynchronous request preference | ||
term: CapabilitiesAnnotationTerms.AsynchronousRequestsSupported; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -71,7 +93,7 @@ Service supports the continue on error preference. Supports $batch requests. Services that apply the BatchContinueOnErrorSupported term should also specify the ContinueOnErrorSupported property from the BatchSupport term. | ||
term: CapabilitiesAnnotationTerms.BatchContinueOnErrorSupported; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
Supported odata.isolation levels | ||
*/ | ||
export type IsolationSupported = EnumValue<IsolationLevel>[]; | ||
export type IsolationSupported = IsolationLevel | IsolationLevelValues[]; | ||
export declare const enum IsolationLevel { | ||
@@ -86,2 +108,11 @@ /** | ||
} | ||
export declare const enum IsolationLevelValues { | ||
/** | ||
All data returned for a request, including multiple requests within a batch or results retrieved across multiple pages, will be consistent as of a single point in time | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
Snapshot = 1 | ||
} | ||
/** | ||
@@ -92,3 +123,3 @@ Supports cross joins for the entity sets in this container | ||
term: CapabilitiesAnnotationTerms.CrossJoinSupported; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -115,11 +146,11 @@ Supports callbacks for the specified protocols | ||
*/ | ||
Id?: PropertyAnnotationValue<Edm.String>; | ||
Id?: Edm.String; | ||
/** | ||
URL Template including parameters. Parameters are enclosed in curly braces {} as defined in RFC6570 | ||
*/ | ||
UrlTemplate?: PropertyAnnotationValue<Edm.String>; | ||
UrlTemplate?: Edm.String; | ||
/** | ||
Human readable description of the meaning of the URL Template parameters | ||
*/ | ||
DocumentationUrl?: PropertyAnnotationValue<Edm.String>; | ||
DocumentationUrl?: Edm.String; | ||
}; | ||
@@ -137,3 +168,3 @@ /** | ||
*/ | ||
Supported: PropertyAnnotationValue<Edm.Boolean>; | ||
Supported: Edm.Boolean; | ||
/** | ||
@@ -159,3 +190,3 @@ Change tracking supports filters on these properties | ||
*/ | ||
Countable: PropertyAnnotationValue<Edm.Boolean>; | ||
Countable: Edm.Boolean; | ||
/** | ||
@@ -200,3 +231,3 @@ Members of these collection properties cannot be counted | ||
*/ | ||
FilterFunctions: PropertyAnnotationValue<Edm.String[]>; | ||
FilterFunctions: Edm.String[]; | ||
/** | ||
@@ -217,7 +248,7 @@ Restrictions on filter expressions | ||
*/ | ||
TopSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
TopSupported: Edm.Boolean; | ||
/** | ||
Supports $skip | ||
*/ | ||
SkipSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
SkipSupported: Edm.Boolean; | ||
/** | ||
@@ -230,3 +261,3 @@ Support for $select | ||
*/ | ||
IndexableByKey: PropertyAnnotationValue<Edm.Boolean>; | ||
IndexableByKey: Edm.Boolean; | ||
/** | ||
@@ -255,3 +286,3 @@ Restrictions on insert operations | ||
*/ | ||
OptimisticConcurrencyControl: PropertyAnnotationValue<Edm.Boolean>; | ||
OptimisticConcurrencyControl: Edm.Boolean; | ||
/** | ||
@@ -285,2 +316,25 @@ Restrictions for retrieving entities | ||
} | ||
export declare const enum NavigationTypeValues { | ||
/** | ||
Navigation properties can be recursively navigated | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
Recursive = 0, | ||
/** | ||
Navigation properties can be navigated to a single level | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
Single = 1, | ||
/** | ||
Navigation properties are not navigable | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
None = 2 | ||
} | ||
/** | ||
@@ -291,3 +345,3 @@ Supports key values according to OData URL conventions | ||
term: CapabilitiesAnnotationTerms.IndexableByKey; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -298,3 +352,3 @@ Supports $top | ||
term: CapabilitiesAnnotationTerms.TopSupported; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -305,3 +359,3 @@ Supports $skip | ||
term: CapabilitiesAnnotationTerms.SkipSupported; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -312,3 +366,3 @@ Supports $compute | ||
term: CapabilitiesAnnotationTerms.ComputeSupported; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -325,39 +379,39 @@ Support for $select and nested query options within $select | ||
*/ | ||
Supported: PropertyAnnotationValue<Edm.Boolean>; | ||
Supported: Edm.Boolean; | ||
/** | ||
Supports instance annotations in $select list | ||
*/ | ||
InstanceAnnotationsSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
InstanceAnnotationsSupported: Edm.Boolean; | ||
/** | ||
$expand within $select is supported | ||
*/ | ||
Expandable: PropertyAnnotationValue<Edm.Boolean>; | ||
Expandable: Edm.Boolean; | ||
/** | ||
$filter within $select is supported | ||
*/ | ||
Filterable: PropertyAnnotationValue<Edm.Boolean>; | ||
Filterable: Edm.Boolean; | ||
/** | ||
$search within $select is supported | ||
*/ | ||
Searchable: PropertyAnnotationValue<Edm.Boolean>; | ||
Searchable: Edm.Boolean; | ||
/** | ||
$top within $select is supported | ||
*/ | ||
TopSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
TopSupported: Edm.Boolean; | ||
/** | ||
$skip within $select is supported | ||
*/ | ||
SkipSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
SkipSupported: Edm.Boolean; | ||
/** | ||
$compute within $select is supported | ||
*/ | ||
ComputeSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
ComputeSupported: Edm.Boolean; | ||
/** | ||
$count within $select is supported | ||
*/ | ||
Countable: PropertyAnnotationValue<Edm.Boolean>; | ||
Countable: Edm.Boolean; | ||
/** | ||
$orderby within $select is supported | ||
*/ | ||
Sortable: PropertyAnnotationValue<Edm.Boolean>; | ||
Sortable: Edm.Boolean; | ||
}; | ||
@@ -369,3 +423,3 @@ /** | ||
term: CapabilitiesAnnotationTerms.BatchSupported; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -382,27 +436,27 @@ Batch Support for the service | ||
*/ | ||
Supported: PropertyAnnotationValue<Edm.Boolean>; | ||
Supported: Edm.Boolean; | ||
/** | ||
Service supports the continue on error preference | ||
*/ | ||
ContinueOnErrorSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
ContinueOnErrorSupported: Edm.Boolean; | ||
/** | ||
Service supports Content-ID referencing in request bodies | ||
*/ | ||
ReferencesInRequestBodiesSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
ReferencesInRequestBodiesSupported: Edm.Boolean; | ||
/** | ||
Service supports Content-ID referencing across change sets | ||
*/ | ||
ReferencesAcrossChangeSetsSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
ReferencesAcrossChangeSetsSupported: Edm.Boolean; | ||
/** | ||
Service supports referencing Etags from previous requests | ||
*/ | ||
EtagReferencesSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
EtagReferencesSupported: Edm.Boolean; | ||
/** | ||
Service supports the `if` member in JSON batch requests | ||
*/ | ||
RequestDependencyConditionsSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
RequestDependencyConditionsSupported: Edm.Boolean; | ||
/** | ||
Media types of supported formats for $batch | ||
*/ | ||
SupportedFormats: PropertyAnnotationValue<Edm.String[]>; | ||
SupportedFormats: Edm.String[]; | ||
}; | ||
@@ -414,3 +468,3 @@ /** | ||
term: CapabilitiesAnnotationTerms.FilterFunctions; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String[]>>; | ||
} & AnnotationTerm<Edm.String[]>; | ||
/** | ||
@@ -427,7 +481,7 @@ Restrictions on filter expressions | ||
*/ | ||
Filterable: PropertyAnnotationValue<Edm.Boolean>; | ||
Filterable: Edm.Boolean; | ||
/** | ||
$filter is required | ||
*/ | ||
RequiresFilter: PropertyAnnotationValue<Edm.Boolean>; | ||
RequiresFilter: Edm.Boolean; | ||
/** | ||
@@ -448,3 +502,3 @@ These properties must be specified in the $filter clause (properties of derived types are not allowed here) | ||
*/ | ||
MaxLevels: PropertyAnnotationValue<Edm.Int32>; | ||
MaxLevels: Edm.Int32; | ||
}; | ||
@@ -474,3 +528,3 @@ export type FilterExpressionRestrictionType = ComplexType & { | ||
*/ | ||
Sortable: PropertyAnnotationValue<Edm.Boolean>; | ||
Sortable: Edm.Boolean; | ||
/** | ||
@@ -500,7 +554,7 @@ These properties can only be used for sorting in Ascending order | ||
*/ | ||
Expandable: PropertyAnnotationValue<Edm.Boolean>; | ||
Expandable: Edm.Boolean; | ||
/** | ||
$expand is supported for stream properties and media streams | ||
*/ | ||
StreamsExpandable: PropertyAnnotationValue<Edm.Boolean>; | ||
StreamsExpandable: Edm.Boolean; | ||
/** | ||
@@ -517,3 +571,3 @@ These properties cannot be used in expand expressions | ||
*/ | ||
MaxLevels: PropertyAnnotationValue<Edm.Int32>; | ||
MaxLevels: Edm.Int32; | ||
}; | ||
@@ -531,3 +585,3 @@ /** | ||
*/ | ||
Searchable: PropertyAnnotationValue<Edm.Boolean>; | ||
Searchable: Edm.Boolean; | ||
/** | ||
@@ -582,2 +636,46 @@ Expressions not supported in $search | ||
} | ||
export declare const enum SearchExpressionsValues { | ||
/** | ||
Single search term | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
none = 0, | ||
/** | ||
Multiple search terms separated by `AND` | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
AND = 1, | ||
/** | ||
Multiple search terms separated by `OR` | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
OR = 2, | ||
/** | ||
Search terms preceded by `NOT` | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
NOT = 4, | ||
/** | ||
Search phrases enclosed in double quotes | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
phrase = 8, | ||
/** | ||
Precedence grouping of search expressions with parentheses | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
group = 16 | ||
} | ||
/** | ||
@@ -588,3 +686,3 @@ Supports [key-as-segment convention](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part2-url-conventions.html#sec_KeyasSegmentConvention) for addressing entities within a collection | ||
term: CapabilitiesAnnotationTerms.KeyAsSegmentSupported; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -595,3 +693,3 @@ Supports [passing query options in the request body](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part2-url-conventions.html#sec_PassingQueryOptionsintheRequestBody) | ||
term: CapabilitiesAnnotationTerms.QuerySegmentSupported; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -608,3 +706,3 @@ Restrictions on insert operations | ||
*/ | ||
Insertable: PropertyAnnotationValue<Edm.Boolean>; | ||
Insertable: Edm.Boolean; | ||
/** | ||
@@ -625,7 +723,7 @@ These structural properties cannot be specified on insert | ||
*/ | ||
MaxLevels: PropertyAnnotationValue<Edm.Int32>; | ||
MaxLevels: Edm.Int32; | ||
/** | ||
Entities of a specific derived type can be created by specifying a type-cast segment | ||
*/ | ||
TypecastSegmentSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
TypecastSegmentSupported: Edm.Boolean; | ||
/** | ||
@@ -650,7 +748,7 @@ Required permissions. One of the specified sets of scopes is required to perform the insert. | ||
*/ | ||
Description?: PropertyAnnotationValue<Edm.String>; | ||
Description?: Edm.String; | ||
/** | ||
A long description of the request | ||
*/ | ||
LongDescription?: PropertyAnnotationValue<Edm.String>; | ||
LongDescription?: Edm.String; | ||
/** | ||
@@ -677,7 +775,7 @@ Possible error responses returned by the request. | ||
*/ | ||
Scope: PropertyAnnotationValue<Edm.String>; | ||
Scope: Edm.String; | ||
/** | ||
Comma-separated string value of all properties that will be included or excluded when using the scope. | ||
*/ | ||
RestrictedProperties?: PropertyAnnotationValue<Edm.String>; | ||
RestrictedProperties?: Edm.String; | ||
}; | ||
@@ -695,7 +793,7 @@ /** | ||
*/ | ||
Supported: PropertyAnnotationValue<Edm.Boolean>; | ||
Supported: Edm.Boolean; | ||
/** | ||
Annotation target supports accepting and returning nested entities annotated with the `Core.ContentID` instance annotation. | ||
*/ | ||
ContentIDSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
ContentIDSupported: Edm.Boolean; | ||
}; | ||
@@ -717,7 +815,7 @@ /** | ||
*/ | ||
Upsertable: PropertyAnnotationValue<Edm.Boolean>; | ||
Upsertable: Edm.Boolean; | ||
/** | ||
Entities can be inserted, updated, and deleted via a PATCH request with a delta payload | ||
*/ | ||
DeltaUpdateSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
DeltaUpdateSupported: Edm.Boolean; | ||
/** | ||
@@ -730,7 +828,7 @@ Supported HTTP Methods (PUT or PATCH) for updating an entity. If null, PATCH SHOULD be supported and PUT MAY be supported. | ||
*/ | ||
FilterSegmentSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
FilterSegmentSupported: Edm.Boolean; | ||
/** | ||
Members of collections can be updated via a PATCH request with a type-cast segment and a `/$each` segment | ||
*/ | ||
TypecastSegmentSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
TypecastSegmentSupported: Edm.Boolean; | ||
/** | ||
@@ -751,3 +849,3 @@ These structural properties cannot be updated | ||
*/ | ||
MaxLevels: PropertyAnnotationValue<Edm.Int32>; | ||
MaxLevels: Edm.Int32; | ||
/** | ||
@@ -772,7 +870,7 @@ Required permissions. One of the specified sets of scopes is required to perform the update. | ||
*/ | ||
Description?: PropertyAnnotationValue<Edm.String>; | ||
Description?: Edm.String; | ||
/** | ||
A long description of the request | ||
*/ | ||
LongDescription?: PropertyAnnotationValue<Edm.String>; | ||
LongDescription?: Edm.String; | ||
/** | ||
@@ -834,2 +932,53 @@ Possible error responses returned by the request. | ||
} | ||
export declare const enum HttpMethodValues { | ||
/** | ||
The HTTP GET Method | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
GET = 1, | ||
/** | ||
The HTTP PATCH Method | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
PATCH = 2, | ||
/** | ||
The HTTP PUT Method | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
PUT = 4, | ||
/** | ||
The HTTP POST Method | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
POST = 8, | ||
/** | ||
The HTTP DELETE Method | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
DELETE = 16, | ||
/** | ||
The HTTP OPTIONS Method | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
OPTIONS = 32, | ||
/** | ||
The HTTP HEAD Method | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
HEAD = 64 | ||
} | ||
/** | ||
@@ -846,7 +995,7 @@ Deep Update Support of the annotated resource (the whole service, an entity set, or a collection-valued resource) | ||
*/ | ||
Supported: PropertyAnnotationValue<Edm.Boolean>; | ||
Supported: Edm.Boolean; | ||
/** | ||
Annotation target supports accepting and returning nested entities annotated with the `Core.ContentID` instance annotation. | ||
*/ | ||
ContentIDSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
ContentIDSupported: Edm.Boolean; | ||
}; | ||
@@ -872,11 +1021,11 @@ /** | ||
*/ | ||
MaxLevels: PropertyAnnotationValue<Edm.Int32>; | ||
MaxLevels: Edm.Int32; | ||
/** | ||
Members of collections can be deleted via a DELETE request with a `/$filter(...)/$each` segment | ||
*/ | ||
FilterSegmentSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
FilterSegmentSupported: Edm.Boolean; | ||
/** | ||
Members of collections can be deleted via a DELETE request with a type-cast segment and a `/$each` segment | ||
*/ | ||
TypecastSegmentSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
TypecastSegmentSupported: Edm.Boolean; | ||
/** | ||
@@ -897,7 +1046,7 @@ Required permissions. One of the specified sets of scopes is required to perform the delete. | ||
*/ | ||
Description?: PropertyAnnotationValue<Edm.String>; | ||
Description?: Edm.String; | ||
/** | ||
A long description of the request | ||
*/ | ||
LongDescription?: PropertyAnnotationValue<Edm.String>; | ||
LongDescription?: Edm.String; | ||
/** | ||
@@ -923,3 +1072,3 @@ Possible error responses returned by the request. | ||
*/ | ||
FilterFunctions: PropertyAnnotationValue<Edm.String[]>; | ||
FilterFunctions: Edm.String[]; | ||
/** | ||
@@ -940,7 +1089,7 @@ Restrictions on filter expressions | ||
*/ | ||
TopSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
TopSupported: Edm.Boolean; | ||
/** | ||
Supports $skip | ||
*/ | ||
SkipSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
SkipSupported: Edm.Boolean; | ||
/** | ||
@@ -953,11 +1102,11 @@ Support for $select | ||
*/ | ||
Insertable: PropertyAnnotationValue<Edm.Boolean>; | ||
Insertable: Edm.Boolean; | ||
/** | ||
Members of this ordered collection can be updated by ordinal | ||
*/ | ||
Updatable: PropertyAnnotationValue<Edm.Boolean>; | ||
Updatable: Edm.Boolean; | ||
/** | ||
Members of this ordered collection can be deleted by ordinal | ||
*/ | ||
Deletable: PropertyAnnotationValue<Edm.Boolean>; | ||
Deletable: Edm.Boolean; | ||
}; | ||
@@ -975,3 +1124,3 @@ /** | ||
*/ | ||
FilterSegmentSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
FilterSegmentSupported: Edm.Boolean; | ||
/** | ||
@@ -999,3 +1148,3 @@ Required permissions. One of the specified sets of scopes is required to invoke an action or function | ||
term: CapabilitiesAnnotationTerms.AnnotationValuesInQuerySupported; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -1012,23 +1161,23 @@ Support for query options with modification requests (insert, update, action invocation) | ||
*/ | ||
ExpandSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
ExpandSupported: Edm.Boolean; | ||
/** | ||
Supports $select with modification requests | ||
*/ | ||
SelectSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
SelectSupported: Edm.Boolean; | ||
/** | ||
Supports $compute with modification requests | ||
*/ | ||
ComputeSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
ComputeSupported: Edm.Boolean; | ||
/** | ||
Supports $filter with modification requests | ||
*/ | ||
FilterSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
FilterSupported: Edm.Boolean; | ||
/** | ||
Supports $search with modification requests | ||
*/ | ||
SearchSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
SearchSupported: Edm.Boolean; | ||
/** | ||
Supports $orderby with modification requests | ||
*/ | ||
SortSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
SortSupported: Edm.Boolean; | ||
}; | ||
@@ -1046,3 +1195,3 @@ /** | ||
*/ | ||
Readable: PropertyAnnotationValue<Edm.Boolean>; | ||
Readable: Edm.Boolean; | ||
/** | ||
@@ -1063,7 +1212,7 @@ Required permissions. One of the specified sets of scopes is required to read. | ||
*/ | ||
Description?: PropertyAnnotationValue<Edm.String>; | ||
Description?: Edm.String; | ||
/** | ||
A long description of the request | ||
*/ | ||
LongDescription?: PropertyAnnotationValue<Edm.String>; | ||
LongDescription?: Edm.String; | ||
/** | ||
@@ -1107,15 +1256,15 @@ Possible error responses returned by the request. | ||
*/ | ||
Name: PropertyAnnotationValue<Edm.String>; | ||
Name: Edm.String; | ||
/** | ||
Description of the custom parameter | ||
*/ | ||
Description?: PropertyAnnotationValue<Edm.String>; | ||
Description?: Edm.String; | ||
/** | ||
URL of related documentation | ||
*/ | ||
DocumentationURL?: PropertyAnnotationValue<Edm.String>; | ||
DocumentationURL?: Edm.String; | ||
/** | ||
true: parameter is required, false or not specified: parameter is optional | ||
*/ | ||
Required: PropertyAnnotationValue<Edm.Boolean>; | ||
Required: Edm.Boolean; | ||
/** | ||
@@ -1131,3 +1280,3 @@ Example values for the custom parameter | ||
term: CapabilitiesAnnotationTerms.MediaLocationUpdateSupported; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
export type HttpResponse = ComplexType & { | ||
@@ -1138,7 +1287,7 @@ $Type: CapabilitiesAnnotationTypes.HttpResponse; | ||
*/ | ||
StatusCode: PropertyAnnotationValue<Edm.String>; | ||
StatusCode: Edm.String; | ||
/** | ||
Human-readable description of the response | ||
*/ | ||
Description: PropertyAnnotationValue<Edm.String>; | ||
Description: Edm.String; | ||
}; | ||
@@ -1145,0 +1294,0 @@ export declare const enum CapabilitiesAnnotationTerms { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CapabilitiesAnnotationTypes = exports.CapabilitiesAnnotationTerms = exports.HttpMethod = exports.SearchExpressions = exports.NavigationType = exports.IsolationLevel = exports.ConformanceLevelType = void 0; | ||
exports.CapabilitiesAnnotationTypes = exports.CapabilitiesAnnotationTerms = exports.HttpMethodValues = exports.HttpMethod = exports.SearchExpressionsValues = exports.SearchExpressions = exports.NavigationTypeValues = exports.NavigationType = exports.IsolationLevelValues = exports.IsolationLevel = exports.ConformanceLevelTypeValues = exports.ConformanceLevelType = void 0; | ||
// EnumType | ||
@@ -29,2 +29,26 @@ var ConformanceLevelType; | ||
})(ConformanceLevelType = exports.ConformanceLevelType || (exports.ConformanceLevelType = {})); | ||
var ConformanceLevelTypeValues; | ||
(function (ConformanceLevelTypeValues) { | ||
/** | ||
Minimal conformance level | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
ConformanceLevelTypeValues[ConformanceLevelTypeValues["Minimal"] = 0] = "Minimal"; | ||
/** | ||
Intermediate conformance level | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
ConformanceLevelTypeValues[ConformanceLevelTypeValues["Intermediate"] = 1] = "Intermediate"; | ||
/** | ||
Advanced conformance level | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
ConformanceLevelTypeValues[ConformanceLevelTypeValues["Advanced"] = 2] = "Advanced"; | ||
})(ConformanceLevelTypeValues = exports.ConformanceLevelTypeValues || (exports.ConformanceLevelTypeValues = {})); | ||
// EnumType | ||
@@ -41,2 +65,12 @@ var IsolationLevel; | ||
})(IsolationLevel = exports.IsolationLevel || (exports.IsolationLevel = {})); | ||
var IsolationLevelValues; | ||
(function (IsolationLevelValues) { | ||
/** | ||
All data returned for a request, including multiple requests within a batch or results retrieved across multiple pages, will be consistent as of a single point in time | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
IsolationLevelValues[IsolationLevelValues["Snapshot"] = 1] = "Snapshot"; | ||
})(IsolationLevelValues = exports.IsolationLevelValues || (exports.IsolationLevelValues = {})); | ||
// EnumType | ||
@@ -67,2 +101,26 @@ var NavigationType; | ||
})(NavigationType = exports.NavigationType || (exports.NavigationType = {})); | ||
var NavigationTypeValues; | ||
(function (NavigationTypeValues) { | ||
/** | ||
Navigation properties can be recursively navigated | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
NavigationTypeValues[NavigationTypeValues["Recursive"] = 0] = "Recursive"; | ||
/** | ||
Navigation properties can be navigated to a single level | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
NavigationTypeValues[NavigationTypeValues["Single"] = 1] = "Single"; | ||
/** | ||
Navigation properties are not navigable | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
NavigationTypeValues[NavigationTypeValues["None"] = 2] = "None"; | ||
})(NavigationTypeValues = exports.NavigationTypeValues || (exports.NavigationTypeValues = {})); | ||
// EnumType | ||
@@ -114,2 +172,47 @@ var SearchExpressions; | ||
})(SearchExpressions = exports.SearchExpressions || (exports.SearchExpressions = {})); | ||
var SearchExpressionsValues; | ||
(function (SearchExpressionsValues) { | ||
/** | ||
Single search term | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
SearchExpressionsValues[SearchExpressionsValues["none"] = 0] = "none"; | ||
/** | ||
Multiple search terms separated by `AND` | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
SearchExpressionsValues[SearchExpressionsValues["AND"] = 1] = "AND"; | ||
/** | ||
Multiple search terms separated by `OR` | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
SearchExpressionsValues[SearchExpressionsValues["OR"] = 2] = "OR"; | ||
/** | ||
Search terms preceded by `NOT` | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
SearchExpressionsValues[SearchExpressionsValues["NOT"] = 4] = "NOT"; | ||
/** | ||
Search phrases enclosed in double quotes | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
SearchExpressionsValues[SearchExpressionsValues["phrase"] = 8] = "phrase"; | ||
/** | ||
Precedence grouping of search expressions with parentheses | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
SearchExpressionsValues[SearchExpressionsValues["group"] = 16] = "group"; | ||
})(SearchExpressionsValues = exports.SearchExpressionsValues || (exports.SearchExpressionsValues = {})); | ||
// EnumType | ||
@@ -168,2 +271,54 @@ var HttpMethod; | ||
})(HttpMethod = exports.HttpMethod || (exports.HttpMethod = {})); | ||
var HttpMethodValues; | ||
(function (HttpMethodValues) { | ||
/** | ||
The HTTP GET Method | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
HttpMethodValues[HttpMethodValues["GET"] = 1] = "GET"; | ||
/** | ||
The HTTP PATCH Method | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
HttpMethodValues[HttpMethodValues["PATCH"] = 2] = "PATCH"; | ||
/** | ||
The HTTP PUT Method | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
HttpMethodValues[HttpMethodValues["PUT"] = 4] = "PUT"; | ||
/** | ||
The HTTP POST Method | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
HttpMethodValues[HttpMethodValues["POST"] = 8] = "POST"; | ||
/** | ||
The HTTP DELETE Method | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
HttpMethodValues[HttpMethodValues["DELETE"] = 16] = "DELETE"; | ||
/** | ||
The HTTP OPTIONS Method | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
HttpMethodValues[HttpMethodValues["OPTIONS"] = 32] = "OPTIONS"; | ||
/** | ||
The HTTP HEAD Method | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
HttpMethodValues[HttpMethodValues["HEAD"] = 64] = "HEAD"; | ||
})(HttpMethodValues = exports.HttpMethodValues || (exports.HttpMethodValues = {})); | ||
var CapabilitiesAnnotationTerms; | ||
@@ -170,0 +325,0 @@ (function (CapabilitiesAnnotationTerms) { |
import * as Edm from "../Edm"; | ||
import AnnotationTerm = Edm.AnnotationTerm; | ||
import PropertyAnnotationValue = Edm.PropertyAnnotationValue; | ||
import ComplexType = Edm.RecordComplexType; | ||
@@ -25,7 +24,7 @@ /** | ||
*/ | ||
Url: PropertyAnnotationValue<Edm.String>; | ||
Url: Edm.String; | ||
/** | ||
Name of the entity set for the code list | ||
*/ | ||
CollectionPath: PropertyAnnotationValue<Edm.String>; | ||
CollectionPath: Edm.String; | ||
}; | ||
@@ -32,0 +31,0 @@ /** |
@@ -7,3 +7,2 @@ import * as Core from "./Core"; | ||
import PropertyAnnotationValue = Edm.PropertyAnnotationValue; | ||
import EnumValue = Edm.EnumValue; | ||
import ComplexType = Edm.RecordComplexType; | ||
@@ -15,3 +14,3 @@ /** | ||
term: CommonAnnotationTerms.Experimental; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -34,3 +33,3 @@ 1 for first version of a service, incremented when schema changes incompatibly and service is published with a different URI | ||
term: CommonAnnotationTerms.Label; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -41,3 +40,3 @@ A short, human-readable text suitable for column headings in UIs | ||
term: CommonAnnotationTerms.Heading; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -66,3 +65,3 @@ A short, human-readable text suitable for tool tips in UIs | ||
term: CommonAnnotationTerms.ExternalID; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -73,7 +72,7 @@ An identifier to distinguish multiple texts in different languages for the same entity | ||
term: CommonAnnotationTerms.IsLanguageIdentifier; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
The annotated property, parameter, or return type contains human-readable text that may contain formatting information | ||
*/ | ||
export type TextFormat = EnumValue<TextFormatType>; | ||
export type TextFormat = TextFormatType | TextFormatTypeValues; | ||
export declare const enum TextFormatType { | ||
@@ -95,2 +94,18 @@ /** | ||
} | ||
export declare const enum TextFormatTypeValues { | ||
/** | ||
Plain text, line breaks represented as the character 0x0A | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
plain = 0, | ||
/** | ||
Plain text with markup that can validly appear directly within an HTML DIV element | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
html = 1 | ||
} | ||
/** | ||
@@ -107,3 +122,3 @@ The point in time represented by the annotated property or parameter shall be interpreted in the given time zone | ||
term: CommonAnnotationTerms.IsTimezone; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -114,3 +129,3 @@ Contains only digits | ||
term: CommonAnnotationTerms.IsDigitSequence; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -121,3 +136,3 @@ Contains just uppercase characters | ||
term: CommonAnnotationTerms.IsUpperCase; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -128,3 +143,3 @@ Annotated property or parameter is a currency code | ||
term: CommonAnnotationTerms.IsCurrency; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -135,3 +150,3 @@ Annotated property or parameter is a unit of measure | ||
term: CommonAnnotationTerms.IsUnit; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -184,3 +199,3 @@ The number of fractional decimal digits of a currency amount or measured quantity | ||
term: CommonAnnotationTerms.Masked; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -191,3 +206,3 @@ Property contains sensitive data that is by default not transferred | ||
term: CommonAnnotationTerms.MaskedValue; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -223,3 +238,3 @@ Unmasked data for this property can be requested with custom query option `masked-values=false` | ||
*/ | ||
SemanticObjectProperty: PropertyAnnotationValue<Edm.String>; | ||
SemanticObjectProperty: Edm.String; | ||
}; | ||
@@ -231,3 +246,3 @@ /** | ||
term: CommonAnnotationTerms.SemanticObjectUnavailableActions; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String[]>>; | ||
} & AnnotationTerm<Edm.String[]>; | ||
/** | ||
@@ -238,3 +253,3 @@ Term can also be used as instance annotation; AppliesTo of this term specifies where it can be applied | ||
term: CommonAnnotationTerms.IsInstanceAnnotation; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -274,6 +289,29 @@ These properties only allow a subset of expressions | ||
} | ||
export declare const enum FilterExpressionTypeValues { | ||
/** | ||
a single 'eq' clause | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
SingleValue = 0, | ||
/** | ||
one or more 'eq' clauses, separated by 'or' | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
MultiValue = 1, | ||
/** | ||
at most one 'ge' and one 'le' clause, separated by 'and', alternatively a single 'eq' clause | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
SingleInterval = 2 | ||
} | ||
/** | ||
Control state of a property, parameter, or the media stream of a media entity | ||
*/ | ||
export type FieldControl = EnumValue<FieldControlType>; | ||
export type FieldControl = PropertyAnnotationValue<FieldControlType | FieldControlTypeValues>; | ||
/** | ||
@@ -329,2 +367,49 @@ Control state of a property | ||
} | ||
export declare const enum FieldControlTypeValues { | ||
/** | ||
Property is mandatory from a business perspective | ||
*/ | ||
/** | ||
A request that sets the property to its initial value or null fails entirely if this annotation is `Mandatory` in the after-image of the request. | ||
This annotation value does not imply any restrictions on the value range of the property. For restricting the value range use e.g. the standard type facet `Nullable` with a value of `false` to exclude the `null` value, or terms from the [Validation vocabulary](https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Validation.V1.md). | ||
*/ | ||
Mandatory = 7, | ||
/** | ||
Property may have a value | ||
*/ | ||
/** | ||
This value does not make sense as a static annotation value. | ||
*/ | ||
Optional = 3, | ||
/** | ||
Property value cannot be changed | ||
*/ | ||
/** | ||
A request to change the property to a value that differs from the before-image fails entirely | ||
according to [OData-Protocol, section 11.4.3](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_UpdateanEntity) | ||
if this annotation is given dynamically as `ReadOnly` in the before-image of the request. | ||
To statically mark a property as read-only use term [Core.Computed](https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Core.V1.md#Computed) instead. | ||
*/ | ||
ReadOnly = 1, | ||
/** | ||
Property has no meaning in the current entity state | ||
*/ | ||
/** | ||
A request that sets the property to a non-initial non-null value fails entirely if this annotation is `Inapplicable` in the after-image of the request. | ||
This value does not make sense as a static annotation value. | ||
Example for dynamic use: in a travel expense report the property `DestinationCountry` is inapplicable if trip type is domestic, and mandatory if trip type is international. | ||
*/ | ||
Inapplicable = 0, | ||
/** | ||
Deprecated synonym for Inapplicable, do not use | ||
*/ | ||
/** | ||
To statically hide a property on a UI use [UI.Hidden](UI.md#Hidden) instead | ||
*/ | ||
Hidden = 0 | ||
} | ||
/** | ||
@@ -335,3 +420,3 @@ A machine-readable exception category | ||
term: CommonAnnotationTerms.ExceptionCategory; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -348,15 +433,15 @@ ... | ||
*/ | ||
Component?: PropertyAnnotationValue<Edm.String>; | ||
Component?: Edm.String; | ||
/** | ||
... | ||
*/ | ||
ServiceRepository?: PropertyAnnotationValue<Edm.String>; | ||
ServiceRepository?: Edm.String; | ||
/** | ||
... | ||
*/ | ||
ServiceId?: PropertyAnnotationValue<Edm.String>; | ||
ServiceId?: Edm.String; | ||
/** | ||
... | ||
*/ | ||
ServiceVersion?: PropertyAnnotationValue<Edm.String>; | ||
ServiceVersion?: Edm.String; | ||
}; | ||
@@ -374,3 +459,3 @@ /** | ||
term: CommonAnnotationTerms.TransactionId; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -387,11 +472,11 @@ Hints for resolving this error | ||
*/ | ||
Analysis?: PropertyAnnotationValue<Edm.String>; | ||
Analysis?: Edm.String; | ||
/** | ||
Note for error resolution | ||
*/ | ||
Note?: PropertyAnnotationValue<Edm.String>; | ||
Note?: Edm.String; | ||
/** | ||
Additional note for error resolution | ||
*/ | ||
AdditionalNote?: PropertyAnnotationValue<Edm.String>; | ||
AdditionalNote?: Edm.String; | ||
}; | ||
@@ -409,3 +494,3 @@ /** | ||
term: CommonAnnotationTerms.additionalTargets; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String[]>>; | ||
} & AnnotationTerm<Edm.String[]>; | ||
/** | ||
@@ -416,3 +501,3 @@ Location of the message long text | ||
term: CommonAnnotationTerms.longtextUrl; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -423,3 +508,3 @@ Classifies an end-user message as info, success, warning, or error | ||
term: CommonAnnotationTerms.numericSeverity; | ||
} & AnnotationTerm<PropertyAnnotationValue<NumericMessageSeverityType>>; | ||
} & AnnotationTerm<NumericMessageSeverityType>; | ||
/** | ||
@@ -430,3 +515,3 @@ The maximum severity of all end-user messages attached to an entity, null if no messages are attached | ||
term: CommonAnnotationTerms.MaximumNumericMessageSeverity; | ||
} & AnnotationTerm<PropertyAnnotationValue<NumericMessageSeverityType>>; | ||
} & AnnotationTerm<NumericMessageSeverityType>; | ||
/** | ||
@@ -469,3 +554,3 @@ Classifies an end-user message as info, success, warning, or error | ||
*/ | ||
LowerBoundaryIncluded: PropertyAnnotationValue<Edm.Boolean>; | ||
LowerBoundaryIncluded: Edm.Boolean; | ||
/** | ||
@@ -478,3 +563,3 @@ Property holding the upper interval boundary | ||
*/ | ||
UpperBoundaryIncluded: PropertyAnnotationValue<Edm.Boolean>; | ||
UpperBoundaryIncluded: Edm.Boolean; | ||
}; | ||
@@ -488,3 +573,3 @@ /** | ||
term: CommonAnnotationTerms.ResultContext; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -504,3 +589,3 @@ The SAP Object Node Type represented by the annotated entity type | ||
*/ | ||
Name: PropertyAnnotationValue<Edm.String>; | ||
Name: Edm.String; | ||
}; | ||
@@ -512,3 +597,3 @@ /** | ||
term: CommonAnnotationTerms.Composition; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -519,3 +604,3 @@ The entity referenced by the annotated property has the [`SAPObjectNodeType`](#SAPObjectNodeType) with this name | ||
term: CommonAnnotationTerms.SAPObjectNodeTypeReference; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -526,3 +611,3 @@ The annotated entity type (e.g. `Employee`) or annotation (e.g. `IsImageUrl`) represents a natural person | ||
term: CommonAnnotationTerms.IsNaturalPerson; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -539,19 +624,19 @@ Specifies how to get a list of acceptable values for a property or parameter | ||
*/ | ||
Label?: PropertyAnnotationValue<Edm.String>; | ||
Label?: Edm.String; | ||
/** | ||
Resource path of an OData collection with possible values, relative to CollectionRoot | ||
*/ | ||
CollectionPath: PropertyAnnotationValue<Edm.String>; | ||
CollectionPath: Edm.String; | ||
/** | ||
Service root of the value list collection; not specified means local to the document containing the annotation | ||
*/ | ||
CollectionRoot?: PropertyAnnotationValue<Edm.String>; | ||
CollectionRoot?: Edm.String; | ||
/** | ||
Indicates that the value list supports a 'distinct' aggregation on the value list properties defined via ValueListParameterInOut and ValueListParameterOut | ||
*/ | ||
DistinctValuesSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
DistinctValuesSupported: Edm.Boolean; | ||
/** | ||
Value list supports the $search query option | ||
*/ | ||
SearchSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
SearchSupported: Edm.Boolean; | ||
/** | ||
@@ -589,3 +674,3 @@ Hint on when to fetch values | ||
term: CommonAnnotationTerms.ValueListWithFixedValues; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -596,3 +681,3 @@ Contains the qualifier of the ValueList or ValueListMapping that should be used for validation | ||
term: CommonAnnotationTerms.ValueListForValidation; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -603,3 +688,3 @@ A list of URLs of CSDL documents containing value list mappings for this parameter or property | ||
term: CommonAnnotationTerms.ValueListReferences; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String[]>>; | ||
} & AnnotationTerm<Edm.String[]>; | ||
/** | ||
@@ -616,11 +701,11 @@ Specifies the mapping between data service properties and value list properties | ||
*/ | ||
Label?: PropertyAnnotationValue<Edm.String>; | ||
Label?: Edm.String; | ||
/** | ||
Resource path of an OData collection with possible values, relative to the document containing the value list mapping | ||
*/ | ||
CollectionPath: PropertyAnnotationValue<Edm.String>; | ||
CollectionPath: Edm.String; | ||
/** | ||
Indicates that the value list supports a 'distinct' aggregation on the value list properties defined via ValueListParameterInOut and ValueListParameterOut | ||
*/ | ||
DistinctValuesSupported: PropertyAnnotationValue<Edm.Boolean>; | ||
DistinctValuesSupported: Edm.Boolean; | ||
/** | ||
@@ -648,3 +733,3 @@ Hint on when to fetch values | ||
*/ | ||
ValueListProperty: PropertyAnnotationValue<Edm.String>; | ||
ValueListProperty: Edm.String; | ||
}; | ||
@@ -660,3 +745,3 @@ export type ValueListParameterIn = ComplexType & Omit<ValueListParameter, '$Type'> & { | ||
*/ | ||
InitialValueIsSignificant: PropertyAnnotationValue<Edm.Boolean>; | ||
InitialValueIsSignificant: Edm.Boolean; | ||
}; | ||
@@ -668,7 +753,7 @@ export type ValueListParameterConstant = ComplexType & Omit<ValueListParameter, '$Type'> & { | ||
*/ | ||
Constant: PropertyAnnotationValue<Edm.PrimitiveType>; | ||
Constant: Edm.PrimitiveType; | ||
/** | ||
Initial value, e.g. empty string, is a valid and significant value | ||
*/ | ||
InitialValueIsSignificant: PropertyAnnotationValue<Edm.Boolean>; | ||
InitialValueIsSignificant: Edm.Boolean; | ||
}; | ||
@@ -684,3 +769,3 @@ export type ValueListParameterInOut = ComplexType & Omit<ValueListParameter, '$Type'> & { | ||
*/ | ||
InitialValueIsSignificant: PropertyAnnotationValue<Edm.Boolean>; | ||
InitialValueIsSignificant: Edm.Boolean; | ||
}; | ||
@@ -713,3 +798,3 @@ export type ValueListParameterOut = ComplexType & Omit<ValueListParameter, '$Type'> & { | ||
term: CommonAnnotationTerms.IsCalendarYear; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -722,3 +807,3 @@ Property encodes a halfyear number as string following the logical pattern H consisting of a single digit. | ||
term: CommonAnnotationTerms.IsCalendarHalfyear; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -731,3 +816,3 @@ Property encodes a calendar quarter number as string following the logical pattern Q consisting of a single digit. | ||
term: CommonAnnotationTerms.IsCalendarQuarter; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -740,3 +825,3 @@ Property encodes a calendar month number as string following the logical pattern MM consisting of two digits. | ||
term: CommonAnnotationTerms.IsCalendarMonth; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -749,3 +834,3 @@ Property encodes a calendar week number as string following the logical pattern WW consisting of two digits. | ||
term: CommonAnnotationTerms.IsCalendarWeek; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -757,3 +842,3 @@ Day number relative to a calendar month. Valid values are between 1 and 31. | ||
term: CommonAnnotationTerms.IsDayOfCalendarMonth; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -765,3 +850,3 @@ Day number relative to a calendar year. Valid values are between 1 and 366. | ||
term: CommonAnnotationTerms.IsDayOfCalendarYear; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -775,3 +860,3 @@ Property encodes a calendar year and halfyear as string following the logical pattern (-?)YYYY(Y*)H consisting | ||
term: CommonAnnotationTerms.IsCalendarYearHalfyear; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -785,3 +870,3 @@ Property encodes a calendar year and quarter as string following the logical pattern (-?)YYYY(Y*)Q consisting | ||
term: CommonAnnotationTerms.IsCalendarYearQuarter; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -796,3 +881,3 @@ Property encodes a calendar year and month as string following the logical pattern (-?)YYYY(Y*)MM consisting | ||
term: CommonAnnotationTerms.IsCalendarYearMonth; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -806,3 +891,3 @@ Property encodes a calendar year and week as string following the logical pattern (-?)YYYY(Y*)WW consisting | ||
term: CommonAnnotationTerms.IsCalendarYearWeek; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -820,3 +905,3 @@ Property encodes a calendar date: year, month and day as string following the logical pattern (-?)YYYY(Y*)MMDD consisting | ||
term: CommonAnnotationTerms.IsCalendarDate; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -829,3 +914,3 @@ Property encodes a fiscal year number as string following the logical pattern YYYY consisting of four digits. | ||
term: CommonAnnotationTerms.IsFiscalYear; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -838,3 +923,3 @@ Property encodes a fiscal period as string following the logical pattern PPP consisting of three digits. | ||
term: CommonAnnotationTerms.IsFiscalPeriod; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -848,3 +933,3 @@ Property encodes a fiscal year and period as string following the logical pattern YYYYPPP consisting | ||
term: CommonAnnotationTerms.IsFiscalYearPeriod; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -856,3 +941,3 @@ Property encodes a fiscal quarter number as string following the logical pattern Q consisting of a single digit. | ||
term: CommonAnnotationTerms.IsFiscalQuarter; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -865,3 +950,3 @@ Property encodes a fiscal year and quarter as string following the logical pattern YYYYQ consisting of | ||
term: CommonAnnotationTerms.IsFiscalYearQuarter; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -873,3 +958,3 @@ Property encodes a fiscal week number as string following the logical pattern WW consisting of two digits. | ||
term: CommonAnnotationTerms.IsFiscalWeek; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -882,3 +967,3 @@ Property encodes a fiscal year and week as string following the logical pattern YYYYWW consisting of | ||
term: CommonAnnotationTerms.IsFiscalYearWeek; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -889,3 +974,3 @@ Day number relative to a fiscal year. Valid values are between 1 and 371. | ||
term: CommonAnnotationTerms.IsDayOfFiscalYear; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -896,3 +981,3 @@ Property encodes a fiscal year variant | ||
term: CommonAnnotationTerms.IsFiscalYearVariant; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -903,3 +988,3 @@ Only one term of the group identified with the Qualifier attribute can be applied | ||
term: CommonAnnotationTerms.MutuallyExclusiveTerm; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -960,3 +1045,3 @@ Root entities of business documents that support the draft pattern | ||
term: CommonAnnotationTerms.DraftActivationVia; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.SimpleIdentifier[]>>; | ||
} & AnnotationTerm<Core.SimpleIdentifier[]>; | ||
/** | ||
@@ -1008,3 +1093,3 @@ The annotated property is an editable field for the referenced key property | ||
*/ | ||
TargetProperties: PropertyAnnotationValue<Edm.String[]>; | ||
TargetProperties: Edm.String[]; | ||
/** | ||
@@ -1025,7 +1110,7 @@ These entities will be affected if the value of one of the sources changes. All affected entities need to be explicitly listed. An empty path means the annotation target. | ||
*/ | ||
TriggeredIndicator?: PropertyAnnotationValue<Edm.Boolean>; | ||
TriggeredIndicator?: Edm.Boolean; | ||
/** | ||
Indicates whether the client can decide if a side-effect should be triggered or not | ||
*/ | ||
Discretionary: PropertyAnnotationValue<Edm.Boolean>; | ||
Discretionary: Edm.Boolean; | ||
}; | ||
@@ -1059,2 +1144,29 @@ export declare const enum EffectType { | ||
} | ||
export declare const enum EffectTypeValues { | ||
/** | ||
Validation messages are assigned to a target | ||
*/ | ||
/** | ||
This side effect type indicates that validation messages may result from changes of source properties or entities. | ||
Thus, a validation request can be sent either in conjunction with or separately after a modifying request. | ||
Validation messages shall be persisted with the draft and immediately available in a subsequent request without repeating the validation logic. | ||
*/ | ||
ValidationMessage = 1, | ||
/** | ||
The value of a target changes | ||
*/ | ||
/** | ||
This side effect type declares that changes to source properties or entities may impact the values of any, one or multiple target properties or entities. | ||
Upon modification preparation logic is performed that determines additional values to be stored in the draft document. | ||
*/ | ||
ValueChange = 2, | ||
/** | ||
The value of the Common.FieldControl annotation of a target changes | ||
*/ | ||
/** | ||
This side effect type specifies that source properties or entities may impact the dynamic field control state of any, one or multiple target properties or entities. | ||
Upon modification field control logic is invoked so that meta-information like hidden or read-only is determined. | ||
*/ | ||
FieldControlChange = 4 | ||
} | ||
/** | ||
@@ -1065,3 +1177,3 @@ Function to calculate default values based on user input that is only known to the client and "context information" that is already available to the service | ||
term: CommonAnnotationTerms.DefaultValuesFunction; | ||
} & AnnotationTerm<PropertyAnnotationValue<QualifiedName>>; | ||
} & AnnotationTerm<QualifiedName>; | ||
/** | ||
@@ -1072,3 +1184,3 @@ Function import to derive a default value for the property from a given context. | ||
term: CommonAnnotationTerms.DerivedDefaultValue; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -1091,3 +1203,3 @@ A default value for the property to be used in filter expressions. | ||
term: CommonAnnotationTerms.DerivedFilterDefaultValue; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -1115,3 +1227,3 @@ List of sort criteria | ||
*/ | ||
Descending?: PropertyAnnotationValue<Edm.Boolean>; | ||
Descending?: Edm.Boolean; | ||
}; | ||
@@ -1158,3 +1270,3 @@ /** | ||
term: CommonAnnotationTerms.CreatedBy; | ||
} & AnnotationTerm<PropertyAnnotationValue<UserID>>; | ||
} & AnnotationTerm<UserID>; | ||
/** | ||
@@ -1171,3 +1283,3 @@ Last modification timestamp | ||
term: CommonAnnotationTerms.ChangedBy; | ||
} & AnnotationTerm<PropertyAnnotationValue<UserID>>; | ||
} & AnnotationTerm<UserID>; | ||
/** | ||
@@ -1182,3 +1294,3 @@ User ID | ||
term: CommonAnnotationTerms.OriginalProtocolVersion; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -1189,3 +1301,3 @@ Sorting and filtering of amounts in multiple currencies needs special consideration | ||
term: CommonAnnotationTerms.ApplyMultiUnitBehaviorForSortingAndFiltering; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -1196,3 +1308,3 @@ URL for uploading new media content to a Document Management Service | ||
term: CommonAnnotationTerms.mediaUploadLink; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -1203,3 +1315,3 @@ A term or term property with this tag whose type is (a collection of) `Edm.PropertyPath` MUST resolve to a primitive structural property | ||
term: CommonAnnotationTerms.PrimitivePropertyPath; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -1210,3 +1322,3 @@ Base URL for WebSocket connections | ||
term: CommonAnnotationTerms.WebSocketBaseURL; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
export declare const enum CommonAnnotationTerms { | ||
@@ -1213,0 +1325,0 @@ Experimental = "com.sap.vocabularies.Common.v1.Experimental", |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CommonAnnotationTypes = exports.CommonAnnotationTerms = exports.EffectType = exports.FieldControlType = exports.FilterExpressionType = exports.TextFormatType = void 0; | ||
exports.CommonAnnotationTypes = exports.CommonAnnotationTerms = exports.EffectTypeValues = exports.EffectType = exports.FieldControlTypeValues = exports.FieldControlType = exports.FilterExpressionTypeValues = exports.FilterExpressionType = exports.TextFormatTypeValues = exports.TextFormatType = void 0; | ||
// EnumType | ||
@@ -22,2 +22,19 @@ var TextFormatType; | ||
})(TextFormatType = exports.TextFormatType || (exports.TextFormatType = {})); | ||
var TextFormatTypeValues; | ||
(function (TextFormatTypeValues) { | ||
/** | ||
Plain text, line breaks represented as the character 0x0A | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
TextFormatTypeValues[TextFormatTypeValues["plain"] = 0] = "plain"; | ||
/** | ||
Plain text with markup that can validly appear directly within an HTML DIV element | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
TextFormatTypeValues[TextFormatTypeValues["html"] = 1] = "html"; | ||
})(TextFormatTypeValues = exports.TextFormatTypeValues || (exports.TextFormatTypeValues = {})); | ||
// EnumType | ||
@@ -48,2 +65,26 @@ var FilterExpressionType; | ||
})(FilterExpressionType = exports.FilterExpressionType || (exports.FilterExpressionType = {})); | ||
var FilterExpressionTypeValues; | ||
(function (FilterExpressionTypeValues) { | ||
/** | ||
a single 'eq' clause | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
FilterExpressionTypeValues[FilterExpressionTypeValues["SingleValue"] = 0] = "SingleValue"; | ||
/** | ||
one or more 'eq' clauses, separated by 'or' | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
FilterExpressionTypeValues[FilterExpressionTypeValues["MultiValue"] = 1] = "MultiValue"; | ||
/** | ||
at most one 'ge' and one 'le' clause, separated by 'and', alternatively a single 'eq' clause | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
FilterExpressionTypeValues[FilterExpressionTypeValues["SingleInterval"] = 2] = "SingleInterval"; | ||
})(FilterExpressionTypeValues = exports.FilterExpressionTypeValues || (exports.FilterExpressionTypeValues = {})); | ||
// EnumType | ||
@@ -101,2 +142,50 @@ /** | ||
})(FieldControlType = exports.FieldControlType || (exports.FieldControlType = {})); | ||
var FieldControlTypeValues; | ||
(function (FieldControlTypeValues) { | ||
/** | ||
Property is mandatory from a business perspective | ||
*/ | ||
/** | ||
A request that sets the property to its initial value or null fails entirely if this annotation is `Mandatory` in the after-image of the request. | ||
This annotation value does not imply any restrictions on the value range of the property. For restricting the value range use e.g. the standard type facet `Nullable` with a value of `false` to exclude the `null` value, or terms from the [Validation vocabulary](https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Validation.V1.md). | ||
*/ | ||
FieldControlTypeValues[FieldControlTypeValues["Mandatory"] = 7] = "Mandatory"; | ||
/** | ||
Property may have a value | ||
*/ | ||
/** | ||
This value does not make sense as a static annotation value. | ||
*/ | ||
FieldControlTypeValues[FieldControlTypeValues["Optional"] = 3] = "Optional"; | ||
/** | ||
Property value cannot be changed | ||
*/ | ||
/** | ||
A request to change the property to a value that differs from the before-image fails entirely | ||
according to [OData-Protocol, section 11.4.3](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_UpdateanEntity) | ||
if this annotation is given dynamically as `ReadOnly` in the before-image of the request. | ||
To statically mark a property as read-only use term [Core.Computed](https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Core.V1.md#Computed) instead. | ||
*/ | ||
FieldControlTypeValues[FieldControlTypeValues["ReadOnly"] = 1] = "ReadOnly"; | ||
/** | ||
Property has no meaning in the current entity state | ||
*/ | ||
/** | ||
A request that sets the property to a non-initial non-null value fails entirely if this annotation is `Inapplicable` in the after-image of the request. | ||
This value does not make sense as a static annotation value. | ||
Example for dynamic use: in a travel expense report the property `DestinationCountry` is inapplicable if trip type is domestic, and mandatory if trip type is international. | ||
*/ | ||
FieldControlTypeValues[FieldControlTypeValues["Inapplicable"] = 0] = "Inapplicable"; | ||
/** | ||
Deprecated synonym for Inapplicable, do not use | ||
*/ | ||
/** | ||
To statically hide a property on a UI use [UI.Hidden](UI.md#Hidden) instead | ||
*/ | ||
FieldControlTypeValues[FieldControlTypeValues["Hidden"] = 0] = "Hidden"; | ||
})(FieldControlTypeValues = exports.FieldControlTypeValues || (exports.FieldControlTypeValues = {})); | ||
// EnumType | ||
@@ -131,2 +220,30 @@ var EffectType; | ||
})(EffectType = exports.EffectType || (exports.EffectType = {})); | ||
var EffectTypeValues; | ||
(function (EffectTypeValues) { | ||
/** | ||
Validation messages are assigned to a target | ||
*/ | ||
/** | ||
This side effect type indicates that validation messages may result from changes of source properties or entities. | ||
Thus, a validation request can be sent either in conjunction with or separately after a modifying request. | ||
Validation messages shall be persisted with the draft and immediately available in a subsequent request without repeating the validation logic. | ||
*/ | ||
EffectTypeValues[EffectTypeValues["ValidationMessage"] = 1] = "ValidationMessage"; | ||
/** | ||
The value of a target changes | ||
*/ | ||
/** | ||
This side effect type declares that changes to source properties or entities may impact the values of any, one or multiple target properties or entities. | ||
Upon modification preparation logic is performed that determines additional values to be stored in the draft document. | ||
*/ | ||
EffectTypeValues[EffectTypeValues["ValueChange"] = 2] = "ValueChange"; | ||
/** | ||
The value of the Common.FieldControl annotation of a target changes | ||
*/ | ||
/** | ||
This side effect type specifies that source properties or entities may impact the dynamic field control state of any, one or multiple target properties or entities. | ||
Upon modification field control logic is invoked so that meta-information like hidden or read-only is determined. | ||
*/ | ||
EffectTypeValues[EffectTypeValues["FieldControlChange"] = 4] = "FieldControlChange"; | ||
})(EffectTypeValues = exports.EffectTypeValues || (exports.EffectTypeValues = {})); | ||
var CommonAnnotationTerms; | ||
@@ -133,0 +250,0 @@ (function (CommonAnnotationTerms) { |
import * as Core from "./Core"; | ||
import * as Edm from "../Edm"; | ||
import AnnotationTerm = Edm.AnnotationTerm; | ||
import PropertyAnnotationValue = Edm.PropertyAnnotationValue; | ||
import ComplexType = Edm.RecordComplexType; | ||
@@ -17,3 +16,3 @@ /** | ||
*/ | ||
fn?: PropertyAnnotationValue<Edm.String>; | ||
fn?: Edm.String; | ||
/** | ||
@@ -26,15 +25,15 @@ Name | ||
*/ | ||
nickname?: PropertyAnnotationValue<Edm.String>; | ||
nickname?: Edm.String; | ||
/** | ||
Image or photograph | ||
*/ | ||
photo?: PropertyAnnotationValue<Edm.String>; | ||
photo?: Edm.String; | ||
/** | ||
Birthday | ||
*/ | ||
bday?: PropertyAnnotationValue<Edm.Date>; | ||
bday?: Edm.Date; | ||
/** | ||
Date of marriage, or equivalent | ||
*/ | ||
anniversary?: PropertyAnnotationValue<Edm.Date>; | ||
anniversary?: Edm.Date; | ||
/** | ||
@@ -47,15 +46,15 @@ Sex and gender identity | ||
*/ | ||
title?: PropertyAnnotationValue<Edm.String>; | ||
title?: Edm.String; | ||
/** | ||
Function or part played in a particular situation | ||
*/ | ||
role?: PropertyAnnotationValue<Edm.String>; | ||
role?: Edm.String; | ||
/** | ||
Organization Name defined by X.520 | ||
*/ | ||
org?: PropertyAnnotationValue<Edm.String>; | ||
org?: Edm.String; | ||
/** | ||
Organization Unit defined by X.520 | ||
*/ | ||
orgunit?: PropertyAnnotationValue<Edm.String>; | ||
orgunit?: Edm.String; | ||
/** | ||
@@ -68,3 +67,3 @@ Kind of contact | ||
*/ | ||
note?: PropertyAnnotationValue<Edm.String>; | ||
note?: Edm.String; | ||
/** | ||
@@ -96,19 +95,19 @@ Addresses | ||
*/ | ||
surname?: PropertyAnnotationValue<Edm.String>; | ||
surname?: Edm.String; | ||
/** | ||
Given name | ||
*/ | ||
given?: PropertyAnnotationValue<Edm.String>; | ||
given?: Edm.String; | ||
/** | ||
Additional names | ||
*/ | ||
additional?: PropertyAnnotationValue<Edm.String>; | ||
additional?: Edm.String; | ||
/** | ||
Honorific prefix(es) | ||
*/ | ||
prefix?: PropertyAnnotationValue<Edm.String>; | ||
prefix?: Edm.String; | ||
/** | ||
Honorific suffix(es) | ||
*/ | ||
suffix?: PropertyAnnotationValue<Edm.String>; | ||
suffix?: Edm.String; | ||
}; | ||
@@ -126,43 +125,43 @@ /** | ||
*/ | ||
building?: PropertyAnnotationValue<Edm.String>; | ||
building?: Edm.String; | ||
/** | ||
Street address | ||
*/ | ||
street?: PropertyAnnotationValue<Edm.String>; | ||
street?: Edm.String; | ||
/** | ||
Territorial administrative organization in a large city | ||
*/ | ||
district?: PropertyAnnotationValue<Edm.String>; | ||
district?: Edm.String; | ||
/** | ||
City or similar | ||
*/ | ||
locality?: PropertyAnnotationValue<Edm.String>; | ||
locality?: Edm.String; | ||
/** | ||
State, province, or similar | ||
*/ | ||
region?: PropertyAnnotationValue<Edm.String>; | ||
region?: Edm.String; | ||
/** | ||
Postal code | ||
*/ | ||
code?: PropertyAnnotationValue<Edm.String>; | ||
code?: Edm.String; | ||
/** | ||
Country name | ||
*/ | ||
country?: PropertyAnnotationValue<Edm.String>; | ||
country?: Edm.String; | ||
/** | ||
Post office box | ||
*/ | ||
pobox?: PropertyAnnotationValue<Edm.String>; | ||
pobox?: Edm.String; | ||
/** | ||
Extended address (e.g., apartment or suite number) | ||
*/ | ||
ext?: PropertyAnnotationValue<Edm.String>; | ||
ext?: Edm.String; | ||
/** | ||
An intermediary who is responsible for transferring a piece of mail between the postal system and the final addressee | ||
*/ | ||
careof?: PropertyAnnotationValue<Edm.String>; | ||
careof?: Edm.String; | ||
/** | ||
Delivery address label; plain-text string representing the formatted address, may contain line breaks | ||
*/ | ||
label?: PropertyAnnotationValue<Edm.String>; | ||
label?: Edm.String; | ||
/** | ||
@@ -178,3 +177,3 @@ Address type | ||
*/ | ||
uri?: PropertyAnnotationValue<Edm.String>; | ||
uri?: Edm.String; | ||
/** | ||
@@ -190,3 +189,3 @@ Telephone type | ||
*/ | ||
address?: PropertyAnnotationValue<Edm.String>; | ||
address?: Edm.String; | ||
/** | ||
@@ -202,3 +201,3 @@ Address type | ||
*/ | ||
uri?: PropertyAnnotationValue<Edm.String>; | ||
uri?: Edm.String; | ||
/** | ||
@@ -214,3 +213,3 @@ Address type | ||
*/ | ||
uri?: PropertyAnnotationValue<Edm.String>; | ||
uri?: Edm.String; | ||
/** | ||
@@ -251,2 +250,32 @@ URL type | ||
} | ||
export declare const enum KindTypeValues { | ||
/** | ||
A single person or entity | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
individual = 0, | ||
/** | ||
A group of persons or entities | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
group = 1, | ||
/** | ||
An organization | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
org = 2, | ||
/** | ||
A named geographical place | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
location = 3 | ||
} | ||
export declare const enum ContactInformationType { | ||
@@ -275,2 +304,25 @@ /** | ||
} | ||
export declare const enum ContactInformationTypeValues { | ||
/** | ||
Related to an individual's work place | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
work = 1, | ||
/** | ||
Related to an indivdual's personal life | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
home = 2, | ||
/** | ||
Preferred-use contact information | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
preferred = 4 | ||
} | ||
export declare const enum PhoneType { | ||
@@ -327,2 +379,53 @@ /** | ||
} | ||
export declare const enum PhoneTypeValues { | ||
/** | ||
Work telephone number | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
work = 1, | ||
/** | ||
Private telephone number | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
home = 2, | ||
/** | ||
Preferred-use telephone number | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
preferred = 4, | ||
/** | ||
Voice telephone number | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
voice = 8, | ||
/** | ||
Cellular or mobile telephone number | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
cell = 16, | ||
/** | ||
Facsimile telephone number | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
fax = 32, | ||
/** | ||
Video conferencing telephone number | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
video = 64 | ||
} | ||
export declare const enum GenderType { | ||
@@ -365,2 +468,39 @@ /** | ||
} | ||
export declare const enum GenderTypeValues { | ||
/** | ||
male | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
M = 0, | ||
/** | ||
female | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
F = 1, | ||
/** | ||
other | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
O = 2, | ||
/** | ||
not applicable | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
N = 3, | ||
/** | ||
unknown | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
U = 4 | ||
} | ||
/** | ||
@@ -371,3 +511,3 @@ Property contains an email address | ||
term: CommunicationAnnotationTerms.IsEmailAddress; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -378,3 +518,3 @@ Property contains a phone number | ||
term: CommunicationAnnotationTerms.IsPhoneNumber; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -391,47 +531,47 @@ Calendar entry | ||
*/ | ||
summary?: PropertyAnnotationValue<Edm.String>; | ||
summary?: Edm.String; | ||
/** | ||
More complete description | ||
*/ | ||
description?: PropertyAnnotationValue<Edm.String>; | ||
description?: Edm.String; | ||
/** | ||
Categories or subtypes of the event | ||
*/ | ||
categories: PropertyAnnotationValue<Edm.String[]>; | ||
categories: Edm.String[]; | ||
/** | ||
Start date and time of the event | ||
*/ | ||
dtstart?: PropertyAnnotationValue<Edm.DateTimeOffset>; | ||
dtstart?: Edm.DateTimeOffset; | ||
/** | ||
Date and time by which the event ends, alternative to duration | ||
*/ | ||
dtend?: PropertyAnnotationValue<Edm.DateTimeOffset>; | ||
dtend?: Edm.DateTimeOffset; | ||
/** | ||
Duration of the event, alternative to dtend | ||
*/ | ||
duration?: PropertyAnnotationValue<Edm.Duration>; | ||
duration?: Edm.Duration; | ||
/** | ||
Access classification, e.g. PUBLIC, PRIVATE, CONFIDENTIAL | ||
*/ | ||
class?: PropertyAnnotationValue<Edm.String>; | ||
class?: Edm.String; | ||
/** | ||
Confirmation status, e.g. CONFIRMED, TENTATIVE, CANCELLED | ||
*/ | ||
status?: PropertyAnnotationValue<Edm.String>; | ||
status?: Edm.String; | ||
/** | ||
Intended venue of the event | ||
*/ | ||
location?: PropertyAnnotationValue<Edm.String>; | ||
location?: Edm.String; | ||
/** | ||
Time transparency for busy time searches, true = free, false = blocked | ||
*/ | ||
transp?: PropertyAnnotationValue<Edm.Boolean>; | ||
transp?: Edm.Boolean; | ||
/** | ||
Wholeday event | ||
*/ | ||
wholeday?: PropertyAnnotationValue<Edm.Boolean>; | ||
wholeday?: Edm.Boolean; | ||
/** | ||
Free or busy time type, e.g. FREE, BUSY, BUSY-TENTATIVE | ||
*/ | ||
fbtype?: PropertyAnnotationValue<Edm.String>; | ||
fbtype?: Edm.String; | ||
}; | ||
@@ -449,23 +589,23 @@ /** | ||
*/ | ||
summary?: PropertyAnnotationValue<Edm.String>; | ||
summary?: Edm.String; | ||
/** | ||
More complete description of the task | ||
*/ | ||
description?: PropertyAnnotationValue<Edm.String>; | ||
description?: Edm.String; | ||
/** | ||
Date and time that a to-do is expected to be completed | ||
*/ | ||
due?: PropertyAnnotationValue<Edm.DateTimeOffset>; | ||
due?: Edm.DateTimeOffset; | ||
/** | ||
Date and time that a to-do was actually completed | ||
*/ | ||
completed?: PropertyAnnotationValue<Edm.DateTimeOffset>; | ||
completed?: Edm.DateTimeOffset; | ||
/** | ||
Percent completion of a to-do, e.g. 50 for half done | ||
*/ | ||
percentcomplete?: PropertyAnnotationValue<Edm.Byte>; | ||
percentcomplete?: Edm.Byte; | ||
/** | ||
Relative priority, 0 = undefined, 1 = highest, 9 = lowest | ||
*/ | ||
priority?: PropertyAnnotationValue<Edm.Byte>; | ||
priority?: Edm.Byte; | ||
}; | ||
@@ -483,35 +623,35 @@ /** | ||
*/ | ||
from?: PropertyAnnotationValue<Edm.String>; | ||
from?: Edm.String; | ||
/** | ||
Agent responsible for the actual transmission of the message, e.g. a secretary | ||
*/ | ||
sender?: PropertyAnnotationValue<Edm.String>; | ||
sender?: Edm.String; | ||
/** | ||
List of primary recipients | ||
*/ | ||
to: PropertyAnnotationValue<Edm.String[]>; | ||
to: Edm.String[]; | ||
/** | ||
List of other recipients (carbon copy) | ||
*/ | ||
cc: PropertyAnnotationValue<Edm.String[]>; | ||
cc: Edm.String[]; | ||
/** | ||
List of recipients whose addresses are not to be revealed (blind carbon copy) | ||
*/ | ||
bcc: PropertyAnnotationValue<Edm.String[]>; | ||
bcc: Edm.String[]; | ||
/** | ||
Topic of the message | ||
*/ | ||
subject?: PropertyAnnotationValue<Edm.String>; | ||
subject?: Edm.String; | ||
/** | ||
Main part of the message | ||
*/ | ||
body?: PropertyAnnotationValue<Edm.String>; | ||
body?: Edm.String; | ||
/** | ||
List of important words and phrases that might be useful for the recipient | ||
*/ | ||
keywords: PropertyAnnotationValue<Edm.String[]>; | ||
keywords: Edm.String[]; | ||
/** | ||
Date and time the message was received | ||
*/ | ||
received?: PropertyAnnotationValue<Edm.DateTimeOffset>; | ||
received?: Edm.DateTimeOffset; | ||
}; | ||
@@ -518,0 +658,0 @@ export declare const enum CommunicationAnnotationTerms { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CommunicationAnnotationTypes = exports.CommunicationAnnotationTerms = exports.GenderType = exports.PhoneType = exports.ContactInformationType = exports.KindType = void 0; | ||
exports.CommunicationAnnotationTypes = exports.CommunicationAnnotationTerms = exports.GenderTypeValues = exports.GenderType = exports.PhoneTypeValues = exports.PhoneType = exports.ContactInformationTypeValues = exports.ContactInformationType = exports.KindTypeValues = exports.KindType = void 0; | ||
// EnumType | ||
@@ -36,2 +36,33 @@ var KindType; | ||
})(KindType = exports.KindType || (exports.KindType = {})); | ||
var KindTypeValues; | ||
(function (KindTypeValues) { | ||
/** | ||
A single person or entity | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
KindTypeValues[KindTypeValues["individual"] = 0] = "individual"; | ||
/** | ||
A group of persons or entities | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
KindTypeValues[KindTypeValues["group"] = 1] = "group"; | ||
/** | ||
An organization | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
KindTypeValues[KindTypeValues["org"] = 2] = "org"; | ||
/** | ||
A named geographical place | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
KindTypeValues[KindTypeValues["location"] = 3] = "location"; | ||
})(KindTypeValues = exports.KindTypeValues || (exports.KindTypeValues = {})); | ||
// EnumType | ||
@@ -62,2 +93,26 @@ var ContactInformationType; | ||
})(ContactInformationType = exports.ContactInformationType || (exports.ContactInformationType = {})); | ||
var ContactInformationTypeValues; | ||
(function (ContactInformationTypeValues) { | ||
/** | ||
Related to an individual's work place | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
ContactInformationTypeValues[ContactInformationTypeValues["work"] = 1] = "work"; | ||
/** | ||
Related to an indivdual's personal life | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
ContactInformationTypeValues[ContactInformationTypeValues["home"] = 2] = "home"; | ||
/** | ||
Preferred-use contact information | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
ContactInformationTypeValues[ContactInformationTypeValues["preferred"] = 4] = "preferred"; | ||
})(ContactInformationTypeValues = exports.ContactInformationTypeValues || (exports.ContactInformationTypeValues = {})); | ||
// EnumType | ||
@@ -116,2 +171,54 @@ var PhoneType; | ||
})(PhoneType = exports.PhoneType || (exports.PhoneType = {})); | ||
var PhoneTypeValues; | ||
(function (PhoneTypeValues) { | ||
/** | ||
Work telephone number | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
PhoneTypeValues[PhoneTypeValues["work"] = 1] = "work"; | ||
/** | ||
Private telephone number | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
PhoneTypeValues[PhoneTypeValues["home"] = 2] = "home"; | ||
/** | ||
Preferred-use telephone number | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
PhoneTypeValues[PhoneTypeValues["preferred"] = 4] = "preferred"; | ||
/** | ||
Voice telephone number | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
PhoneTypeValues[PhoneTypeValues["voice"] = 8] = "voice"; | ||
/** | ||
Cellular or mobile telephone number | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
PhoneTypeValues[PhoneTypeValues["cell"] = 16] = "cell"; | ||
/** | ||
Facsimile telephone number | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
PhoneTypeValues[PhoneTypeValues["fax"] = 32] = "fax"; | ||
/** | ||
Video conferencing telephone number | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
PhoneTypeValues[PhoneTypeValues["video"] = 64] = "video"; | ||
})(PhoneTypeValues = exports.PhoneTypeValues || (exports.PhoneTypeValues = {})); | ||
// EnumType | ||
@@ -156,2 +263,40 @@ var GenderType; | ||
})(GenderType = exports.GenderType || (exports.GenderType = {})); | ||
var GenderTypeValues; | ||
(function (GenderTypeValues) { | ||
/** | ||
male | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
GenderTypeValues[GenderTypeValues["M"] = 0] = "M"; | ||
/** | ||
female | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
GenderTypeValues[GenderTypeValues["F"] = 1] = "F"; | ||
/** | ||
other | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
GenderTypeValues[GenderTypeValues["O"] = 2] = "O"; | ||
/** | ||
not applicable | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
GenderTypeValues[GenderTypeValues["N"] = 3] = "N"; | ||
/** | ||
unknown | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
GenderTypeValues[GenderTypeValues["U"] = 4] = "U"; | ||
})(GenderTypeValues = exports.GenderTypeValues || (exports.GenderTypeValues = {})); | ||
var CommunicationAnnotationTerms; | ||
@@ -158,0 +303,0 @@ (function (CommunicationAnnotationTerms) { |
import * as Edm from "../Edm"; | ||
import AnnotationTerm = Edm.AnnotationTerm; | ||
import PropertyAnnotationValue = Edm.PropertyAnnotationValue; | ||
import EnumValue = Edm.EnumValue; | ||
import ComplexType = Edm.RecordComplexType; | ||
@@ -11,3 +10,3 @@ /** | ||
term: CoreAnnotationTerms.ODataVersions; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -18,3 +17,3 @@ Service-defined value representing the version of the schema. Services MAY use semantic versioning, but clients MUST NOT assume this is the case. | ||
term: CoreAnnotationTerms.SchemaVersion; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -31,3 +30,3 @@ List of revisions of a model element | ||
*/ | ||
Version?: PropertyAnnotationValue<Edm.String>; | ||
Version?: Edm.String; | ||
/** | ||
@@ -40,3 +39,3 @@ The kind of revision | ||
*/ | ||
Description: PropertyAnnotationValue<Edm.String>; | ||
Description: Edm.String; | ||
}; | ||
@@ -66,2 +65,25 @@ export declare const enum RevisionKind { | ||
} | ||
export declare const enum RevisionKindValues { | ||
/** | ||
Model element was added | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
Added = 0, | ||
/** | ||
Model element was modified | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
Modified = 1, | ||
/** | ||
Model element was deprecated | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
Deprecated = 2 | ||
} | ||
/** | ||
@@ -72,3 +94,3 @@ A brief description of a model element | ||
term: CoreAnnotationTerms.Description; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -79,3 +101,3 @@ A long description of a model element | ||
term: CoreAnnotationTerms.LongDescription; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -95,7 +117,7 @@ Link to related information | ||
*/ | ||
rel: PropertyAnnotationValue<Edm.String>; | ||
rel: Edm.String; | ||
/** | ||
URL of related information | ||
*/ | ||
href: PropertyAnnotationValue<Edm.String>; | ||
href: Edm.String; | ||
}; | ||
@@ -113,3 +135,3 @@ /** | ||
*/ | ||
Description?: PropertyAnnotationValue<Edm.String>; | ||
Description?: Edm.String; | ||
}; | ||
@@ -121,3 +143,3 @@ export type PrimitiveExampleValue = ComplexType & Omit<ExampleValue, '$Type'> & { | ||
*/ | ||
Value: PropertyAnnotationValue<Edm.PrimitiveType>; | ||
Value: Edm.PrimitiveType; | ||
}; | ||
@@ -129,3 +151,3 @@ export type ComplexExampleValue = ComplexType & Omit<ExampleValue, '$Type'> & { | ||
*/ | ||
Value: PropertyAnnotationValue<Edm.ComplexType>; | ||
Value: Edm.ComplexType; | ||
}; | ||
@@ -137,3 +159,3 @@ export type EntityExampleValue = ComplexType & Omit<ExampleValue, '$Type'> & { | ||
*/ | ||
Value: PropertyAnnotationValue<Edm.EntityType>; | ||
Value: Edm.EntityType; | ||
}; | ||
@@ -145,3 +167,3 @@ export type ExternalExampleValue = ComplexType & Omit<ExampleValue, '$Type'> & { | ||
*/ | ||
ExternalValue: PropertyAnnotationValue<Edm.String>; | ||
ExternalValue: Edm.String; | ||
}; | ||
@@ -159,7 +181,7 @@ /** | ||
*/ | ||
code: PropertyAnnotationValue<Edm.String>; | ||
code: Edm.String; | ||
/** | ||
Human-readable, language-dependent message text | ||
*/ | ||
message: PropertyAnnotationValue<Edm.String>; | ||
message: Edm.String; | ||
/** | ||
@@ -172,3 +194,3 @@ Severity of the message | ||
*/ | ||
target?: PropertyAnnotationValue<Edm.String>; | ||
target?: Edm.String; | ||
/** | ||
@@ -198,3 +220,3 @@ List of detail messages | ||
*/ | ||
value?: PropertyAnnotationValue<Edm.String>; | ||
value?: Edm.String; | ||
}; | ||
@@ -212,3 +234,3 @@ /** | ||
*/ | ||
retryLink?: PropertyAnnotationValue<Edm.String>; | ||
retryLink?: Edm.String; | ||
}; | ||
@@ -230,3 +252,3 @@ /** | ||
*/ | ||
responseCode?: PropertyAnnotationValue<Edm.Int16>; | ||
responseCode?: Edm.Int16; | ||
}; | ||
@@ -284,2 +306,53 @@ export declare const enum DataModificationOperationKind { | ||
} | ||
export declare const enum DataModificationOperationKindValues { | ||
/** | ||
Insert new instance | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
insert = 0, | ||
/** | ||
Update existing instance | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
update = 1, | ||
/** | ||
Insert new instance or update it if it already exists | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
upsert = 2, | ||
/** | ||
Delete existing instance | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
delete = 3, | ||
/** | ||
Invoke action or function | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
invoke = 4, | ||
/** | ||
Add link between entities | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
link = 5, | ||
/** | ||
Remove link between entities | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
unlink = 6 | ||
} | ||
/** | ||
@@ -290,3 +363,3 @@ Properties and terms annotated with this term are language-dependent | ||
term: CoreAnnotationTerms.IsLanguageDependent; | ||
} & AnnotationTerm<PropertyAnnotationValue<Tag>>; | ||
} & AnnotationTerm<Tag>; | ||
/** | ||
@@ -301,3 +374,3 @@ This is the type to use for all tagging terms | ||
term: CoreAnnotationTerms.RequiresType; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -308,3 +381,3 @@ The target path of an annotation with the tagged term MUST start with an entity container or the annotation MUST be embedded within an entity container, entity set or singleton | ||
term: CoreAnnotationTerms.AppliesViaContainer; | ||
} & AnnotationTerm<PropertyAnnotationValue<Tag>>; | ||
} & AnnotationTerm<Tag>; | ||
/** | ||
@@ -315,3 +388,3 @@ Resource path for entity container child, can be relative to xml:base and the request URL | ||
term: CoreAnnotationTerms.ResourcePath; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -322,3 +395,3 @@ Entity-ids are URLs that locate the identified entity | ||
term: CoreAnnotationTerms.DereferenceableIDs; | ||
} & AnnotationTerm<PropertyAnnotationValue<Tag>>; | ||
} & AnnotationTerm<Tag>; | ||
/** | ||
@@ -329,7 +402,7 @@ Entity-ids follow OData URL conventions | ||
term: CoreAnnotationTerms.ConventionalIDs; | ||
} & AnnotationTerm<PropertyAnnotationValue<Tag>>; | ||
} & AnnotationTerm<Tag>; | ||
/** | ||
Permissions for accessing a resource | ||
*/ | ||
export type Permissions = EnumValue<Permission>[]; | ||
export type Permissions = Permission | PermissionValues[]; | ||
export declare const enum Permission { | ||
@@ -372,2 +445,39 @@ /** | ||
} | ||
export declare const enum PermissionValues { | ||
/** | ||
No permissions | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
None = 0, | ||
/** | ||
Read permission | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
Read = 1, | ||
/** | ||
Write permission | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
Write = 2, | ||
/** | ||
Read and write permission | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
ReadWrite = 3, | ||
/** | ||
Permission to invoke actions | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
Invoke = 4 | ||
} | ||
/** | ||
@@ -378,3 +488,3 @@ A unique identifier for nested entities within a request. | ||
term: CoreAnnotationTerms.ContentID; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -385,3 +495,3 @@ Functions, actions and types in this namespace can be referenced in URLs with or without namespace- or alias- qualification. | ||
term: CoreAnnotationTerms.DefaultNamespace; | ||
} & AnnotationTerm<PropertyAnnotationValue<Tag>>; | ||
} & AnnotationTerm<Tag>; | ||
/** | ||
@@ -392,3 +502,3 @@ A value for this non-key property can be provided by the client on insert and remains unchanged on update | ||
term: CoreAnnotationTerms.Immutable; | ||
} & AnnotationTerm<PropertyAnnotationValue<Tag>>; | ||
} & AnnotationTerm<Tag>; | ||
/** | ||
@@ -399,3 +509,3 @@ A value for this property is generated on both insert and update | ||
term: CoreAnnotationTerms.Computed; | ||
} & AnnotationTerm<PropertyAnnotationValue<Tag>>; | ||
} & AnnotationTerm<Tag>; | ||
/** | ||
@@ -406,3 +516,3 @@ A value for this property can be provided by the client on insert and update. If no value is provided on insert, a non-static default value is generated | ||
term: CoreAnnotationTerms.ComputedDefaultValue; | ||
} & AnnotationTerm<PropertyAnnotationValue<Tag>>; | ||
} & AnnotationTerm<Tag>; | ||
/** | ||
@@ -413,3 +523,3 @@ Properties and terms annotated with this term MUST contain a valid URL | ||
term: CoreAnnotationTerms.IsURL; | ||
} & AnnotationTerm<PropertyAnnotationValue<Tag>>; | ||
} & AnnotationTerm<Tag>; | ||
/** | ||
@@ -420,3 +530,3 @@ Lists the MIME types acceptable for the annotated entity type marked with HasStream="true" or the annotated binary, stream, or string property or term | ||
term: CoreAnnotationTerms.AcceptableMediaTypes; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String[]>>; | ||
} & AnnotationTerm<Edm.String[]>; | ||
/** | ||
@@ -433,3 +543,3 @@ The media type of the media stream of the annotated entity type marked with HasStream="true" or the annotated binary, stream, or string property or term | ||
term: CoreAnnotationTerms.IsMediaType; | ||
} & AnnotationTerm<PropertyAnnotationValue<Tag>>; | ||
} & AnnotationTerm<Tag>; | ||
/** | ||
@@ -446,3 +556,3 @@ The content disposition of the media stream of the annotated entity type marked with HasStream="true" or the annotated binary, stream, or string property or term | ||
*/ | ||
Type: PropertyAnnotationValue<Edm.String>; | ||
Type: Edm.String; | ||
/** | ||
@@ -464,3 +574,3 @@ The proposed filename for downloading the binary or stream value, see [RFC 6266, Disposition Parameter: 'Filename'](https://datatracker.ietf.org/doc/html/rfc6266#section-4.3) | ||
term: CoreAnnotationTerms.AdditionalProperties; | ||
} & AnnotationTerm<PropertyAnnotationValue<Tag>>; | ||
} & AnnotationTerm<Tag>; | ||
/** | ||
@@ -471,3 +581,3 @@ The service will automatically expand this stream property, navigation property, or the media stream of this media entity type even if not requested with $expand | ||
term: CoreAnnotationTerms.AutoExpand; | ||
} & AnnotationTerm<PropertyAnnotationValue<Tag>>; | ||
} & AnnotationTerm<Tag>; | ||
/** | ||
@@ -478,3 +588,3 @@ The service will automatically expand this navigation property as entity references even if not requested with $expand=.../$ref | ||
term: CoreAnnotationTerms.AutoExpandReferences; | ||
} & AnnotationTerm<PropertyAnnotationValue<Tag>>; | ||
} & AnnotationTerm<Tag>; | ||
/** | ||
@@ -485,3 +595,3 @@ A collection of qualified type names outside of the type hierarchy that instances of this type might be addressable as by using a type-cast segment. | ||
term: CoreAnnotationTerms.MayImplement; | ||
} & AnnotationTerm<PropertyAnnotationValue<QualifiedTypeName[]>>; | ||
} & AnnotationTerm<QualifiedTypeName[]>; | ||
/** | ||
@@ -508,3 +618,3 @@ The qualified name of a term in scope. | ||
term: CoreAnnotationTerms.Ordered; | ||
} & AnnotationTerm<PropertyAnnotationValue<Tag>>; | ||
} & AnnotationTerm<Tag>; | ||
/** | ||
@@ -515,3 +625,3 @@ Items can be inserted at a given ordinal index. | ||
term: CoreAnnotationTerms.PositionalInsert; | ||
} & AnnotationTerm<PropertyAnnotationValue<Tag>>; | ||
} & AnnotationTerm<Tag>; | ||
/** | ||
@@ -539,3 +649,3 @@ Communicates available alternate keys | ||
*/ | ||
Alias: PropertyAnnotationValue<Edm.String>; | ||
Alias: Edm.String; | ||
}; | ||
@@ -559,3 +669,3 @@ /** | ||
*/ | ||
DefaultValue?: PropertyAnnotationValue<Edm.String>; | ||
DefaultValue?: Edm.String; | ||
}; | ||
@@ -567,3 +677,3 @@ /** | ||
term: CoreAnnotationTerms.OperationAvailable; | ||
} & AnnotationTerm<Edm.Boolean>; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.Boolean>>; | ||
/** | ||
@@ -574,3 +684,3 @@ This bound action or function is only available on model elements annotated with the ExplicitOperationBindings term. | ||
term: CoreAnnotationTerms.RequiresExplicitBinding; | ||
} & AnnotationTerm<PropertyAnnotationValue<Tag>>; | ||
} & AnnotationTerm<Tag>; | ||
/** | ||
@@ -581,3 +691,3 @@ The qualified names of explicitly bound operations that are supported on the target model element. These operations are in addition to any operations not annotated with RequiresExplicitBinding that are bound to the type of the target model element. | ||
term: CoreAnnotationTerms.ExplicitOperationBindings; | ||
} & AnnotationTerm<PropertyAnnotationValue<QualifiedBoundOperationName[]>>; | ||
} & AnnotationTerm<QualifiedBoundOperationName[]>; | ||
/** | ||
@@ -592,3 +702,3 @@ A string representing a Local Date-Time value with no offset. | ||
term: CoreAnnotationTerms.SymbolicName; | ||
} & AnnotationTerm<PropertyAnnotationValue<SimpleIdentifier>>; | ||
} & AnnotationTerm<SimpleIdentifier>; | ||
/** | ||
@@ -612,3 +722,3 @@ A [simple identifier](https://docs.oasis-open.org/odata/odata-csdl-xml/v4.01/odata-csdl-xml-v4.01.html#sec_SimpleIdentifier) | ||
*/ | ||
geometry?: PropertyAnnotationValue<Edm.Geometry>; | ||
geometry?: Edm.Geometry; | ||
/** | ||
@@ -621,3 +731,3 @@ Properties of the Feature | ||
*/ | ||
id?: PropertyAnnotationValue<Edm.String>; | ||
id?: Edm.String; | ||
}; | ||
@@ -624,0 +734,0 @@ export declare const enum CoreAnnotationTerms { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CoreAnnotationTypes = exports.CoreAnnotationTerms = exports.Permission = exports.DataModificationOperationKind = exports.RevisionKind = void 0; | ||
exports.CoreAnnotationTypes = exports.CoreAnnotationTerms = exports.PermissionValues = exports.Permission = exports.DataModificationOperationKindValues = exports.DataModificationOperationKind = exports.RevisionKindValues = exports.RevisionKind = void 0; | ||
// EnumType | ||
@@ -29,2 +29,26 @@ var RevisionKind; | ||
})(RevisionKind = exports.RevisionKind || (exports.RevisionKind = {})); | ||
var RevisionKindValues; | ||
(function (RevisionKindValues) { | ||
/** | ||
Model element was added | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
RevisionKindValues[RevisionKindValues["Added"] = 0] = "Added"; | ||
/** | ||
Model element was modified | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
RevisionKindValues[RevisionKindValues["Modified"] = 1] = "Modified"; | ||
/** | ||
Model element was deprecated | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
RevisionKindValues[RevisionKindValues["Deprecated"] = 2] = "Deprecated"; | ||
})(RevisionKindValues = exports.RevisionKindValues || (exports.RevisionKindValues = {})); | ||
// EnumType | ||
@@ -83,2 +107,54 @@ var DataModificationOperationKind; | ||
})(DataModificationOperationKind = exports.DataModificationOperationKind || (exports.DataModificationOperationKind = {})); | ||
var DataModificationOperationKindValues; | ||
(function (DataModificationOperationKindValues) { | ||
/** | ||
Insert new instance | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
DataModificationOperationKindValues[DataModificationOperationKindValues["insert"] = 0] = "insert"; | ||
/** | ||
Update existing instance | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
DataModificationOperationKindValues[DataModificationOperationKindValues["update"] = 1] = "update"; | ||
/** | ||
Insert new instance or update it if it already exists | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
DataModificationOperationKindValues[DataModificationOperationKindValues["upsert"] = 2] = "upsert"; | ||
/** | ||
Delete existing instance | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
DataModificationOperationKindValues[DataModificationOperationKindValues["delete"] = 3] = "delete"; | ||
/** | ||
Invoke action or function | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
DataModificationOperationKindValues[DataModificationOperationKindValues["invoke"] = 4] = "invoke"; | ||
/** | ||
Add link between entities | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
DataModificationOperationKindValues[DataModificationOperationKindValues["link"] = 5] = "link"; | ||
/** | ||
Remove link between entities | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
DataModificationOperationKindValues[DataModificationOperationKindValues["unlink"] = 6] = "unlink"; | ||
})(DataModificationOperationKindValues = exports.DataModificationOperationKindValues || (exports.DataModificationOperationKindValues = {})); | ||
// EnumType | ||
@@ -123,2 +199,40 @@ var Permission; | ||
})(Permission = exports.Permission || (exports.Permission = {})); | ||
var PermissionValues; | ||
(function (PermissionValues) { | ||
/** | ||
No permissions | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
PermissionValues[PermissionValues["None"] = 0] = "None"; | ||
/** | ||
Read permission | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
PermissionValues[PermissionValues["Read"] = 1] = "Read"; | ||
/** | ||
Write permission | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
PermissionValues[PermissionValues["Write"] = 2] = "Write"; | ||
/** | ||
Read and write permission | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
PermissionValues[PermissionValues["ReadWrite"] = 3] = "ReadWrite"; | ||
/** | ||
Permission to invoke actions | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
PermissionValues[PermissionValues["Invoke"] = 4] = "Invoke"; | ||
})(PermissionValues = exports.PermissionValues || (exports.PermissionValues = {})); | ||
var CoreAnnotationTerms; | ||
@@ -125,0 +239,0 @@ (function (CoreAnnotationTerms) { |
import * as Edm from "../Edm"; | ||
import AnnotationTerm = Edm.AnnotationTerm; | ||
import PropertyAnnotationValue = Edm.PropertyAnnotationValue; | ||
import ComplexType = Edm.RecordComplexType; | ||
@@ -16,3 +15,3 @@ /** | ||
*/ | ||
width?: PropertyAnnotationValue<Edm.String>; | ||
width?: Edm.String; | ||
}; | ||
@@ -19,0 +18,0 @@ export declare const enum HTML5AnnotationTerms { |
@@ -27,3 +27,3 @@ import * as Edm from "../Edm"; | ||
term: MeasuresAnnotationTerms.UNECEUnit; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -34,3 +34,3 @@ The minimum granularity of duration values. | ||
term: MeasuresAnnotationTerms.DurationGranularity; | ||
} & AnnotationTerm<PropertyAnnotationValue<DurationGranularityType>>; | ||
} & AnnotationTerm<DurationGranularityType>; | ||
export type DurationGranularityType = Edm.String; | ||
@@ -37,0 +37,0 @@ export declare const enum MeasuresAnnotationTerms { |
import * as Core from "./Core"; | ||
import * as Edm from "../Edm"; | ||
import AnnotationTerm = Edm.AnnotationTerm; | ||
import PropertyAnnotationValue = Edm.PropertyAnnotationValue; | ||
/** | ||
@@ -10,3 +9,3 @@ Primary meaning of the entities in the annotated entity set | ||
term: PersonalDataAnnotationTerms.EntitySemantics; | ||
} & AnnotationTerm<PropertyAnnotationValue<EntitySemanticsType>>; | ||
} & AnnotationTerm<EntitySemanticsType>; | ||
/** | ||
@@ -17,3 +16,3 @@ Role of the data subjects in this set (e.g. employee, customer) | ||
term: PersonalDataAnnotationTerms.DataSubjectRole; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -24,3 +23,3 @@ Language-dependent description of the role of the data subjects in this set (e.g. employee, customer) | ||
term: PersonalDataAnnotationTerms.DataSubjectRoleDescription; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -35,3 +34,3 @@ Primary meaning of the data contained in the annotated entity set | ||
term: PersonalDataAnnotationTerms.FieldSemantics; | ||
} & AnnotationTerm<PropertyAnnotationValue<FieldSemanticsType>>; | ||
} & AnnotationTerm<FieldSemanticsType>; | ||
/** | ||
@@ -46,3 +45,3 @@ Primary meaning of a data field | ||
term: PersonalDataAnnotationTerms.IsPotentiallyPersonal; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -53,3 +52,3 @@ Property contains potentially sensitive personal data | ||
term: PersonalDataAnnotationTerms.IsPotentiallySensitive; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
export declare const enum PersonalDataAnnotationTerms { | ||
@@ -56,0 +55,0 @@ EntitySemantics = "com.sap.vocabularies.PersonalData.v1.EntitySemantics", |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.UIAnnotationTypes = exports.UIAnnotationTerms = exports.OperationGroupingType = exports.CriticalityRepresentationType = exports.ImportanceType = exports.TextArrangementType = exports.SelectionRangeOptionType = exports.SelectionRangeSignType = exports.ChartMeasureRoleType = exports.ChartDimensionRoleType = exports.ChartAxisAutoScaleDataScopeType = exports.ChartAxisScaleBehaviorType = exports.ChartType = exports.TrendType = exports.ImprovementDirectionType = exports.CriticalityType = exports.VisualizationType = void 0; | ||
exports.UIAnnotationTypes = exports.UIAnnotationTerms = exports.OperationGroupingTypeValues = exports.OperationGroupingType = exports.CriticalityRepresentationTypeValues = exports.CriticalityRepresentationType = exports.ImportanceTypeValues = exports.ImportanceType = exports.TextArrangementTypeValues = exports.TextArrangementType = exports.SelectionRangeOptionTypeValues = exports.SelectionRangeOptionType = exports.SelectionRangeSignTypeValues = exports.SelectionRangeSignType = exports.ChartMeasureRoleTypeValues = exports.ChartMeasureRoleType = exports.ChartDimensionRoleTypeValues = exports.ChartDimensionRoleType = exports.ChartAxisAutoScaleDataScopeTypeValues = exports.ChartAxisAutoScaleDataScopeType = exports.ChartAxisScaleBehaviorTypeValues = exports.ChartAxisScaleBehaviorType = exports.ChartTypeValues = exports.ChartType = exports.TrendTypeValues = exports.TrendType = exports.ImprovementDirectionTypeValues = exports.ImprovementDirectionType = exports.CriticalityTypeValues = exports.CriticalityType = exports.VisualizationTypeValues = exports.VisualizationType = void 0; | ||
// EnumType | ||
@@ -50,2 +50,47 @@ var VisualizationType; | ||
})(VisualizationType = exports.VisualizationType || (exports.VisualizationType = {})); | ||
var VisualizationTypeValues; | ||
(function (VisualizationTypeValues) { | ||
/** | ||
Visualize as a number | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
VisualizationTypeValues[VisualizationTypeValues["Number"] = 0] = "Number"; | ||
/** | ||
Visualize as bullet chart - requires TargetValue | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
VisualizationTypeValues[VisualizationTypeValues["BulletChart"] = 1] = "BulletChart"; | ||
/** | ||
Visualize as progress indicator - requires TargetValue | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
VisualizationTypeValues[VisualizationTypeValues["Progress"] = 2] = "Progress"; | ||
/** | ||
Visualize as partially or completely filled stars/hearts/... - requires TargetValue | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
VisualizationTypeValues[VisualizationTypeValues["Rating"] = 3] = "Rating"; | ||
/** | ||
Visualize as donut, optionally with missing segment - requires TargetValue | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
VisualizationTypeValues[VisualizationTypeValues["Donut"] = 4] = "Donut"; | ||
/** | ||
Visualize as delta bullet chart - requires TargetValue | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
VisualizationTypeValues[VisualizationTypeValues["DeltaBulletChart"] = 5] = "DeltaBulletChart"; | ||
})(VisualizationTypeValues = exports.VisualizationTypeValues || (exports.VisualizationTypeValues = {})); | ||
// EnumType | ||
@@ -107,2 +152,54 @@ /** | ||
})(CriticalityType = exports.CriticalityType || (exports.CriticalityType = {})); | ||
var CriticalityTypeValues; | ||
(function (CriticalityTypeValues) { | ||
/** | ||
Very negative / dark-red status - risk - out of stock - late | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
CriticalityTypeValues[CriticalityTypeValues["VeryNegative"] = -1] = "VeryNegative"; | ||
/** | ||
Neutral / grey status - inactive - open - in progress | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
CriticalityTypeValues[CriticalityTypeValues["Neutral"] = 0] = "Neutral"; | ||
/** | ||
Negative / red status - attention - overload - alert | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
CriticalityTypeValues[CriticalityTypeValues["Negative"] = 1] = "Negative"; | ||
/** | ||
Critical / orange status - warning | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
CriticalityTypeValues[CriticalityTypeValues["Critical"] = 2] = "Critical"; | ||
/** | ||
Positive / green status - completed - available - on track - acceptable | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
CriticalityTypeValues[CriticalityTypeValues["Positive"] = 3] = "Positive"; | ||
/** | ||
Very positive - above max stock - excess | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
CriticalityTypeValues[CriticalityTypeValues["VeryPositive"] = 4] = "VeryPositive"; | ||
/** | ||
Information - noticable - informative | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
CriticalityTypeValues[CriticalityTypeValues["Information"] = 5] = "Information"; | ||
})(CriticalityTypeValues = exports.CriticalityTypeValues || (exports.CriticalityTypeValues = {})); | ||
// EnumType | ||
@@ -136,2 +233,26 @@ /** | ||
})(ImprovementDirectionType = exports.ImprovementDirectionType || (exports.ImprovementDirectionType = {})); | ||
var ImprovementDirectionTypeValues; | ||
(function (ImprovementDirectionTypeValues) { | ||
/** | ||
Lower is better | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
ImprovementDirectionTypeValues[ImprovementDirectionTypeValues["Minimize"] = 1] = "Minimize"; | ||
/** | ||
Closer to the target is better | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
ImprovementDirectionTypeValues[ImprovementDirectionTypeValues["Target"] = 2] = "Target"; | ||
/** | ||
Higher is better | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
ImprovementDirectionTypeValues[ImprovementDirectionTypeValues["Maximize"] = 3] = "Maximize"; | ||
})(ImprovementDirectionTypeValues = exports.ImprovementDirectionTypeValues || (exports.ImprovementDirectionTypeValues = {})); | ||
// EnumType | ||
@@ -179,2 +300,40 @@ /** | ||
})(TrendType = exports.TrendType || (exports.TrendType = {})); | ||
var TrendTypeValues; | ||
(function (TrendTypeValues) { | ||
/** | ||
Value grows strongly | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
TrendTypeValues[TrendTypeValues["StrongUp"] = 1] = "StrongUp"; | ||
/** | ||
Value grows | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
TrendTypeValues[TrendTypeValues["Up"] = 2] = "Up"; | ||
/** | ||
Value does not significantly grow or shrink | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
TrendTypeValues[TrendTypeValues["Sideways"] = 3] = "Sideways"; | ||
/** | ||
Value shrinks | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
TrendTypeValues[TrendTypeValues["Down"] = 4] = "Down"; | ||
/** | ||
Value shrinks strongly | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
TrendTypeValues[TrendTypeValues["StrongDown"] = 5] = "StrongDown"; | ||
})(TrendTypeValues = exports.TrendTypeValues || (exports.TrendTypeValues = {})); | ||
// EnumType | ||
@@ -223,2 +382,44 @@ var ChartType; | ||
})(ChartType = exports.ChartType || (exports.ChartType = {})); | ||
var ChartTypeValues; | ||
(function (ChartTypeValues) { | ||
ChartTypeValues[ChartTypeValues["Column"] = 0] = "Column"; | ||
ChartTypeValues[ChartTypeValues["ColumnStacked"] = 1] = "ColumnStacked"; | ||
ChartTypeValues[ChartTypeValues["ColumnDual"] = 2] = "ColumnDual"; | ||
ChartTypeValues[ChartTypeValues["ColumnStackedDual"] = 3] = "ColumnStackedDual"; | ||
ChartTypeValues[ChartTypeValues["ColumnStacked100"] = 4] = "ColumnStacked100"; | ||
ChartTypeValues[ChartTypeValues["ColumnStackedDual100"] = 5] = "ColumnStackedDual100"; | ||
ChartTypeValues[ChartTypeValues["Bar"] = 6] = "Bar"; | ||
ChartTypeValues[ChartTypeValues["BarStacked"] = 7] = "BarStacked"; | ||
ChartTypeValues[ChartTypeValues["BarDual"] = 8] = "BarDual"; | ||
ChartTypeValues[ChartTypeValues["BarStackedDual"] = 9] = "BarStackedDual"; | ||
ChartTypeValues[ChartTypeValues["BarStacked100"] = 10] = "BarStacked100"; | ||
ChartTypeValues[ChartTypeValues["BarStackedDual100"] = 11] = "BarStackedDual100"; | ||
ChartTypeValues[ChartTypeValues["Area"] = 12] = "Area"; | ||
ChartTypeValues[ChartTypeValues["AreaStacked"] = 13] = "AreaStacked"; | ||
ChartTypeValues[ChartTypeValues["AreaStacked100"] = 14] = "AreaStacked100"; | ||
ChartTypeValues[ChartTypeValues["HorizontalArea"] = 15] = "HorizontalArea"; | ||
ChartTypeValues[ChartTypeValues["HorizontalAreaStacked"] = 16] = "HorizontalAreaStacked"; | ||
ChartTypeValues[ChartTypeValues["HorizontalAreaStacked100"] = 17] = "HorizontalAreaStacked100"; | ||
ChartTypeValues[ChartTypeValues["Line"] = 18] = "Line"; | ||
ChartTypeValues[ChartTypeValues["LineDual"] = 19] = "LineDual"; | ||
ChartTypeValues[ChartTypeValues["Combination"] = 20] = "Combination"; | ||
ChartTypeValues[ChartTypeValues["CombinationStacked"] = 21] = "CombinationStacked"; | ||
ChartTypeValues[ChartTypeValues["CombinationDual"] = 22] = "CombinationDual"; | ||
ChartTypeValues[ChartTypeValues["CombinationStackedDual"] = 23] = "CombinationStackedDual"; | ||
ChartTypeValues[ChartTypeValues["HorizontalCombinationStacked"] = 24] = "HorizontalCombinationStacked"; | ||
ChartTypeValues[ChartTypeValues["Pie"] = 25] = "Pie"; | ||
ChartTypeValues[ChartTypeValues["Donut"] = 26] = "Donut"; | ||
ChartTypeValues[ChartTypeValues["Scatter"] = 27] = "Scatter"; | ||
ChartTypeValues[ChartTypeValues["Bubble"] = 28] = "Bubble"; | ||
ChartTypeValues[ChartTypeValues["Radar"] = 29] = "Radar"; | ||
ChartTypeValues[ChartTypeValues["HeatMap"] = 30] = "HeatMap"; | ||
ChartTypeValues[ChartTypeValues["TreeMap"] = 31] = "TreeMap"; | ||
ChartTypeValues[ChartTypeValues["Waterfall"] = 32] = "Waterfall"; | ||
ChartTypeValues[ChartTypeValues["Bullet"] = 33] = "Bullet"; | ||
ChartTypeValues[ChartTypeValues["VerticalBullet"] = 34] = "VerticalBullet"; | ||
ChartTypeValues[ChartTypeValues["HorizontalWaterfall"] = 35] = "HorizontalWaterfall"; | ||
ChartTypeValues[ChartTypeValues["HorizontalCombinationDual"] = 36] = "HorizontalCombinationDual"; | ||
ChartTypeValues[ChartTypeValues["HorizontalCombinationStackedDual"] = 37] = "HorizontalCombinationStackedDual"; | ||
ChartTypeValues[ChartTypeValues["Donut100"] = 38] = "Donut100"; | ||
})(ChartTypeValues = exports.ChartTypeValues || (exports.ChartTypeValues = {})); | ||
// EnumType | ||
@@ -244,2 +445,21 @@ var ChartAxisScaleBehaviorType; | ||
})(ChartAxisScaleBehaviorType = exports.ChartAxisScaleBehaviorType || (exports.ChartAxisScaleBehaviorType = {})); | ||
var ChartAxisScaleBehaviorTypeValues; | ||
(function (ChartAxisScaleBehaviorTypeValues) { | ||
/** | ||
Value axes scale automatically | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
ChartAxisScaleBehaviorTypeValues[ChartAxisScaleBehaviorTypeValues["AutoScale"] = 0] = "AutoScale"; | ||
/** | ||
Fixed minimum and maximum values are applied, which are derived from the @UI.MeasureAttributes.DataPoint/MinimumValue and .../MaximumValue annotation by default. | ||
For stacking chart types with multiple measures, they are taken from ChartAxisScalingType/FixedScaleMultipleStackedMeasuresBoundaryValues. | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
ChartAxisScaleBehaviorTypeValues[ChartAxisScaleBehaviorTypeValues["FixedScale"] = 1] = "FixedScale"; | ||
})(ChartAxisScaleBehaviorTypeValues = exports.ChartAxisScaleBehaviorTypeValues || (exports.ChartAxisScaleBehaviorTypeValues = {})); | ||
// EnumType | ||
@@ -263,2 +483,19 @@ var ChartAxisAutoScaleDataScopeType; | ||
})(ChartAxisAutoScaleDataScopeType = exports.ChartAxisAutoScaleDataScopeType || (exports.ChartAxisAutoScaleDataScopeType = {})); | ||
var ChartAxisAutoScaleDataScopeTypeValues; | ||
(function (ChartAxisAutoScaleDataScopeTypeValues) { | ||
/** | ||
Minimum and maximum axes values are determined from the entire data set | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
ChartAxisAutoScaleDataScopeTypeValues[ChartAxisAutoScaleDataScopeTypeValues["DataSet"] = 0] = "DataSet"; | ||
/** | ||
Minimum and maximum axes values are determined from the currently visible data. Scrolling will change the scale. | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
ChartAxisAutoScaleDataScopeTypeValues[ChartAxisAutoScaleDataScopeTypeValues["VisibleData"] = 1] = "VisibleData"; | ||
})(ChartAxisAutoScaleDataScopeTypeValues = exports.ChartAxisAutoScaleDataScopeTypeValues || (exports.ChartAxisAutoScaleDataScopeTypeValues = {})); | ||
// EnumType | ||
@@ -271,2 +508,8 @@ var ChartDimensionRoleType; | ||
})(ChartDimensionRoleType = exports.ChartDimensionRoleType || (exports.ChartDimensionRoleType = {})); | ||
var ChartDimensionRoleTypeValues; | ||
(function (ChartDimensionRoleTypeValues) { | ||
ChartDimensionRoleTypeValues[ChartDimensionRoleTypeValues["Category"] = 0] = "Category"; | ||
ChartDimensionRoleTypeValues[ChartDimensionRoleTypeValues["Series"] = 1] = "Series"; | ||
ChartDimensionRoleTypeValues[ChartDimensionRoleTypeValues["Category2"] = 2] = "Category2"; | ||
})(ChartDimensionRoleTypeValues = exports.ChartDimensionRoleTypeValues || (exports.ChartDimensionRoleTypeValues = {})); | ||
// EnumType | ||
@@ -279,2 +522,8 @@ var ChartMeasureRoleType; | ||
})(ChartMeasureRoleType = exports.ChartMeasureRoleType || (exports.ChartMeasureRoleType = {})); | ||
var ChartMeasureRoleTypeValues; | ||
(function (ChartMeasureRoleTypeValues) { | ||
ChartMeasureRoleTypeValues[ChartMeasureRoleTypeValues["Axis1"] = 0] = "Axis1"; | ||
ChartMeasureRoleTypeValues[ChartMeasureRoleTypeValues["Axis2"] = 1] = "Axis2"; | ||
ChartMeasureRoleTypeValues[ChartMeasureRoleTypeValues["Axis3"] = 2] = "Axis3"; | ||
})(ChartMeasureRoleTypeValues = exports.ChartMeasureRoleTypeValues || (exports.ChartMeasureRoleTypeValues = {})); | ||
// EnumType | ||
@@ -298,2 +547,19 @@ var SelectionRangeSignType; | ||
})(SelectionRangeSignType = exports.SelectionRangeSignType || (exports.SelectionRangeSignType = {})); | ||
var SelectionRangeSignTypeValues; | ||
(function (SelectionRangeSignTypeValues) { | ||
/** | ||
Inclusive | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
SelectionRangeSignTypeValues[SelectionRangeSignTypeValues["I"] = 0] = "I"; | ||
/** | ||
Exclusive | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
SelectionRangeSignTypeValues[SelectionRangeSignTypeValues["E"] = 1] = "E"; | ||
})(SelectionRangeSignTypeValues = exports.SelectionRangeSignTypeValues || (exports.SelectionRangeSignTypeValues = {})); | ||
// EnumType | ||
@@ -376,2 +642,75 @@ /** | ||
})(SelectionRangeOptionType = exports.SelectionRangeOptionType || (exports.SelectionRangeOptionType = {})); | ||
var SelectionRangeOptionTypeValues; | ||
(function (SelectionRangeOptionTypeValues) { | ||
/** | ||
Equal to | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
SelectionRangeOptionTypeValues[SelectionRangeOptionTypeValues["EQ"] = 0] = "EQ"; | ||
/** | ||
Between | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
SelectionRangeOptionTypeValues[SelectionRangeOptionTypeValues["BT"] = 1] = "BT"; | ||
/** | ||
Contains pattern | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
SelectionRangeOptionTypeValues[SelectionRangeOptionTypeValues["CP"] = 2] = "CP"; | ||
/** | ||
Less than or equal to | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
SelectionRangeOptionTypeValues[SelectionRangeOptionTypeValues["LE"] = 3] = "LE"; | ||
/** | ||
Greater than or equal to | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
SelectionRangeOptionTypeValues[SelectionRangeOptionTypeValues["GE"] = 4] = "GE"; | ||
/** | ||
Not equal to | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
SelectionRangeOptionTypeValues[SelectionRangeOptionTypeValues["NE"] = 5] = "NE"; | ||
/** | ||
Not between | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
SelectionRangeOptionTypeValues[SelectionRangeOptionTypeValues["NB"] = 6] = "NB"; | ||
/** | ||
Does not contain pattern | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
SelectionRangeOptionTypeValues[SelectionRangeOptionTypeValues["NP"] = 7] = "NP"; | ||
/** | ||
Greater than | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
SelectionRangeOptionTypeValues[SelectionRangeOptionTypeValues["GT"] = 8] = "GT"; | ||
/** | ||
Less than | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
SelectionRangeOptionTypeValues[SelectionRangeOptionTypeValues["LT"] = 9] = "LT"; | ||
})(SelectionRangeOptionTypeValues = exports.SelectionRangeOptionTypeValues || (exports.SelectionRangeOptionTypeValues = {})); | ||
// EnumType | ||
@@ -409,2 +748,33 @@ var TextArrangementType; | ||
})(TextArrangementType = exports.TextArrangementType || (exports.TextArrangementType = {})); | ||
var TextArrangementTypeValues; | ||
(function (TextArrangementTypeValues) { | ||
/** | ||
Text is first, followed by the code/ID (e.g. in parentheses) | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
TextArrangementTypeValues[TextArrangementTypeValues["TextFirst"] = 0] = "TextFirst"; | ||
/** | ||
Code/ID is first, followed by the text (e.g. separated by a dash) | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
TextArrangementTypeValues[TextArrangementTypeValues["TextLast"] = 1] = "TextLast"; | ||
/** | ||
Code/ID and text are represented separately (code/ID will be shown and text can be visualized in a separate place) | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
TextArrangementTypeValues[TextArrangementTypeValues["TextSeparate"] = 2] = "TextSeparate"; | ||
/** | ||
Only text is represented, code/ID is hidden (e.g. for UUIDs) | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
TextArrangementTypeValues[TextArrangementTypeValues["TextOnly"] = 3] = "TextOnly"; | ||
})(TextArrangementTypeValues = exports.TextArrangementTypeValues || (exports.TextArrangementTypeValues = {})); | ||
// EnumType | ||
@@ -435,2 +805,26 @@ var ImportanceType; | ||
})(ImportanceType = exports.ImportanceType || (exports.ImportanceType = {})); | ||
var ImportanceTypeValues; | ||
(function (ImportanceTypeValues) { | ||
/** | ||
High importance | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
ImportanceTypeValues[ImportanceTypeValues["High"] = 0] = "High"; | ||
/** | ||
Medium importance | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
ImportanceTypeValues[ImportanceTypeValues["Medium"] = 1] = "Medium"; | ||
/** | ||
Low importance | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
ImportanceTypeValues[ImportanceTypeValues["Low"] = 2] = "Low"; | ||
})(ImportanceTypeValues = exports.ImportanceTypeValues || (exports.ImportanceTypeValues = {})); | ||
// EnumType | ||
@@ -461,2 +855,26 @@ var CriticalityRepresentationType; | ||
})(CriticalityRepresentationType = exports.CriticalityRepresentationType || (exports.CriticalityRepresentationType = {})); | ||
var CriticalityRepresentationTypeValues; | ||
(function (CriticalityRepresentationTypeValues) { | ||
/** | ||
Criticality is represented with an icon | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
CriticalityRepresentationTypeValues[CriticalityRepresentationTypeValues["WithIcon"] = 0] = "WithIcon"; | ||
/** | ||
Criticality is represented without icon, e.g. only via text color | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
CriticalityRepresentationTypeValues[CriticalityRepresentationTypeValues["WithoutIcon"] = 1] = "WithoutIcon"; | ||
/** | ||
Criticality is represented only by using an icon | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
CriticalityRepresentationTypeValues[CriticalityRepresentationTypeValues["OnlyIcon"] = 2] = "OnlyIcon"; | ||
})(CriticalityRepresentationTypeValues = exports.CriticalityRepresentationTypeValues || (exports.CriticalityRepresentationTypeValues = {})); | ||
// EnumType | ||
@@ -480,2 +898,19 @@ var OperationGroupingType; | ||
})(OperationGroupingType = exports.OperationGroupingType || (exports.OperationGroupingType = {})); | ||
var OperationGroupingTypeValues; | ||
(function (OperationGroupingTypeValues) { | ||
/** | ||
Invoke each action in isolation from other actions | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
OperationGroupingTypeValues[OperationGroupingTypeValues["Isolated"] = 0] = "Isolated"; | ||
/** | ||
Group all actions into a single change set | ||
*/ | ||
/** | ||
undefined | ||
*/ | ||
OperationGroupingTypeValues[OperationGroupingTypeValues["ChangeSet"] = 1] = "ChangeSet"; | ||
})(OperationGroupingTypeValues = exports.OperationGroupingTypeValues || (exports.OperationGroupingTypeValues = {})); | ||
var UIAnnotationTerms; | ||
@@ -482,0 +917,0 @@ (function (UIAnnotationTerms) { |
import * as Core from "./Core"; | ||
import * as Edm from "../Edm"; | ||
import AnnotationTerm = Edm.AnnotationTerm; | ||
import PropertyAnnotationValue = Edm.PropertyAnnotationValue; | ||
import ComplexType = Edm.RecordComplexType; | ||
@@ -11,3 +10,3 @@ /** | ||
term: ValidationAnnotationTerms.Pattern; | ||
} & AnnotationTerm<PropertyAnnotationValue<Edm.String>>; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
@@ -30,3 +29,3 @@ Minimum value that a property, parameter, or term can have. | ||
term: ValidationAnnotationTerms.Exclusive; | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
} & AnnotationTerm<Core.Tag>; | ||
/** | ||
@@ -43,3 +42,3 @@ A collection of valid values for the annotated property, parameter, or type definition | ||
*/ | ||
Value?: PropertyAnnotationValue<Edm.PrimitiveType>; | ||
Value?: Edm.PrimitiveType; | ||
}; | ||
@@ -63,7 +62,7 @@ /** | ||
*/ | ||
FailureMessage?: PropertyAnnotationValue<Edm.String>; | ||
FailureMessage?: Edm.String; | ||
/** | ||
Value MUST be a dynamic expression that evaluates to true if and only if the constraint is fulfilled | ||
*/ | ||
Condition: PropertyAnnotationValue<Edm.Boolean>; | ||
Condition: Edm.Boolean; | ||
}; | ||
@@ -95,3 +94,3 @@ /** | ||
term: ValidationAnnotationTerms.OpenPropertyTypeConstraint; | ||
} & AnnotationTerm<PropertyAnnotationValue<SingleOrCollectionType[]>>; | ||
} & AnnotationTerm<SingleOrCollectionType[]>; | ||
/** | ||
@@ -102,3 +101,3 @@ Values are restricted to types that are both identical to or derived from the declared type and a type listed in this collection. | ||
term: ValidationAnnotationTerms.DerivedTypeConstraint; | ||
} & AnnotationTerm<PropertyAnnotationValue<SingleOrCollectionType[]>>; | ||
} & AnnotationTerm<SingleOrCollectionType[]>; | ||
/** | ||
@@ -105,0 +104,0 @@ The qualified name of a type in scope, optionally wrapped in `Collection()` to denote a collection of instances of the type |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
692419
14727