mendixmodelsdk
Advanced tools
Comparing version 4.72.1-dev-1215-73d79415f to 4.72.1-dev-1217-194803080
{ | ||
"name": "mendixmodelsdk", | ||
"description": "Mendix Model SDK", | ||
"version": "4.72.1-dev-1215-73d79415f", | ||
"version": "4.72.1-dev-1217-194803080", | ||
"author": "Mendix", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -17,2 +17,3 @@ /** | ||
export * from "./enumerations"; | ||
export * from "./exceldataimporter"; | ||
export * from "./exportmappings"; | ||
@@ -19,0 +20,0 @@ export * from "./expressions"; |
@@ -33,2 +33,3 @@ "use strict"; | ||
__exportStar(require("./enumerations"), exports); | ||
__exportStar(require("./exceldataimporter"), exports); | ||
__exportStar(require("./exportmappings"), exports); | ||
@@ -35,0 +36,0 @@ __exportStar(require("./expressions"), exports); |
@@ -14,2 +14,3 @@ import { IAbstractModel, AbstractModel } from "../sdk/internal/AbstractModel"; | ||
import { enumerations } from "./enumerations"; | ||
import { exceldataimporter } from "./exceldataimporter"; | ||
import { exportmappings } from "./exportmappings"; | ||
@@ -53,2 +54,3 @@ import { expressions } from "./expressions"; | ||
allBuildingBlocks(): pages.IBuildingBlock[]; | ||
allBusinessEventServices(): businessevents.IBusinessEventService[]; | ||
allCodeActions(): codeactions.ICodeAction[]; | ||
@@ -117,2 +119,3 @@ allConstants(): constants.IConstant[]; | ||
allSystemTextCollections(): texts.ISystemTextCollection[]; | ||
allTemplates(): exceldataimporter.ITemplate[]; | ||
allTemplateFormBases(): pages.ITemplateFormBase[]; | ||
@@ -183,2 +186,3 @@ allWorkflows(): workflows.IWorkflow[]; | ||
allBuildingBlocks(): pages.IBuildingBlock[]; | ||
allBusinessEventServices(): businessevents.IBusinessEventService[]; | ||
allCodeActions(): codeactions.ICodeAction[]; | ||
@@ -247,2 +251,3 @@ allConstants(): constants.IConstant[]; | ||
allSystemTextCollections(): texts.ISystemTextCollection[]; | ||
allTemplates(): exceldataimporter.ITemplate[]; | ||
allTemplateFormBases(): pages.ITemplateFormBase[]; | ||
@@ -336,6 +341,11 @@ allWorkflows(): workflows.IWorkflow[]; | ||
AppServices$MsdVersion: appservices.MsdVersion; | ||
BusinessEvents$BusinessEventDefinition: businessevents.BusinessEventDefinition; | ||
BusinessEvents$Channel: businessevents.Channel; | ||
BusinessEvents$ConsumedBusinessEvent: businessevents.ConsumedBusinessEvent; | ||
BusinessEvents$Message: businessevents.Message; | ||
BusinessEvents$MessageAttribute: businessevents.MessageAttribute; | ||
BusinessEvents$PublishedChannel: businessevents.PublishedChannel; | ||
BusinessEvents$PublishedMessage: businessevents.PublishedMessage; | ||
BusinessEvents$PublishedMessageAttribute: businessevents.PublishedMessageAttribute; | ||
BusinessEvents$ServiceOperation: businessevents.ServiceOperation; | ||
CodeActions$BasicParameterType: codeactions.BasicParameterType; | ||
@@ -475,2 +485,6 @@ CodeActions$BooleanType: codeactions.BooleanType; | ||
Enumerations$EnumerationValue: enumerations.EnumerationValue; | ||
ExcelDataImporter$ColumnAttributeMapping: exceldataimporter.ColumnAttributeMapping; | ||
ExcelDataImporter$IndexReference: exceldataimporter.IndexReference; | ||
ExcelDataImporter$NameReference: exceldataimporter.NameReference; | ||
ExcelDataImporter$Sheet: exceldataimporter.Sheet; | ||
ExportMappings$ExportObjectMappingElement: exportmappings.ExportObjectMappingElement; | ||
@@ -477,0 +491,0 @@ ExportMappings$ExportValueMappingElement: exportmappings.ExportValueMappingElement; |
@@ -32,2 +32,7 @@ "use strict"; | ||
} | ||
allBusinessEventServices() { | ||
return super._allOfTypes([ | ||
"BusinessEvents$BusinessEventService" | ||
]); | ||
} | ||
allCodeActions() { | ||
@@ -80,3 +85,3 @@ return super._allOfTypes([ | ||
return super._allOfTypes([ | ||
"AppServices$ConsumedAppService", "BusinessEvents$ConsumedBusinessEventService", "BusinessEvents$PublishedBusinessEventService", "Constants$Constant", "CustomIcons$CustomIconCollection", "DataSets$DataSet", "DatabaseConnector$DatabaseConnection", "DocumentTemplates$DocumentTemplate", "Enumerations$Enumeration", "ExportMappings$ExportMapping", "Images$ImageCollection", "ImportMappings$ImportMapping", "JavaActions$JavaAction", "JavaScriptActions$JavaScriptAction", "JsonStructures$JsonStructure", "Kafka$ConsumedKafkaService", "Kafka$PublishedKafkaService", "MLMappings$MLMappingDocument", "Menus$MenuDocument", "MessageDefinitions$MessageDefinitionCollection", "Microflows$Microflow", "Microflows$Nanoflow", "Microflows$Rule", "NativePages$NativeLayout", "NativePages$NativePage", "Pages$BuildingBlock", "Pages$Layout", "Pages$Page", "Pages$PageTemplate", "Pages$Snippet", "Queues$Queue", "RegularExpressions$RegularExpression", "Rest$Authentication", "Rest$ConsumedODataService", "Rest$InteractiveRest", "Rest$InteractiveRestCollection", "Rest$PublishedODataService", "Rest$PublishedRestService", "ScheduledEvents$ScheduledEvent", "WebServices$ImportedWebService", "WebServices$PublishedAppService", "WebServices$PublishedWebService", "Workflows$Workflow", "XmlSchemas$XmlSchema" | ||
"AppServices$ConsumedAppService", "BusinessEvents$BusinessEventService", "BusinessEvents$ConsumedBusinessEventService", "BusinessEvents$PublishedBusinessEventService", "Constants$Constant", "CustomIcons$CustomIconCollection", "DataSets$DataSet", "DatabaseConnector$DatabaseConnection", "DocumentTemplates$DocumentTemplate", "Enumerations$Enumeration", "ExcelDataImporter$Template", "ExportMappings$ExportMapping", "Images$ImageCollection", "ImportMappings$ImportMapping", "JavaActions$JavaAction", "JavaScriptActions$JavaScriptAction", "JsonStructures$JsonStructure", "Kafka$ConsumedKafkaService", "Kafka$PublishedKafkaService", "MLMappings$MLMappingDocument", "Menus$MenuDocument", "MessageDefinitions$MessageDefinitionCollection", "Microflows$Microflow", "Microflows$Nanoflow", "Microflows$Rule", "NativePages$NativeLayout", "NativePages$NativePage", "Pages$BuildingBlock", "Pages$Layout", "Pages$Page", "Pages$PageTemplate", "Pages$Snippet", "Queues$Queue", "RegularExpressions$RegularExpression", "Rest$Authentication", "Rest$ConsumedODataService", "Rest$InteractiveRest", "Rest$InteractiveRestCollection", "Rest$PublishedODataService", "Rest$PublishedRestService", "ScheduledEvents$ScheduledEvent", "WebServices$ImportedWebService", "WebServices$PublishedAppService", "WebServices$PublishedWebService", "Workflows$Workflow", "XmlSchemas$XmlSchema" | ||
]); | ||
@@ -201,3 +206,3 @@ } | ||
return super._allOfTypes([ | ||
"AppServices$ConsumedAppService", "BusinessEvents$ConsumedBusinessEventService", "BusinessEvents$PublishedBusinessEventService", "Constants$Constant", "CustomIcons$CustomIconCollection", "DataSets$DataSet", "DatabaseConnector$DatabaseConnection", "DocumentTemplates$DocumentTemplate", "DomainModels$DomainModel", "Enumerations$Enumeration", "ExportMappings$ExportMapping", "Images$ImageCollection", "ImportMappings$ImportMapping", "JavaActions$JavaAction", "JavaScriptActions$JavaScriptAction", "JsonStructures$JsonStructure", "Kafka$ConsumedKafkaService", "Kafka$PublishedKafkaService", "MLMappings$MLMappingDocument", "Menus$MenuDocument", "MessageDefinitions$MessageDefinitionCollection", "Microflows$Microflow", "Microflows$Nanoflow", "Microflows$Rule", "NativePages$NativeLayout", "NativePages$NativePage", "Pages$BuildingBlock", "Pages$Layout", "Pages$Page", "Pages$PageTemplate", "Pages$Snippet", "Projects$ModuleSettings", "Queues$Queue", "RegularExpressions$RegularExpression", "Rest$Authentication", "Rest$ConsumedODataService", "Rest$InteractiveRest", "Rest$InteractiveRestCollection", "Rest$PublishedODataService", "Rest$PublishedRestService", "ScheduledEvents$ScheduledEvent", "Security$ModuleSecurity", "WebServices$ImportedWebService", "WebServices$PublishedAppService", "WebServices$PublishedWebService", "Workflows$Workflow", "XmlSchemas$XmlSchema" | ||
"AppServices$ConsumedAppService", "BusinessEvents$BusinessEventService", "BusinessEvents$ConsumedBusinessEventService", "BusinessEvents$PublishedBusinessEventService", "Constants$Constant", "CustomIcons$CustomIconCollection", "DataSets$DataSet", "DatabaseConnector$DatabaseConnection", "DocumentTemplates$DocumentTemplate", "DomainModels$DomainModel", "Enumerations$Enumeration", "ExcelDataImporter$Template", "ExportMappings$ExportMapping", "Images$ImageCollection", "ImportMappings$ImportMapping", "JavaActions$JavaAction", "JavaScriptActions$JavaScriptAction", "JsonStructures$JsonStructure", "Kafka$ConsumedKafkaService", "Kafka$PublishedKafkaService", "MLMappings$MLMappingDocument", "Menus$MenuDocument", "MessageDefinitions$MessageDefinitionCollection", "Microflows$Microflow", "Microflows$Nanoflow", "Microflows$Rule", "NativePages$NativeLayout", "NativePages$NativePage", "Pages$BuildingBlock", "Pages$Layout", "Pages$Page", "Pages$PageTemplate", "Pages$Snippet", "Projects$ModuleSettings", "Queues$Queue", "RegularExpressions$RegularExpression", "Rest$Authentication", "Rest$ConsumedODataService", "Rest$InteractiveRest", "Rest$InteractiveRestCollection", "Rest$PublishedODataService", "Rest$PublishedRestService", "ScheduledEvents$ScheduledEvent", "Security$ModuleSecurity", "WebServices$ImportedWebService", "WebServices$PublishedAppService", "WebServices$PublishedWebService", "Workflows$Workflow", "XmlSchemas$XmlSchema" | ||
]); | ||
@@ -350,2 +355,7 @@ } | ||
} | ||
allTemplates() { | ||
return super._allOfTypes([ | ||
"ExcelDataImporter$Template" | ||
]); | ||
} | ||
allTemplateFormBases() { | ||
@@ -352,0 +362,0 @@ return super._allOfTypes([ |
import * as internal from "../sdk/internal"; | ||
export import StructureVersionInfo = internal.StructureVersionInfo; | ||
import { projects } from "./projects"; | ||
/** | ||
* @ignore | ||
*/ | ||
export declare namespace businessevents { | ||
@@ -16,2 +13,126 @@ /** | ||
* | ||
* In version 9.24.0: introduced | ||
*/ | ||
class BusinessEventDefinition extends internal.Element<IModel> { | ||
static structureTypeName: string; | ||
static versionInfo: StructureVersionInfo; | ||
get containerAsBusinessEventService(): BusinessEventService; | ||
get serviceName(): string; | ||
set serviceName(newValue: string); | ||
get eventNamePrefix(): string; | ||
set eventNamePrefix(newValue: string); | ||
get description(): string; | ||
set description(newValue: string); | ||
get summary(): string; | ||
set summary(newValue: string); | ||
/** | ||
* NOTE: This property is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
*/ | ||
get channels(): internal.IList<Channel>; | ||
constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new BusinessEventDefinition instance in the SDK and on the server. | ||
* The new BusinessEventDefinition will be automatically stored in the 'definition' property | ||
* of the parent BusinessEventService element passed as argument. | ||
* | ||
* Warning! Can only be used on models with the following Mendix meta model versions: | ||
* 9.24.0 and higher | ||
*/ | ||
static createIn(container: BusinessEventService): BusinessEventDefinition; | ||
/** | ||
* Creates and returns a new BusinessEventDefinition instance in the SDK and on the server. | ||
* Expects one argument: the IModel object the instance will "live on". | ||
* After creation, assign or add this instance to a property that accepts this kind of objects. | ||
*/ | ||
static create(model: IModel): BusinessEventDefinition; | ||
} | ||
/** | ||
* NOTE: This class is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
* | ||
* In version 9.24.0: introduced | ||
*/ | ||
interface IBusinessEventService extends projects.IDocument { | ||
readonly model: IModel; | ||
readonly containerAsFolderBase: projects.IFolderBase; | ||
asLoaded(): BusinessEventService; | ||
load(callback: (element: BusinessEventService) => void, forceRefresh?: boolean): void; | ||
load(forceRefresh?: boolean): Promise<BusinessEventService>; | ||
} | ||
/** | ||
* NOTE: This class is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
* | ||
* In version 9.24.0: introduced | ||
*/ | ||
class BusinessEventService extends projects.Document implements IBusinessEventService { | ||
static structureTypeName: string; | ||
static versionInfo: StructureVersionInfo; | ||
get containerAsFolderBase(): projects.FolderBase; | ||
/** | ||
* NOTE: This property is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
*/ | ||
get definition(): BusinessEventDefinition | null; | ||
set definition(newValue: BusinessEventDefinition | null); | ||
get document(): string; | ||
set document(newValue: string); | ||
/** | ||
* NOTE: This property is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
*/ | ||
get operationImplementations(): internal.IList<ServiceOperation>; | ||
constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, container: projects.IFolderBase); | ||
/** | ||
* Creates a new BusinessEventService unit in the SDK and on the server. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
static createIn(container: projects.IFolderBase): BusinessEventService; | ||
} | ||
/** | ||
* NOTE: This class is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
* | ||
* In version 9.24.0: introduced | ||
*/ | ||
class Channel extends internal.Element<IModel> { | ||
static structureTypeName: string; | ||
static versionInfo: StructureVersionInfo; | ||
get containerAsBusinessEventDefinition(): BusinessEventDefinition; | ||
get channelName(): string; | ||
set channelName(newValue: string); | ||
get description(): string; | ||
set description(newValue: string); | ||
/** | ||
* NOTE: This property is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
*/ | ||
get messages(): internal.IList<Message>; | ||
constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new Channel instance in the SDK and on the server. | ||
* The new Channel will be automatically stored in the 'channels' property | ||
* of the parent BusinessEventDefinition element passed as argument. | ||
* | ||
* Warning! Can only be used on models with the following Mendix meta model versions: | ||
* 9.24.0 and higher | ||
*/ | ||
static createIn(container: BusinessEventDefinition): Channel; | ||
/** | ||
* Creates and returns a new Channel instance in the SDK and on the server. | ||
* Expects one argument: the IModel object the instance will "live on". | ||
* After creation, assign or add this instance to a property that accepts this kind of objects. | ||
*/ | ||
static create(model: IModel): Channel; | ||
} | ||
/** | ||
* In version 9.24.0: deleted | ||
* In version 9.11.0: introduced | ||
@@ -43,3 +164,3 @@ */ | ||
* Warning! Can only be used on models with the following Mendix meta model versions: | ||
* 9.11.0 and higher | ||
* 9.11.0 to 9.23.0 | ||
*/ | ||
@@ -55,6 +176,3 @@ static createIn(container: ConsumedBusinessEventService): ConsumedBusinessEvent; | ||
/** | ||
* NOTE: This class is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
* | ||
* In version 9.24.0: deleted | ||
* In version 9.8.0: introduced | ||
@@ -70,6 +188,3 @@ */ | ||
/** | ||
* NOTE: This class is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
* | ||
* In version 9.24.0: deleted | ||
* In version 9.8.0: introduced | ||
@@ -92,6 +207,2 @@ */ | ||
/** | ||
* NOTE: This property is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
* | ||
* In version 9.11.0: introduced | ||
@@ -112,2 +223,75 @@ */ | ||
* | ||
* In version 9.24.0: introduced | ||
*/ | ||
class Message extends internal.Element<IModel> { | ||
static structureTypeName: string; | ||
static versionInfo: StructureVersionInfo; | ||
get containerAsChannel(): Channel; | ||
get messageName(): string; | ||
set messageName(newValue: string); | ||
get description(): string; | ||
set description(newValue: string); | ||
/** | ||
* NOTE: This property is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
*/ | ||
get attributes(): internal.IList<MessageAttribute>; | ||
get canPublish(): boolean; | ||
set canPublish(newValue: boolean); | ||
get canSubscribe(): boolean; | ||
set canSubscribe(newValue: boolean); | ||
constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new Message instance in the SDK and on the server. | ||
* The new Message will be automatically stored in the 'messages' property | ||
* of the parent Channel element passed as argument. | ||
* | ||
* Warning! Can only be used on models with the following Mendix meta model versions: | ||
* 9.24.0 and higher | ||
*/ | ||
static createIn(container: Channel): Message; | ||
/** | ||
* Creates and returns a new Message instance in the SDK and on the server. | ||
* Expects one argument: the IModel object the instance will "live on". | ||
* After creation, assign or add this instance to a property that accepts this kind of objects. | ||
*/ | ||
static create(model: IModel): Message; | ||
} | ||
/** | ||
* NOTE: This class is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
* | ||
* In version 9.24.0: introduced | ||
*/ | ||
class MessageAttribute extends internal.Element<IModel> { | ||
static structureTypeName: string; | ||
static versionInfo: StructureVersionInfo; | ||
get containerAsMessage(): Message; | ||
get attributeType(): domainmodels.AttributeType; | ||
set attributeType(newValue: domainmodels.AttributeType); | ||
get attributeName(): string; | ||
set attributeName(newValue: string); | ||
get description(): string; | ||
set description(newValue: string); | ||
constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new MessageAttribute instance in the SDK and on the server. | ||
* The new MessageAttribute will be automatically stored in the 'attributes' property | ||
* of the parent Message element passed as argument. | ||
* | ||
* Warning! Can only be used on models with the following Mendix meta model versions: | ||
* 9.24.0 and higher | ||
*/ | ||
static createIn(container: Message): MessageAttribute; | ||
/** | ||
* Creates and returns a new MessageAttribute instance in the SDK and on the server. | ||
* Expects one argument: the IModel object the instance will "live on". | ||
* After creation, assign or add this instance to a property that accepts this kind of objects. | ||
*/ | ||
static create(model: IModel): MessageAttribute; | ||
} | ||
/** | ||
* In version 9.24.0: deleted | ||
* In version 9.11.0: introduced | ||
@@ -123,6 +307,3 @@ */ | ||
/** | ||
* NOTE: This class is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
* | ||
* In version 9.24.0: deleted | ||
* In version 9.11.0: introduced | ||
@@ -147,7 +328,2 @@ */ | ||
set summary(newValue: string); | ||
/** | ||
* NOTE: This property is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
*/ | ||
get channels(): internal.IList<PublishedChannel>; | ||
@@ -162,6 +338,3 @@ constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, container: projects.IFolderBase); | ||
/** | ||
* NOTE: This class is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
* | ||
* In version 9.24.0: deleted | ||
* In version 9.11.0: introduced | ||
@@ -179,7 +352,2 @@ */ | ||
set description(newValue: string); | ||
/** | ||
* NOTE: This property is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
*/ | ||
get messages(): internal.IList<PublishedMessage>; | ||
@@ -193,3 +361,3 @@ constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
* Warning! Can only be used on models with the following Mendix meta model versions: | ||
* 9.11.0 and higher | ||
* 9.11.0 to 9.23.0 | ||
*/ | ||
@@ -205,6 +373,3 @@ static createIn(container: PublishedBusinessEventService): PublishedChannel; | ||
/** | ||
* NOTE: This class is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
* | ||
* In version 9.24.0: deleted | ||
* In version 9.11.0: introduced | ||
@@ -233,7 +398,2 @@ */ | ||
set summary(newValue: string); | ||
/** | ||
* NOTE: This property is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
*/ | ||
get attributes(): internal.IList<PublishedMessageAttribute>; | ||
@@ -247,3 +407,3 @@ constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
* Warning! Can only be used on models with the following Mendix meta model versions: | ||
* 9.11.0 and higher | ||
* 9.11.0 to 9.23.0 | ||
*/ | ||
@@ -259,6 +419,3 @@ static createIn(container: PublishedChannel): PublishedMessage; | ||
/** | ||
* NOTE: This class is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
* | ||
* In version 9.24.0: deleted | ||
* In version 9.11.0: introduced | ||
@@ -289,3 +446,3 @@ */ | ||
* Warning! Can only be used on models with the following Mendix meta model versions: | ||
* 9.11.0 and higher | ||
* 9.11.0 to 9.23.0 | ||
*/ | ||
@@ -300,2 +457,40 @@ static createIn(container: PublishedMessage): PublishedMessageAttribute; | ||
} | ||
/** | ||
* NOTE: This class is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
* | ||
* In version 9.24.0: introduced | ||
*/ | ||
class ServiceOperation extends internal.Element<IModel> { | ||
static structureTypeName: string; | ||
static versionInfo: StructureVersionInfo; | ||
get containerAsBusinessEventService(): BusinessEventService; | ||
get messageName(): string; | ||
set messageName(newValue: string); | ||
get operation(): string; | ||
set operation(newValue: string); | ||
get entity(): domainmodels.IEntity; | ||
set entity(newValue: domainmodels.IEntity); | ||
get entityQualifiedName(): string; | ||
get microflow(): microflows.IMicroflow | null; | ||
set microflow(newValue: microflows.IMicroflow | null); | ||
get microflowQualifiedName(): string | null; | ||
constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
/** | ||
* Creates and returns a new ServiceOperation instance in the SDK and on the server. | ||
* The new ServiceOperation will be automatically stored in the 'operationImplementations' property | ||
* of the parent BusinessEventService element passed as argument. | ||
* | ||
* Warning! Can only be used on models with the following Mendix meta model versions: | ||
* 9.24.0 and higher | ||
*/ | ||
static createIn(container: BusinessEventService): ServiceOperation; | ||
/** | ||
* Creates and returns a new ServiceOperation instance in the SDK and on the server. | ||
* Expects one argument: the IModel object the instance will "live on". | ||
* After creation, assign or add this instance to a property that accepts this kind of objects. | ||
*/ | ||
static create(model: IModel): ServiceOperation; | ||
} | ||
} | ||
@@ -302,0 +497,0 @@ import { domainmodels } from "./domainmodels"; |
@@ -8,5 +8,2 @@ "use strict"; | ||
const projects_1 = require("./projects"); | ||
/** | ||
* @ignore | ||
*/ | ||
var businessevents; | ||
@@ -22,2 +19,189 @@ (function (businessevents) { | ||
* | ||
* In version 9.24.0: introduced | ||
*/ | ||
class BusinessEventDefinition extends internal.Element { | ||
constructor(model, structureTypeName, id, isPartial, unit, container) { | ||
super(model, structureTypeName, id, isPartial, unit, container); | ||
/** @internal */ | ||
this.__serviceName = new internal.PrimitiveProperty(BusinessEventDefinition, this, "serviceName", "", internal.PrimitiveTypeEnum.String); | ||
/** @internal */ | ||
this.__eventNamePrefix = new internal.PrimitiveProperty(BusinessEventDefinition, this, "eventNamePrefix", "", internal.PrimitiveTypeEnum.String); | ||
/** @internal */ | ||
this.__description = new internal.PrimitiveProperty(BusinessEventDefinition, this, "description", "", internal.PrimitiveTypeEnum.String); | ||
/** @internal */ | ||
this.__summary = new internal.PrimitiveProperty(BusinessEventDefinition, this, "summary", "", internal.PrimitiveTypeEnum.String); | ||
/** @internal */ | ||
this.__channels = new internal.PartListProperty(BusinessEventDefinition, this, "channels", []); | ||
if (arguments.length < 4) { | ||
throw new Error("new BusinessEventDefinition() cannot be invoked directly, please use 'model.businessevents.createBusinessEventDefinition()'"); | ||
} | ||
} | ||
get containerAsBusinessEventService() { return super.getContainerAs(BusinessEventService); } | ||
get serviceName() { return this.__serviceName.get(); } | ||
set serviceName(newValue) { this.__serviceName.set(newValue); } | ||
get eventNamePrefix() { return this.__eventNamePrefix.get(); } | ||
set eventNamePrefix(newValue) { this.__eventNamePrefix.set(newValue); } | ||
get description() { return this.__description.get(); } | ||
set description(newValue) { this.__description.set(newValue); } | ||
get summary() { return this.__summary.get(); } | ||
set summary(newValue) { this.__summary.set(newValue); } | ||
/** | ||
* NOTE: This property is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
*/ | ||
get channels() { return this.__channels.get(); } | ||
/** | ||
* Creates and returns a new BusinessEventDefinition instance in the SDK and on the server. | ||
* The new BusinessEventDefinition will be automatically stored in the 'definition' property | ||
* of the parent BusinessEventService element passed as argument. | ||
* | ||
* Warning! Can only be used on models with the following Mendix meta model versions: | ||
* 9.24.0 and higher | ||
*/ | ||
static createIn(container) { | ||
internal.createInVersionCheck(container.model, BusinessEventDefinition.structureTypeName, { start: "9.24.0" }); | ||
return internal.instancehelpers.createElement(container, BusinessEventDefinition, "definition", false); | ||
} | ||
/** | ||
* Creates and returns a new BusinessEventDefinition instance in the SDK and on the server. | ||
* Expects one argument: the IModel object the instance will "live on". | ||
* After creation, assign or add this instance to a property that accepts this kind of objects. | ||
*/ | ||
static create(model) { | ||
return internal.instancehelpers.createElement(model, BusinessEventDefinition); | ||
} | ||
/** @internal */ | ||
_initializeDefaultProperties() { | ||
super._initializeDefaultProperties(); | ||
} | ||
} | ||
BusinessEventDefinition.structureTypeName = "BusinessEvents$BusinessEventDefinition"; | ||
BusinessEventDefinition.versionInfo = new exports.StructureVersionInfo({ | ||
"introduced": "9.24.0", | ||
"experimental": { | ||
"currentValue": true | ||
} | ||
}, internal.StructureType.Element); | ||
businessevents.BusinessEventDefinition = BusinessEventDefinition; | ||
/** | ||
* NOTE: This class is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
* | ||
* In version 9.24.0: introduced | ||
*/ | ||
class BusinessEventService extends projects_1.projects.Document { | ||
constructor(model, structureTypeName, id, isPartial, container) { | ||
super(model, structureTypeName, id, isPartial, container); | ||
/** @internal */ | ||
this.__definition = new internal.PartProperty(BusinessEventService, this, "definition", null, false); | ||
/** @internal */ | ||
this.__document = new internal.PrimitiveProperty(BusinessEventService, this, "document", "", internal.PrimitiveTypeEnum.String); | ||
/** @internal */ | ||
this.__operationImplementations = new internal.PartListProperty(BusinessEventService, this, "operationImplementations", []); | ||
this._containmentName = "documents"; | ||
} | ||
get containerAsFolderBase() { return super.getContainerAs(projects_1.projects.FolderBase); } | ||
/** | ||
* NOTE: This property is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
*/ | ||
get definition() { return this.__definition.get(); } | ||
set definition(newValue) { this.__definition.set(newValue); } | ||
get document() { return this.__document.get(); } | ||
set document(newValue) { this.__document.set(newValue); } | ||
/** | ||
* NOTE: This property is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
*/ | ||
get operationImplementations() { return this.__operationImplementations.get(); } | ||
/** | ||
* Creates a new BusinessEventService unit in the SDK and on the server. | ||
* Expects one argument, the projects.IFolderBase in which this unit is contained. | ||
*/ | ||
static createIn(container) { | ||
return internal.instancehelpers.createUnit(container, BusinessEventService); | ||
} | ||
/** @internal */ | ||
_initializeDefaultProperties() { | ||
super._initializeDefaultProperties(); | ||
} | ||
} | ||
BusinessEventService.structureTypeName = "BusinessEvents$BusinessEventService"; | ||
BusinessEventService.versionInfo = new exports.StructureVersionInfo({ | ||
"introduced": "9.24.0", | ||
"experimental": { | ||
"currentValue": true | ||
} | ||
}, internal.StructureType.ModelUnit); | ||
businessevents.BusinessEventService = BusinessEventService; | ||
/** | ||
* NOTE: This class is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
* | ||
* In version 9.24.0: introduced | ||
*/ | ||
class Channel extends internal.Element { | ||
constructor(model, structureTypeName, id, isPartial, unit, container) { | ||
super(model, structureTypeName, id, isPartial, unit, container); | ||
/** @internal */ | ||
this.__channelName = new internal.PrimitiveProperty(Channel, this, "channelName", "", internal.PrimitiveTypeEnum.String); | ||
/** @internal */ | ||
this.__description = new internal.PrimitiveProperty(Channel, this, "description", "", internal.PrimitiveTypeEnum.String); | ||
/** @internal */ | ||
this.__messages = new internal.PartListProperty(Channel, this, "messages", []); | ||
if (arguments.length < 4) { | ||
throw new Error("new Channel() cannot be invoked directly, please use 'model.businessevents.createChannel()'"); | ||
} | ||
} | ||
get containerAsBusinessEventDefinition() { return super.getContainerAs(BusinessEventDefinition); } | ||
get channelName() { return this.__channelName.get(); } | ||
set channelName(newValue) { this.__channelName.set(newValue); } | ||
get description() { return this.__description.get(); } | ||
set description(newValue) { this.__description.set(newValue); } | ||
/** | ||
* NOTE: This property is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
*/ | ||
get messages() { return this.__messages.get(); } | ||
/** | ||
* Creates and returns a new Channel instance in the SDK and on the server. | ||
* The new Channel will be automatically stored in the 'channels' property | ||
* of the parent BusinessEventDefinition element passed as argument. | ||
* | ||
* Warning! Can only be used on models with the following Mendix meta model versions: | ||
* 9.24.0 and higher | ||
*/ | ||
static createIn(container) { | ||
internal.createInVersionCheck(container.model, Channel.structureTypeName, { start: "9.24.0" }); | ||
return internal.instancehelpers.createElement(container, Channel, "channels", true); | ||
} | ||
/** | ||
* Creates and returns a new Channel instance in the SDK and on the server. | ||
* Expects one argument: the IModel object the instance will "live on". | ||
* After creation, assign or add this instance to a property that accepts this kind of objects. | ||
*/ | ||
static create(model) { | ||
return internal.instancehelpers.createElement(model, Channel); | ||
} | ||
/** @internal */ | ||
_initializeDefaultProperties() { | ||
super._initializeDefaultProperties(); | ||
} | ||
} | ||
Channel.structureTypeName = "BusinessEvents$Channel"; | ||
Channel.versionInfo = new exports.StructureVersionInfo({ | ||
"introduced": "9.24.0", | ||
"experimental": { | ||
"currentValue": true | ||
} | ||
}, internal.StructureType.Element); | ||
businessevents.Channel = Channel; | ||
/** | ||
* In version 9.24.0: deleted | ||
* In version 9.11.0: introduced | ||
@@ -60,6 +244,6 @@ */ | ||
* Warning! Can only be used on models with the following Mendix meta model versions: | ||
* 9.11.0 and higher | ||
* 9.11.0 to 9.23.0 | ||
*/ | ||
static createIn(container) { | ||
internal.createInVersionCheck(container.model, ConsumedBusinessEvent.structureTypeName, { start: "9.11.0" }); | ||
internal.createInVersionCheck(container.model, ConsumedBusinessEvent.structureTypeName, { start: "9.11.0", end: "9.23.0" }); | ||
return internal.instancehelpers.createElement(container, ConsumedBusinessEvent, "businessEvents", true); | ||
@@ -83,2 +267,4 @@ } | ||
"introduced": "9.11.0", | ||
"deleted": "9.24.0", | ||
"deletionMessage": null, | ||
"properties": { | ||
@@ -98,5 +284,2 @@ "channelId": { | ||
} | ||
}, | ||
"experimental": { | ||
"currentValue": true | ||
} | ||
@@ -106,6 +289,3 @@ }, internal.StructureType.Element); | ||
/** | ||
* NOTE: This class is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
* | ||
* In version 9.24.0: deleted | ||
* In version 9.8.0: introduced | ||
@@ -136,6 +316,2 @@ */ | ||
/** | ||
* NOTE: This property is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
* | ||
* In version 9.11.0: introduced | ||
@@ -159,2 +335,4 @@ */ | ||
"introduced": "9.8.0", | ||
"deleted": "9.24.0", | ||
"deletionMessage": null, | ||
"properties": { | ||
@@ -170,5 +348,2 @@ "version": { | ||
} | ||
}, | ||
"experimental": { | ||
"currentValue": true | ||
} | ||
@@ -182,2 +357,139 @@ }, internal.StructureType.ModelUnit); | ||
* | ||
* In version 9.24.0: introduced | ||
*/ | ||
class Message extends internal.Element { | ||
constructor(model, structureTypeName, id, isPartial, unit, container) { | ||
super(model, structureTypeName, id, isPartial, unit, container); | ||
/** @internal */ | ||
this.__messageName = new internal.PrimitiveProperty(Message, this, "messageName", "", internal.PrimitiveTypeEnum.String); | ||
/** @internal */ | ||
this.__description = new internal.PrimitiveProperty(Message, this, "description", "", internal.PrimitiveTypeEnum.String); | ||
/** @internal */ | ||
this.__attributes = new internal.PartListProperty(Message, this, "attributes", []); | ||
/** @internal */ | ||
this.__canPublish = new internal.PrimitiveProperty(Message, this, "canPublish", false, internal.PrimitiveTypeEnum.Boolean); | ||
/** @internal */ | ||
this.__canSubscribe = new internal.PrimitiveProperty(Message, this, "canSubscribe", false, internal.PrimitiveTypeEnum.Boolean); | ||
if (arguments.length < 4) { | ||
throw new Error("new Message() cannot be invoked directly, please use 'model.businessevents.createMessage()'"); | ||
} | ||
} | ||
get containerAsChannel() { return super.getContainerAs(Channel); } | ||
get messageName() { return this.__messageName.get(); } | ||
set messageName(newValue) { this.__messageName.set(newValue); } | ||
get description() { return this.__description.get(); } | ||
set description(newValue) { this.__description.set(newValue); } | ||
/** | ||
* NOTE: This property is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
*/ | ||
get attributes() { return this.__attributes.get(); } | ||
get canPublish() { return this.__canPublish.get(); } | ||
set canPublish(newValue) { this.__canPublish.set(newValue); } | ||
get canSubscribe() { return this.__canSubscribe.get(); } | ||
set canSubscribe(newValue) { this.__canSubscribe.set(newValue); } | ||
/** | ||
* Creates and returns a new Message instance in the SDK and on the server. | ||
* The new Message will be automatically stored in the 'messages' property | ||
* of the parent Channel element passed as argument. | ||
* | ||
* Warning! Can only be used on models with the following Mendix meta model versions: | ||
* 9.24.0 and higher | ||
*/ | ||
static createIn(container) { | ||
internal.createInVersionCheck(container.model, Message.structureTypeName, { start: "9.24.0" }); | ||
return internal.instancehelpers.createElement(container, Message, "messages", true); | ||
} | ||
/** | ||
* Creates and returns a new Message instance in the SDK and on the server. | ||
* Expects one argument: the IModel object the instance will "live on". | ||
* After creation, assign or add this instance to a property that accepts this kind of objects. | ||
*/ | ||
static create(model) { | ||
return internal.instancehelpers.createElement(model, Message); | ||
} | ||
/** @internal */ | ||
_initializeDefaultProperties() { | ||
super._initializeDefaultProperties(); | ||
} | ||
} | ||
Message.structureTypeName = "BusinessEvents$Message"; | ||
Message.versionInfo = new exports.StructureVersionInfo({ | ||
"introduced": "9.24.0", | ||
"experimental": { | ||
"currentValue": true | ||
} | ||
}, internal.StructureType.Element); | ||
businessevents.Message = Message; | ||
/** | ||
* NOTE: This class is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
* | ||
* In version 9.24.0: introduced | ||
*/ | ||
class MessageAttribute extends internal.Element { | ||
constructor(model, structureTypeName, id, isPartial, unit, container) { | ||
super(model, structureTypeName, id, isPartial, unit, container); | ||
/** @internal */ | ||
this.__attributeType = new internal.PartProperty(MessageAttribute, this, "attributeType", null, true); | ||
/** @internal */ | ||
this.__attributeName = new internal.PrimitiveProperty(MessageAttribute, this, "attributeName", "", internal.PrimitiveTypeEnum.String); | ||
/** @internal */ | ||
this.__description = new internal.PrimitiveProperty(MessageAttribute, this, "description", "", internal.PrimitiveTypeEnum.String); | ||
if (arguments.length < 4) { | ||
throw new Error("new MessageAttribute() cannot be invoked directly, please use 'model.businessevents.createMessageAttribute()'"); | ||
} | ||
} | ||
get containerAsMessage() { return super.getContainerAs(Message); } | ||
get attributeType() { return this.__attributeType.get(); } | ||
set attributeType(newValue) { this.__attributeType.set(newValue); } | ||
get attributeName() { return this.__attributeName.get(); } | ||
set attributeName(newValue) { this.__attributeName.set(newValue); } | ||
get description() { return this.__description.get(); } | ||
set description(newValue) { this.__description.set(newValue); } | ||
/** | ||
* Creates and returns a new MessageAttribute instance in the SDK and on the server. | ||
* The new MessageAttribute will be automatically stored in the 'attributes' property | ||
* of the parent Message element passed as argument. | ||
* | ||
* Warning! Can only be used on models with the following Mendix meta model versions: | ||
* 9.24.0 and higher | ||
*/ | ||
static createIn(container) { | ||
internal.createInVersionCheck(container.model, MessageAttribute.structureTypeName, { start: "9.24.0" }); | ||
return internal.instancehelpers.createElement(container, MessageAttribute, "attributes", true); | ||
} | ||
/** | ||
* Creates and returns a new MessageAttribute instance in the SDK and on the server. | ||
* Expects one argument: the IModel object the instance will "live on". | ||
* After creation, assign or add this instance to a property that accepts this kind of objects. | ||
*/ | ||
static create(model) { | ||
return internal.instancehelpers.createElement(model, MessageAttribute); | ||
} | ||
/** @internal */ | ||
_initializeDefaultProperties() { | ||
super._initializeDefaultProperties(); | ||
this.attributeType = domainmodels_1.domainmodels.StringAttributeType.create(this.model); | ||
} | ||
} | ||
MessageAttribute.structureTypeName = "BusinessEvents$MessageAttribute"; | ||
MessageAttribute.versionInfo = new exports.StructureVersionInfo({ | ||
"introduced": "9.24.0", | ||
"properties": { | ||
"attributeType": { | ||
"required": { | ||
"currentValue": true | ||
} | ||
} | ||
}, | ||
"experimental": { | ||
"currentValue": true | ||
} | ||
}, internal.StructureType.Element); | ||
businessevents.MessageAttribute = MessageAttribute; | ||
/** | ||
* In version 9.24.0: deleted | ||
* In version 9.11.0: introduced | ||
@@ -216,7 +528,2 @@ */ | ||
set summary(newValue) { this.__summary.set(newValue); } | ||
/** | ||
* NOTE: This property is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
*/ | ||
get channels() { return this.__channels.get(); } | ||
@@ -238,2 +545,4 @@ /** | ||
"introduced": "9.11.0", | ||
"deleted": "9.24.0", | ||
"deletionMessage": null, | ||
"properties": { | ||
@@ -243,5 +552,2 @@ "eventNamePrefix": { | ||
} | ||
}, | ||
"experimental": { | ||
"currentValue": true | ||
} | ||
@@ -251,6 +557,3 @@ }, internal.StructureType.ModelUnit); | ||
/** | ||
* NOTE: This class is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
* | ||
* In version 9.24.0: deleted | ||
* In version 9.11.0: introduced | ||
@@ -280,7 +583,2 @@ */ | ||
set description(newValue) { this.__description.set(newValue); } | ||
/** | ||
* NOTE: This property is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
*/ | ||
get messages() { return this.__messages.get(); } | ||
@@ -293,6 +591,6 @@ /** | ||
* Warning! Can only be used on models with the following Mendix meta model versions: | ||
* 9.11.0 and higher | ||
* 9.11.0 to 9.23.0 | ||
*/ | ||
static createIn(container) { | ||
internal.createInVersionCheck(container.model, PublishedChannel.structureTypeName, { start: "9.11.0" }); | ||
internal.createInVersionCheck(container.model, PublishedChannel.structureTypeName, { start: "9.11.0", end: "9.23.0" }); | ||
return internal.instancehelpers.createElement(container, PublishedChannel, "channels", true); | ||
@@ -316,12 +614,8 @@ } | ||
"introduced": "9.11.0", | ||
"experimental": { | ||
"currentValue": true | ||
} | ||
"deleted": "9.24.0", | ||
"deletionMessage": null | ||
}, internal.StructureType.Element); | ||
businessevents.PublishedChannel = PublishedChannel; | ||
/** | ||
* NOTE: This class is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
* | ||
* In version 9.24.0: deleted | ||
* In version 9.11.0: introduced | ||
@@ -366,7 +660,2 @@ */ | ||
set summary(newValue) { this.__summary.set(newValue); } | ||
/** | ||
* NOTE: This property is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
*/ | ||
get attributes() { return this.__attributes.get(); } | ||
@@ -379,6 +668,6 @@ /** | ||
* Warning! Can only be used on models with the following Mendix meta model versions: | ||
* 9.11.0 and higher | ||
* 9.11.0 to 9.23.0 | ||
*/ | ||
static createIn(container) { | ||
internal.createInVersionCheck(container.model, PublishedMessage.structureTypeName, { start: "9.11.0" }); | ||
internal.createInVersionCheck(container.model, PublishedMessage.structureTypeName, { start: "9.11.0", end: "9.23.0" }); | ||
return internal.instancehelpers.createElement(container, PublishedMessage, "messages", true); | ||
@@ -402,2 +691,4 @@ } | ||
"introduced": "9.11.0", | ||
"deleted": "9.24.0", | ||
"deletionMessage": null, | ||
"properties": { | ||
@@ -416,5 +707,2 @@ "entity": { | ||
} | ||
}, | ||
"experimental": { | ||
"currentValue": true | ||
} | ||
@@ -424,6 +712,3 @@ }, internal.StructureType.Element); | ||
/** | ||
* NOTE: This class is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
* | ||
* In version 9.24.0: deleted | ||
* In version 9.11.0: introduced | ||
@@ -465,6 +750,6 @@ */ | ||
* Warning! Can only be used on models with the following Mendix meta model versions: | ||
* 9.11.0 and higher | ||
* 9.11.0 to 9.23.0 | ||
*/ | ||
static createIn(container) { | ||
internal.createInVersionCheck(container.model, PublishedMessageAttribute.structureTypeName, { start: "9.11.0" }); | ||
internal.createInVersionCheck(container.model, PublishedMessageAttribute.structureTypeName, { start: "9.11.0", end: "9.23.0" }); | ||
return internal.instancehelpers.createElement(container, PublishedMessageAttribute, "attributes", true); | ||
@@ -491,2 +776,4 @@ } | ||
"introduced": "9.11.0", | ||
"deleted": "9.24.0", | ||
"deletionMessage": null, | ||
"properties": { | ||
@@ -504,2 +791,72 @@ "attribute": { | ||
} | ||
} | ||
}, internal.StructureType.Element); | ||
businessevents.PublishedMessageAttribute = PublishedMessageAttribute; | ||
/** | ||
* NOTE: This class is experimental and is subject to change in newer Model SDK versions. | ||
* | ||
* @ignore | ||
* | ||
* In version 9.24.0: introduced | ||
*/ | ||
class ServiceOperation extends internal.Element { | ||
constructor(model, structureTypeName, id, isPartial, unit, container) { | ||
super(model, structureTypeName, id, isPartial, unit, container); | ||
/** @internal */ | ||
this.__messageName = new internal.PrimitiveProperty(ServiceOperation, this, "messageName", "", internal.PrimitiveTypeEnum.String); | ||
/** @internal */ | ||
this.__operation = new internal.PrimitiveProperty(ServiceOperation, this, "operation", "", internal.PrimitiveTypeEnum.String); | ||
/** @internal */ | ||
this.__entity = new internal.ByNameReferenceProperty(ServiceOperation, this, "entity", null, "DomainModels$Entity"); | ||
/** @internal */ | ||
this.__microflow = new internal.ByNameReferenceProperty(ServiceOperation, this, "microflow", null, "Microflows$Microflow"); | ||
if (arguments.length < 4) { | ||
throw new Error("new ServiceOperation() cannot be invoked directly, please use 'model.businessevents.createServiceOperation()'"); | ||
} | ||
} | ||
get containerAsBusinessEventService() { return super.getContainerAs(BusinessEventService); } | ||
get messageName() { return this.__messageName.get(); } | ||
set messageName(newValue) { this.__messageName.set(newValue); } | ||
get operation() { return this.__operation.get(); } | ||
set operation(newValue) { this.__operation.set(newValue); } | ||
get entity() { return this.__entity.get(); } | ||
set entity(newValue) { this.__entity.set(newValue); } | ||
get entityQualifiedName() { return this.__entity.qualifiedName(); } | ||
get microflow() { return this.__microflow.get(); } | ||
set microflow(newValue) { this.__microflow.set(newValue); } | ||
get microflowQualifiedName() { return this.__microflow.qualifiedName(); } | ||
/** | ||
* Creates and returns a new ServiceOperation instance in the SDK and on the server. | ||
* The new ServiceOperation will be automatically stored in the 'operationImplementations' property | ||
* of the parent BusinessEventService element passed as argument. | ||
* | ||
* Warning! Can only be used on models with the following Mendix meta model versions: | ||
* 9.24.0 and higher | ||
*/ | ||
static createIn(container) { | ||
internal.createInVersionCheck(container.model, ServiceOperation.structureTypeName, { start: "9.24.0" }); | ||
return internal.instancehelpers.createElement(container, ServiceOperation, "operationImplementations", true); | ||
} | ||
/** | ||
* Creates and returns a new ServiceOperation instance in the SDK and on the server. | ||
* Expects one argument: the IModel object the instance will "live on". | ||
* After creation, assign or add this instance to a property that accepts this kind of objects. | ||
*/ | ||
static create(model) { | ||
return internal.instancehelpers.createElement(model, ServiceOperation); | ||
} | ||
/** @internal */ | ||
_initializeDefaultProperties() { | ||
super._initializeDefaultProperties(); | ||
} | ||
} | ||
ServiceOperation.structureTypeName = "BusinessEvents$ServiceOperation"; | ||
ServiceOperation.versionInfo = new exports.StructureVersionInfo({ | ||
"introduced": "9.24.0", | ||
"properties": { | ||
"entity": { | ||
"required": { | ||
"currentValue": true | ||
} | ||
} | ||
}, | ||
@@ -510,5 +867,5 @@ "experimental": { | ||
}, internal.StructureType.Element); | ||
businessevents.PublishedMessageAttribute = PublishedMessageAttribute; | ||
businessevents.ServiceOperation = ServiceOperation; | ||
})(businessevents = exports.businessevents || (exports.businessevents = {})); | ||
const domainmodels_1 = require("./domainmodels"); | ||
//# sourceMappingURL=businessevents.js.map |
@@ -18,2 +18,10 @@ import * as internal from "../sdk/internal"; | ||
} | ||
class OfflineEntitySyncMode extends internal.AbstractEnum { | ||
static All: OfflineEntitySyncMode; | ||
static Constrained: OfflineEntitySyncMode; | ||
static None: OfflineEntitySyncMode; | ||
static NoneAndPreserveData: OfflineEntitySyncMode; | ||
static Never: OfflineEntitySyncMode; | ||
protected qualifiedTsTypeName: string; | ||
} | ||
class ProfileKind extends internal.AbstractEnum { | ||
@@ -489,2 +497,3 @@ static Responsive: ProfileKind; | ||
/** | ||
* In version 9.24.0: deleted | ||
* In version 8.9.0: introduced | ||
@@ -500,2 +509,7 @@ */ | ||
/** | ||
* In version 9.24.0: introduced | ||
*/ | ||
get syncMode(): OfflineEntitySyncMode; | ||
set syncMode(newValue: OfflineEntitySyncMode); | ||
/** | ||
* The value of this property is conceptually of type xPathConstraints.XPathConstraint. | ||
@@ -502,0 +516,0 @@ */ |
@@ -31,2 +31,14 @@ "use strict"; | ||
navigation.OfflineEntitySyncDownloadMode = OfflineEntitySyncDownloadMode; | ||
class OfflineEntitySyncMode extends internal.AbstractEnum { | ||
constructor() { | ||
super(...arguments); | ||
this.qualifiedTsTypeName = "navigation.OfflineEntitySyncMode"; | ||
} | ||
} | ||
OfflineEntitySyncMode.All = new OfflineEntitySyncMode("All", {}); | ||
OfflineEntitySyncMode.Constrained = new OfflineEntitySyncMode("Constrained", {}); | ||
OfflineEntitySyncMode.None = new OfflineEntitySyncMode("None", {}); | ||
OfflineEntitySyncMode.NoneAndPreserveData = new OfflineEntitySyncMode("NoneAndPreserveData", {}); | ||
OfflineEntitySyncMode.Never = new OfflineEntitySyncMode("Never", {}); | ||
navigation.OfflineEntitySyncMode = OfflineEntitySyncMode; | ||
class ProfileKind extends internal.AbstractEnum { | ||
@@ -981,2 +993,4 @@ constructor() { | ||
/** @internal */ | ||
this.__syncMode = new internal.EnumProperty(OfflineEntityConfig, this, "syncMode", OfflineEntitySyncMode.All, OfflineEntitySyncMode); | ||
/** @internal */ | ||
this.__constraint = new internal.PrimitiveProperty(OfflineEntityConfig, this, "constraint", "", internal.PrimitiveTypeEnum.String); | ||
@@ -992,2 +1006,3 @@ if (arguments.length < 4) { | ||
/** | ||
* In version 9.24.0: deleted | ||
* In version 8.9.0: introduced | ||
@@ -1003,2 +1018,7 @@ */ | ||
/** | ||
* In version 9.24.0: introduced | ||
*/ | ||
get syncMode() { return this.__syncMode.get(); } | ||
set syncMode(newValue) { this.__syncMode.set(newValue); } | ||
/** | ||
* The value of this property is conceptually of type xPathConstraints.XPathConstraint. | ||
@@ -1037,2 +1057,5 @@ */ | ||
} | ||
if (this.__syncMode.isAvailable) { | ||
this.syncMode = OfflineEntitySyncMode.All; | ||
} | ||
} | ||
@@ -1050,3 +1073,5 @@ } | ||
"downloadMode": { | ||
"introduced": "8.9.0" | ||
"introduced": "8.9.0", | ||
"deleted": "9.24.0", | ||
"deletionMessage": null | ||
}, | ||
@@ -1056,2 +1081,5 @@ "shouldDownload": { | ||
"deletionMessage": null | ||
}, | ||
"syncMode": { | ||
"introduced": "9.24.0" | ||
} | ||
@@ -1058,0 +1086,0 @@ }, |
@@ -1,2 +0,2 @@ | ||
/** Current SDK version: 4.72.1-dev-1215-73d79415f */ | ||
/** Current SDK version: 4.72.1-dev-1217-194803080 */ | ||
export declare const SDK_VERSION: string; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SDK_VERSION = void 0; | ||
/** Current SDK version: 4.72.1-dev-1215-73d79415f */ | ||
/** Current SDK version: 4.72.1-dev-1217-194803080 */ | ||
exports.SDK_VERSION = "4.72.1"; | ||
//# sourceMappingURL=version.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
14049753
306
196290