@meshmakers/octo-services 3.5.200 → 3.5.240

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.
@@ -2076,6 +2076,9 @@ const result = {
2076
2076
  "SystemNotificationCssTemplateConfiguration",
2077
2077
  "SystemNotificationEvent",
2078
2078
  "SystemNotificationMailNotificationConfiguration",
2079
+ "SystemNotificationNotificationDeliveryState",
2080
+ "SystemNotificationNotificationPreference",
2081
+ "SystemNotificationNotificationSubscription",
2079
2082
  "SystemNotificationNotificationTemplate",
2080
2083
  "SystemNotificationStatefulEvent",
2081
2084
  "SystemReportingConnectionInfo",
@@ -2443,6 +2446,9 @@ const result = {
2443
2446
  "SystemNotificationCssTemplateConfiguration",
2444
2447
  "SystemNotificationEvent",
2445
2448
  "SystemNotificationMailNotificationConfiguration",
2449
+ "SystemNotificationNotificationDeliveryState",
2450
+ "SystemNotificationNotificationPreference",
2451
+ "SystemNotificationNotificationSubscription",
2446
2452
  "SystemNotificationNotificationTemplate",
2447
2453
  "SystemNotificationStatefulEvent",
2448
2454
  "SystemReportingConnectionInfo",
@@ -2926,6 +2932,9 @@ const result = {
2926
2932
  "SystemNotificationCssTemplateConfiguration",
2927
2933
  "SystemNotificationEvent",
2928
2934
  "SystemNotificationMailNotificationConfiguration",
2935
+ "SystemNotificationNotificationDeliveryState",
2936
+ "SystemNotificationNotificationPreference",
2937
+ "SystemNotificationNotificationSubscription",
2929
2938
  "SystemNotificationNotificationTemplate",
2930
2939
  "SystemNotificationStatefulEvent",
2931
2940
  "SystemPersistentQuery",
@@ -3107,6 +3116,9 @@ const result = {
3107
3116
  "SystemNotificationCssTemplateConfiguration",
3108
3117
  "SystemNotificationEvent",
3109
3118
  "SystemNotificationMailNotificationConfiguration",
3119
+ "SystemNotificationNotificationDeliveryState",
3120
+ "SystemNotificationNotificationPreference",
3121
+ "SystemNotificationNotificationSubscription",
3110
3122
  "SystemNotificationNotificationTemplate",
3111
3123
  "SystemNotificationStatefulEvent",
3112
3124
  "SystemReportingConnectionInfo",
@@ -3282,6 +3294,9 @@ const result = {
3282
3294
  "SystemNotificationCssTemplateConfiguration",
3283
3295
  "SystemNotificationEvent",
3284
3296
  "SystemNotificationMailNotificationConfiguration",
3297
+ "SystemNotificationNotificationDeliveryState",
3298
+ "SystemNotificationNotificationPreference",
3299
+ "SystemNotificationNotificationSubscription",
3285
3300
  "SystemNotificationNotificationTemplate",
3286
3301
  "SystemNotificationStatefulEvent",
3287
3302
  "SystemReportingConnectionInfo",
@@ -3457,6 +3472,9 @@ const result = {
3457
3472
  "SystemNotificationCssTemplateConfiguration",
3458
3473
  "SystemNotificationEvent",
3459
3474
  "SystemNotificationMailNotificationConfiguration",
3475
+ "SystemNotificationNotificationDeliveryState",
3476
+ "SystemNotificationNotificationPreference",
3477
+ "SystemNotificationNotificationSubscription",
3460
3478
  "SystemNotificationNotificationTemplate",
3461
3479
  "SystemNotificationStatefulEvent",
3462
3480
  "SystemReportingConnectionInfo",
@@ -3632,6 +3650,9 @@ const result = {
3632
3650
  "SystemNotificationCssTemplateConfiguration",
3633
3651
  "SystemNotificationEvent",
3634
3652
  "SystemNotificationMailNotificationConfiguration",
3653
+ "SystemNotificationNotificationDeliveryState",
3654
+ "SystemNotificationNotificationPreference",
3655
+ "SystemNotificationNotificationSubscription",
3635
3656
  "SystemNotificationNotificationTemplate",
3636
3657
  "SystemNotificationStatefulEvent",
3637
3658
  "SystemReportingConnectionInfo",
@@ -3807,6 +3828,9 @@ const result = {
3807
3828
  "SystemNotificationCssTemplateConfiguration",
3808
3829
  "SystemNotificationEvent",
3809
3830
  "SystemNotificationMailNotificationConfiguration",
3831
+ "SystemNotificationNotificationDeliveryState",
3832
+ "SystemNotificationNotificationPreference",
3833
+ "SystemNotificationNotificationSubscription",
3810
3834
  "SystemNotificationNotificationTemplate",
3811
3835
  "SystemNotificationStatefulEvent",
3812
3836
  "SystemReportingConnectionInfo",
@@ -3982,6 +4006,9 @@ const result = {
3982
4006
  "SystemNotificationCssTemplateConfiguration",
3983
4007
  "SystemNotificationEvent",
3984
4008
  "SystemNotificationMailNotificationConfiguration",
4009
+ "SystemNotificationNotificationDeliveryState",
4010
+ "SystemNotificationNotificationPreference",
4011
+ "SystemNotificationNotificationSubscription",
3985
4012
  "SystemNotificationNotificationTemplate",
3986
4013
  "SystemNotificationStatefulEvent",
3987
4014
  "SystemReportingConnectionInfo",
@@ -4067,6 +4094,27 @@ const result = {
4067
4094
  "SystemIdentityVerifiedExternalIdentifier_VerifiedExternalIdentifiersUnion": [
4068
4095
  "SystemIdentityVerifiedExternalIdentifier"
4069
4096
  ],
4097
+ "SystemNotificationNotificationDeliveryState_DeliveryStateUnion": [
4098
+ "SystemNotificationNotificationDeliveryState"
4099
+ ],
4100
+ "SystemNotificationNotificationPreference_PreferenceUnion": [
4101
+ "SystemNotificationNotificationPreference"
4102
+ ],
4103
+ "SystemNotificationNotificationPreference_PreferencesUnion": [
4104
+ "SystemNotificationNotificationPreference"
4105
+ ],
4106
+ "SystemNotificationNotificationSubscription_NotificationSubscriptionsUnion": [
4107
+ "SystemNotificationNotificationSubscription"
4108
+ ],
4109
+ "SystemNotificationNotificationSubscription_SubscriptionUnion": [
4110
+ "SystemNotificationNotificationSubscription"
4111
+ ],
4112
+ "SystemNotificationNotificationSubscription_SubscriptionsUnion": [
4113
+ "SystemNotificationNotificationSubscription"
4114
+ ],
4115
+ "SystemNotificationNotificationTemplate_TemplateUnion": [
4116
+ "SystemNotificationNotificationTemplate"
4117
+ ],
4070
4118
  "SystemPersistentQueryInterface": [
4071
4119
  "SystemAggregationRtQuery",
4072
4120
  "SystemAggregationSdQuery",
@@ -4077,6 +4125,15 @@ const result = {
4077
4125
  "SystemSimpleSdQuery",
4078
4126
  "SystemStreamDataQuery"
4079
4127
  ],
4128
+ "SystemPersistentQuery_QueryUnion": [
4129
+ "SystemAggregationRtQuery",
4130
+ "SystemAggregationSdQuery",
4131
+ "SystemDownsamplingSdQuery",
4132
+ "SystemGroupingAggregationRtQuery",
4133
+ "SystemGroupingAggregationSdQuery",
4134
+ "SystemSimpleRtQuery",
4135
+ "SystemSimpleSdQuery"
4136
+ ],
4080
4137
  "SystemReportingFileSystemContainerInterface": [
4081
4138
  "SystemReportingFileSystemItem",
4082
4139
  "SystemReportingFolder"
@@ -7610,6 +7667,39 @@ class CommunicationService {
7610
7667
  await firstValueFrom(this.httpClient.post(uri, null, { params, observe: 'response' }));
7611
7668
  }
7612
7669
  }
7670
+ /**
7671
+ * Deploys a notification subscription: its recipients start getting mails on their
7672
+ * schedules, and the notification engine is deployed if it is not yet.
7673
+ */
7674
+ async deployNotificationSubscription(tenantId, subscriptionRtId) {
7675
+ if (!this.communicationServicesUrl) {
7676
+ return;
7677
+ }
7678
+ const uri = `${this.communicationServicesUrl}${tenantId}/v1/notifications/subscriptions/${subscriptionRtId}/deploy`;
7679
+ await firstValueFrom(this.httpClient.post(uri, null));
7680
+ }
7681
+ /**
7682
+ * Undeploys a notification subscription; its preferences are kept.
7683
+ */
7684
+ async undeployNotificationSubscription(tenantId, subscriptionRtId) {
7685
+ if (!this.communicationServicesUrl) {
7686
+ return;
7687
+ }
7688
+ const uri = `${this.communicationServicesUrl}${tenantId}/v1/notifications/subscriptions/${subscriptionRtId}/undeploy`;
7689
+ await firstValueFrom(this.httpClient.post(uri, null));
7690
+ }
7691
+ /**
7692
+ * Brings the notification schedule in line after a preference was saved or deleted: only that
7693
+ * preference when its rtId is given, otherwise the whole tenant schedule.
7694
+ */
7695
+ async syncNotificationSchedule(tenantId, preferenceRtId) {
7696
+ if (!this.communicationServicesUrl) {
7697
+ return;
7698
+ }
7699
+ const params = preferenceRtId ? new HttpParams().set('preferenceRtId', preferenceRtId) : undefined;
7700
+ const uri = `${this.communicationServicesUrl}${tenantId}/v1/notifications/schedule/sync`;
7701
+ await firstValueFrom(this.httpClient.post(uri, null, { params }));
7702
+ }
7613
7703
  /**
7614
7704
  * Gets the deployment status of a pipeline.
7615
7705
  */