@meshmakers/octo-services 3.4.1120 → 3.4.1140
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -222,6 +222,17 @@ var ImportStrategyDto;
|
|
|
222
222
|
ImportStrategyDto[ImportStrategyDto["Upsert"] = 1] = "Upsert";
|
|
223
223
|
})(ImportStrategyDto || (ImportStrategyDto = {}));
|
|
224
224
|
|
|
225
|
+
/**
|
|
226
|
+
* Direction a deep-graph export follows one association role (AB#5003/AB#5004).
|
|
227
|
+
* Numeric values mirror the backend `GraphDirections` enum and travel over the REST
|
|
228
|
+
* body as integers (there is no string-enum converter on the asset-repo surface).
|
|
229
|
+
*/
|
|
230
|
+
var DeepGraphDirectionDto;
|
|
231
|
+
(function (DeepGraphDirectionDto) {
|
|
232
|
+
DeepGraphDirectionDto[DeepGraphDirectionDto["Inbound"] = 1] = "Inbound";
|
|
233
|
+
DeepGraphDirectionDto[DeepGraphDirectionDto["Outbound"] = 2] = "Outbound";
|
|
234
|
+
})(DeepGraphDirectionDto || (DeepGraphDirectionDto = {}));
|
|
235
|
+
|
|
225
236
|
class ProgressValue {
|
|
226
237
|
statusText;
|
|
227
238
|
progressValue;
|
|
@@ -317,7 +328,9 @@ var AggregationTypeDto;
|
|
|
317
328
|
AggregationTypeDto["CountDto"] = "COUNT";
|
|
318
329
|
AggregationTypeDto["MaxDto"] = "MAX";
|
|
319
330
|
AggregationTypeDto["MinDto"] = "MIN";
|
|
331
|
+
AggregationTypeDto["StateDurationDto"] = "STATE_DURATION";
|
|
320
332
|
AggregationTypeDto["SumDto"] = "SUM";
|
|
333
|
+
AggregationTypeDto["TimeWeightedAvgDto"] = "TIME_WEIGHTED_AVG";
|
|
321
334
|
})(AggregationTypeDto || (AggregationTypeDto = {}));
|
|
322
335
|
/** Defines the type of aggregation for runtime query results. */
|
|
323
336
|
var AggregationTypesDto;
|
|
@@ -327,7 +340,9 @@ var AggregationTypesDto;
|
|
|
327
340
|
AggregationTypesDto["MaximumDto"] = "MAXIMUM";
|
|
328
341
|
AggregationTypesDto["MinimumDto"] = "MINIMUM";
|
|
329
342
|
AggregationTypesDto["NoneDto"] = "NONE";
|
|
343
|
+
AggregationTypesDto["StateDurationDto"] = "STATE_DURATION";
|
|
330
344
|
AggregationTypesDto["SumDto"] = "SUM";
|
|
345
|
+
AggregationTypesDto["TimeWeightedAverageDto"] = "TIME_WEIGHTED_AVERAGE";
|
|
331
346
|
})(AggregationTypesDto || (AggregationTypesDto = {}));
|
|
332
347
|
/** Backend-agnostic health classification: Unknown / Good / Warning / Critical. */
|
|
333
348
|
var ArchiveStorageHealthDto;
|
|
@@ -385,6 +400,8 @@ var BasicEnergyDataQualityDto;
|
|
|
385
400
|
BasicEnergyDataQualityDto["L_2Dto"] = "L_2";
|
|
386
401
|
/** The data is an estimate */
|
|
387
402
|
BasicEnergyDataQualityDto["L_3Dto"] = "L_3";
|
|
403
|
+
/** The value was entered or corrected manually by a user */
|
|
404
|
+
BasicEnergyDataQualityDto["ManualDto"] = "MANUAL";
|
|
388
405
|
/** The data quality is unknown */
|
|
389
406
|
BasicEnergyDataQualityDto["UnknownDto"] = "UNKNOWN";
|
|
390
407
|
})(BasicEnergyDataQualityDto || (BasicEnergyDataQualityDto = {}));
|
|
@@ -407,6 +424,10 @@ var BasicEnergyFacilityTypeDto;
|
|
|
407
424
|
/** Runtime entities of construction kit enum 'Basic.Energy/ProductionType' */
|
|
408
425
|
var BasicEnergyProductionTypeDto;
|
|
409
426
|
(function (BasicEnergyProductionTypeDto) {
|
|
427
|
+
/** Biomass was used to produce the energy */
|
|
428
|
+
BasicEnergyProductionTypeDto["BiomassDto"] = "BIOMASS";
|
|
429
|
+
/** Combined heat and power was used to produce the energy */
|
|
430
|
+
BasicEnergyProductionTypeDto["ChpDto"] = "CHP";
|
|
410
431
|
/** Hydroelectric power was used to produce the energy */
|
|
411
432
|
BasicEnergyProductionTypeDto["HepDto"] = "HEP";
|
|
412
433
|
/** Other methods were used to produce the energy */
|
|
@@ -423,6 +444,8 @@ var BasicEnergyStateDto;
|
|
|
423
444
|
(function (BasicEnergyStateDto) {
|
|
424
445
|
/** The object is active and in use */
|
|
425
446
|
BasicEnergyStateDto["ActiveDto"] = "ACTIVE";
|
|
447
|
+
/** The object was deleted */
|
|
448
|
+
BasicEnergyStateDto["DeletedDto"] = "DELETED";
|
|
426
449
|
/** The object is inactive but may be reactivated */
|
|
427
450
|
BasicEnergyStateDto["InactiveDto"] = "INACTIVE";
|
|
428
451
|
/** The object is just created and the state is not set */
|
|
@@ -496,11 +519,22 @@ var BlueprintUpdateModeDto;
|
|
|
496
519
|
BlueprintUpdateModeDto["MigrationDto"] = "MIGRATION";
|
|
497
520
|
BlueprintUpdateModeDto["SafeDto"] = "SAFE";
|
|
498
521
|
})(BlueprintUpdateModeDto || (BlueprintUpdateModeDto = {}));
|
|
499
|
-
/** Bucket-boundary alignment
|
|
522
|
+
/** Bucket-boundary alignment of a rung: FIXED_SIZE / CALENDAR_DAY / ISO_8601_WEEK / CALENDAR_MONTH / CALENDAR_QUARTER / CALENDAR_YEAR. */
|
|
523
|
+
var BucketAlignmentDto;
|
|
524
|
+
(function (BucketAlignmentDto) {
|
|
525
|
+
BucketAlignmentDto["CalendarDayDto"] = "CALENDAR_DAY";
|
|
526
|
+
BucketAlignmentDto["CalendarMonthDto"] = "CALENDAR_MONTH";
|
|
527
|
+
BucketAlignmentDto["CalendarQuarterDto"] = "CALENDAR_QUARTER";
|
|
528
|
+
BucketAlignmentDto["CalendarYearDto"] = "CALENDAR_YEAR";
|
|
529
|
+
BucketAlignmentDto["FixedSizeDto"] = "FIXED_SIZE";
|
|
530
|
+
BucketAlignmentDto["Iso_8601WeekDto"] = "ISO_8601_WEEK";
|
|
531
|
+
})(BucketAlignmentDto || (BucketAlignmentDto = {}));
|
|
532
|
+
/** Bucket-boundary alignment for a rollup archive: FIXED_SIZE / CALENDAR_DAY / ISO_8601_WEEK / CALENDAR_MONTH / CALENDAR_QUARTER / CALENDAR_YEAR. */
|
|
500
533
|
var BucketAlignmentInputDto;
|
|
501
534
|
(function (BucketAlignmentInputDto) {
|
|
502
535
|
BucketAlignmentInputDto["CalendarDayDto"] = "CALENDAR_DAY";
|
|
503
536
|
BucketAlignmentInputDto["CalendarMonthDto"] = "CALENDAR_MONTH";
|
|
537
|
+
BucketAlignmentInputDto["CalendarQuarterDto"] = "CALENDAR_QUARTER";
|
|
504
538
|
BucketAlignmentInputDto["CalendarYearDto"] = "CALENDAR_YEAR";
|
|
505
539
|
BucketAlignmentInputDto["FixedSizeDto"] = "FIXED_SIZE";
|
|
506
540
|
BucketAlignmentInputDto["Iso_8601WeekDto"] = "ISO_8601_WEEK";
|
|
@@ -516,6 +550,8 @@ var CkRollupFunctionDto;
|
|
|
516
550
|
(function (CkRollupFunctionDto) {
|
|
517
551
|
CkRollupFunctionDto["AvgDto"] = "AVG";
|
|
518
552
|
CkRollupFunctionDto["CountDto"] = "COUNT";
|
|
553
|
+
CkRollupFunctionDto["FirstDto"] = "FIRST";
|
|
554
|
+
CkRollupFunctionDto["LastDto"] = "LAST";
|
|
519
555
|
CkRollupFunctionDto["MaxDto"] = "MAX";
|
|
520
556
|
CkRollupFunctionDto["MinDto"] = "MIN";
|
|
521
557
|
CkRollupFunctionDto["StateDurationDto"] = "STATE_DURATION";
|
|
@@ -562,64 +598,6 @@ var EnergyCommunityBillingTypeDto;
|
|
|
562
598
|
/** The document is an invoice or the item is a debit note */
|
|
563
599
|
EnergyCommunityBillingTypeDto["DebitDto"] = "DEBIT";
|
|
564
600
|
})(EnergyCommunityBillingTypeDto || (EnergyCommunityBillingTypeDto = {}));
|
|
565
|
-
/** Runtime entities of construction kit enum 'EnergyCommunity/DataQuality' */
|
|
566
|
-
var EnergyCommunityDataQualityDto;
|
|
567
|
-
(function (EnergyCommunityDataQualityDto) {
|
|
568
|
-
/** The data is accurate to 15 minute meter readings */
|
|
569
|
-
EnergyCommunityDataQualityDto["L_1Dto"] = "L_1";
|
|
570
|
-
/** The data is a linear interpolation of 2 known meter readings */
|
|
571
|
-
EnergyCommunityDataQualityDto["L_2Dto"] = "L_2";
|
|
572
|
-
/** The data is an estimate */
|
|
573
|
-
EnergyCommunityDataQualityDto["L_3Dto"] = "L_3";
|
|
574
|
-
/** The data quality is unknown */
|
|
575
|
-
EnergyCommunityDataQualityDto["UnknownDto"] = "UNKNOWN";
|
|
576
|
-
})(EnergyCommunityDataQualityDto || (EnergyCommunityDataQualityDto = {}));
|
|
577
|
-
/** Runtime entities of construction kit enum 'EnergyCommunity/FacilityType' */
|
|
578
|
-
var EnergyCommunityFacilityTypeDto;
|
|
579
|
-
(function (EnergyCommunityFacilityTypeDto) {
|
|
580
|
-
/** The facility type is a business */
|
|
581
|
-
EnergyCommunityFacilityTypeDto["BusinessDto"] = "BUSINESS";
|
|
582
|
-
/** The facility type is a single household */
|
|
583
|
-
EnergyCommunityFacilityTypeDto["HouseholdDto"] = "HOUSEHOLD";
|
|
584
|
-
/** The facility type is a industry */
|
|
585
|
-
EnergyCommunityFacilityTypeDto["IndustryDto"] = "INDUSTRY";
|
|
586
|
-
/** The facility type is a public building e.g. schools, public offices */
|
|
587
|
-
EnergyCommunityFacilityTypeDto["PublicBuildingDto"] = "PUBLIC_BUILDING";
|
|
588
|
-
/** The facility type is an energy storage */
|
|
589
|
-
EnergyCommunityFacilityTypeDto["StorageDto"] = "STORAGE";
|
|
590
|
-
/** The facility type is unknown or not defined */
|
|
591
|
-
EnergyCommunityFacilityTypeDto["UnknownDto"] = "UNKNOWN";
|
|
592
|
-
})(EnergyCommunityFacilityTypeDto || (EnergyCommunityFacilityTypeDto = {}));
|
|
593
|
-
/** Runtime entities of construction kit enum 'EnergyCommunity/ProductionType' */
|
|
594
|
-
var EnergyCommunityProductionTypeDto;
|
|
595
|
-
(function (EnergyCommunityProductionTypeDto) {
|
|
596
|
-
/** Biomass was used to produce the energy */
|
|
597
|
-
EnergyCommunityProductionTypeDto["BiomassDto"] = "BIOMASS";
|
|
598
|
-
/** Combined heat and power was used to produce the energy */
|
|
599
|
-
EnergyCommunityProductionTypeDto["ChpDto"] = "CHP";
|
|
600
|
-
/** Hydroelectric power was used to produce the energy */
|
|
601
|
-
EnergyCommunityProductionTypeDto["HepDto"] = "HEP";
|
|
602
|
-
/** Other methods were used to produce the energy */
|
|
603
|
-
EnergyCommunityProductionTypeDto["OtherDto"] = "OTHER";
|
|
604
|
-
/** Solar power was used to produce the energy */
|
|
605
|
-
EnergyCommunityProductionTypeDto["SolarDto"] = "SOLAR";
|
|
606
|
-
/** The production type is unknown or not defined */
|
|
607
|
-
EnergyCommunityProductionTypeDto["UnknownDto"] = "UNKNOWN";
|
|
608
|
-
/** Wind power was used to produce the energy */
|
|
609
|
-
EnergyCommunityProductionTypeDto["WindDto"] = "WIND";
|
|
610
|
-
})(EnergyCommunityProductionTypeDto || (EnergyCommunityProductionTypeDto = {}));
|
|
611
|
-
/** Runtime entities of construction kit enum 'EnergyCommunity/State' */
|
|
612
|
-
var EnergyCommunityStateDto;
|
|
613
|
-
(function (EnergyCommunityStateDto) {
|
|
614
|
-
/** The object is active and in use */
|
|
615
|
-
EnergyCommunityStateDto["ActiveDto"] = "ACTIVE";
|
|
616
|
-
/** The object was deleted */
|
|
617
|
-
EnergyCommunityStateDto["DeletedDto"] = "DELETED";
|
|
618
|
-
/** The object is inactive but may be reactivated */
|
|
619
|
-
EnergyCommunityStateDto["InactiveDto"] = "INACTIVE";
|
|
620
|
-
/** The object is just created and the state is not set */
|
|
621
|
-
EnergyCommunityStateDto["NewDto"] = "NEW";
|
|
622
|
-
})(EnergyCommunityStateDto || (EnergyCommunityStateDto = {}));
|
|
623
601
|
/** Runtime entities of construction kit enum 'EnergyCommunity/TaxProcedureCreditNote' */
|
|
624
602
|
var EnergyCommunityTaxProcedureCreditNoteDto;
|
|
625
603
|
(function (EnergyCommunityTaxProcedureCreditNoteDto) {
|
|
@@ -850,6 +828,7 @@ var IndustryBasicMachineStateDto;
|
|
|
850
828
|
IndustryBasicMachineStateDto["IdleDto"] = "IDLE";
|
|
851
829
|
IndustryBasicMachineStateDto["OffDto"] = "OFF";
|
|
852
830
|
IndustryBasicMachineStateDto["OnDto"] = "ON";
|
|
831
|
+
IndustryBasicMachineStateDto["SetupDto"] = "SETUP";
|
|
853
832
|
IndustryBasicMachineStateDto["UnknownDto"] = "UNKNOWN";
|
|
854
833
|
})(IndustryBasicMachineStateDto || (IndustryBasicMachineStateDto = {}));
|
|
855
834
|
/** Runtime entities of construction kit enum 'Industry.Energy/DemandResponseMarket' */
|
|
@@ -1003,15 +982,16 @@ var SearchFilterTypesDto;
|
|
|
1003
982
|
SearchFilterTypesDto["AttributeFilterDto"] = "ATTRIBUTE_FILTER";
|
|
1004
983
|
SearchFilterTypesDto["TextSearchDto"] = "TEXT_SEARCH";
|
|
1005
984
|
})(SearchFilterTypesDto || (SearchFilterTypesDto = {}));
|
|
1006
|
-
/**
|
|
985
|
+
/** Civil-boundary policy for a series query that spans multiple reference time zones (AB#4190). */
|
|
1007
986
|
var SeriesComparisonPolicyDto;
|
|
1008
987
|
(function (SeriesComparisonPolicyDto) {
|
|
1009
988
|
SeriesComparisonPolicyDto["PerQueryDto"] = "PER_QUERY";
|
|
1010
989
|
SeriesComparisonPolicyDto["PerSeriesDto"] = "PER_SERIES";
|
|
1011
990
|
})(SeriesComparisonPolicyDto || (SeriesComparisonPolicyDto = {}));
|
|
1012
|
-
/** Outcome of resolution-aware series routing. Non-Ok values are truthful signals the caller can surface — the resolver never silently produces a wrong or degraded result. */
|
|
991
|
+
/** Outcome of resolution-aware series routing. Non-Ok values are truthful signals the caller can surface — the resolver never silently produces a wrong or degraded result. CoverageLimited (AB#5157): a finer rung was skipped for lacking measured coverage over the requested window. */
|
|
1013
992
|
var SeriesResolutionSignalDto;
|
|
1014
993
|
(function (SeriesResolutionSignalDto) {
|
|
994
|
+
SeriesResolutionSignalDto["CoverageLimitedDto"] = "COVERAGE_LIMITED";
|
|
1015
995
|
SeriesResolutionSignalDto["EmptyLadderDto"] = "EMPTY_LADDER";
|
|
1016
996
|
SeriesResolutionSignalDto["NoSuitableRollupDto"] = "NO_SUITABLE_ROLLUP";
|
|
1017
997
|
SeriesResolutionSignalDto["OkDto"] = "OK";
|
|
@@ -1036,8 +1016,12 @@ var SystemAggregationTypesDto;
|
|
|
1036
1016
|
SystemAggregationTypesDto["MaximumDto"] = "MAXIMUM";
|
|
1037
1017
|
/** Finds the minimum value */
|
|
1038
1018
|
SystemAggregationTypesDto["MinimumDto"] = "MINIMUM";
|
|
1019
|
+
/** Absolute time (milliseconds) an event-based signal held the column's ComparisonValue within the query window, with last-observation-carried-forward semantics. Requires AggregationQueryColumn.ComparisonValue. Supported over raw event archives and rollup archives that materialise a StateDuration aggregation. AB#4336/AB#4341. */
|
|
1020
|
+
SystemAggregationTypesDto["StateDurationDto"] = "STATE_DURATION";
|
|
1039
1021
|
/** Calculates the sum of values */
|
|
1040
1022
|
SystemAggregationTypesDto["SumDto"] = "SUM";
|
|
1023
|
+
/** Time-weighted average with last-observation-carried-forward interval weighting, for event-based archives. Yields the duty cycle on 0/100 or boolean-like signals. Resolvable against rollup archives that materialise a TimeWeightedAvg aggregation. AB#4336. */
|
|
1024
|
+
SystemAggregationTypesDto["TimeWeightedAverageDto"] = "TIME_WEIGHTED_AVERAGE";
|
|
1041
1025
|
})(SystemAggregationTypesDto || (SystemAggregationTypesDto = {}));
|
|
1042
1026
|
/** Runtime entities of construction kit enum 'System.Ai/ApprovalMode' */
|
|
1043
1027
|
var SystemAiApprovalModeDto;
|
|
@@ -1206,27 +1190,6 @@ var SystemCommunicationDeploymentStateDto;
|
|
|
1206
1190
|
SystemCommunicationDeploymentStateDto["PendingDto"] = "PENDING";
|
|
1207
1191
|
SystemCommunicationDeploymentStateDto["UndeployedDto"] = "UNDEPLOYED";
|
|
1208
1192
|
})(SystemCommunicationDeploymentStateDto || (SystemCommunicationDeploymentStateDto = {}));
|
|
1209
|
-
// On-demand workload lifecycle (System.Communication 3.29.0, AB#4914/AB#4919). Added
|
|
1210
|
-
// surgically - this file is otherwise generated from the library's schema.graphql, which
|
|
1211
|
-
// does not carry 3.29.0 yet, and a full regeneration would mix tens of thousands of lines
|
|
1212
|
-
// of unrelated drift into the change. Values are the wire values introspected from the
|
|
1213
|
-
// asset repository and must stay identical to the CK model's RtLifecycleModeEnum /
|
|
1214
|
-
// RtLifecycleStateEnum members; naming follows the generator's convention (see
|
|
1215
|
-
// SystemCommunicationDeploymentStateDto above), so a later regeneration from an updated
|
|
1216
|
-
// schema produces these identical declarations.
|
|
1217
|
-
var SystemCommunicationLifecycleModeDto;
|
|
1218
|
-
(function (SystemCommunicationLifecycleModeDto) {
|
|
1219
|
-
SystemCommunicationLifecycleModeDto["AlwaysOnDto"] = "ALWAYS_ON";
|
|
1220
|
-
SystemCommunicationLifecycleModeDto["OnDemandDto"] = "ON_DEMAND";
|
|
1221
|
-
SystemCommunicationLifecycleModeDto["AutoDto"] = "AUTO";
|
|
1222
|
-
})(SystemCommunicationLifecycleModeDto || (SystemCommunicationLifecycleModeDto = {}));
|
|
1223
|
-
var SystemCommunicationLifecycleStateDto;
|
|
1224
|
-
(function (SystemCommunicationLifecycleStateDto) {
|
|
1225
|
-
SystemCommunicationLifecycleStateDto["RunningDto"] = "RUNNING";
|
|
1226
|
-
SystemCommunicationLifecycleStateDto["DrainingDto"] = "DRAINING";
|
|
1227
|
-
SystemCommunicationLifecycleStateDto["HibernatedDto"] = "HIBERNATED";
|
|
1228
|
-
SystemCommunicationLifecycleStateDto["WakingDto"] = "WAKING";
|
|
1229
|
-
})(SystemCommunicationLifecycleStateDto || (SystemCommunicationLifecycleStateDto = {}));
|
|
1230
1193
|
/** Runtime entities of construction kit enum 'System.Communication/Environment' */
|
|
1231
1194
|
var SystemCommunicationEnvironmentDto;
|
|
1232
1195
|
(function (SystemCommunicationEnvironmentDto) {
|
|
@@ -1239,6 +1202,21 @@ var SystemCommunicationHelmChannelDto;
|
|
|
1239
1202
|
SystemCommunicationHelmChannelDto["DevDto"] = "DEV";
|
|
1240
1203
|
SystemCommunicationHelmChannelDto["ReleaseDto"] = "RELEASE";
|
|
1241
1204
|
})(SystemCommunicationHelmChannelDto || (SystemCommunicationHelmChannelDto = {}));
|
|
1205
|
+
/** Runtime entities of construction kit enum 'System.Communication/LifecycleMode' */
|
|
1206
|
+
var SystemCommunicationLifecycleModeDto;
|
|
1207
|
+
(function (SystemCommunicationLifecycleModeDto) {
|
|
1208
|
+
SystemCommunicationLifecycleModeDto["AlwaysOnDto"] = "ALWAYS_ON";
|
|
1209
|
+
SystemCommunicationLifecycleModeDto["AutoDto"] = "AUTO";
|
|
1210
|
+
SystemCommunicationLifecycleModeDto["OnDemandDto"] = "ON_DEMAND";
|
|
1211
|
+
})(SystemCommunicationLifecycleModeDto || (SystemCommunicationLifecycleModeDto = {}));
|
|
1212
|
+
/** Runtime entities of construction kit enum 'System.Communication/LifecycleState' */
|
|
1213
|
+
var SystemCommunicationLifecycleStateDto;
|
|
1214
|
+
(function (SystemCommunicationLifecycleStateDto) {
|
|
1215
|
+
SystemCommunicationLifecycleStateDto["DrainingDto"] = "DRAINING";
|
|
1216
|
+
SystemCommunicationLifecycleStateDto["HibernatedDto"] = "HIBERNATED";
|
|
1217
|
+
SystemCommunicationLifecycleStateDto["RunningDto"] = "RUNNING";
|
|
1218
|
+
SystemCommunicationLifecycleStateDto["WakingDto"] = "WAKING";
|
|
1219
|
+
})(SystemCommunicationLifecycleStateDto || (SystemCommunicationLifecycleStateDto = {}));
|
|
1242
1220
|
/** Runtime entities of construction kit enum 'System.Communication/PipelineExecutionStatus' */
|
|
1243
1221
|
var SystemCommunicationPipelineExecutionStatusDto;
|
|
1244
1222
|
(function (SystemCommunicationPipelineExecutionStatusDto) {
|
|
@@ -1256,6 +1234,26 @@ var SystemCommunicationPipelineTriggerTypeDto;
|
|
|
1256
1234
|
SystemCommunicationPipelineTriggerTypeDto["ScheduledDto"] = "SCHEDULED";
|
|
1257
1235
|
SystemCommunicationPipelineTriggerTypeDto["StartupDto"] = "STARTUP";
|
|
1258
1236
|
})(SystemCommunicationPipelineTriggerTypeDto || (SystemCommunicationPipelineTriggerTypeDto = {}));
|
|
1237
|
+
/** Runtime entities of construction kit enum 'System.Communication/SignalRegistrationAction' */
|
|
1238
|
+
var SystemCommunicationSignalRegistrationActionDto;
|
|
1239
|
+
(function (SystemCommunicationSignalRegistrationActionDto) {
|
|
1240
|
+
SystemCommunicationSignalRegistrationActionDto["AdoptedDto"] = "ADOPTED";
|
|
1241
|
+
SystemCommunicationSignalRegistrationActionDto["CodeVerifiedDto"] = "CODE_VERIFIED";
|
|
1242
|
+
SystemCommunicationSignalRegistrationActionDto["DeletedDto"] = "DELETED";
|
|
1243
|
+
SystemCommunicationSignalRegistrationActionDto["DeleteFailedDto"] = "DELETE_FAILED";
|
|
1244
|
+
SystemCommunicationSignalRegistrationActionDto["ProfileUpdatedDto"] = "PROFILE_UPDATED";
|
|
1245
|
+
SystemCommunicationSignalRegistrationActionDto["RegisterFailedDto"] = "REGISTER_FAILED";
|
|
1246
|
+
SystemCommunicationSignalRegistrationActionDto["RegisterRequestedDto"] = "REGISTER_REQUESTED";
|
|
1247
|
+
SystemCommunicationSignalRegistrationActionDto["VerifyFailedDto"] = "VERIFY_FAILED";
|
|
1248
|
+
})(SystemCommunicationSignalRegistrationActionDto || (SystemCommunicationSignalRegistrationActionDto = {}));
|
|
1249
|
+
/** Runtime entities of construction kit enum 'System.Communication/SignalRegistrationState' */
|
|
1250
|
+
var SystemCommunicationSignalRegistrationStateDto;
|
|
1251
|
+
(function (SystemCommunicationSignalRegistrationStateDto) {
|
|
1252
|
+
SystemCommunicationSignalRegistrationStateDto["CodePendingDto"] = "CODE_PENDING";
|
|
1253
|
+
SystemCommunicationSignalRegistrationStateDto["FailedDto"] = "FAILED";
|
|
1254
|
+
SystemCommunicationSignalRegistrationStateDto["RegisteredDto"] = "REGISTERED";
|
|
1255
|
+
SystemCommunicationSignalRegistrationStateDto["UnregisteredDto"] = "UNREGISTERED";
|
|
1256
|
+
})(SystemCommunicationSignalRegistrationStateDto || (SystemCommunicationSignalRegistrationStateDto = {}));
|
|
1259
1257
|
/** Runtime entities of construction kit enum 'System/EnvironmentModes' */
|
|
1260
1258
|
var SystemEnvironmentModesDto;
|
|
1261
1259
|
(function (SystemEnvironmentModesDto) {
|
|
@@ -1298,6 +1296,33 @@ var SystemFieldFilterOperatorDto;
|
|
|
1298
1296
|
/** Compares a field to be not equal any value in the specified array. */
|
|
1299
1297
|
SystemFieldFilterOperatorDto["NotInDto"] = "NOT_IN";
|
|
1300
1298
|
})(SystemFieldFilterOperatorDto || (SystemFieldFilterOperatorDto = {}));
|
|
1299
|
+
/** Runtime entities of construction kit enum 'System.Identity/DataPolicyEnforcementMode' */
|
|
1300
|
+
var SystemIdentityDataPolicyEnforcementModeDto;
|
|
1301
|
+
(function (SystemIdentityDataPolicyEnforcementModeDto) {
|
|
1302
|
+
SystemIdentityDataPolicyEnforcementModeDto["AuditOnlyDto"] = "AUDIT_ONLY";
|
|
1303
|
+
SystemIdentityDataPolicyEnforcementModeDto["EnforceDto"] = "ENFORCE";
|
|
1304
|
+
})(SystemIdentityDataPolicyEnforcementModeDto || (SystemIdentityDataPolicyEnforcementModeDto = {}));
|
|
1305
|
+
/** Runtime entities of construction kit enum 'System.Identity/DataPolicyScope' */
|
|
1306
|
+
var SystemIdentityDataPolicyScopeDto;
|
|
1307
|
+
(function (SystemIdentityDataPolicyScopeDto) {
|
|
1308
|
+
SystemIdentityDataPolicyScopeDto["AllDto"] = "ALL";
|
|
1309
|
+
SystemIdentityDataPolicyScopeDto["OwnedOnlyDto"] = "OWNED_ONLY";
|
|
1310
|
+
})(SystemIdentityDataPolicyScopeDto || (SystemIdentityDataPolicyScopeDto = {}));
|
|
1311
|
+
/** Runtime entities of construction kit enum 'System.Identity/IdentifierKind' */
|
|
1312
|
+
var SystemIdentityIdentifierKindDto;
|
|
1313
|
+
(function (SystemIdentityIdentifierKindDto) {
|
|
1314
|
+
SystemIdentityIdentifierKindDto["ClientCertificateFingerprintDto"] = "CLIENT_CERTIFICATE_FINGERPRINT";
|
|
1315
|
+
SystemIdentityIdentifierKindDto["EmailAddressDto"] = "EMAIL_ADDRESS";
|
|
1316
|
+
SystemIdentityIdentifierKindDto["EntraIdObjectIdDto"] = "ENTRA_ID_OBJECT_ID";
|
|
1317
|
+
SystemIdentityIdentifierKindDto["PhoneNumberDto"] = "PHONE_NUMBER";
|
|
1318
|
+
})(SystemIdentityIdentifierKindDto || (SystemIdentityIdentifierKindDto = {}));
|
|
1319
|
+
/** Runtime entities of construction kit enum 'System.Identity/IdentifierSource' */
|
|
1320
|
+
var SystemIdentityIdentifierSourceDto;
|
|
1321
|
+
(function (SystemIdentityIdentifierSourceDto) {
|
|
1322
|
+
SystemIdentityIdentifierSourceDto["AdminDto"] = "ADMIN";
|
|
1323
|
+
SystemIdentityIdentifierSourceDto["IdentityProviderDto"] = "IDENTITY_PROVIDER";
|
|
1324
|
+
SystemIdentityIdentifierSourceDto["SelfServiceDto"] = "SELF_SERVICE";
|
|
1325
|
+
})(SystemIdentityIdentifierSourceDto || (SystemIdentityIdentifierSourceDto = {}));
|
|
1301
1326
|
/** Runtime entities of construction kit enum 'System.Identity/TokenExpiration' */
|
|
1302
1327
|
var SystemIdentityTokenExpirationDto;
|
|
1303
1328
|
(function (SystemIdentityTokenExpirationDto) {
|
|
@@ -1316,6 +1341,13 @@ var SystemIdentityTokenUsageDto;
|
|
|
1316
1341
|
SystemIdentityTokenUsageDto["OneTimeOnlyDto"] = "ONE_TIME_ONLY";
|
|
1317
1342
|
SystemIdentityTokenUsageDto["ReUseDto"] = "RE_USE";
|
|
1318
1343
|
})(SystemIdentityTokenUsageDto || (SystemIdentityTokenUsageDto = {}));
|
|
1344
|
+
/** Runtime entities of construction kit enum 'System.Identity/TrustLevel' */
|
|
1345
|
+
var SystemIdentityTrustLevelDto;
|
|
1346
|
+
(function (SystemIdentityTrustLevelDto) {
|
|
1347
|
+
SystemIdentityTrustLevelDto["NoneDto"] = "NONE";
|
|
1348
|
+
SystemIdentityTrustLevelDto["StrongDto"] = "STRONG";
|
|
1349
|
+
SystemIdentityTrustLevelDto["WeakDto"] = "WEAK";
|
|
1350
|
+
})(SystemIdentityTrustLevelDto || (SystemIdentityTrustLevelDto = {}));
|
|
1319
1351
|
/** Runtime entities of construction kit enum 'System/MaintenanceLevels' */
|
|
1320
1352
|
var SystemMaintenanceLevelsDto;
|
|
1321
1353
|
(function (SystemMaintenanceLevelsDto) {
|
|
@@ -1411,6 +1443,8 @@ var SystemStreamDataBucketAlignmentDto;
|
|
|
1411
1443
|
SystemStreamDataBucketAlignmentDto["CalendarDayDto"] = "CALENDAR_DAY";
|
|
1412
1444
|
/** Bucket boundaries align to UTC calendar months (first day of month 00:00:00 UTC). BucketSizeMs is informational only; month lengths vary 28-31 days. */
|
|
1413
1445
|
SystemStreamDataBucketAlignmentDto["CalendarMonthDto"] = "CALENDAR_MONTH";
|
|
1446
|
+
/** Bucket boundaries align to calendar quarters starting 1 January / 1 April / 1 July / 1 October (00:00:00 UTC, or local wall-clock time when ReferenceTimeZone is set). BucketSizeMs is informational only; quarter lengths vary 90-92 days. AB#5157. */
|
|
1447
|
+
SystemStreamDataBucketAlignmentDto["CalendarQuarterDto"] = "CALENDAR_QUARTER";
|
|
1414
1448
|
/** Bucket boundaries align to UTC calendar years (Jan 1 00:00:00 UTC). BucketSizeMs is informational only. */
|
|
1415
1449
|
SystemStreamDataBucketAlignmentDto["CalendarYearDto"] = "CALENDAR_YEAR";
|
|
1416
1450
|
/** Default. Each bucket spans exactly BucketSizeMs; boundaries are LastAggregatedBucketEnd, LastAggregatedBucketEnd + BucketSizeMs, ... */
|
|
@@ -1507,12 +1541,20 @@ var SystemStreamDataCkRollupFunctionDto;
|
|
|
1507
1541
|
SystemStreamDataCkRollupFunctionDto["AvgDto"] = "AVG";
|
|
1508
1542
|
/** Number of non-null values in the bucket. */
|
|
1509
1543
|
SystemStreamDataCkRollupFunctionDto["CountDto"] = "COUNT";
|
|
1544
|
+
/** Value of the source column at the earliest timestamp in the bucket (arg_min over time). Stored as a single DOUBLE PRECISION column; chained rollups pick the child bucket with the smallest window boundary. Numeric source columns only. AB#4188. */
|
|
1545
|
+
SystemStreamDataCkRollupFunctionDto["FirstDto"] = "FIRST";
|
|
1546
|
+
/** Value of the source column at the latest timestamp in the bucket (arg_max over time). Stored as a single DOUBLE PRECISION column; chained rollups pick the child bucket with the largest window boundary. Numeric source columns only. AB#4188. */
|
|
1547
|
+
SystemStreamDataCkRollupFunctionDto["LastDto"] = "LAST";
|
|
1510
1548
|
/** Maximum value in the bucket. */
|
|
1511
1549
|
SystemStreamDataCkRollupFunctionDto["MaxDto"] = "MAX";
|
|
1512
1550
|
/** Minimum value in the bucket. */
|
|
1513
1551
|
SystemStreamDataCkRollupFunctionDto["MinDto"] = "MIN";
|
|
1552
|
+
/** Absolute time (milliseconds) the signal held the ComparisonValue within the bucket, with the same LOCF carry as TimeWeightedAvg. Stored as a single BIGINT column; chained rollups re-aggregate it with SUM. Requires CkRollupAggregation.ComparisonValue. AB#4336. */
|
|
1553
|
+
SystemStreamDataCkRollupFunctionDto["StateDurationDto"] = "STATE_DURATION";
|
|
1514
1554
|
/** Sum of values in the bucket. */
|
|
1515
1555
|
SystemStreamDataCkRollupFunctionDto["SumDto"] = "SUM";
|
|
1556
|
+
/** Time-weighted average with LOCF interval weighting for event-based sources. Stored as integral (value*ms) and covered-duration (ms) columns; the average is computed on read. Yields the duty cycle on 0/100 or boolean-like signals. AB#4336. */
|
|
1557
|
+
SystemStreamDataCkRollupFunctionDto["TimeWeightedAvgDto"] = "TIME_WEIGHTED_AVG";
|
|
1516
1558
|
})(SystemStreamDataCkRollupFunctionDto || (SystemStreamDataCkRollupFunctionDto = {}));
|
|
1517
1559
|
/** Enum of valid update types */
|
|
1518
1560
|
var UpdateTypeDto;
|
|
@@ -1550,6 +1592,7 @@ const result = {
|
|
|
1550
1592
|
"BasicCountry",
|
|
1551
1593
|
"BasicDistrict",
|
|
1552
1594
|
"BasicEmployee",
|
|
1595
|
+
"BasicEnergyConsentPeriod",
|
|
1553
1596
|
"BasicEnergyConsumer",
|
|
1554
1597
|
"BasicEnergyEdaMessage",
|
|
1555
1598
|
"BasicEnergyEdaMeteringPoint",
|
|
@@ -1564,12 +1607,7 @@ const result = {
|
|
|
1564
1607
|
"EnergyCommunityBillingDocumentLineItem",
|
|
1565
1608
|
"EnergyCommunityConsumer",
|
|
1566
1609
|
"EnergyCommunityCustomer",
|
|
1567
|
-
"EnergyCommunityEdaMessage",
|
|
1568
|
-
"EnergyCommunityEdaMeteringPoint",
|
|
1569
|
-
"EnergyCommunityEdaProcess",
|
|
1570
1610
|
"EnergyCommunityEnergyPrice",
|
|
1571
|
-
"EnergyCommunityEnergyQuantity",
|
|
1572
|
-
"EnergyCommunityOperatingFacility",
|
|
1573
1611
|
"EnergyCommunityParticipationPeriod",
|
|
1574
1612
|
"EnergyCommunityProducer",
|
|
1575
1613
|
"EnvironmentCarbonBudget",
|
|
@@ -1659,7 +1697,9 @@ const result = {
|
|
|
1659
1697
|
"SystemCommunicationSapConfiguration",
|
|
1660
1698
|
"SystemCommunicationServiceAccountConfiguration",
|
|
1661
1699
|
"SystemCommunicationSftpConfiguration",
|
|
1700
|
+
"SystemCommunicationSignalChannel",
|
|
1662
1701
|
"SystemCommunicationTag",
|
|
1702
|
+
"SystemCommunicationWeClappConfiguration",
|
|
1663
1703
|
"SystemDownsamplingSdQuery",
|
|
1664
1704
|
"SystemGroupingAggregationRtQuery",
|
|
1665
1705
|
"SystemGroupingAggregationSdQuery",
|
|
@@ -1668,6 +1708,8 @@ const result = {
|
|
|
1668
1708
|
"SystemIdentityAzureEntraIdIdentityProvider",
|
|
1669
1709
|
"SystemIdentityClient",
|
|
1670
1710
|
"SystemIdentityClientMirror",
|
|
1711
|
+
"SystemIdentityDataPermission",
|
|
1712
|
+
"SystemIdentityDataPolicy",
|
|
1671
1713
|
"SystemIdentityDataProtectionKey",
|
|
1672
1714
|
"SystemIdentityEmailDomainGroupRule",
|
|
1673
1715
|
"SystemIdentityExternalTenantUserMapping",
|
|
@@ -1677,6 +1719,8 @@ const result = {
|
|
|
1677
1719
|
"SystemIdentityIdentityResource",
|
|
1678
1720
|
"SystemIdentityMicrosoftAdIdentityProvider",
|
|
1679
1721
|
"SystemIdentityMicrosoftIdentityProvider",
|
|
1722
|
+
"SystemIdentityOAuthAuthorization",
|
|
1723
|
+
"SystemIdentityOAuthToken",
|
|
1680
1724
|
"SystemIdentityOctoTenantIdentityProvider",
|
|
1681
1725
|
"SystemIdentityOpenLdapIdentityProvider",
|
|
1682
1726
|
"SystemIdentityPermission",
|
|
@@ -1685,6 +1729,7 @@ const result = {
|
|
|
1685
1729
|
"SystemIdentityRole",
|
|
1686
1730
|
"SystemIdentityServerSideSession",
|
|
1687
1731
|
"SystemIdentityUser",
|
|
1732
|
+
"SystemIdentityVerifiedExternalIdentifier",
|
|
1688
1733
|
"SystemMigrationHistory",
|
|
1689
1734
|
"SystemNotificationCssTemplateConfiguration",
|
|
1690
1735
|
"SystemNotificationEvent",
|
|
@@ -1707,6 +1752,7 @@ const result = {
|
|
|
1707
1752
|
"SystemUIBranding",
|
|
1708
1753
|
"SystemUIDashboard",
|
|
1709
1754
|
"SystemUIDashboardWidget",
|
|
1755
|
+
"SystemUIMappingCoverageConfiguration",
|
|
1710
1756
|
"SystemUIProcessDiagram",
|
|
1711
1757
|
"SystemUISymbolDefinition",
|
|
1712
1758
|
"SystemUISymbolLibrary",
|
|
@@ -1721,9 +1767,18 @@ const result = {
|
|
|
1721
1767
|
"BasicEmployee_EmployeesUnion": [
|
|
1722
1768
|
"BasicEmployee"
|
|
1723
1769
|
],
|
|
1770
|
+
"BasicEnergyConsentPeriod_ConsentUnion": [
|
|
1771
|
+
"BasicEnergyConsentPeriod"
|
|
1772
|
+
],
|
|
1773
|
+
"BasicEnergyConsentPeriod_ConsentsUnion": [
|
|
1774
|
+
"BasicEnergyConsentPeriod"
|
|
1775
|
+
],
|
|
1724
1776
|
"BasicEnergyEdaMessage_MessagesUnion": [
|
|
1725
1777
|
"BasicEnergyEdaMessage"
|
|
1726
1778
|
],
|
|
1779
|
+
"BasicEnergyEdaProcess_EdaProcessUnion": [
|
|
1780
|
+
"BasicEnergyEdaProcess"
|
|
1781
|
+
],
|
|
1727
1782
|
"BasicEnergyEdaProcess_ProcessUnion": [
|
|
1728
1783
|
"BasicEnergyEdaProcess"
|
|
1729
1784
|
],
|
|
@@ -1732,7 +1787,9 @@ const result = {
|
|
|
1732
1787
|
],
|
|
1733
1788
|
"BasicEnergyMeteringPointInterface": [
|
|
1734
1789
|
"BasicEnergyConsumer",
|
|
1735
|
-
"BasicEnergyProducer"
|
|
1790
|
+
"BasicEnergyProducer",
|
|
1791
|
+
"EnergyCommunityConsumer",
|
|
1792
|
+
"EnergyCommunityProducer"
|
|
1736
1793
|
],
|
|
1737
1794
|
"BasicEnergyMeteringPoint_ChildrenUnion": [
|
|
1738
1795
|
"BasicAsset",
|
|
@@ -1744,7 +1801,8 @@ const result = {
|
|
|
1744
1801
|
"BasicEnergyProducer",
|
|
1745
1802
|
"BasicState",
|
|
1746
1803
|
"BasicTreeNode",
|
|
1747
|
-
"
|
|
1804
|
+
"EnergyCommunityConsumer",
|
|
1805
|
+
"EnergyCommunityProducer",
|
|
1748
1806
|
"EnvironmentCarbonBudget",
|
|
1749
1807
|
"EnvironmentCarbonEmission",
|
|
1750
1808
|
"EnvironmentCertificateOfOrigin",
|
|
@@ -1771,9 +1829,20 @@ const result = {
|
|
|
1771
1829
|
"OctoSdkDemoMeteringPoint",
|
|
1772
1830
|
"OctoSdkDemoOperatingFacility"
|
|
1773
1831
|
],
|
|
1832
|
+
"BasicEnergyMeteringPoint_MeteringPointUnion": [
|
|
1833
|
+
"BasicEnergyConsumer",
|
|
1834
|
+
"BasicEnergyProducer",
|
|
1835
|
+
"EnergyCommunityConsumer",
|
|
1836
|
+
"EnergyCommunityProducer"
|
|
1837
|
+
],
|
|
1774
1838
|
"BasicEnergyMeteringPoint_ParentUnion": [
|
|
1775
1839
|
"BasicEnergyConsumer",
|
|
1776
|
-
"BasicEnergyProducer"
|
|
1840
|
+
"BasicEnergyProducer",
|
|
1841
|
+
"EnergyCommunityConsumer",
|
|
1842
|
+
"EnergyCommunityProducer"
|
|
1843
|
+
],
|
|
1844
|
+
"BasicEnergyOperatingFacility_FacilitiesUnion": [
|
|
1845
|
+
"BasicEnergyOperatingFacility"
|
|
1777
1846
|
],
|
|
1778
1847
|
"BasicEnergyOperatingFacility_ParentUnion": [
|
|
1779
1848
|
"BasicEnergyOperatingFacility"
|
|
@@ -1785,8 +1854,6 @@ const result = {
|
|
|
1785
1854
|
"BasicEnergyProducer",
|
|
1786
1855
|
"BasicTree",
|
|
1787
1856
|
"EnergyCommunityConsumer",
|
|
1788
|
-
"EnergyCommunityEdaProcess",
|
|
1789
|
-
"EnergyCommunityMeteringPoint",
|
|
1790
1857
|
"EnergyCommunityProducer",
|
|
1791
1858
|
"EnvironmentCarbonBudget",
|
|
1792
1859
|
"EnvironmentCertificateOfOrigin",
|
|
@@ -1807,7 +1874,6 @@ const result = {
|
|
|
1807
1874
|
"BasicEnergyOperatingFacility",
|
|
1808
1875
|
"BasicState",
|
|
1809
1876
|
"BasicTreeNode",
|
|
1810
|
-
"EnergyCommunityOperatingFacility",
|
|
1811
1877
|
"EnvironmentCarbonBudget",
|
|
1812
1878
|
"EnvironmentCarbonEmission",
|
|
1813
1879
|
"EnvironmentCertificateOfOrigin",
|
|
@@ -1842,7 +1908,6 @@ const result = {
|
|
|
1842
1908
|
"BasicEnergyOperatingFacility",
|
|
1843
1909
|
"BasicState",
|
|
1844
1910
|
"BasicTreeNode",
|
|
1845
|
-
"EnergyCommunityOperatingFacility",
|
|
1846
1911
|
"EnvironmentWasteMeter",
|
|
1847
1912
|
"IndustryBasicMachine",
|
|
1848
1913
|
"IndustryEnergyEnergyConsumer",
|
|
@@ -1868,7 +1933,6 @@ const result = {
|
|
|
1868
1933
|
"BasicEnergyOperatingFacility",
|
|
1869
1934
|
"BasicState",
|
|
1870
1935
|
"BasicTreeNode",
|
|
1871
|
-
"EnergyCommunityOperatingFacility",
|
|
1872
1936
|
"EnvironmentWasteMeter",
|
|
1873
1937
|
"IndustryBasicMachine",
|
|
1874
1938
|
"IndustryEnergyEnergyConsumer",
|
|
@@ -1892,6 +1956,7 @@ const result = {
|
|
|
1892
1956
|
"BasicCountry",
|
|
1893
1957
|
"BasicDistrict",
|
|
1894
1958
|
"BasicEmployee",
|
|
1959
|
+
"BasicEnergyConsentPeriod",
|
|
1895
1960
|
"BasicEnergyConsumer",
|
|
1896
1961
|
"BasicEnergyEdaMessage",
|
|
1897
1962
|
"BasicEnergyEdaMeteringPoint",
|
|
@@ -1906,12 +1971,7 @@ const result = {
|
|
|
1906
1971
|
"EnergyCommunityBillingDocumentLineItem",
|
|
1907
1972
|
"EnergyCommunityConsumer",
|
|
1908
1973
|
"EnergyCommunityCustomer",
|
|
1909
|
-
"EnergyCommunityEdaMessage",
|
|
1910
|
-
"EnergyCommunityEdaMeteringPoint",
|
|
1911
|
-
"EnergyCommunityEdaProcess",
|
|
1912
1974
|
"EnergyCommunityEnergyPrice",
|
|
1913
|
-
"EnergyCommunityEnergyQuantity",
|
|
1914
|
-
"EnergyCommunityOperatingFacility",
|
|
1915
1975
|
"EnergyCommunityParticipationPeriod",
|
|
1916
1976
|
"EnergyCommunityProducer",
|
|
1917
1977
|
"EnvironmentCarbonBudget",
|
|
@@ -2001,7 +2061,9 @@ const result = {
|
|
|
2001
2061
|
"SystemCommunicationSapConfiguration",
|
|
2002
2062
|
"SystemCommunicationServiceAccountConfiguration",
|
|
2003
2063
|
"SystemCommunicationSftpConfiguration",
|
|
2064
|
+
"SystemCommunicationSignalChannel",
|
|
2004
2065
|
"SystemCommunicationTag",
|
|
2066
|
+
"SystemCommunicationWeClappConfiguration",
|
|
2005
2067
|
"SystemDownsamplingSdQuery",
|
|
2006
2068
|
"SystemGroupingAggregationRtQuery",
|
|
2007
2069
|
"SystemGroupingAggregationSdQuery",
|
|
@@ -2010,6 +2072,8 @@ const result = {
|
|
|
2010
2072
|
"SystemIdentityAzureEntraIdIdentityProvider",
|
|
2011
2073
|
"SystemIdentityClient",
|
|
2012
2074
|
"SystemIdentityClientMirror",
|
|
2075
|
+
"SystemIdentityDataPermission",
|
|
2076
|
+
"SystemIdentityDataPolicy",
|
|
2013
2077
|
"SystemIdentityDataProtectionKey",
|
|
2014
2078
|
"SystemIdentityEmailDomainGroupRule",
|
|
2015
2079
|
"SystemIdentityExternalTenantUserMapping",
|
|
@@ -2019,6 +2083,8 @@ const result = {
|
|
|
2019
2083
|
"SystemIdentityIdentityResource",
|
|
2020
2084
|
"SystemIdentityMicrosoftAdIdentityProvider",
|
|
2021
2085
|
"SystemIdentityMicrosoftIdentityProvider",
|
|
2086
|
+
"SystemIdentityOAuthAuthorization",
|
|
2087
|
+
"SystemIdentityOAuthToken",
|
|
2022
2088
|
"SystemIdentityOctoTenantIdentityProvider",
|
|
2023
2089
|
"SystemIdentityOpenLdapIdentityProvider",
|
|
2024
2090
|
"SystemIdentityPermission",
|
|
@@ -2027,6 +2093,7 @@ const result = {
|
|
|
2027
2093
|
"SystemIdentityRole",
|
|
2028
2094
|
"SystemIdentityServerSideSession",
|
|
2029
2095
|
"SystemIdentityUser",
|
|
2096
|
+
"SystemIdentityVerifiedExternalIdentifier",
|
|
2030
2097
|
"SystemMigrationHistory",
|
|
2031
2098
|
"SystemNotificationCssTemplateConfiguration",
|
|
2032
2099
|
"SystemNotificationEvent",
|
|
@@ -2049,6 +2116,7 @@ const result = {
|
|
|
2049
2116
|
"SystemUIBranding",
|
|
2050
2117
|
"SystemUIDashboard",
|
|
2051
2118
|
"SystemUIDashboardWidget",
|
|
2119
|
+
"SystemUIMappingCoverageConfiguration",
|
|
2052
2120
|
"SystemUIProcessDiagram",
|
|
2053
2121
|
"SystemUISymbolDefinition",
|
|
2054
2122
|
"SystemUISymbolLibrary",
|
|
@@ -2063,7 +2131,6 @@ const result = {
|
|
|
2063
2131
|
"BasicState",
|
|
2064
2132
|
"BasicTree",
|
|
2065
2133
|
"BasicTreeNode",
|
|
2066
|
-
"EnergyCommunityOperatingFacility",
|
|
2067
2134
|
"EnvironmentWasteMeter",
|
|
2068
2135
|
"IndustryBasicMachine",
|
|
2069
2136
|
"IndustryEnergyEnergyConsumer",
|
|
@@ -2081,9 +2148,6 @@ const result = {
|
|
|
2081
2148
|
"OctoSdkDemoMeteringPoint",
|
|
2082
2149
|
"OctoSdkDemoOperatingFacility"
|
|
2083
2150
|
],
|
|
2084
|
-
"EnergyCommunityBillingDocumentLineItem_BillingUnion": [
|
|
2085
|
-
"EnergyCommunityBillingDocumentLineItem"
|
|
2086
|
-
],
|
|
2087
2151
|
"EnergyCommunityBillingDocumentLineItem_BillingsUnion": [
|
|
2088
2152
|
"EnergyCommunityBillingDocumentLineItem"
|
|
2089
2153
|
],
|
|
@@ -2102,73 +2166,6 @@ const result = {
|
|
|
2102
2166
|
"EnergyCommunityCustomer_CustomerUnion": [
|
|
2103
2167
|
"EnergyCommunityCustomer"
|
|
2104
2168
|
],
|
|
2105
|
-
"EnergyCommunityEdaMessage_MessagesUnion": [
|
|
2106
|
-
"EnergyCommunityEdaMessage"
|
|
2107
|
-
],
|
|
2108
|
-
"EnergyCommunityEdaProcess_ProcessUnion": [
|
|
2109
|
-
"EnergyCommunityEdaProcess"
|
|
2110
|
-
],
|
|
2111
|
-
"EnergyCommunityEnergyQuantity_AssignedToUnion": [
|
|
2112
|
-
"EnergyCommunityEnergyQuantity"
|
|
2113
|
-
],
|
|
2114
|
-
"EnergyCommunityEnergyQuantity_ChildrenUnion": [
|
|
2115
|
-
"EnergyCommunityEnergyQuantity"
|
|
2116
|
-
],
|
|
2117
|
-
"EnergyCommunityMeteringPointInterface": [
|
|
2118
|
-
"EnergyCommunityConsumer",
|
|
2119
|
-
"EnergyCommunityProducer"
|
|
2120
|
-
],
|
|
2121
|
-
"EnergyCommunityMeteringPoint_ChildrenUnion": [
|
|
2122
|
-
"BasicAsset",
|
|
2123
|
-
"BasicCity",
|
|
2124
|
-
"BasicCountry",
|
|
2125
|
-
"BasicDistrict",
|
|
2126
|
-
"BasicEnergyOperatingFacility",
|
|
2127
|
-
"BasicState",
|
|
2128
|
-
"BasicTreeNode",
|
|
2129
|
-
"EnergyCommunityConsumer",
|
|
2130
|
-
"EnergyCommunityOperatingFacility",
|
|
2131
|
-
"EnergyCommunityProducer",
|
|
2132
|
-
"EnvironmentCarbonBudget",
|
|
2133
|
-
"EnvironmentCarbonEmission",
|
|
2134
|
-
"EnvironmentCertificateOfOrigin",
|
|
2135
|
-
"EnvironmentComplianceRecord",
|
|
2136
|
-
"EnvironmentEnvironmentalGoal",
|
|
2137
|
-
"EnvironmentWasteMeter",
|
|
2138
|
-
"IndustryBasicMachine",
|
|
2139
|
-
"IndustryEnergyDemandResponseEvent",
|
|
2140
|
-
"IndustryEnergyEnergyConsumer",
|
|
2141
|
-
"IndustryEnergyEnergyCost",
|
|
2142
|
-
"IndustryEnergyEnergyForecast",
|
|
2143
|
-
"IndustryEnergyEnergyMeter",
|
|
2144
|
-
"IndustryEnergyEnergyPerformanceIndicator",
|
|
2145
|
-
"IndustryEnergyEnergyStorage",
|
|
2146
|
-
"IndustryEnergyInverter",
|
|
2147
|
-
"IndustryEnergyPhotovoltaicSystem",
|
|
2148
|
-
"IndustryEnergyPhotovoltaicSystemModule",
|
|
2149
|
-
"IndustryEnergyPhotovoltaicSystemString",
|
|
2150
|
-
"IndustryFluidHeatMeter",
|
|
2151
|
-
"IndustryFluidWaterMeter",
|
|
2152
|
-
"IndustryMaintenanceCostCenter",
|
|
2153
|
-
"IndustryMaintenanceEmployee",
|
|
2154
|
-
"IndustryMaintenanceWorkplace",
|
|
2155
|
-
"OctoSdkDemoMeteringPoint",
|
|
2156
|
-
"OctoSdkDemoOperatingFacility"
|
|
2157
|
-
],
|
|
2158
|
-
"EnergyCommunityMeteringPoint_MeteringPointUnion": [
|
|
2159
|
-
"EnergyCommunityConsumer",
|
|
2160
|
-
"EnergyCommunityProducer"
|
|
2161
|
-
],
|
|
2162
|
-
"EnergyCommunityMeteringPoint_ParentUnion": [
|
|
2163
|
-
"EnergyCommunityConsumer",
|
|
2164
|
-
"EnergyCommunityProducer"
|
|
2165
|
-
],
|
|
2166
|
-
"EnergyCommunityOperatingFacility_FacilitiesUnion": [
|
|
2167
|
-
"EnergyCommunityOperatingFacility"
|
|
2168
|
-
],
|
|
2169
|
-
"EnergyCommunityOperatingFacility_ParentUnion": [
|
|
2170
|
-
"EnergyCommunityOperatingFacility"
|
|
2171
|
-
],
|
|
2172
2169
|
"EnergyCommunityParticipationPeriod_PeriodsUnion": [
|
|
2173
2170
|
"EnergyCommunityParticipationPeriod"
|
|
2174
2171
|
],
|
|
@@ -2293,6 +2290,9 @@ const result = {
|
|
|
2293
2290
|
"SystemCommunicationAdapter_ExecutedByUnion": [
|
|
2294
2291
|
"SystemCommunicationAdapter"
|
|
2295
2292
|
],
|
|
2293
|
+
"SystemCommunicationAdapter_PipelineServiceAccountOfUnion": [
|
|
2294
|
+
"SystemCommunicationAdapter"
|
|
2295
|
+
],
|
|
2296
2296
|
"SystemCommunicationDataFlow_ParentUnion": [
|
|
2297
2297
|
"SystemCommunicationDataFlow"
|
|
2298
2298
|
],
|
|
@@ -2365,6 +2365,9 @@ const result = {
|
|
|
2365
2365
|
"SystemCommunicationPool_ManagedByUnion": [
|
|
2366
2366
|
"SystemCommunicationPool"
|
|
2367
2367
|
],
|
|
2368
|
+
"SystemCommunicationServiceAccountConfiguration_PipelineServiceAccountUnion": [
|
|
2369
|
+
"SystemCommunicationServiceAccountConfiguration"
|
|
2370
|
+
],
|
|
2368
2371
|
"SystemCommunicationTag_TaggedByUnion": [
|
|
2369
2372
|
"SystemCommunicationTag"
|
|
2370
2373
|
],
|
|
@@ -2389,6 +2392,8 @@ const result = {
|
|
|
2389
2392
|
"SystemCommunicationSapConfiguration",
|
|
2390
2393
|
"SystemCommunicationServiceAccountConfiguration",
|
|
2391
2394
|
"SystemCommunicationSftpConfiguration",
|
|
2395
|
+
"SystemCommunicationSignalChannel",
|
|
2396
|
+
"SystemCommunicationWeClappConfiguration",
|
|
2392
2397
|
"SystemNotificationCssTemplateConfiguration",
|
|
2393
2398
|
"SystemNotificationMailNotificationConfiguration",
|
|
2394
2399
|
"SystemReportingConnectionInfo",
|
|
@@ -2416,6 +2421,8 @@ const result = {
|
|
|
2416
2421
|
"SystemCommunicationSapConfiguration",
|
|
2417
2422
|
"SystemCommunicationServiceAccountConfiguration",
|
|
2418
2423
|
"SystemCommunicationSftpConfiguration",
|
|
2424
|
+
"SystemCommunicationSignalChannel",
|
|
2425
|
+
"SystemCommunicationWeClappConfiguration",
|
|
2419
2426
|
"SystemNotificationCssTemplateConfiguration",
|
|
2420
2427
|
"SystemNotificationMailNotificationConfiguration",
|
|
2421
2428
|
"SystemReportingConnectionInfo",
|
|
@@ -2425,6 +2432,7 @@ const result = {
|
|
|
2425
2432
|
"SystemEntityInterface": [
|
|
2426
2433
|
"BasicDocument",
|
|
2427
2434
|
"BasicEmployee",
|
|
2435
|
+
"BasicEnergyConsentPeriod",
|
|
2428
2436
|
"BasicEnergyConsumer",
|
|
2429
2437
|
"BasicEnergyEdaMessage",
|
|
2430
2438
|
"BasicEnergyEdaMeteringPoint",
|
|
@@ -2438,12 +2446,7 @@ const result = {
|
|
|
2438
2446
|
"EnergyCommunityBillingDocumentLineItem",
|
|
2439
2447
|
"EnergyCommunityConsumer",
|
|
2440
2448
|
"EnergyCommunityCustomer",
|
|
2441
|
-
"EnergyCommunityEdaMessage",
|
|
2442
|
-
"EnergyCommunityEdaMeteringPoint",
|
|
2443
|
-
"EnergyCommunityEdaProcess",
|
|
2444
2449
|
"EnergyCommunityEnergyPrice",
|
|
2445
|
-
"EnergyCommunityEnergyQuantity",
|
|
2446
|
-
"EnergyCommunityMeteringPoint",
|
|
2447
2450
|
"EnergyCommunityParticipationPeriod",
|
|
2448
2451
|
"EnergyCommunityProducer",
|
|
2449
2452
|
"EnvironmentCarbonBudget",
|
|
@@ -2519,7 +2522,9 @@ const result = {
|
|
|
2519
2522
|
"SystemCommunicationSapConfiguration",
|
|
2520
2523
|
"SystemCommunicationServiceAccountConfiguration",
|
|
2521
2524
|
"SystemCommunicationSftpConfiguration",
|
|
2525
|
+
"SystemCommunicationSignalChannel",
|
|
2522
2526
|
"SystemCommunicationTag",
|
|
2527
|
+
"SystemCommunicationWeClappConfiguration",
|
|
2523
2528
|
"SystemConfiguration",
|
|
2524
2529
|
"SystemDownsamplingSdQuery",
|
|
2525
2530
|
"SystemGroupingAggregationRtQuery",
|
|
@@ -2529,6 +2534,8 @@ const result = {
|
|
|
2529
2534
|
"SystemIdentityAzureEntraIdIdentityProvider",
|
|
2530
2535
|
"SystemIdentityClient",
|
|
2531
2536
|
"SystemIdentityClientMirror",
|
|
2537
|
+
"SystemIdentityDataPermission",
|
|
2538
|
+
"SystemIdentityDataPolicy",
|
|
2532
2539
|
"SystemIdentityDataProtectionKey",
|
|
2533
2540
|
"SystemIdentityEmailDomainGroupRule",
|
|
2534
2541
|
"SystemIdentityExternalTenantUserMapping",
|
|
@@ -2539,6 +2546,8 @@ const result = {
|
|
|
2539
2546
|
"SystemIdentityIdentityResource",
|
|
2540
2547
|
"SystemIdentityMicrosoftAdIdentityProvider",
|
|
2541
2548
|
"SystemIdentityMicrosoftIdentityProvider",
|
|
2549
|
+
"SystemIdentityOAuthAuthorization",
|
|
2550
|
+
"SystemIdentityOAuthToken",
|
|
2542
2551
|
"SystemIdentityOctoTenantIdentityProvider",
|
|
2543
2552
|
"SystemIdentityOpenLdapIdentityProvider",
|
|
2544
2553
|
"SystemIdentityPermission",
|
|
@@ -2548,6 +2557,7 @@ const result = {
|
|
|
2548
2557
|
"SystemIdentityRole",
|
|
2549
2558
|
"SystemIdentityServerSideSession",
|
|
2550
2559
|
"SystemIdentityUser",
|
|
2560
|
+
"SystemIdentityVerifiedExternalIdentifier",
|
|
2551
2561
|
"SystemMigrationHistory",
|
|
2552
2562
|
"SystemNotificationCssTemplateConfiguration",
|
|
2553
2563
|
"SystemNotificationEvent",
|
|
@@ -2575,6 +2585,7 @@ const result = {
|
|
|
2575
2585
|
"SystemUIBranding",
|
|
2576
2586
|
"SystemUIDashboard",
|
|
2577
2587
|
"SystemUIDashboardWidget",
|
|
2588
|
+
"SystemUIMappingCoverageConfiguration",
|
|
2578
2589
|
"SystemUIProcessDiagram",
|
|
2579
2590
|
"SystemUISymbolDefinition",
|
|
2580
2591
|
"SystemUISymbolLibrary",
|
|
@@ -2587,6 +2598,7 @@ const result = {
|
|
|
2587
2598
|
"BasicCountry",
|
|
2588
2599
|
"BasicDistrict",
|
|
2589
2600
|
"BasicEmployee",
|
|
2601
|
+
"BasicEnergyConsentPeriod",
|
|
2590
2602
|
"BasicEnergyConsumer",
|
|
2591
2603
|
"BasicEnergyEdaMessage",
|
|
2592
2604
|
"BasicEnergyEdaMeteringPoint",
|
|
@@ -2601,12 +2613,7 @@ const result = {
|
|
|
2601
2613
|
"EnergyCommunityBillingDocumentLineItem",
|
|
2602
2614
|
"EnergyCommunityConsumer",
|
|
2603
2615
|
"EnergyCommunityCustomer",
|
|
2604
|
-
"EnergyCommunityEdaMessage",
|
|
2605
|
-
"EnergyCommunityEdaMeteringPoint",
|
|
2606
|
-
"EnergyCommunityEdaProcess",
|
|
2607
2616
|
"EnergyCommunityEnergyPrice",
|
|
2608
|
-
"EnergyCommunityEnergyQuantity",
|
|
2609
|
-
"EnergyCommunityOperatingFacility",
|
|
2610
2617
|
"EnergyCommunityParticipationPeriod",
|
|
2611
2618
|
"EnergyCommunityProducer",
|
|
2612
2619
|
"EnvironmentCarbonBudget",
|
|
@@ -2696,7 +2703,9 @@ const result = {
|
|
|
2696
2703
|
"SystemCommunicationSapConfiguration",
|
|
2697
2704
|
"SystemCommunicationServiceAccountConfiguration",
|
|
2698
2705
|
"SystemCommunicationSftpConfiguration",
|
|
2706
|
+
"SystemCommunicationSignalChannel",
|
|
2699
2707
|
"SystemCommunicationTag",
|
|
2708
|
+
"SystemCommunicationWeClappConfiguration",
|
|
2700
2709
|
"SystemDownsamplingSdQuery",
|
|
2701
2710
|
"SystemGroupingAggregationRtQuery",
|
|
2702
2711
|
"SystemGroupingAggregationSdQuery",
|
|
@@ -2705,6 +2714,8 @@ const result = {
|
|
|
2705
2714
|
"SystemIdentityAzureEntraIdIdentityProvider",
|
|
2706
2715
|
"SystemIdentityClient",
|
|
2707
2716
|
"SystemIdentityClientMirror",
|
|
2717
|
+
"SystemIdentityDataPermission",
|
|
2718
|
+
"SystemIdentityDataPolicy",
|
|
2708
2719
|
"SystemIdentityDataProtectionKey",
|
|
2709
2720
|
"SystemIdentityEmailDomainGroupRule",
|
|
2710
2721
|
"SystemIdentityExternalTenantUserMapping",
|
|
@@ -2714,6 +2725,8 @@ const result = {
|
|
|
2714
2725
|
"SystemIdentityIdentityResource",
|
|
2715
2726
|
"SystemIdentityMicrosoftAdIdentityProvider",
|
|
2716
2727
|
"SystemIdentityMicrosoftIdentityProvider",
|
|
2728
|
+
"SystemIdentityOAuthAuthorization",
|
|
2729
|
+
"SystemIdentityOAuthToken",
|
|
2717
2730
|
"SystemIdentityOctoTenantIdentityProvider",
|
|
2718
2731
|
"SystemIdentityOpenLdapIdentityProvider",
|
|
2719
2732
|
"SystemIdentityPermission",
|
|
@@ -2722,6 +2735,7 @@ const result = {
|
|
|
2722
2735
|
"SystemIdentityRole",
|
|
2723
2736
|
"SystemIdentityServerSideSession",
|
|
2724
2737
|
"SystemIdentityUser",
|
|
2738
|
+
"SystemIdentityVerifiedExternalIdentifier",
|
|
2725
2739
|
"SystemMigrationHistory",
|
|
2726
2740
|
"SystemNotificationCssTemplateConfiguration",
|
|
2727
2741
|
"SystemNotificationEvent",
|
|
@@ -2744,6 +2758,7 @@ const result = {
|
|
|
2744
2758
|
"SystemUIBranding",
|
|
2745
2759
|
"SystemUIDashboard",
|
|
2746
2760
|
"SystemUIDashboardWidget",
|
|
2761
|
+
"SystemUIMappingCoverageConfiguration",
|
|
2747
2762
|
"SystemUIProcessDiagram",
|
|
2748
2763
|
"SystemUISymbolDefinition",
|
|
2749
2764
|
"SystemUISymbolLibrary",
|
|
@@ -2755,6 +2770,7 @@ const result = {
|
|
|
2755
2770
|
"BasicCountry",
|
|
2756
2771
|
"BasicDistrict",
|
|
2757
2772
|
"BasicEmployee",
|
|
2773
|
+
"BasicEnergyConsentPeriod",
|
|
2758
2774
|
"BasicEnergyConsumer",
|
|
2759
2775
|
"BasicEnergyEdaMessage",
|
|
2760
2776
|
"BasicEnergyEdaMeteringPoint",
|
|
@@ -2769,12 +2785,7 @@ const result = {
|
|
|
2769
2785
|
"EnergyCommunityBillingDocumentLineItem",
|
|
2770
2786
|
"EnergyCommunityConsumer",
|
|
2771
2787
|
"EnergyCommunityCustomer",
|
|
2772
|
-
"EnergyCommunityEdaMessage",
|
|
2773
|
-
"EnergyCommunityEdaMeteringPoint",
|
|
2774
|
-
"EnergyCommunityEdaProcess",
|
|
2775
2788
|
"EnergyCommunityEnergyPrice",
|
|
2776
|
-
"EnergyCommunityEnergyQuantity",
|
|
2777
|
-
"EnergyCommunityOperatingFacility",
|
|
2778
2789
|
"EnergyCommunityParticipationPeriod",
|
|
2779
2790
|
"EnergyCommunityProducer",
|
|
2780
2791
|
"EnvironmentCarbonBudget",
|
|
@@ -2864,7 +2875,9 @@ const result = {
|
|
|
2864
2875
|
"SystemCommunicationSapConfiguration",
|
|
2865
2876
|
"SystemCommunicationServiceAccountConfiguration",
|
|
2866
2877
|
"SystemCommunicationSftpConfiguration",
|
|
2878
|
+
"SystemCommunicationSignalChannel",
|
|
2867
2879
|
"SystemCommunicationTag",
|
|
2880
|
+
"SystemCommunicationWeClappConfiguration",
|
|
2868
2881
|
"SystemDownsamplingSdQuery",
|
|
2869
2882
|
"SystemGroupingAggregationRtQuery",
|
|
2870
2883
|
"SystemGroupingAggregationSdQuery",
|
|
@@ -2873,6 +2886,8 @@ const result = {
|
|
|
2873
2886
|
"SystemIdentityAzureEntraIdIdentityProvider",
|
|
2874
2887
|
"SystemIdentityClient",
|
|
2875
2888
|
"SystemIdentityClientMirror",
|
|
2889
|
+
"SystemIdentityDataPermission",
|
|
2890
|
+
"SystemIdentityDataPolicy",
|
|
2876
2891
|
"SystemIdentityDataProtectionKey",
|
|
2877
2892
|
"SystemIdentityEmailDomainGroupRule",
|
|
2878
2893
|
"SystemIdentityExternalTenantUserMapping",
|
|
@@ -2882,6 +2897,8 @@ const result = {
|
|
|
2882
2897
|
"SystemIdentityIdentityResource",
|
|
2883
2898
|
"SystemIdentityMicrosoftAdIdentityProvider",
|
|
2884
2899
|
"SystemIdentityMicrosoftIdentityProvider",
|
|
2900
|
+
"SystemIdentityOAuthAuthorization",
|
|
2901
|
+
"SystemIdentityOAuthToken",
|
|
2885
2902
|
"SystemIdentityOctoTenantIdentityProvider",
|
|
2886
2903
|
"SystemIdentityOpenLdapIdentityProvider",
|
|
2887
2904
|
"SystemIdentityPermission",
|
|
@@ -2890,6 +2907,7 @@ const result = {
|
|
|
2890
2907
|
"SystemIdentityRole",
|
|
2891
2908
|
"SystemIdentityServerSideSession",
|
|
2892
2909
|
"SystemIdentityUser",
|
|
2910
|
+
"SystemIdentityVerifiedExternalIdentifier",
|
|
2893
2911
|
"SystemMigrationHistory",
|
|
2894
2912
|
"SystemNotificationCssTemplateConfiguration",
|
|
2895
2913
|
"SystemNotificationEvent",
|
|
@@ -2912,6 +2930,7 @@ const result = {
|
|
|
2912
2930
|
"SystemUIBranding",
|
|
2913
2931
|
"SystemUIDashboard",
|
|
2914
2932
|
"SystemUIDashboardWidget",
|
|
2933
|
+
"SystemUIMappingCoverageConfiguration",
|
|
2915
2934
|
"SystemUIProcessDiagram",
|
|
2916
2935
|
"SystemUISymbolDefinition",
|
|
2917
2936
|
"SystemUISymbolLibrary",
|
|
@@ -2923,6 +2942,7 @@ const result = {
|
|
|
2923
2942
|
"BasicCountry",
|
|
2924
2943
|
"BasicDistrict",
|
|
2925
2944
|
"BasicEmployee",
|
|
2945
|
+
"BasicEnergyConsentPeriod",
|
|
2926
2946
|
"BasicEnergyConsumer",
|
|
2927
2947
|
"BasicEnergyEdaMessage",
|
|
2928
2948
|
"BasicEnergyEdaMeteringPoint",
|
|
@@ -2937,12 +2957,7 @@ const result = {
|
|
|
2937
2957
|
"EnergyCommunityBillingDocumentLineItem",
|
|
2938
2958
|
"EnergyCommunityConsumer",
|
|
2939
2959
|
"EnergyCommunityCustomer",
|
|
2940
|
-
"EnergyCommunityEdaMessage",
|
|
2941
|
-
"EnergyCommunityEdaMeteringPoint",
|
|
2942
|
-
"EnergyCommunityEdaProcess",
|
|
2943
2960
|
"EnergyCommunityEnergyPrice",
|
|
2944
|
-
"EnergyCommunityEnergyQuantity",
|
|
2945
|
-
"EnergyCommunityOperatingFacility",
|
|
2946
2961
|
"EnergyCommunityParticipationPeriod",
|
|
2947
2962
|
"EnergyCommunityProducer",
|
|
2948
2963
|
"EnvironmentCarbonBudget",
|
|
@@ -3032,7 +3047,9 @@ const result = {
|
|
|
3032
3047
|
"SystemCommunicationSapConfiguration",
|
|
3033
3048
|
"SystemCommunicationServiceAccountConfiguration",
|
|
3034
3049
|
"SystemCommunicationSftpConfiguration",
|
|
3050
|
+
"SystemCommunicationSignalChannel",
|
|
3035
3051
|
"SystemCommunicationTag",
|
|
3052
|
+
"SystemCommunicationWeClappConfiguration",
|
|
3036
3053
|
"SystemDownsamplingSdQuery",
|
|
3037
3054
|
"SystemGroupingAggregationRtQuery",
|
|
3038
3055
|
"SystemGroupingAggregationSdQuery",
|
|
@@ -3041,6 +3058,8 @@ const result = {
|
|
|
3041
3058
|
"SystemIdentityAzureEntraIdIdentityProvider",
|
|
3042
3059
|
"SystemIdentityClient",
|
|
3043
3060
|
"SystemIdentityClientMirror",
|
|
3061
|
+
"SystemIdentityDataPermission",
|
|
3062
|
+
"SystemIdentityDataPolicy",
|
|
3044
3063
|
"SystemIdentityDataProtectionKey",
|
|
3045
3064
|
"SystemIdentityEmailDomainGroupRule",
|
|
3046
3065
|
"SystemIdentityExternalTenantUserMapping",
|
|
@@ -3050,6 +3069,8 @@ const result = {
|
|
|
3050
3069
|
"SystemIdentityIdentityResource",
|
|
3051
3070
|
"SystemIdentityMicrosoftAdIdentityProvider",
|
|
3052
3071
|
"SystemIdentityMicrosoftIdentityProvider",
|
|
3072
|
+
"SystemIdentityOAuthAuthorization",
|
|
3073
|
+
"SystemIdentityOAuthToken",
|
|
3053
3074
|
"SystemIdentityOctoTenantIdentityProvider",
|
|
3054
3075
|
"SystemIdentityOpenLdapIdentityProvider",
|
|
3055
3076
|
"SystemIdentityPermission",
|
|
@@ -3058,6 +3079,7 @@ const result = {
|
|
|
3058
3079
|
"SystemIdentityRole",
|
|
3059
3080
|
"SystemIdentityServerSideSession",
|
|
3060
3081
|
"SystemIdentityUser",
|
|
3082
|
+
"SystemIdentityVerifiedExternalIdentifier",
|
|
3061
3083
|
"SystemMigrationHistory",
|
|
3062
3084
|
"SystemNotificationCssTemplateConfiguration",
|
|
3063
3085
|
"SystemNotificationEvent",
|
|
@@ -3080,6 +3102,7 @@ const result = {
|
|
|
3080
3102
|
"SystemUIBranding",
|
|
3081
3103
|
"SystemUIDashboard",
|
|
3082
3104
|
"SystemUIDashboardWidget",
|
|
3105
|
+
"SystemUIMappingCoverageConfiguration",
|
|
3083
3106
|
"SystemUIProcessDiagram",
|
|
3084
3107
|
"SystemUISymbolDefinition",
|
|
3085
3108
|
"SystemUISymbolLibrary",
|
|
@@ -3091,6 +3114,7 @@ const result = {
|
|
|
3091
3114
|
"BasicCountry",
|
|
3092
3115
|
"BasicDistrict",
|
|
3093
3116
|
"BasicEmployee",
|
|
3117
|
+
"BasicEnergyConsentPeriod",
|
|
3094
3118
|
"BasicEnergyConsumer",
|
|
3095
3119
|
"BasicEnergyEdaMessage",
|
|
3096
3120
|
"BasicEnergyEdaMeteringPoint",
|
|
@@ -3105,12 +3129,7 @@ const result = {
|
|
|
3105
3129
|
"EnergyCommunityBillingDocumentLineItem",
|
|
3106
3130
|
"EnergyCommunityConsumer",
|
|
3107
3131
|
"EnergyCommunityCustomer",
|
|
3108
|
-
"EnergyCommunityEdaMessage",
|
|
3109
|
-
"EnergyCommunityEdaMeteringPoint",
|
|
3110
|
-
"EnergyCommunityEdaProcess",
|
|
3111
3132
|
"EnergyCommunityEnergyPrice",
|
|
3112
|
-
"EnergyCommunityEnergyQuantity",
|
|
3113
|
-
"EnergyCommunityOperatingFacility",
|
|
3114
3133
|
"EnergyCommunityParticipationPeriod",
|
|
3115
3134
|
"EnergyCommunityProducer",
|
|
3116
3135
|
"EnvironmentCarbonBudget",
|
|
@@ -3200,7 +3219,9 @@ const result = {
|
|
|
3200
3219
|
"SystemCommunicationSapConfiguration",
|
|
3201
3220
|
"SystemCommunicationServiceAccountConfiguration",
|
|
3202
3221
|
"SystemCommunicationSftpConfiguration",
|
|
3222
|
+
"SystemCommunicationSignalChannel",
|
|
3203
3223
|
"SystemCommunicationTag",
|
|
3224
|
+
"SystemCommunicationWeClappConfiguration",
|
|
3204
3225
|
"SystemDownsamplingSdQuery",
|
|
3205
3226
|
"SystemGroupingAggregationRtQuery",
|
|
3206
3227
|
"SystemGroupingAggregationSdQuery",
|
|
@@ -3209,6 +3230,8 @@ const result = {
|
|
|
3209
3230
|
"SystemIdentityAzureEntraIdIdentityProvider",
|
|
3210
3231
|
"SystemIdentityClient",
|
|
3211
3232
|
"SystemIdentityClientMirror",
|
|
3233
|
+
"SystemIdentityDataPermission",
|
|
3234
|
+
"SystemIdentityDataPolicy",
|
|
3212
3235
|
"SystemIdentityDataProtectionKey",
|
|
3213
3236
|
"SystemIdentityEmailDomainGroupRule",
|
|
3214
3237
|
"SystemIdentityExternalTenantUserMapping",
|
|
@@ -3218,6 +3241,8 @@ const result = {
|
|
|
3218
3241
|
"SystemIdentityIdentityResource",
|
|
3219
3242
|
"SystemIdentityMicrosoftAdIdentityProvider",
|
|
3220
3243
|
"SystemIdentityMicrosoftIdentityProvider",
|
|
3244
|
+
"SystemIdentityOAuthAuthorization",
|
|
3245
|
+
"SystemIdentityOAuthToken",
|
|
3221
3246
|
"SystemIdentityOctoTenantIdentityProvider",
|
|
3222
3247
|
"SystemIdentityOpenLdapIdentityProvider",
|
|
3223
3248
|
"SystemIdentityPermission",
|
|
@@ -3226,6 +3251,7 @@ const result = {
|
|
|
3226
3251
|
"SystemIdentityRole",
|
|
3227
3252
|
"SystemIdentityServerSideSession",
|
|
3228
3253
|
"SystemIdentityUser",
|
|
3254
|
+
"SystemIdentityVerifiedExternalIdentifier",
|
|
3229
3255
|
"SystemMigrationHistory",
|
|
3230
3256
|
"SystemNotificationCssTemplateConfiguration",
|
|
3231
3257
|
"SystemNotificationEvent",
|
|
@@ -3248,6 +3274,7 @@ const result = {
|
|
|
3248
3274
|
"SystemUIBranding",
|
|
3249
3275
|
"SystemUIDashboard",
|
|
3250
3276
|
"SystemUIDashboardWidget",
|
|
3277
|
+
"SystemUIMappingCoverageConfiguration",
|
|
3251
3278
|
"SystemUIProcessDiagram",
|
|
3252
3279
|
"SystemUISymbolDefinition",
|
|
3253
3280
|
"SystemUISymbolLibrary",
|
|
@@ -3259,6 +3286,7 @@ const result = {
|
|
|
3259
3286
|
"BasicCountry",
|
|
3260
3287
|
"BasicDistrict",
|
|
3261
3288
|
"BasicEmployee",
|
|
3289
|
+
"BasicEnergyConsentPeriod",
|
|
3262
3290
|
"BasicEnergyConsumer",
|
|
3263
3291
|
"BasicEnergyEdaMessage",
|
|
3264
3292
|
"BasicEnergyEdaMeteringPoint",
|
|
@@ -3273,12 +3301,7 @@ const result = {
|
|
|
3273
3301
|
"EnergyCommunityBillingDocumentLineItem",
|
|
3274
3302
|
"EnergyCommunityConsumer",
|
|
3275
3303
|
"EnergyCommunityCustomer",
|
|
3276
|
-
"EnergyCommunityEdaMessage",
|
|
3277
|
-
"EnergyCommunityEdaMeteringPoint",
|
|
3278
|
-
"EnergyCommunityEdaProcess",
|
|
3279
3304
|
"EnergyCommunityEnergyPrice",
|
|
3280
|
-
"EnergyCommunityEnergyQuantity",
|
|
3281
|
-
"EnergyCommunityOperatingFacility",
|
|
3282
3305
|
"EnergyCommunityParticipationPeriod",
|
|
3283
3306
|
"EnergyCommunityProducer",
|
|
3284
3307
|
"EnvironmentCarbonBudget",
|
|
@@ -3368,7 +3391,9 @@ const result = {
|
|
|
3368
3391
|
"SystemCommunicationSapConfiguration",
|
|
3369
3392
|
"SystemCommunicationServiceAccountConfiguration",
|
|
3370
3393
|
"SystemCommunicationSftpConfiguration",
|
|
3394
|
+
"SystemCommunicationSignalChannel",
|
|
3371
3395
|
"SystemCommunicationTag",
|
|
3396
|
+
"SystemCommunicationWeClappConfiguration",
|
|
3372
3397
|
"SystemDownsamplingSdQuery",
|
|
3373
3398
|
"SystemGroupingAggregationRtQuery",
|
|
3374
3399
|
"SystemGroupingAggregationSdQuery",
|
|
@@ -3377,6 +3402,8 @@ const result = {
|
|
|
3377
3402
|
"SystemIdentityAzureEntraIdIdentityProvider",
|
|
3378
3403
|
"SystemIdentityClient",
|
|
3379
3404
|
"SystemIdentityClientMirror",
|
|
3405
|
+
"SystemIdentityDataPermission",
|
|
3406
|
+
"SystemIdentityDataPolicy",
|
|
3380
3407
|
"SystemIdentityDataProtectionKey",
|
|
3381
3408
|
"SystemIdentityEmailDomainGroupRule",
|
|
3382
3409
|
"SystemIdentityExternalTenantUserMapping",
|
|
@@ -3386,6 +3413,8 @@ const result = {
|
|
|
3386
3413
|
"SystemIdentityIdentityResource",
|
|
3387
3414
|
"SystemIdentityMicrosoftAdIdentityProvider",
|
|
3388
3415
|
"SystemIdentityMicrosoftIdentityProvider",
|
|
3416
|
+
"SystemIdentityOAuthAuthorization",
|
|
3417
|
+
"SystemIdentityOAuthToken",
|
|
3389
3418
|
"SystemIdentityOctoTenantIdentityProvider",
|
|
3390
3419
|
"SystemIdentityOpenLdapIdentityProvider",
|
|
3391
3420
|
"SystemIdentityPermission",
|
|
@@ -3394,6 +3423,7 @@ const result = {
|
|
|
3394
3423
|
"SystemIdentityRole",
|
|
3395
3424
|
"SystemIdentityServerSideSession",
|
|
3396
3425
|
"SystemIdentityUser",
|
|
3426
|
+
"SystemIdentityVerifiedExternalIdentifier",
|
|
3397
3427
|
"SystemMigrationHistory",
|
|
3398
3428
|
"SystemNotificationCssTemplateConfiguration",
|
|
3399
3429
|
"SystemNotificationEvent",
|
|
@@ -3416,6 +3446,7 @@ const result = {
|
|
|
3416
3446
|
"SystemUIBranding",
|
|
3417
3447
|
"SystemUIDashboard",
|
|
3418
3448
|
"SystemUIDashboardWidget",
|
|
3449
|
+
"SystemUIMappingCoverageConfiguration",
|
|
3419
3450
|
"SystemUIProcessDiagram",
|
|
3420
3451
|
"SystemUISymbolDefinition",
|
|
3421
3452
|
"SystemUISymbolLibrary",
|
|
@@ -3427,6 +3458,7 @@ const result = {
|
|
|
3427
3458
|
"BasicCountry",
|
|
3428
3459
|
"BasicDistrict",
|
|
3429
3460
|
"BasicEmployee",
|
|
3461
|
+
"BasicEnergyConsentPeriod",
|
|
3430
3462
|
"BasicEnergyConsumer",
|
|
3431
3463
|
"BasicEnergyEdaMessage",
|
|
3432
3464
|
"BasicEnergyEdaMeteringPoint",
|
|
@@ -3441,12 +3473,7 @@ const result = {
|
|
|
3441
3473
|
"EnergyCommunityBillingDocumentLineItem",
|
|
3442
3474
|
"EnergyCommunityConsumer",
|
|
3443
3475
|
"EnergyCommunityCustomer",
|
|
3444
|
-
"EnergyCommunityEdaMessage",
|
|
3445
|
-
"EnergyCommunityEdaMeteringPoint",
|
|
3446
|
-
"EnergyCommunityEdaProcess",
|
|
3447
3476
|
"EnergyCommunityEnergyPrice",
|
|
3448
|
-
"EnergyCommunityEnergyQuantity",
|
|
3449
|
-
"EnergyCommunityOperatingFacility",
|
|
3450
3477
|
"EnergyCommunityParticipationPeriod",
|
|
3451
3478
|
"EnergyCommunityProducer",
|
|
3452
3479
|
"EnvironmentCarbonBudget",
|
|
@@ -3536,7 +3563,9 @@ const result = {
|
|
|
3536
3563
|
"SystemCommunicationSapConfiguration",
|
|
3537
3564
|
"SystemCommunicationServiceAccountConfiguration",
|
|
3538
3565
|
"SystemCommunicationSftpConfiguration",
|
|
3566
|
+
"SystemCommunicationSignalChannel",
|
|
3539
3567
|
"SystemCommunicationTag",
|
|
3568
|
+
"SystemCommunicationWeClappConfiguration",
|
|
3540
3569
|
"SystemDownsamplingSdQuery",
|
|
3541
3570
|
"SystemGroupingAggregationRtQuery",
|
|
3542
3571
|
"SystemGroupingAggregationSdQuery",
|
|
@@ -3545,6 +3574,8 @@ const result = {
|
|
|
3545
3574
|
"SystemIdentityAzureEntraIdIdentityProvider",
|
|
3546
3575
|
"SystemIdentityClient",
|
|
3547
3576
|
"SystemIdentityClientMirror",
|
|
3577
|
+
"SystemIdentityDataPermission",
|
|
3578
|
+
"SystemIdentityDataPolicy",
|
|
3548
3579
|
"SystemIdentityDataProtectionKey",
|
|
3549
3580
|
"SystemIdentityEmailDomainGroupRule",
|
|
3550
3581
|
"SystemIdentityExternalTenantUserMapping",
|
|
@@ -3554,6 +3585,8 @@ const result = {
|
|
|
3554
3585
|
"SystemIdentityIdentityResource",
|
|
3555
3586
|
"SystemIdentityMicrosoftAdIdentityProvider",
|
|
3556
3587
|
"SystemIdentityMicrosoftIdentityProvider",
|
|
3588
|
+
"SystemIdentityOAuthAuthorization",
|
|
3589
|
+
"SystemIdentityOAuthToken",
|
|
3557
3590
|
"SystemIdentityOctoTenantIdentityProvider",
|
|
3558
3591
|
"SystemIdentityOpenLdapIdentityProvider",
|
|
3559
3592
|
"SystemIdentityPermission",
|
|
@@ -3562,6 +3595,7 @@ const result = {
|
|
|
3562
3595
|
"SystemIdentityRole",
|
|
3563
3596
|
"SystemIdentityServerSideSession",
|
|
3564
3597
|
"SystemIdentityUser",
|
|
3598
|
+
"SystemIdentityVerifiedExternalIdentifier",
|
|
3565
3599
|
"SystemMigrationHistory",
|
|
3566
3600
|
"SystemNotificationCssTemplateConfiguration",
|
|
3567
3601
|
"SystemNotificationEvent",
|
|
@@ -3584,6 +3618,7 @@ const result = {
|
|
|
3584
3618
|
"SystemUIBranding",
|
|
3585
3619
|
"SystemUIDashboard",
|
|
3586
3620
|
"SystemUIDashboardWidget",
|
|
3621
|
+
"SystemUIMappingCoverageConfiguration",
|
|
3587
3622
|
"SystemUIProcessDiagram",
|
|
3588
3623
|
"SystemUISymbolDefinition",
|
|
3589
3624
|
"SystemUISymbolLibrary",
|
|
@@ -3594,6 +3629,21 @@ const result = {
|
|
|
3594
3629
|
"SystemIdentityGroup",
|
|
3595
3630
|
"SystemIdentityUser"
|
|
3596
3631
|
],
|
|
3632
|
+
"SystemIdentityClient_ImpersonatorsUnion": [
|
|
3633
|
+
"SystemIdentityClient"
|
|
3634
|
+
],
|
|
3635
|
+
"SystemIdentityClient_MayActAsUnion": [
|
|
3636
|
+
"SystemIdentityClient"
|
|
3637
|
+
],
|
|
3638
|
+
"SystemIdentityDataPermission_GrantedPermissionsUnion": [
|
|
3639
|
+
"SystemIdentityDataPermission"
|
|
3640
|
+
],
|
|
3641
|
+
"SystemIdentityDataPermission_PermissionUnion": [
|
|
3642
|
+
"SystemIdentityDataPermission"
|
|
3643
|
+
],
|
|
3644
|
+
"SystemIdentityDataPolicy_PoliciesUnion": [
|
|
3645
|
+
"SystemIdentityDataPolicy"
|
|
3646
|
+
],
|
|
3597
3647
|
"SystemIdentityGroup_ChildGroupsUnion": [
|
|
3598
3648
|
"SystemIdentityGroup"
|
|
3599
3649
|
],
|
|
@@ -3620,11 +3670,20 @@ const result = {
|
|
|
3620
3670
|
"SystemIdentityRole_AssignedRolesUnion": [
|
|
3621
3671
|
"SystemIdentityRole"
|
|
3622
3672
|
],
|
|
3673
|
+
"SystemIdentityRole_GrantedToRolesUnion": [
|
|
3674
|
+
"SystemIdentityRole"
|
|
3675
|
+
],
|
|
3623
3676
|
"SystemIdentityUser_MembersUnion": [
|
|
3624
3677
|
"SystemIdentityClient",
|
|
3625
3678
|
"SystemIdentityExternalTenantUserMapping",
|
|
3626
3679
|
"SystemIdentityUser"
|
|
3627
3680
|
],
|
|
3681
|
+
"SystemIdentityUser_UserUnion": [
|
|
3682
|
+
"SystemIdentityUser"
|
|
3683
|
+
],
|
|
3684
|
+
"SystemIdentityVerifiedExternalIdentifier_VerifiedExternalIdentifiersUnion": [
|
|
3685
|
+
"SystemIdentityVerifiedExternalIdentifier"
|
|
3686
|
+
],
|
|
3628
3687
|
"SystemPersistentQueryInterface": [
|
|
3629
3688
|
"SystemAggregationRtQuery",
|
|
3630
3689
|
"SystemAggregationSdQuery",
|
|
@@ -3680,6 +3739,7 @@ const result = {
|
|
|
3680
3739
|
"SystemUIBranding",
|
|
3681
3740
|
"SystemUIDashboard",
|
|
3682
3741
|
"SystemUIDashboardWidget",
|
|
3742
|
+
"SystemUIMappingCoverageConfiguration",
|
|
3683
3743
|
"SystemUIProcessDiagram",
|
|
3684
3744
|
"SystemUISymbolDefinition",
|
|
3685
3745
|
"SystemUISymbolLibrary",
|
|
@@ -4564,10 +4624,22 @@ class AssetRepoService {
|
|
|
4564
4624
|
}
|
|
4565
4625
|
return null;
|
|
4566
4626
|
}
|
|
4567
|
-
|
|
4627
|
+
/**
|
|
4628
|
+
* Exports a runtime model as a deep graph starting from the given origin entities.
|
|
4629
|
+
*
|
|
4630
|
+
* When `followSpecs` is supplied, the traversal follows those directed association-role
|
|
4631
|
+
* rules instead of the default ParentChild descent (AB#5003) — the mechanism identity
|
|
4632
|
+
* exchange uses to drag a permission's policies/grants, a role's permissions, or a group's
|
|
4633
|
+
* roles and child groups. Omitting it keeps the historical body and behaviour.
|
|
4634
|
+
*/
|
|
4635
|
+
async exportRtModelDeepGraph(tenantId, originRtIds, originCkTypeId, followSpecs) {
|
|
4568
4636
|
if (this.configurationService.config?.assetServices) {
|
|
4637
|
+
const body = { originRtIds, originCkTypeId };
|
|
4638
|
+
if (followSpecs && followSpecs.length > 0) {
|
|
4639
|
+
body.followSpecs = followSpecs;
|
|
4640
|
+
}
|
|
4569
4641
|
const r = await firstValueFrom(this.httpClient
|
|
4570
|
-
.post(this.configurationService.config.assetServices + tenantId + '/v1/Models/ExportRtByDeepGraph',
|
|
4642
|
+
.post(this.configurationService.config.assetServices + tenantId + '/v1/Models/ExportRtByDeepGraph', body, {
|
|
4571
4643
|
observe: 'response'
|
|
4572
4644
|
}));
|
|
4573
4645
|
return r.body?.jobId ?? null;
|
|
@@ -4584,15 +4656,137 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
|
|
|
4584
4656
|
}]
|
|
4585
4657
|
}] });
|
|
4586
4658
|
|
|
4659
|
+
/**
|
|
4660
|
+
* Builds the bot service's tus upload endpoint for a tenant.
|
|
4661
|
+
*
|
|
4662
|
+
* Tenant-routed since AB#5060. It used to be `system/v1/tus-upload` with the tenant sent only as
|
|
4663
|
+
* upload metadata, which the bot service's transport tenant gate never saw — the gate reads the
|
|
4664
|
+
* route value — and which bound nothing, because the file was stored flat under its tus file id and
|
|
4665
|
+
* no consumer read the metadata back. The service now stages uploads under the tenant's own
|
|
4666
|
+
* directory. `tenantId` is still sent as metadata for compatibility; the service refuses a metadata
|
|
4667
|
+
* tenant that disagrees with the route rather than silently preferring one.
|
|
4668
|
+
*
|
|
4669
|
+
* Exported so it can be asserted directly: the upload itself needs a real tus server, so specs stub
|
|
4670
|
+
* the transfer out — and a stubbed transfer hides the URL, which is the part that matters here.
|
|
4671
|
+
*/
|
|
4672
|
+
function buildTusEndpoint(botServicesUrl, tenantId) {
|
|
4673
|
+
return `${botServicesUrl}${encodeURIComponent(tenantId)}/v1/tus-upload`;
|
|
4674
|
+
}
|
|
4675
|
+
class TusUploadService {
|
|
4676
|
+
httpClient = inject(HttpClient);
|
|
4677
|
+
configurationService = inject(CONFIGURATION_SERVICE);
|
|
4678
|
+
authorizeService = inject(AuthorizeService);
|
|
4679
|
+
async startUpload(options) {
|
|
4680
|
+
const botServicesUrl = this.configurationService.config?.botServices;
|
|
4681
|
+
if (!botServicesUrl) {
|
|
4682
|
+
throw new Error('Bot services URL not configured');
|
|
4683
|
+
}
|
|
4684
|
+
const tusFileId = await this.performTusUpload(botServicesUrl, options);
|
|
4685
|
+
const jobResponse = await this.startRestoreJob(botServicesUrl, tusFileId, options);
|
|
4686
|
+
if (!jobResponse?.jobId) {
|
|
4687
|
+
throw new Error('Failed to start restore job');
|
|
4688
|
+
}
|
|
4689
|
+
return { jobId: jobResponse.jobId };
|
|
4690
|
+
}
|
|
4691
|
+
performTusUpload(botServicesUrl, options) {
|
|
4692
|
+
return new Promise((resolve, reject) => {
|
|
4693
|
+
const metadata = {
|
|
4694
|
+
filename: options.file.name,
|
|
4695
|
+
filetype: options.file.type || 'application/gzip',
|
|
4696
|
+
tenantId: options.tenantId,
|
|
4697
|
+
databaseName: options.databaseName
|
|
4698
|
+
};
|
|
4699
|
+
if (options.oldDatabaseName) {
|
|
4700
|
+
metadata['oldDatabaseName'] = options.oldDatabaseName;
|
|
4701
|
+
}
|
|
4702
|
+
const upload = new Upload(options.file, {
|
|
4703
|
+
endpoint: buildTusEndpoint(botServicesUrl, options.tenantId),
|
|
4704
|
+
retryDelays: [0, 1000, 3000, 5000, 10000],
|
|
4705
|
+
chunkSize: 50 * 1024 * 1024,
|
|
4706
|
+
metadata,
|
|
4707
|
+
onBeforeRequest: (req) => {
|
|
4708
|
+
const token = this.authorizeService.getAccessTokenSync();
|
|
4709
|
+
if (token) {
|
|
4710
|
+
req.setHeader('Authorization', `Bearer ${token}`);
|
|
4711
|
+
}
|
|
4712
|
+
},
|
|
4713
|
+
onProgress: (bytesUploaded, bytesTotal) => {
|
|
4714
|
+
options.onProgress?.(bytesUploaded, bytesTotal);
|
|
4715
|
+
},
|
|
4716
|
+
onSuccess: () => {
|
|
4717
|
+
const uploadUrl = upload.url;
|
|
4718
|
+
if (!uploadUrl) {
|
|
4719
|
+
reject(new Error('Upload succeeded but no URL returned'));
|
|
4720
|
+
return;
|
|
4721
|
+
}
|
|
4722
|
+
const tusFileId = uploadUrl.substring(uploadUrl.lastIndexOf('/') + 1);
|
|
4723
|
+
resolve(tusFileId);
|
|
4724
|
+
},
|
|
4725
|
+
onError: (error) => {
|
|
4726
|
+
reject(new Error(`Upload failed: ${error.message}`));
|
|
4727
|
+
}
|
|
4728
|
+
});
|
|
4729
|
+
upload.start();
|
|
4730
|
+
});
|
|
4731
|
+
}
|
|
4732
|
+
/**
|
|
4733
|
+
* Starts the restore job for the uploaded artifact.
|
|
4734
|
+
*
|
|
4735
|
+
* The tenant travels as a **route segment** (`{tenantId}/v1/jobs/restore-from-upload`, AB#5060),
|
|
4736
|
+
* matching the `{serviceUrl}{tenantId}/v1/...` shape of the other tenant-addressed services. That
|
|
4737
|
+
* is what puts the call in front of the bot service's transport tenant gate; as a `?tenantId=`
|
|
4738
|
+
* query parameter it was invisible to it. The route accepts a child tenant too — the tenant
|
|
4739
|
+
* controller carries `[AllowParentTenantAdministration]`, which is what the Child Tenants restore
|
|
4740
|
+
* relies on.
|
|
4741
|
+
*
|
|
4742
|
+
* The tus upload above is on the tenant route as well since stage 3 of AB#5060, so both hops are
|
|
4743
|
+
* gated; the service stages the file under the tenant's own directory.
|
|
4744
|
+
*/
|
|
4745
|
+
async startRestoreJob(botServicesUrl, tusFileId, options) {
|
|
4746
|
+
let params = new HttpParams()
|
|
4747
|
+
.set('tusFileId', tusFileId)
|
|
4748
|
+
.set('databaseName', options.databaseName)
|
|
4749
|
+
.set('restoreArchiveData', options.restoreArchiveData ?? false);
|
|
4750
|
+
if (options.oldDatabaseName) {
|
|
4751
|
+
params = params.set('oldDatabaseName', options.oldDatabaseName);
|
|
4752
|
+
}
|
|
4753
|
+
const r = await firstValueFrom(this.httpClient.post(`${botServicesUrl}${options.tenantId}/v1/jobs/restore-from-upload`, null, { params, observe: 'response' }));
|
|
4754
|
+
return r.body;
|
|
4755
|
+
}
|
|
4756
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: TusUploadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4757
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: TusUploadService, providedIn: 'root' });
|
|
4758
|
+
}
|
|
4759
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: TusUploadService, decorators: [{
|
|
4760
|
+
type: Injectable,
|
|
4761
|
+
args: [{
|
|
4762
|
+
providedIn: 'root'
|
|
4763
|
+
}]
|
|
4764
|
+
}] });
|
|
4765
|
+
|
|
4587
4766
|
class BotService {
|
|
4588
4767
|
httpClient = inject(HttpClient);
|
|
4589
4768
|
configurationService = inject(CONFIGURATION_SERVICE);
|
|
4590
4769
|
authorizeService = inject(AuthorizeService);
|
|
4770
|
+
/**
|
|
4771
|
+
* Builds the tenant-scoped jobs API base URL for an explicit tenant (AB#5060), following the same
|
|
4772
|
+
* `{serviceUrl}{tenantId}/v1/...` shape the other tenant-addressed services use.
|
|
4773
|
+
*
|
|
4774
|
+
* The tenant is deliberately an argument rather than the ambient `TENANT_ID_PROVIDER` route
|
|
4775
|
+
* tenant: these operations legitimately target a *child* tenant (backing up a child from the
|
|
4776
|
+
* Child Tenants list), which the bot service permits via `[AllowParentTenantAdministration]`.
|
|
4777
|
+
* Putting the tenant in the route is what makes the transport tenant gate see these calls at all —
|
|
4778
|
+
* as a `?tenantId=` query parameter they bypassed it.
|
|
4779
|
+
*/
|
|
4780
|
+
jobsBaseUrlForTenant(tenantId) {
|
|
4781
|
+
const botServicesUrl = this.configurationService.config?.botServices;
|
|
4782
|
+
if (!botServicesUrl)
|
|
4783
|
+
return null;
|
|
4784
|
+
return `${botServicesUrl}${tenantId}/v1/jobs/`;
|
|
4785
|
+
}
|
|
4591
4786
|
async runFixupScripts(tenantId) {
|
|
4592
|
-
const
|
|
4593
|
-
if (
|
|
4594
|
-
const r = await firstValueFrom(this.httpClient.post(
|
|
4595
|
-
params,
|
|
4787
|
+
const baseUrl = this.jobsBaseUrlForTenant(tenantId);
|
|
4788
|
+
if (baseUrl) {
|
|
4789
|
+
const r = await firstValueFrom(this.httpClient.post(baseUrl + 'run-fixup-scripts', null, {
|
|
4596
4790
|
observe: 'response'
|
|
4597
4791
|
}));
|
|
4598
4792
|
return r.body;
|
|
@@ -4607,14 +4801,14 @@ class BotService {
|
|
|
4607
4801
|
* fully backward-compatible behaviour (Mongo metadata/config only → single `.tar.gz`); with the
|
|
4608
4802
|
* flag set the bot job emits a larger `.octobak.zip` container instead.
|
|
4609
4803
|
*
|
|
4610
|
-
*
|
|
4804
|
+
* Bot contract: `POST {tenantId}/v1/jobs/dump-repository?includeArchiveData=` (AB#5060).
|
|
4611
4805
|
*/
|
|
4612
4806
|
async dumpRepository(tenantId, includeArchiveData = false) {
|
|
4613
4807
|
const params = new HttpParams()
|
|
4614
|
-
.set('tenantId', tenantId)
|
|
4615
4808
|
.set('includeArchiveData', includeArchiveData);
|
|
4616
|
-
|
|
4617
|
-
|
|
4809
|
+
const baseUrl = this.jobsBaseUrlForTenant(tenantId);
|
|
4810
|
+
if (baseUrl) {
|
|
4811
|
+
const r = await firstValueFrom(this.httpClient.post(baseUrl + 'dump-repository', null, {
|
|
4618
4812
|
params,
|
|
4619
4813
|
observe: 'response'
|
|
4620
4814
|
}));
|
|
@@ -4622,7 +4816,18 @@ class BotService {
|
|
|
4622
4816
|
}
|
|
4623
4817
|
return null;
|
|
4624
4818
|
}
|
|
4625
|
-
/**
|
|
4819
|
+
/**
|
|
4820
|
+
* @deprecated Dead as of AB#5060 — do not migrate it, remove it.
|
|
4821
|
+
*
|
|
4822
|
+
* There is no `restore-repository` route in the bot service any more, on the system API or
|
|
4823
|
+
* anywhere else: only the `IRestoreRepositoryJob` this multipart variant used to enqueue survives,
|
|
4824
|
+
* and `restore-from-upload` is what enqueues it now. So this method posts to an endpoint that does
|
|
4825
|
+
* not exist, and its only callers are its own spec tests — the tus flow superseded it.
|
|
4826
|
+
*
|
|
4827
|
+
* It is left in place rather than deleted because it is public API of a published package; removing
|
|
4828
|
+
* it is a breaking change that belongs in a deliberate major, not in this migration. It is called
|
|
4829
|
+
* out here so that stage 3 does not mistake it for a caller still to be moved.
|
|
4830
|
+
*/
|
|
4626
4831
|
async restoreRepository(tenantId, databaseName, file) {
|
|
4627
4832
|
const params = new HttpParams().set('tenantId', tenantId).set('databaseName', databaseName);
|
|
4628
4833
|
if (this.configurationService.config?.botServices) {
|
|
@@ -4636,6 +4841,14 @@ class BotService {
|
|
|
4636
4841
|
}
|
|
4637
4842
|
return null;
|
|
4638
4843
|
}
|
|
4844
|
+
/**
|
|
4845
|
+
* Downloads the artifact a finished job produced.
|
|
4846
|
+
*
|
|
4847
|
+
* Deliberately still on the system route (AB#5060): a Hangfire job id is global to the instance,
|
|
4848
|
+
* so this action is instance-scoped rather than tenant-scoped and got no tenant route. It is
|
|
4849
|
+
* guarded by the job API scope alone — the transport tenant gate reads a *route* tenant, and a
|
|
4850
|
+
* system route has none.
|
|
4851
|
+
*/
|
|
4639
4852
|
async downloadJobResultBinary(tenantId, jobId) {
|
|
4640
4853
|
const params = new HttpParams().set('tenantId', tenantId).set('id', jobId);
|
|
4641
4854
|
if (this.configurationService.config?.botServices) {
|
|
@@ -4646,6 +4859,10 @@ class BotService {
|
|
|
4646
4859
|
}
|
|
4647
4860
|
return null;
|
|
4648
4861
|
}
|
|
4862
|
+
/**
|
|
4863
|
+
* Polls a job by id. Job ids are not tenant-addressed, so this stays on the system route
|
|
4864
|
+
* (AB#5060 moved only the five tenant-securing verbs).
|
|
4865
|
+
*/
|
|
4649
4866
|
async getJobStatus(jobId) {
|
|
4650
4867
|
const params = new HttpParams().set('id', jobId);
|
|
4651
4868
|
if (this.configurationService.config?.botServices) {
|
|
@@ -4668,20 +4885,20 @@ class BotService {
|
|
|
4668
4885
|
* When `window` is omitted the whole archive is exported; when supplied only rows whose
|
|
4669
4886
|
* timestamp / `window_start` fall in `[fromUtc, toUtc)` are included.
|
|
4670
4887
|
*
|
|
4671
|
-
*
|
|
4672
|
-
* `POST
|
|
4888
|
+
* Bot contract:
|
|
4889
|
+
* `POST {tenantId}/v1/jobs/export-archive-data?archiveRtId=&fromUtc=&toUtc=` → `{ jobId }` (AB#5060).
|
|
4673
4890
|
*/
|
|
4674
4891
|
async startExportArchiveData(tenantId, archiveRtId, window) {
|
|
4675
|
-
|
|
4892
|
+
const baseUrl = this.jobsBaseUrlForTenant(tenantId);
|
|
4893
|
+
if (!baseUrl) {
|
|
4676
4894
|
return null;
|
|
4677
4895
|
}
|
|
4678
4896
|
let params = new HttpParams()
|
|
4679
|
-
.set('tenantId', tenantId)
|
|
4680
4897
|
.set('archiveRtId', archiveRtId);
|
|
4681
4898
|
if (window) {
|
|
4682
4899
|
params = params.set('fromUtc', window.fromUtc).set('toUtc', window.toUtc);
|
|
4683
4900
|
}
|
|
4684
|
-
const r = await firstValueFrom(this.httpClient.post(
|
|
4901
|
+
const r = await firstValueFrom(this.httpClient.post(baseUrl + 'export-archive-data', null, { params, observe: 'response' }));
|
|
4685
4902
|
return r.body;
|
|
4686
4903
|
}
|
|
4687
4904
|
/**
|
|
@@ -4691,24 +4908,25 @@ class BotService {
|
|
|
4691
4908
|
* mismatch the job fails with a field-level message that surfaces through
|
|
4692
4909
|
* `JobManagementService.waitForJob` → `MessageService.showErrorWithDetails`.
|
|
4693
4910
|
*
|
|
4694
|
-
*
|
|
4695
|
-
* 1. TUS upload to `
|
|
4696
|
-
* `archiveRtId`, `importMode`).
|
|
4697
|
-
*
|
|
4698
|
-
*
|
|
4911
|
+
* Bot contract:
|
|
4912
|
+
* 1. TUS upload to `{tenantId}/v1/tus-upload` (metadata: `filename`, `filetype`, `tenantId`,
|
|
4913
|
+
* `archiveRtId`, `importMode`). Tenant-routed since AB#5060, so the transport tenant gate
|
|
4914
|
+
* authorizes the upload and the service stages it under the tenant's own directory.
|
|
4915
|
+
* 2. `POST {tenantId}/v1/jobs/import-archive-data-from-upload?tusFileId=&archiveRtId=&mode=`
|
|
4916
|
+
* → `{ jobId }` (AB#5060).
|
|
4699
4917
|
*/
|
|
4700
4918
|
async startImportArchiveDataWithUpload(tenantId, archiveRtId, file, mode, onProgress) {
|
|
4701
4919
|
const botServicesUrl = this.configurationService.config?.botServices;
|
|
4702
|
-
|
|
4920
|
+
const baseUrl = this.jobsBaseUrlForTenant(tenantId);
|
|
4921
|
+
if (!botServicesUrl || !baseUrl) {
|
|
4703
4922
|
return null;
|
|
4704
4923
|
}
|
|
4705
4924
|
const tusFileId = await this.uploadArchiveDataZip(botServicesUrl, tenantId, archiveRtId, mode, file, onProgress);
|
|
4706
4925
|
const params = new HttpParams()
|
|
4707
4926
|
.set('tusFileId', tusFileId)
|
|
4708
|
-
.set('tenantId', tenantId)
|
|
4709
4927
|
.set('archiveRtId', archiveRtId)
|
|
4710
4928
|
.set('mode', mode.toString());
|
|
4711
|
-
const r = await firstValueFrom(this.httpClient.post(
|
|
4929
|
+
const r = await firstValueFrom(this.httpClient.post(baseUrl + 'import-archive-data-from-upload', null, { params, observe: 'response' }));
|
|
4712
4930
|
return r.body;
|
|
4713
4931
|
}
|
|
4714
4932
|
uploadArchiveDataZip(botServicesUrl, tenantId, archiveRtId, mode, file, onProgress) {
|
|
@@ -4721,7 +4939,7 @@ class BotService {
|
|
|
4721
4939
|
importMode: mode.toString()
|
|
4722
4940
|
};
|
|
4723
4941
|
const upload = new Upload(file, {
|
|
4724
|
-
endpoint: botServicesUrl
|
|
4942
|
+
endpoint: buildTusEndpoint(botServicesUrl, tenantId),
|
|
4725
4943
|
retryDelays: [0, 1000, 3000, 5000, 10000],
|
|
4726
4944
|
chunkSize: 50 * 1024 * 1024,
|
|
4727
4945
|
metadata,
|
|
@@ -5278,6 +5496,40 @@ class IdentityService {
|
|
|
5278
5496
|
}
|
|
5279
5497
|
}
|
|
5280
5498
|
// ========================================
|
|
5499
|
+
// E-mail Identifier Bindings (AB#5125)
|
|
5500
|
+
// Admin-managed e-mail→user verified whitelist for the tenant. A whitelisted address is only as
|
|
5501
|
+
// trusted per message as its DKIM/DMARC verdict (evaluated on ingest); a message without a valid,
|
|
5502
|
+
// aligned DKIM/DMARC pass never authorizes an elevated operation.
|
|
5503
|
+
// ========================================
|
|
5504
|
+
async getEmailIdentifierBindings() {
|
|
5505
|
+
const baseUrl = await this.getApiBaseUrl();
|
|
5506
|
+
if (baseUrl) {
|
|
5507
|
+
const response = await firstValueFrom(this.httpClient.get(baseUrl + 'emailidentifierbindings', {
|
|
5508
|
+
observe: 'response'
|
|
5509
|
+
}));
|
|
5510
|
+
return response.body ?? [];
|
|
5511
|
+
}
|
|
5512
|
+
return [];
|
|
5513
|
+
}
|
|
5514
|
+
async createEmailIdentifierBinding(dto) {
|
|
5515
|
+
const baseUrl = await this.getApiBaseUrl();
|
|
5516
|
+
if (baseUrl) {
|
|
5517
|
+
await firstValueFrom(this.httpClient.post(baseUrl + 'emailidentifierbindings', dto, {
|
|
5518
|
+
observe: 'response'
|
|
5519
|
+
}));
|
|
5520
|
+
}
|
|
5521
|
+
}
|
|
5522
|
+
async deleteEmailIdentifierBinding(email) {
|
|
5523
|
+
const baseUrl = await this.getApiBaseUrl();
|
|
5524
|
+
if (baseUrl) {
|
|
5525
|
+
const params = new HttpParams().set('email', email);
|
|
5526
|
+
await firstValueFrom(this.httpClient.delete(baseUrl + 'emailidentifierbindings', {
|
|
5527
|
+
params,
|
|
5528
|
+
observe: 'response'
|
|
5529
|
+
}));
|
|
5530
|
+
}
|
|
5531
|
+
}
|
|
5532
|
+
// ========================================
|
|
5281
5533
|
// Group Management
|
|
5282
5534
|
// ========================================
|
|
5283
5535
|
async getGroups() {
|
|
@@ -5525,6 +5777,63 @@ class IdentityService {
|
|
|
5525
5777
|
}
|
|
5526
5778
|
return null;
|
|
5527
5779
|
}
|
|
5780
|
+
// ========================================
|
|
5781
|
+
// Data Permission Management (AB#4972)
|
|
5782
|
+
// ========================================
|
|
5783
|
+
async getDataPermissions() {
|
|
5784
|
+
const baseUrl = await this.getApiBaseUrl();
|
|
5785
|
+
if (baseUrl) {
|
|
5786
|
+
const response = await firstValueFrom(this.httpClient.get(baseUrl + 'dataPermissions', { observe: 'response' }));
|
|
5787
|
+
return response.body;
|
|
5788
|
+
}
|
|
5789
|
+
return null;
|
|
5790
|
+
}
|
|
5791
|
+
async createDataPermission(dataPermission) {
|
|
5792
|
+
const baseUrl = await this.getApiBaseUrl();
|
|
5793
|
+
if (baseUrl) {
|
|
5794
|
+
await firstValueFrom(this.httpClient.post(baseUrl + 'dataPermissions', dataPermission, { observe: 'response' }));
|
|
5795
|
+
}
|
|
5796
|
+
}
|
|
5797
|
+
async deleteDataPermission(permissionId) {
|
|
5798
|
+
const baseUrl = await this.getApiBaseUrl();
|
|
5799
|
+
if (baseUrl) {
|
|
5800
|
+
await firstValueFrom(this.httpClient.delete(baseUrl + `dataPermissions/${permissionId}`, { observe: 'response' }));
|
|
5801
|
+
}
|
|
5802
|
+
}
|
|
5803
|
+
async createDataPolicy(permissionId, dataPolicy) {
|
|
5804
|
+
const baseUrl = await this.getApiBaseUrl();
|
|
5805
|
+
if (baseUrl) {
|
|
5806
|
+
const response = await firstValueFrom(this.httpClient.post(baseUrl + `dataPermissions/${permissionId}/policies`, dataPolicy, { observe: 'response', responseType: 'text' }));
|
|
5807
|
+
return response.body;
|
|
5808
|
+
}
|
|
5809
|
+
return null;
|
|
5810
|
+
}
|
|
5811
|
+
async deleteDataPolicy(policyRtId) {
|
|
5812
|
+
const baseUrl = await this.getApiBaseUrl();
|
|
5813
|
+
if (baseUrl) {
|
|
5814
|
+
await firstValueFrom(this.httpClient.delete(baseUrl + `dataPermissions/policies/${policyRtId}`, { observe: 'response' }));
|
|
5815
|
+
}
|
|
5816
|
+
}
|
|
5817
|
+
async setDataPolicyEnforcementMode(policyRtId, enforcementMode) {
|
|
5818
|
+
const baseUrl = await this.getApiBaseUrl();
|
|
5819
|
+
if (baseUrl) {
|
|
5820
|
+
// The endpoint takes a raw JSON string body - Angular would default a plain string to text/plain.
|
|
5821
|
+
const headers = new HttpHeaders().set('Content-Type', 'application/json');
|
|
5822
|
+
await firstValueFrom(this.httpClient.put(baseUrl + `dataPermissions/policies/${policyRtId}/enforcementMode`, JSON.stringify(enforcementMode), { headers, observe: 'response' }));
|
|
5823
|
+
}
|
|
5824
|
+
}
|
|
5825
|
+
async grantDataPermissionToRole(permissionId, roleName) {
|
|
5826
|
+
const baseUrl = await this.getApiBaseUrl();
|
|
5827
|
+
if (baseUrl) {
|
|
5828
|
+
await firstValueFrom(this.httpClient.post(baseUrl + `dataPermissions/${permissionId}/roles/${roleName}`, null, { observe: 'response' }));
|
|
5829
|
+
}
|
|
5830
|
+
}
|
|
5831
|
+
async revokeDataPermissionFromRole(permissionId, roleName) {
|
|
5832
|
+
const baseUrl = await this.getApiBaseUrl();
|
|
5833
|
+
if (baseUrl) {
|
|
5834
|
+
await firstValueFrom(this.httpClient.delete(baseUrl + `dataPermissions/${permissionId}/roles/${roleName}`, { observe: 'response' }));
|
|
5835
|
+
}
|
|
5836
|
+
}
|
|
5528
5837
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: IdentityService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5529
5838
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: IdentityService, providedIn: 'root' });
|
|
5530
5839
|
}
|
|
@@ -5884,6 +6193,38 @@ class CommunicationService {
|
|
|
5884
6193
|
const uri = `${this.communicationServicesUrl}${tenantId}/v1/adapter/${workloadRtId}/wake`;
|
|
5885
6194
|
await firstValueFrom(this.httpClient.post(uri, null));
|
|
5886
6195
|
}
|
|
6196
|
+
/**
|
|
6197
|
+
* Rotates the client secret of an adapter's pipeline service account (`POST
|
|
6198
|
+
* /adapter/{adapterRtId}/serviceAccount/rotateSecret`, OctoMesh AB#5032).
|
|
6199
|
+
*
|
|
6200
|
+
* The route takes the **plain runtime object id**, not a composite
|
|
6201
|
+
* `RtEntityId` like the adapter read endpoints: `Adapter` is polymorphic, so
|
|
6202
|
+
* the controller resolves it through the tenant's adapter list.
|
|
6203
|
+
*
|
|
6204
|
+
* The old secret is invalid the moment this resolves, while a running adapter
|
|
6205
|
+
* keeps presenting it until its pipelines are redeployed — the credentials are
|
|
6206
|
+
* frozen into the pipeline's `GlobalConfiguration` at registration time. That
|
|
6207
|
+
* is what `requiresPipelineRedeploy` and `message` in the result are for; a
|
|
6208
|
+
* caller that reduces this to a "done" toast leaves the adapter broken with
|
|
6209
|
+
* nothing on screen saying why.
|
|
6210
|
+
*
|
|
6211
|
+
* Unlike {@link wakeWorkload} this throws rather than no-opping when the
|
|
6212
|
+
* communication services URL is missing, and never substitutes a default
|
|
6213
|
+
* result: an undescribable rotation reported as success would tell the user
|
|
6214
|
+
* "nothing left to do" about a secret that was in fact replaced.
|
|
6215
|
+
*
|
|
6216
|
+
* Rotation is deliberately not doable from a blueprint — the secret attribute
|
|
6217
|
+
* is runtime state, so a blueprint import cannot change a live secret. This
|
|
6218
|
+
* call (and `octo-cli`'s `RotateAdapterServiceAccountSecret`) is the supported
|
|
6219
|
+
* path.
|
|
6220
|
+
*/
|
|
6221
|
+
async rotateAdapterServiceAccountSecret(tenantId, adapterRtId) {
|
|
6222
|
+
if (!this.communicationServicesUrl) {
|
|
6223
|
+
throw new Error('Communication services URL is not configured');
|
|
6224
|
+
}
|
|
6225
|
+
const uri = `${this.communicationServicesUrl}${tenantId}/v1/adapter/${adapterRtId}/serviceAccount/rotateSecret`;
|
|
6226
|
+
return await firstValueFrom(this.httpClient.post(uri, null));
|
|
6227
|
+
}
|
|
5887
6228
|
/**
|
|
5888
6229
|
* Enables or disables debug capture for a pipeline via the dedicated debug
|
|
5889
6230
|
* endpoint (`PATCH /pipeline/{id}/debug`). This is the ONLY way debug capture
|
|
@@ -6204,85 +6545,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
|
|
|
6204
6545
|
}]
|
|
6205
6546
|
}] });
|
|
6206
6547
|
|
|
6207
|
-
class TusUploadService {
|
|
6208
|
-
httpClient = inject(HttpClient);
|
|
6209
|
-
configurationService = inject(CONFIGURATION_SERVICE);
|
|
6210
|
-
authorizeService = inject(AuthorizeService);
|
|
6211
|
-
async startUpload(options) {
|
|
6212
|
-
const botServicesUrl = this.configurationService.config?.botServices;
|
|
6213
|
-
if (!botServicesUrl) {
|
|
6214
|
-
throw new Error('Bot services URL not configured');
|
|
6215
|
-
}
|
|
6216
|
-
const tusFileId = await this.performTusUpload(botServicesUrl, options);
|
|
6217
|
-
const jobResponse = await this.startRestoreJob(botServicesUrl, tusFileId, options);
|
|
6218
|
-
if (!jobResponse?.jobId) {
|
|
6219
|
-
throw new Error('Failed to start restore job');
|
|
6220
|
-
}
|
|
6221
|
-
return { jobId: jobResponse.jobId };
|
|
6222
|
-
}
|
|
6223
|
-
performTusUpload(botServicesUrl, options) {
|
|
6224
|
-
return new Promise((resolve, reject) => {
|
|
6225
|
-
const metadata = {
|
|
6226
|
-
filename: options.file.name,
|
|
6227
|
-
filetype: options.file.type || 'application/gzip',
|
|
6228
|
-
tenantId: options.tenantId,
|
|
6229
|
-
databaseName: options.databaseName
|
|
6230
|
-
};
|
|
6231
|
-
if (options.oldDatabaseName) {
|
|
6232
|
-
metadata['oldDatabaseName'] = options.oldDatabaseName;
|
|
6233
|
-
}
|
|
6234
|
-
const upload = new Upload(options.file, {
|
|
6235
|
-
endpoint: botServicesUrl + 'system/v1/tus-upload',
|
|
6236
|
-
retryDelays: [0, 1000, 3000, 5000, 10000],
|
|
6237
|
-
chunkSize: 50 * 1024 * 1024,
|
|
6238
|
-
metadata,
|
|
6239
|
-
onBeforeRequest: (req) => {
|
|
6240
|
-
const token = this.authorizeService.getAccessTokenSync();
|
|
6241
|
-
if (token) {
|
|
6242
|
-
req.setHeader('Authorization', `Bearer ${token}`);
|
|
6243
|
-
}
|
|
6244
|
-
},
|
|
6245
|
-
onProgress: (bytesUploaded, bytesTotal) => {
|
|
6246
|
-
options.onProgress?.(bytesUploaded, bytesTotal);
|
|
6247
|
-
},
|
|
6248
|
-
onSuccess: () => {
|
|
6249
|
-
const uploadUrl = upload.url;
|
|
6250
|
-
if (!uploadUrl) {
|
|
6251
|
-
reject(new Error('Upload succeeded but no URL returned'));
|
|
6252
|
-
return;
|
|
6253
|
-
}
|
|
6254
|
-
const tusFileId = uploadUrl.substring(uploadUrl.lastIndexOf('/') + 1);
|
|
6255
|
-
resolve(tusFileId);
|
|
6256
|
-
},
|
|
6257
|
-
onError: (error) => {
|
|
6258
|
-
reject(new Error(`Upload failed: ${error.message}`));
|
|
6259
|
-
}
|
|
6260
|
-
});
|
|
6261
|
-
upload.start();
|
|
6262
|
-
});
|
|
6263
|
-
}
|
|
6264
|
-
async startRestoreJob(botServicesUrl, tusFileId, options) {
|
|
6265
|
-
let params = new HttpParams()
|
|
6266
|
-
.set('tusFileId', tusFileId)
|
|
6267
|
-
.set('tenantId', options.tenantId)
|
|
6268
|
-
.set('databaseName', options.databaseName)
|
|
6269
|
-
.set('restoreArchiveData', options.restoreArchiveData ?? false);
|
|
6270
|
-
if (options.oldDatabaseName) {
|
|
6271
|
-
params = params.set('oldDatabaseName', options.oldDatabaseName);
|
|
6272
|
-
}
|
|
6273
|
-
const r = await firstValueFrom(this.httpClient.post(botServicesUrl + 'system/v1/jobs/restore-from-upload', null, { params, observe: 'response' }));
|
|
6274
|
-
return r.body;
|
|
6275
|
-
}
|
|
6276
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: TusUploadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6277
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: TusUploadService, providedIn: 'root' });
|
|
6278
|
-
}
|
|
6279
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: TusUploadService, decorators: [{
|
|
6280
|
-
type: Injectable,
|
|
6281
|
-
args: [{
|
|
6282
|
-
providedIn: 'root'
|
|
6283
|
-
}]
|
|
6284
|
-
}] });
|
|
6285
|
-
|
|
6286
6548
|
class CkModelCatalogService {
|
|
6287
6549
|
httpClient = inject(HttpClient);
|
|
6288
6550
|
configurationService = inject(CONFIGURATION_SERVICE);
|
|
@@ -6854,5 +7116,5 @@ function provideOctoServices(octoServiceOptions) {
|
|
|
6854
7116
|
* Generated bundle index. Do not edit.
|
|
6855
7117
|
*/
|
|
6856
7118
|
|
|
6857
|
-
export { AggregationInputTypesDto, AggregationTypeDto, AggregationTypesDto, AiService, ArchiveStorageHealthDto, AssetRepoGraphQlDataSource, AssetRepoService, AssociationModOptionsDto, AttributeSelectorService, AttributeValueTypeDto, BasicEnergyCarrierTypeDto, BasicEnergyDataQualityDto, BasicEnergyFacilityTypeDto, BasicEnergyProductionTypeDto, BasicEnergyStateDto, BasicLegalEntityTypeDto, BasicSalutationDto, BasicTypeOfTelephoneBasicDto, BasicTypeOfTelephoneEnhancedDto, BasicUnitOfMeasureDto, BlueprintConflictResolutionDto, BlueprintUpdateModeDto, BotService, BucketAlignmentInputDto, CONFIGURATION_SERVICE, CkExtensionUpdateOperationsDto, CkModelCatalogService, CkModelService, CkRollupFunctionDto, CkTypeAttributeService, CkTypeMetaData, CkTypeSelectorService, CommunicationService, DeleteStrategiesDto, DeploymentState, EnergyCommunityBillingCycleDto, EnergyCommunityBillingDocumentStateDto, EnergyCommunityBillingTypeDto,
|
|
7119
|
+
export { AggregationInputTypesDto, AggregationTypeDto, AggregationTypesDto, AiService, ArchiveStorageHealthDto, AssetRepoGraphQlDataSource, AssetRepoService, AssociationModOptionsDto, AttributeSelectorService, AttributeValueTypeDto, BasicEnergyCarrierTypeDto, BasicEnergyDataQualityDto, BasicEnergyFacilityTypeDto, BasicEnergyProductionTypeDto, BasicEnergyStateDto, BasicLegalEntityTypeDto, BasicSalutationDto, BasicTypeOfTelephoneBasicDto, BasicTypeOfTelephoneEnhancedDto, BasicUnitOfMeasureDto, BlueprintConflictResolutionDto, BlueprintUpdateModeDto, BotService, BucketAlignmentDto, BucketAlignmentInputDto, CONFIGURATION_SERVICE, CkExtensionUpdateOperationsDto, CkModelCatalogService, CkModelService, CkRollupFunctionDto, CkTypeAttributeService, CkTypeMetaData, CkTypeSelectorService, CommunicationService, DeepGraphDirectionDto, DeleteStrategiesDto, DeploymentState, EnergyCommunityBillingCycleDto, EnergyCommunityBillingDocumentStateDto, EnergyCommunityBillingTypeDto, EnergyCommunityTaxProcedureCreditNoteDto, EnvironmentCarbonScopeDto, EnvironmentComplianceCategoryDto, EnvironmentComplianceStatusDto, EnvironmentEnergySourceDto, EnvironmentGoalStateDto, FieldFilterOperatorsDto, FormulaResultTypeDto, GetCkModelByIdDocumentDto, GetCkModelByIdDtoGQL, GetCkRecordAttributesDocumentDto, GetCkRecordAttributesDtoGQL, GetCkTypeAttributesDocumentDto, GetCkTypeAttributesDtoGQL, GetCkTypeAvailableQueryColumnsDocumentDto, GetCkTypeAvailableQueryColumnsDtoGQL, GetCkTypesDocumentDto, GetCkTypesDtoGQL, GetDerivedCkTypesDocumentDto, GetDerivedCkTypesDtoGQL, GetEntitiesByCkTypeDocumentDto, GetEntitiesByCkTypeDtoGQL, GraphDirectionDto, GraphQL, GraphQLCloneIgnoredProperties, GraphQLCommonIgnoredProperties, GraphQlDataSource, HealthService, HealthStatus, IDENTITY_PROVIDER_TYPE_LABELS, IdentityProviderType, IdentityService, ImportStrategyDto, IndustryBasicAlarmPriorityDto, IndustryBasicAlarmSourceTypeDto, IndustryBasicAlarmStateDto, IndustryBasicAlarmTypeDto, IndustryBasicIecDataTypeDto, IndustryBasicMachineCapabilitiesDto, IndustryBasicMachineStateDto, IndustryEnergyDemandResponseMarketDto, IndustryEnergyDemandResponseStatusDto, IndustryEnergyTariffTypeDto, IndustryMaintenanceAggregationTypeDto, IndustryMaintenanceCostCategoryDto, IndustryMaintenanceEnergyBalanceGroupDto, IndustryMaintenanceEnergyBalanceProductDto, IndustryMaintenanceEnergyBalanceUnitDto, IndustryMaintenanceOrderPriorityDto, IndustryMaintenanceOrderStateDto, IndustryMaintenanceOrderTypeDto, IndustryMaintenanceServiceTypeDto, IndustryManufacturingFeedbackSyncStateDto, IndustryManufacturingProductionOrderItemStateDto, IndustryManufacturingProductionOrderStateDto, JobManagementService, LevelMetaData, LoggerSeverity, ModelStateDto, MultiplicitiesDto, NavigationFilterModeDto, OctoErrorLink, OctoGraphQLServiceBase, OctoSdkDemoCustomerStatusDto, OctoSdkDemoNetworkOperatorDto, OctoSdkDemoOperatingStatusDto, OctoServiceOptions, OctoServicesModule, PagedGraphResultDto, ProgressValue, ProgressWindowService, QueryModeDto, ReportingService, RtAssociationMetaData, RuntimeEntityDialogDataSource, RuntimeEntitySelectDataSource, SearchFilterTypesDto, SeriesComparisonPolicyDto, SeriesResolutionSignalDto, SortOrdersDto, SystemAggregationTypesDto, SystemAiApprovalModeDto, SystemAiApprovalReasonDto, SystemAiApprovalStatusDto, SystemAiAuthModeDto, SystemAiConflictModeDto, SystemAiCredentialKindDto, SystemAiJobKindDto, SystemAiJobStatusDto, SystemAiKnowledgeKindDto, SystemAiLeaseStatusDto, SystemAiModelTierDto, SystemAiRiskLevelDto, SystemAiSessionEventKindDto, SystemAiSessionStatusDto, SystemAiSubscriptionScopeDto, SystemAiTicketScopeDto, SystemAiTicketStatusDto, SystemAiWorkspaceModeDto, SystemCommunicationCommunicationStateDto, SystemCommunicationConfigurationStateDto, SystemCommunicationDeploymentStateDto, SystemCommunicationEnvironmentDto, SystemCommunicationHelmChannelDto, SystemCommunicationLifecycleModeDto, SystemCommunicationLifecycleStateDto, SystemCommunicationPipelineExecutionStatusDto, SystemCommunicationPipelineTriggerTypeDto, SystemCommunicationSignalRegistrationActionDto, SystemCommunicationSignalRegistrationStateDto, SystemEnvironmentModesDto, SystemFieldFilterOperatorDto, SystemIdentityDataPolicyEnforcementModeDto, SystemIdentityDataPolicyScopeDto, SystemIdentityIdentifierKindDto, SystemIdentityIdentifierSourceDto, SystemIdentityTokenExpirationDto, SystemIdentityTokenTypeDto, SystemIdentityTokenUsageDto, SystemIdentityTrustLevelDto, SystemMaintenanceLevelsDto, SystemNavigationFilterModesDto, SystemNotificationEventLevelsDto, SystemNotificationEventSourcesDto, SystemNotificationEventStatesDto, SystemNotificationNotificationTypesDto, SystemNotificationRenderingTypesDto, SystemQueryTypesDto, SystemSortOrdersDto, SystemStreamDataBucketAlignmentDto, SystemStreamDataCkArchiveStatusDto, SystemStreamDataCkComputedColumnResultTypeDto, SystemStreamDataCkComputedColumnStateDto, SystemStreamDataCkRecomputeChangeKindDto, SystemStreamDataCkRecomputeChangeSourceDto, SystemStreamDataCkRecomputeJobStateDto, SystemStreamDataCkRecomputeTriggerDto, SystemStreamDataCkRollupFunctionDto, TENANT_ID_PROVIDER, TusUploadService, UpdateTypeDto, buildTusEndpoint, octoDataIdFromObject, result as possibleTypes, provideOctoServices };
|
|
6858
7120
|
//# sourceMappingURL=meshmakers-octo-services.mjs.map
|