@gooddata/sdk-backend-spi 10.43.0 → 10.44.0-alpha.2

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.
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Type of automation supported across workspaces and organizations.
3
+ *
4
+ * @alpha
5
+ */
6
+ export type AutomationType = "schedule" | "trigger" | "alert";
7
+ /**
8
+ * Type of automation filter behavior
9
+ * @alpha
10
+ */
11
+ export type AutomationFilterType = "exact" | "include" | "exclude";
12
+ /**
13
+ * Configuration options for loading automation metadata objects with query.
14
+ *
15
+ * @alpha
16
+ */
17
+ export interface IGetAutomationsQueryOptions {
18
+ /**
19
+ * Specify if automationResult should be included in the response.
20
+ *
21
+ * @remarks
22
+ * Defaults to false.
23
+ */
24
+ includeAutomationResult?: boolean;
25
+ }
26
+ //# sourceMappingURL=automations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"automations.d.ts","sourceRoot":"","sources":["../../src/common/automations.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG,SAAS,GAAG,OAAO,CAAC;AAE9D;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC;AAEnE;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;;OAKG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACrC"}
@@ -0,0 +1,3 @@
1
+ // (C) 2024-2025 GoodData Corporation
2
+ export {};
3
+ //# sourceMappingURL=automations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"automations.js","sourceRoot":"","sources":["../../src/common/automations.ts"],"names":[],"mappings":"AAAA,qCAAqC"}
package/esm/index.d.ts CHANGED
@@ -55,8 +55,9 @@ export type { IOrganizationNotificationChannelService } from "./organization/not
55
55
  export type { INotificationChannelsQuery, INotificationChannelsQueryResult, INotificationChannelIdentifiersQueryResult, } from "./organization/notificationChannels/query.js";
56
56
  export type { IDataFiltersService } from "./workspace/dataFilter/index.js";
57
57
  export type { IWorkspaceLogicalModelService, IDateDataset } from "./workspace/ldm/model.js";
58
- export type { IWorkspaceAutomationService, IGetAutomationOptions, IGetAutomationsOptions, IGetAutomationsQueryOptions, AutomationType, IAutomationsQuery, IAutomationsQueryResult, } from "./workspace/automations/index.js";
59
- export type { IOrganizationAutomationService, IOrganizationAutomationsQuery, IOrganizationAutomationsQueryResult, IGetOrganizationAutomationsOptions, IGetOrganizationAutomationsQueryOptions, OrganizationAutomationType, } from "./organization/automations/index.js";
58
+ export type { IWorkspaceAutomationService, IGetAutomationOptions, IGetAutomationsOptions, IAutomationsQuery, IAutomationsQueryResult, } from "./workspace/automations/index.js";
59
+ export type { IOrganizationAutomationService, IOrganizationAutomationsQuery, IOrganizationAutomationsQueryResult, } from "./organization/automations/index.js";
60
+ export type { AutomationType, AutomationFilterType, IGetAutomationsQueryOptions, } from "./common/automations.js";
60
61
  export type { IOrganizationLlmEndpointsService } from "./organization/llmEndpoints/index.js";
61
62
  export type { IOrganizationNotificationService } from "./organization/notifications/index.js";
62
63
  export type { INotificationsQuery, INotificationsQueryResult } from "./organization/notifications/query.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,YAAY,EACR,kBAAkB,EAClB,wBAAwB,EACxB,wBAAwB,EACxB,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,2BAA2B,GAC9B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,YAAY,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEtE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAEtG,YAAY,EAAE,YAAY,EAAE,MAA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c,EACd,oBAAoB,EACpB,2BAA2B,GAC9B,MAAM,yBAAyB,CAAC;AAEjC,YAAY,EAAE,gCAAgC,EAAE,MAAM,sCAAsC,CAAC;AAE7F,YAAY,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AAC9F,YAAY,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC"}
@@ -1,47 +1,6 @@
1
1
  import { IAutomationMetadataObject } from "@gooddata/sdk-model";
2
+ import { AutomationFilterType, AutomationType, IGetAutomationsQueryOptions } from "../../common/automations.js";
2
3
  import { IPagedResource } from "../../common/paging.js";
3
- /**
4
- * Type of automation supported across the organization.
5
- *
6
- * @alpha
7
- */
8
- export type OrganizationAutomationType = "schedule" | "trigger" | "alert";
9
- /**
10
- * Configuration options for loading organization automation metadata objects.
11
- *
12
- * @alpha
13
- */
14
- export interface IGetOrganizationAutomationsOptions {
15
- /**
16
- * Specify (zero-based) starting offset for the results. Default: 0
17
- */
18
- offset?: number;
19
- /**
20
- * Specify number of items per page. Default: 50
21
- */
22
- limit?: number;
23
- /**
24
- * Filter automations by specific workspace IDs for centralized management.
25
- *
26
- * @remarks
27
- * If not provided, automations from all workspaces in the organization are returned.
28
- */
29
- workspaceIds?: string[];
30
- }
31
- /**
32
- * Configuration options for loading organization automation metadata objects with query.
33
- *
34
- * @alpha
35
- */
36
- export interface IGetOrganizationAutomationsQueryOptions {
37
- /**
38
- * Specify if automationResult should be included in the response.
39
- *
40
- * @remarks
41
- * Defaults to false.
42
- */
43
- includeAutomationResult?: boolean;
44
- }
45
4
  /**
46
5
  * Service to query automations across the organization for centralized automation management.
47
6
  *
@@ -87,23 +46,23 @@ export interface IOrganizationAutomationsQuery {
87
46
  * @param type - type of the automation, e.g. "schedule" or "trigger"
88
47
  * @returns organization automations query
89
48
  */
90
- withType(type: OrganizationAutomationType): IOrganizationAutomationsQuery;
49
+ withType(type: AutomationType): IOrganizationAutomationsQuery;
91
50
  /**
92
51
  * Sets author of the automation for the query.
93
52
  *
94
53
  * @param author - author of the automation
95
- * @param multiValue - if true, the author is a multi-value filter
54
+ * @param filterType - type of filter behavior ("exact", "include", "exclude")
96
55
  * @returns organization automations query
97
56
  */
98
- withAuthor(author: string, multiValue?: boolean): IOrganizationAutomationsQuery;
57
+ withAuthor(author: string, filterType?: AutomationFilterType): IOrganizationAutomationsQuery;
99
58
  /**
100
59
  * Sets recipient of the automation for the query.
101
60
  *
102
61
  * @param recipient - recipient of the automation
103
- * @param multiValue - if true, the recipient is a multi-value filter
62
+ * @param filterType - type of filter behavior ("exact", "include", "exclude")
104
63
  * @returns organization automations query
105
64
  */
106
- withRecipient(recipient: string, multiValue?: boolean): IOrganizationAutomationsQuery;
65
+ withRecipient(recipient: string, filterType?: AutomationFilterType): IOrganizationAutomationsQuery;
107
66
  /**
108
67
  * Sets external recipient of the automation for the query.
109
68
  *
@@ -122,25 +81,26 @@ export interface IOrganizationAutomationsQuery {
122
81
  * Sets dashboard id for the query.
123
82
  *
124
83
  * @param dashboard - dashboard id
125
- * @param multiValue - if true, the dashboard is a multi-value filter
84
+ * @param filterType - type of filter behavior ("exact", "include", "exclude")
126
85
  * @returns organization automations query
127
86
  */
128
- withDashboard(dashboard: string, multiValue?: boolean): IOrganizationAutomationsQuery;
87
+ withDashboard(dashboard: string, filterType?: AutomationFilterType): IOrganizationAutomationsQuery;
129
88
  /**
130
89
  * Sets status of automation results for the query.
131
90
  *
132
91
  * @param status - status of the automation result ("SUCCESS" or "FAILED")
133
- * @param multiValue - if true, the status is a multi-value filter
92
+ * @param filterType - type of filter behavior ("exact", "include", "exclude")
134
93
  * @returns organization automations query
135
94
  */
136
- withStatus(status: string, multiValue?: boolean): IOrganizationAutomationsQuery;
95
+ withStatus(status: string, filterType?: AutomationFilterType): IOrganizationAutomationsQuery;
137
96
  /**
138
97
  * Filter automations by workspace IDs for centralized management.
139
98
  *
140
- * @param workspaceIds - list of workspace IDs to filter by
99
+ * @param workspace - workspace ID to filter by
100
+ * @param filterType - type of filter behavior ("exact", "include", "exclude")
141
101
  * @returns organization automations query
142
102
  */
143
- withWorkspace(workspace: string, multiValue?: boolean): IOrganizationAutomationsQuery;
103
+ withWorkspace(workspace: string, filterType?: AutomationFilterType): IOrganizationAutomationsQuery;
144
104
  /**
145
105
  * Starts the organization automations query.
146
106
  *
@@ -173,7 +133,7 @@ export interface IOrganizationAutomationService {
173
133
  * @param options - specify additional options
174
134
  * @returns methods for querying organization automations
175
135
  */
176
- getAutomationsQuery(options?: IGetOrganizationAutomationsQueryOptions): IOrganizationAutomationsQuery;
136
+ getAutomationsQuery(options?: IGetAutomationsQueryOptions): IOrganizationAutomationsQuery;
177
137
  /**
178
138
  * Delete automation from any workspace within the organization
179
139
  *
@@ -233,5 +193,25 @@ export interface IOrganizationAutomationService {
233
193
  id: string;
234
194
  workspaceId: string;
235
195
  }>): Promise<void>;
196
+ /**
197
+ * Unsubscribe from automation from any workspace within the organization
198
+ *
199
+ * @param id - id of the automation
200
+ * @param workspaceId - id of the workspace containing the automation
201
+ * @returns Promise resolved when unsubscribed from the automation.
202
+ */
203
+ unsubscribeAutomation(id: string, workspaceId: string): Promise<void>;
204
+ /**
205
+ * Unsubscribe from multiple automations across workspaces for centralized management
206
+ *
207
+ * Unsubscribes from multiple automations identified by their IDs from any workspace within the organization.
208
+ *
209
+ * @param automations - Array of automation objects with id and workspaceId
210
+ * @returns Promise resolved when unsubscribed from the automations.
211
+ */
212
+ unsubscribeAutomations(automations: Array<{
213
+ id: string;
214
+ workspaceId: string;
215
+ }>): Promise<void>;
236
216
  }
237
217
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organization/automations/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAEhE,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD;;;;GAIG;AACH,MAAM,MAAM,0BAA0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AAE,EAAE,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEzF;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjE;;;;;;;OAOG;IACH,iBAAiB,CAAC,WAAW,EAAE,KAAK,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE1F;;;;;;OAMG;IACH,qBAAqB,CAAC,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEtE;;;;;;;OAOG;IACH,sBAAsB,CAAC,WAAW,EAAE,KAAK,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAClG"}
@@ -209,7 +209,13 @@ export declare type AuthenticationFlow = {
209
209
  };
210
210
 
211
211
  /**
212
- * Type of workspace automation.
212
+ * Type of automation filter behavior
213
+ * @alpha
214
+ */
215
+ export declare type AutomationFilterType = "exact" | "include" | "exclude";
216
+
217
+ /**
218
+ * Type of automation supported across workspaces and organizations.
213
219
  *
214
220
  * @alpha
215
221
  */
@@ -941,18 +947,18 @@ export declare interface IAutomationsQuery {
941
947
  * Sets author of the automation for the query.
942
948
  *
943
949
  * @param author - author of the automation
944
- * @param multiValue - if true, the author is a multi-value filter
950
+ * @param filterType - type of filter behavior ("exact", "include", "exclude")
945
951
  * @returns automations query
946
952
  */
947
- withAuthor(author: string, multiValue?: boolean): IAutomationsQuery;
953
+ withAuthor(author: string, filterType?: AutomationFilterType): IAutomationsQuery;
948
954
  /**
949
955
  * Sets recipient of the automation for the query.
950
956
  *
951
957
  * @param recipient - recipient of the automation
952
- * @param multiValue - if true, the recipient is a multi-value filter
958
+ * @param filterType - type of filter behavior ("exact", "include", "exclude")
953
959
  * @returns automations query
954
960
  */
955
- withRecipient(recipient: string, multiValue?: boolean): IAutomationsQuery;
961
+ withRecipient(recipient: string, filterType?: AutomationFilterType): IAutomationsQuery;
956
962
  /**
957
963
  * Sets external recipient of the automation for the query.
958
964
  *
@@ -971,18 +977,18 @@ export declare interface IAutomationsQuery {
971
977
  * Sets dashboard id for the query.
972
978
  *
973
979
  * @param dashboard - dashboard id
974
- * @param multiValue - if true, the dashboard is a multi-value filter
980
+ * @param filterType - type of filter behavior ("exact", "include", "exclude")
975
981
  * @returns automations query
976
982
  */
977
- withDashboard(dashboard: string, multiValue?: boolean): IAutomationsQuery;
983
+ withDashboard(dashboard: string, filterType?: AutomationFilterType): IAutomationsQuery;
978
984
  /**
979
985
  * Sets status of automation results for the query.
980
986
  *
981
987
  * @param status - status of the automation result ("SUCCESS" or "FAILED")
982
- * @param multiValue - if true, the status is a multi-value filter
988
+ * @param filterType - type of filter behavior ("exact", "include", "exclude")
983
989
  * @returns automations query
984
990
  */
985
- withStatus(status: string, multiValue?: boolean): IAutomationsQuery;
991
+ withStatus(status: string, filterType?: AutomationFilterType): IAutomationsQuery;
986
992
  /**
987
993
  * Starts the automations query.
988
994
  *
@@ -2831,44 +2837,6 @@ export declare interface IGetInsightOptions {
2831
2837
  loadUserData?: boolean;
2832
2838
  }
2833
2839
 
2834
- /**
2835
- * Configuration options for loading organization automation metadata objects.
2836
- *
2837
- * @alpha
2838
- */
2839
- export declare interface IGetOrganizationAutomationsOptions {
2840
- /**
2841
- * Specify (zero-based) starting offset for the results. Default: 0
2842
- */
2843
- offset?: number;
2844
- /**
2845
- * Specify number of items per page. Default: 50
2846
- */
2847
- limit?: number;
2848
- /**
2849
- * Filter automations by specific workspace IDs for centralized management.
2850
- *
2851
- * @remarks
2852
- * If not provided, automations from all workspaces in the organization are returned.
2853
- */
2854
- workspaceIds?: string[];
2855
- }
2856
-
2857
- /**
2858
- * Configuration options for loading organization automation metadata objects with query.
2859
- *
2860
- * @alpha
2861
- */
2862
- export declare interface IGetOrganizationAutomationsQueryOptions {
2863
- /**
2864
- * Specify if automationResult should be included in the response.
2865
- *
2866
- * @remarks
2867
- * Defaults to false.
2868
- */
2869
- includeAutomationResult?: boolean;
2870
- }
2871
-
2872
2840
  /**
2873
2841
  * Configuration options for getting scheduled mails.
2874
2842
  *
@@ -3429,7 +3397,7 @@ export declare interface IOrganizationAutomationService {
3429
3397
  * @param options - specify additional options
3430
3398
  * @returns methods for querying organization automations
3431
3399
  */
3432
- getAutomationsQuery(options?: IGetOrganizationAutomationsQueryOptions): IOrganizationAutomationsQuery;
3400
+ getAutomationsQuery(options?: IGetAutomationsQueryOptions): IOrganizationAutomationsQuery;
3433
3401
  /**
3434
3402
  * Delete automation from any workspace within the organization
3435
3403
  *
@@ -3489,6 +3457,26 @@ export declare interface IOrganizationAutomationService {
3489
3457
  id: string;
3490
3458
  workspaceId: string;
3491
3459
  }>): Promise<void>;
3460
+ /**
3461
+ * Unsubscribe from automation from any workspace within the organization
3462
+ *
3463
+ * @param id - id of the automation
3464
+ * @param workspaceId - id of the workspace containing the automation
3465
+ * @returns Promise resolved when unsubscribed from the automation.
3466
+ */
3467
+ unsubscribeAutomation(id: string, workspaceId: string): Promise<void>;
3468
+ /**
3469
+ * Unsubscribe from multiple automations across workspaces for centralized management
3470
+ *
3471
+ * Unsubscribes from multiple automations identified by their IDs from any workspace within the organization.
3472
+ *
3473
+ * @param automations - Array of automation objects with id and workspaceId
3474
+ * @returns Promise resolved when unsubscribed from the automations.
3475
+ */
3476
+ unsubscribeAutomations(automations: Array<{
3477
+ id: string;
3478
+ workspaceId: string;
3479
+ }>): Promise<void>;
3492
3480
  }
3493
3481
 
3494
3482
  /**
@@ -3536,23 +3524,23 @@ export declare interface IOrganizationAutomationsQuery {
3536
3524
  * @param type - type of the automation, e.g. "schedule" or "trigger"
3537
3525
  * @returns organization automations query
3538
3526
  */
3539
- withType(type: OrganizationAutomationType): IOrganizationAutomationsQuery;
3527
+ withType(type: AutomationType): IOrganizationAutomationsQuery;
3540
3528
  /**
3541
3529
  * Sets author of the automation for the query.
3542
3530
  *
3543
3531
  * @param author - author of the automation
3544
- * @param multiValue - if true, the author is a multi-value filter
3532
+ * @param filterType - type of filter behavior ("exact", "include", "exclude")
3545
3533
  * @returns organization automations query
3546
3534
  */
3547
- withAuthor(author: string, multiValue?: boolean): IOrganizationAutomationsQuery;
3535
+ withAuthor(author: string, filterType?: AutomationFilterType): IOrganizationAutomationsQuery;
3548
3536
  /**
3549
3537
  * Sets recipient of the automation for the query.
3550
3538
  *
3551
3539
  * @param recipient - recipient of the automation
3552
- * @param multiValue - if true, the recipient is a multi-value filter
3540
+ * @param filterType - type of filter behavior ("exact", "include", "exclude")
3553
3541
  * @returns organization automations query
3554
3542
  */
3555
- withRecipient(recipient: string, multiValue?: boolean): IOrganizationAutomationsQuery;
3543
+ withRecipient(recipient: string, filterType?: AutomationFilterType): IOrganizationAutomationsQuery;
3556
3544
  /**
3557
3545
  * Sets external recipient of the automation for the query.
3558
3546
  *
@@ -3571,25 +3559,26 @@ export declare interface IOrganizationAutomationsQuery {
3571
3559
  * Sets dashboard id for the query.
3572
3560
  *
3573
3561
  * @param dashboard - dashboard id
3574
- * @param multiValue - if true, the dashboard is a multi-value filter
3562
+ * @param filterType - type of filter behavior ("exact", "include", "exclude")
3575
3563
  * @returns organization automations query
3576
3564
  */
3577
- withDashboard(dashboard: string, multiValue?: boolean): IOrganizationAutomationsQuery;
3565
+ withDashboard(dashboard: string, filterType?: AutomationFilterType): IOrganizationAutomationsQuery;
3578
3566
  /**
3579
3567
  * Sets status of automation results for the query.
3580
3568
  *
3581
3569
  * @param status - status of the automation result ("SUCCESS" or "FAILED")
3582
- * @param multiValue - if true, the status is a multi-value filter
3570
+ * @param filterType - type of filter behavior ("exact", "include", "exclude")
3583
3571
  * @returns organization automations query
3584
3572
  */
3585
- withStatus(status: string, multiValue?: boolean): IOrganizationAutomationsQuery;
3573
+ withStatus(status: string, filterType?: AutomationFilterType): IOrganizationAutomationsQuery;
3586
3574
  /**
3587
3575
  * Filter automations by workspace IDs for centralized management.
3588
3576
  *
3589
- * @param workspaceIds - list of workspace IDs to filter by
3577
+ * @param workspace - workspace ID to filter by
3578
+ * @param filterType - type of filter behavior ("exact", "include", "exclude")
3590
3579
  * @returns organization automations query
3591
3580
  */
3592
- withWorkspace(workspace: string, multiValue?: boolean): IOrganizationAutomationsQuery;
3581
+ withWorkspace(workspace: string, filterType?: AutomationFilterType): IOrganizationAutomationsQuery;
3593
3582
  /**
3594
3583
  * Starts the organization automations query.
3595
3584
  *
@@ -6652,13 +6641,6 @@ export declare class NotSupported extends AnalyticalBackendError {
6652
6641
  constructor(message: string);
6653
6642
  }
6654
6643
 
6655
- /**
6656
- * Type of automation supported across the organization.
6657
- *
6658
- * @alpha
6659
- */
6660
- export declare type OrganizationAutomationType = "schedule" | "trigger" | "alert";
6661
-
6662
6644
  /**
6663
6645
  * Prepares execution of the provided definition against a backend.
6664
6646
  *
@@ -1,11 +1,6 @@
1
1
  import { IAutomationMetadataObject, IAutomationMetadataObjectDefinition } from "@gooddata/sdk-model";
2
+ import { AutomationFilterType, AutomationType, IGetAutomationsQueryOptions } from "../../common/automations.js";
2
3
  import { IPagedResource } from "../../common/paging.js";
3
- /**
4
- * Type of workspace automation.
5
- *
6
- * @alpha
7
- */
8
- export type AutomationType = "schedule" | "trigger" | "alert";
9
4
  /**
10
5
  * Configuration options for loading automation metadata objects.
11
6
  *
@@ -28,20 +23,6 @@ export interface IGetAutomationsOptions {
28
23
  */
29
24
  loadUserData?: boolean;
30
25
  }
31
- /**
32
- * Configuration options for loading automation metadata objects with query.
33
- *
34
- * @alpha
35
- */
36
- export interface IGetAutomationsQueryOptions {
37
- /**
38
- * Specify if automationResult should be included in the response.
39
- *
40
- * @remarks
41
- * Defaults to false.
42
- */
43
- includeAutomationResult?: boolean;
44
- }
45
26
  /**
46
27
  * Configuration options for loading automation metadata object.
47
28
  *
@@ -220,18 +201,18 @@ export interface IAutomationsQuery {
220
201
  * Sets author of the automation for the query.
221
202
  *
222
203
  * @param author - author of the automation
223
- * @param multiValue - if true, the author is a multi-value filter
204
+ * @param filterType - type of filter behavior ("exact", "include", "exclude")
224
205
  * @returns automations query
225
206
  */
226
- withAuthor(author: string, multiValue?: boolean): IAutomationsQuery;
207
+ withAuthor(author: string, filterType?: AutomationFilterType): IAutomationsQuery;
227
208
  /**
228
209
  * Sets recipient of the automation for the query.
229
210
  *
230
211
  * @param recipient - recipient of the automation
231
- * @param multiValue - if true, the recipient is a multi-value filter
212
+ * @param filterType - type of filter behavior ("exact", "include", "exclude")
232
213
  * @returns automations query
233
214
  */
234
- withRecipient(recipient: string, multiValue?: boolean): IAutomationsQuery;
215
+ withRecipient(recipient: string, filterType?: AutomationFilterType): IAutomationsQuery;
235
216
  /**
236
217
  * Sets external recipient of the automation for the query.
237
218
  *
@@ -250,18 +231,18 @@ export interface IAutomationsQuery {
250
231
  * Sets dashboard id for the query.
251
232
  *
252
233
  * @param dashboard - dashboard id
253
- * @param multiValue - if true, the dashboard is a multi-value filter
234
+ * @param filterType - type of filter behavior ("exact", "include", "exclude")
254
235
  * @returns automations query
255
236
  */
256
- withDashboard(dashboard: string, multiValue?: boolean): IAutomationsQuery;
237
+ withDashboard(dashboard: string, filterType?: AutomationFilterType): IAutomationsQuery;
257
238
  /**
258
239
  * Sets status of automation results for the query.
259
240
  *
260
241
  * @param status - status of the automation result ("SUCCESS" or "FAILED")
261
- * @param multiValue - if true, the status is a multi-value filter
242
+ * @param filterType - type of filter behavior ("exact", "include", "exclude")
262
243
  * @returns automations query
263
244
  */
264
- withStatus(status: string, multiValue?: boolean): IAutomationsQuery;
245
+ withStatus(status: string, filterType?: AutomationFilterType): IAutomationsQuery;
265
246
  /**
266
247
  * Starts the automations query.
267
248
  *
@@ -1 +1 @@
1
- {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AE,oBAAoB,GAAG,iBAAiB,CAAC;IAEvF;;;;;;OAMG;IACH,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,oBAAoB,GAAG,iBAAiB,CAAC;IAEjF;;;;OAIG;IACH,KAAK,IAAI,OAAO,CAAC,uBAAuB,CAAC,CAAC;IAE1C;;;;OAIG;IACH,QAAQ,IAAI,OAAO,CAAC,yBAAyB,EAAE,CAAC,CAAC;CACpD;AAED;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC,yBAAyB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-backend-spi",
3
- "version": "10.43.0",
3
+ "version": "10.44.0-alpha.2",
4
4
  "description": "GoodData Backend SPI abstraction interfaces",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,7 +24,7 @@
24
24
  "lodash": "^4.17.21",
25
25
  "ts-invariant": "^0.7.5",
26
26
  "tslib": "2.8.1",
27
- "@gooddata/sdk-model": "10.43.0"
27
+ "@gooddata/sdk-model": "10.44.0-alpha.2"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@gooddata/eslint-config": "^4.1.1",