@qlik/api 1.30.0 → 1.32.0

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.
Files changed (138) hide show
  1. package/api-keys.d.ts +2 -2
  2. package/api-keys.js +2 -2
  3. package/apps.d.ts +4 -2
  4. package/apps.js +2 -2
  5. package/assistants.d.ts +1301 -0
  6. package/assistants.js +273 -0
  7. package/audits.d.ts +2 -2
  8. package/audits.js +2 -2
  9. package/{auth-types-PkN9CAF_.d.ts → auth-types-DqfMuSRX.d.ts} +1 -0
  10. package/auth.d.ts +27 -3
  11. package/auth.js +8 -4
  12. package/automation-connections.d.ts +366 -0
  13. package/automation-connections.js +91 -0
  14. package/automations.d.ts +2 -2
  15. package/automations.js +2 -2
  16. package/automl-deployments.d.ts +97 -0
  17. package/automl-deployments.js +27 -0
  18. package/automl-predictions.d.ts +214 -0
  19. package/automl-predictions.js +72 -0
  20. package/brands.d.ts +2 -2
  21. package/brands.js +2 -2
  22. package/chunks/{JIX6RMFP.js → 6ZONDHRN.js} +1 -1
  23. package/chunks/ETNHFALU.js +61 -0
  24. package/chunks/{G6QUM5WQ.js → FKDGGR2O.js} +137 -45
  25. package/chunks/{TXC5XORK.js → LTNGXTXG.js} +3 -3
  26. package/chunks/{OTTC4QSX.js → LY7RP2HA.js} +7 -3
  27. package/chunks/{FKCZFVJL.js → M64RLKVG.js} +2074 -12
  28. package/chunks/{F5UDCCRD.js → PLVPW5IR.js} +1 -1
  29. package/chunks/{QK4TMJ64.js → RCLKKVYB.js} +11 -1
  30. package/chunks/{QWQLGDMI.js → UZTIZ4H5.js} +392 -372
  31. package/chunks/{PTDXR7AY.js → VVD2DPKQ.js} +2 -2
  32. package/chunks/{IQBP2PKS.js → YTT2FEVE.js} +1 -1
  33. package/collections.d.ts +3 -3
  34. package/collections.js +2 -2
  35. package/conditions.d.ts +662 -0
  36. package/conditions.js +113 -0
  37. package/consumption.d.ts +182 -0
  38. package/consumption.js +24 -0
  39. package/csp-origins.d.ts +2 -2
  40. package/csp-origins.js +2 -2
  41. package/csrf-token.d.ts +62 -0
  42. package/csrf-token.js +23 -0
  43. package/data-alerts.d.ts +1004 -0
  44. package/data-alerts.js +155 -0
  45. package/data-assets.d.ts +2 -2
  46. package/data-assets.js +2 -2
  47. package/data-connections.d.ts +7 -7
  48. package/data-connections.js +2 -2
  49. package/data-credentials.d.ts +2 -2
  50. package/data-credentials.js +2 -2
  51. package/data-files.d.ts +2 -2
  52. package/data-files.js +2 -2
  53. package/data-qualities.d.ts +175 -0
  54. package/data-qualities.js +44 -0
  55. package/data-sets.d.ts +424 -0
  56. package/data-sets.js +75 -0
  57. package/data-sources.d.ts +268 -0
  58. package/data-sources.js +39 -0
  59. package/data-stores.d.ts +537 -0
  60. package/data-stores.js +108 -0
  61. package/dcaas.d.ts +192 -0
  62. package/dcaas.js +39 -0
  63. package/di-projects.d.ts +673 -0
  64. package/di-projects.js +164 -0
  65. package/docs/authentication.md +47 -0
  66. package/encryption.d.ts +370 -0
  67. package/encryption.js +98 -0
  68. package/extensions.d.ts +2 -2
  69. package/extensions.js +2 -2
  70. package/glossaries.d.ts +2 -2
  71. package/glossaries.js +2 -2
  72. package/groups.d.ts +5 -4
  73. package/groups.js +2 -2
  74. package/identity-providers.d.ts +2 -2
  75. package/identity-providers.js +2 -2
  76. package/index.d.ts +110 -4
  77. package/index.js +556 -4
  78. package/interceptors.d.ts +2 -2
  79. package/{invoke-fetch-types-BXn-uSF5.d.ts → invoke-fetch-types-Cq7bjkqn.d.ts} +10 -2
  80. package/items.d.ts +3 -3
  81. package/items.js +2 -2
  82. package/knowledgebases.d.ts +890 -0
  83. package/knowledgebases.js +169 -0
  84. package/licenses.d.ts +6 -3
  85. package/licenses.js +2 -2
  86. package/lineage-graphs.d.ts +712 -0
  87. package/lineage-graphs.js +92 -0
  88. package/ml.d.ts +2628 -0
  89. package/ml.js +384 -0
  90. package/notes.d.ts +110 -0
  91. package/notes.js +31 -0
  92. package/notifications.d.ts +98 -0
  93. package/notifications.js +24 -0
  94. package/oauth-clients.d.ts +7 -2
  95. package/oauth-clients.js +2 -2
  96. package/oauth-tokens.d.ts +126 -0
  97. package/oauth-tokens.js +31 -0
  98. package/package.json +29 -2
  99. package/qix.d.ts +421 -26
  100. package/qix.js +2 -2
  101. package/questions.d.ts +364 -0
  102. package/questions.js +34 -0
  103. package/quotas.d.ts +2 -2
  104. package/quotas.js +2 -2
  105. package/reload-tasks.d.ts +4 -2
  106. package/reload-tasks.js +2 -2
  107. package/reloads.d.ts +4 -2
  108. package/reloads.js +2 -2
  109. package/report-templates.d.ts +287 -0
  110. package/report-templates.js +80 -0
  111. package/reports.d.ts +2 -2
  112. package/reports.js +2 -2
  113. package/roles.d.ts +2 -2
  114. package/roles.js +2 -2
  115. package/sharing-tasks.d.ts +952 -0
  116. package/sharing-tasks.js +105 -0
  117. package/spaces.d.ts +3 -7
  118. package/spaces.js +2 -2
  119. package/tasks.d.ts +564 -0
  120. package/tasks.js +106 -0
  121. package/temp-contents.d.ts +2 -2
  122. package/temp-contents.js +2 -2
  123. package/tenants.d.ts +2 -2
  124. package/tenants.js +2 -2
  125. package/themes.d.ts +2 -2
  126. package/themes.js +2 -2
  127. package/transports.d.ts +2 -2
  128. package/transports.js +2 -2
  129. package/ui-config.d.ts +274 -0
  130. package/ui-config.js +77 -0
  131. package/users.d.ts +2 -2
  132. package/users.js +2 -2
  133. package/web-integrations.d.ts +2 -2
  134. package/web-integrations.js +2 -2
  135. package/web-notifications.d.ts +2 -2
  136. package/web-notifications.js +2 -2
  137. package/webhooks.d.ts +2 -2
  138. package/webhooks.js +2 -2
@@ -0,0 +1,952 @@
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
+ import './auth-types-DqfMuSRX.js';
3
+
4
+ type APISettingsUpload = {
5
+ /** Whether API endpoints for sharing are enabled */
6
+ "enable-sharing": boolean;
7
+ /** Maximum number of recipients when creating a sharing task */
8
+ readonly maxRecipients?: number;
9
+ };
10
+ type AlertingTaskGroupRecipientError = {
11
+ /** Timestamp for the creation of the error */
12
+ added?: string;
13
+ /** Identifier for type of error occurring on alerting task */
14
+ value?: "GROUP_IS_DISABLED" | "MAX_ALERTS_LIMIT_REACHED" | "GROUP_WITH_NO_APP_ACCESS" | "GROUP_IS_DELETED";
15
+ };
16
+ type AlertingTaskRecipientError = {
17
+ /** Timestamp for the creation of the error */
18
+ added?: string;
19
+ /** Identifier for type of error occurring on alerting task */
20
+ value?: "USER_IS_DELETED" | "USER_DISABLED_IN_QCS" | "NO_ACCESS_TO_APP" | "UNSUBSCRIBED_FROM_ALERT" | "CONDITION_EVAL_ERROR" | "USER_DISABLED_IN_ALERT_BY_OWNER" | "MAX_ALERTS_LIMIT_REACHED";
21
+ };
22
+ /**
23
+ * If the template type is not "chart", this can be null. Otherwise, the following properties are required: appId, sheetId, objectId, widthPx, heightPx, language. The following properties are optional: outZoom, outDpi
24
+ */
25
+ type ChartTemplate = {
26
+ /** ID of app */
27
+ appId?: string;
28
+ /** heightPx of chart */
29
+ heightPx?: number;
30
+ /** Visualization state from client as a string json value. Can include language, theme, viewState etc. */
31
+ jsOpts?: unknown;
32
+ /** Session chart object definition */
33
+ objectDef?: unknown;
34
+ /** ID of object */
35
+ objectId?: string;
36
+ /** outDpi of chart */
37
+ outDpi?: number;
38
+ /** outZoom of chart */
39
+ outZoom?: number;
40
+ /** Soft property changes on chart */
41
+ patches?: unknown[];
42
+ /** sheetId of app */
43
+ sheetId?: string;
44
+ /** widthPx of chart */
45
+ widthPx?: number;
46
+ };
47
+ /**
48
+ * recipient object model that is directly persisted in the DB
49
+ */
50
+ type EmailAddressRecipientPersist = {
51
+ /** Whether this recipient can receive alerts. */
52
+ enabled?: boolean;
53
+ taskRecipientErrors?: TaskRecipientError[];
54
+ /** Email of recipient (external user). */
55
+ value?: string;
56
+ };
57
+ type EmailComposition = {
58
+ body?: string;
59
+ subject?: string;
60
+ };
61
+ /**
62
+ * Encrypted property in DB
63
+ */
64
+ type EncryptedProperty = {
65
+ cipher?: string;
66
+ value?: unknown;
67
+ };
68
+ type Error = {
69
+ /** Error code specific to sharing service. */
70
+ readonly code?: string;
71
+ /** Error cause. */
72
+ readonly detail?: string;
73
+ meta?: ErrorMeta;
74
+ /** Error title. */
75
+ readonly title?: string;
76
+ };
77
+ type ErrorMeta = {
78
+ /** HTTP error code. */
79
+ readonly httpCode?: number;
80
+ };
81
+ /**
82
+ * @example
83
+ * {
84
+ * errors: [
85
+ * {
86
+ * code: "HTTP-123",
87
+ * title: "short error message"
88
+ * }
89
+ * ],
90
+ * traceId: "7975401f3954aa47"
91
+ * }
92
+ */
93
+ type Errors = {
94
+ errors?: Error[];
95
+ traceId?: string;
96
+ };
97
+ /**
98
+ * recipient object model that is directly persisted in the DB
99
+ */
100
+ type GroupIDRecipientPersist = {
101
+ alertingTaskGroupRecipientErrors?: AlertingTaskGroupRecipientError[];
102
+ /** Whether this recipient can receive alerts, set by external settings. */
103
+ enabledBySystem?: boolean;
104
+ /** Whether this recipient can receive alerts, set by api calls. */
105
+ enabledByUser?: boolean;
106
+ taskGroupRecipientErrors?: TaskGroupRecipientError[];
107
+ /** Group ID of recipient. */
108
+ value?: string;
109
+ };
110
+ /**
111
+ * In case of multiple insight urls for multi-sheet sharing (or subsequent multi types) this defines those URLs and a mapping to the correct object.
112
+ */
113
+ type InsightURL = {
114
+ directURL?: string;
115
+ fallbackURL?: string;
116
+ insightID?: string;
117
+ /** an identifier for the object within the template that this insight link points to */
118
+ resourceID?: string;
119
+ /** the status of the creation for this insight URL */
120
+ status?: "successful" | "failed";
121
+ /** @deprecated
122
+ * an identifier for the template that this insight link points to */
123
+ templateID?: string;
124
+ };
125
+ type Links = {
126
+ /** Object with Href to a particular element or set of elements */
127
+ self?: Self;
128
+ };
129
+ type ListLinks = {
130
+ next?: Page;
131
+ prev?: Page;
132
+ /** Object with Href to a particular element or set of elements */
133
+ self?: Self;
134
+ };
135
+ type MultiSheetTemplate = {
136
+ /** ID of app */
137
+ appId?: string;
138
+ /** heightPx of chart, must be 0 or omitted for autofit. */
139
+ heightPx?: number;
140
+ /** optional value to indicate that this sheet is private */
141
+ isPrivate?: boolean;
142
+ /** Sheet state from client as a string json value. Can include language, theme, viewState etc. */
143
+ jsOpts?: unknown;
144
+ jsOptsById?: Record<string, unknown>;
145
+ patchesById?: Record<string, unknown[]>;
146
+ /** Currently only autofit is supported.
147
+ * If omitted, autofit is the default.
148
+ * The type of resize to be performed:
149
+ * - none is used to export a visualization, sheet as is (e.g. normal size), regardless its size. This may result in cropping.
150
+ * - autofit automatically fits the visualization, sheet into the output size (i.e. A4, A3 etc.). Any provided resizeData parameter will be ignored for this configuration.
151
+ * - fit fits the visualization, sheet into the area specified in resizeData. The content will be rescaled to fit in that area. */
152
+ resizeType?: "none" | "fit" | "autofit";
153
+ /** ID of sheet */
154
+ sheetId?: string;
155
+ /** an optional name for the sheet */
156
+ sheetName?: string;
157
+ /** widthPx of chart, must be 0 or omitted for autofit. */
158
+ widthPx?: number;
159
+ };
160
+ type Page = {
161
+ /** URL to particular set of elements */
162
+ href?: string;
163
+ /** Page unique token */
164
+ token?: string;
165
+ /** Page type, can be next or prev */
166
+ type?: "prev" | "next";
167
+ };
168
+ /**
169
+ * List of persisted recipients.
170
+ */
171
+ type RecipientsPersist = {
172
+ DLGroups?: unknown[];
173
+ DLUsers?: unknown[];
174
+ emailAddresses?: EmailAddressRecipientPersist[];
175
+ groupIds?: GroupIDRecipientPersist[];
176
+ /** Net count of recipients in DLGroups and DLUsers. */
177
+ netRecipientCount?: number;
178
+ userIds?: UserIDRecipientPersist[];
179
+ };
180
+ type RetentionPolicy = {
181
+ /** Number indicating the size of the window which stores the history. For Chart monitoring, the size should be 10. */
182
+ historySize?: number;
183
+ /** Using RFC-5545 provide the time interval in which the previous generated can be overridden with the newly generated report. For Chart monitoring, interval should be FREQ=DAILY;INTERVAL=1 */
184
+ overrideInterval?: string;
185
+ };
186
+ type ScheduleOptions = {
187
+ /** The chronos job identifier. It is set once the related chronos job is created. */
188
+ readonly chronosJobID?: string;
189
+ /** EndDateTime is a local date time with respect to the above timezone parameter. If the timezone parameter is missing, then the timezone used is the one retrieved from user infos. Therefore ISO8601 time offsets are not allowed (e.g. "2026-01-02T16:04:05Z" or "2026-01-02T16:04:05+01"), if passed an error will be returned. EndDateTime is an optional parameter, when not set or when it's an empty string, the recurrence is intended to be never ending. */
190
+ endDateTime?: string;
191
+ /** lastExecutionTime is the time of the chronos job last execution in RFC3339 format (a time with a fixed UTC offset). Could be empty if job has not run yet. */
192
+ readonly lastExecutionTime?: string;
193
+ /** nextExecutionTime is the time of the chronos job next execution in RFC3339 format (a time with a fixed UTC offset). Could be empty if the job is completed. */
194
+ readonly nextExecutionTime?: string;
195
+ /** List of RRULEs for SCHEDULED triggers, as specified in RFC5545. Note that DTSTART and DTEND, UNTIL lines are not allowed in this field; start and end times are specified in the start and end fields. RDATE and EXDATE lines are not currently supported. EXRULE is not supported since it is deprecated by RFC5545. It is mandatory if the trigger type is SCHEDULED. At least 1 rule must be set and maximum 5 rules are allowed. */
196
+ recurrence?: string[];
197
+ /** StartDateTime is a local date time with respect to the above timezone parameter. If the timezone parameter is missing, then the timezone used is the one retrieved from user infos. Therefore ISO8601 time offsets are not allowed (e.g. "2026-01-02T16:04:05Z" or "2026-01-02T16:04:05+01"), if passed an error will be returned. StartDateTime should not be older than 1 year from current date. StartDateTime is an optional parameter, when not set or when it's an empty string, its value is set to the current local date time. */
198
+ startDateTime?: string;
199
+ /** The timezone for time calculations in SCHEDULED triggers, optional. */
200
+ timezone?: string;
201
+ };
202
+ type Selection = {
203
+ displayName?: string;
204
+ displayValues?: string[];
205
+ isNumeric: boolean;
206
+ name: string;
207
+ stateName: string;
208
+ values: string[];
209
+ };
210
+ /**
211
+ * Object with Href to a particular element or set of elements
212
+ */
213
+ type Self = {
214
+ href?: string;
215
+ };
216
+ type SharingActionsTriggerCreateRequest = {
217
+ sharingTaskID: string;
218
+ };
219
+ type SharingSettings = {
220
+ /** true if report-subscription feature is enabled for this tenant */
221
+ "enable-report-subscription": boolean;
222
+ /** true if reporting-template-subscription feature is enabled for this tenant */
223
+ "enable-reporting-template-subscription": boolean;
224
+ /** Whether API endpoints for sharing are enabled */
225
+ "enable-sharing": boolean;
226
+ /** Maximum number of recipients when creating a sharing task */
227
+ readonly maxRecipients?: number;
228
+ /** Max Recipients accepted when creating a new subscription (excluding the owner) */
229
+ readonly maxSubscriptionRecipients?: number;
230
+ /** This indicates that there is an ongoing operation to either disable or enable the report subscription feature. none means that no such operation is ongoing. enabling/disabling means that system is currently enabling/disabling the feature */
231
+ readonly reportSubscriptionStatus?: "none" | "enabling" | "disabling";
232
+ /** UTC timestamp of the most recent change of reportSubscriptionStatus. If there has not been any such change, this is the timestamp of the initial creation of the record. */
233
+ readonly reportSubscriptionStatusChangeTime?: string;
234
+ /** Whether the license for the tenant has the reportingService feature enabled. */
235
+ "reporting-service-license-status"?: "enabled" | "disabled";
236
+ /** This indicates that there is an ongoing operation to either disable or enable the reporting template subscription feature. none means that no such operation is ongoing. enabling/disabling means that system is currently enabling/disabling the feature */
237
+ readonly reportingTemplateSubscriptionStatus?: "none" | "enabling" | "disabling";
238
+ /** UTC timestamp of the most recent change of reportSubscriptionStatus. If there has not been any such change, this is the timestamp of the initial creation of the record. */
239
+ readonly reportingTemplateSubscriptionStatusChangeTime?: string;
240
+ /** These persisted sharing settings are only available for this tenant. Extracted from request JWT. */
241
+ readonly tenantId?: string;
242
+ };
243
+ type SharingSettingsPatchCompliant = {
244
+ /** The operation to be performed. */
245
+ op: "replace";
246
+ /** The path for the given resource field to patch. */
247
+ path: "/enable-sharing" | "/enable-report-subscription" | "/enable-reporting-template-subscription";
248
+ /** The value to be used for this operation. */
249
+ value?: unknown;
250
+ };
251
+ /**
252
+ * A JSON Patch document as defined in https://datatracker.ietf.org/doc/html/rfc6902.
253
+ * @example
254
+ * [
255
+ * {
256
+ * op: "replace",
257
+ * path: "/enable-sharing",
258
+ * value: true
259
+ * },
260
+ * {
261
+ * op: "replace",
262
+ * path: "/enable-sharing",
263
+ * value: false
264
+ * },
265
+ * {
266
+ * op: "replace",
267
+ * path: "/enable-report-subscription",
268
+ * value: true
269
+ * },
270
+ * {
271
+ * op: "replace",
272
+ * path: "/enable-report-subscription",
273
+ * value: false
274
+ * },
275
+ * {
276
+ * op: "replace",
277
+ * path: "/enable-reporting-template-subscription",
278
+ * value: true
279
+ * },
280
+ * {
281
+ * op: "replace",
282
+ * path: "/enable-reporting-template-subscription",
283
+ * value: false
284
+ * }
285
+ * ]
286
+ */
287
+ type SharingSettingsPatchCompliantList = SharingSettingsPatchCompliant[];
288
+ /**
289
+ * @example
290
+ * [
291
+ * {
292
+ * op: "replace",
293
+ * path: "/name"
294
+ * },
295
+ * {
296
+ * op: "replace",
297
+ * path: "/tags",
298
+ * value: [
299
+ * "tag1",
300
+ * "tag2"
301
+ * ]
302
+ * },
303
+ * {
304
+ * op: "replace",
305
+ * path: "/tags"
306
+ * },
307
+ * {
308
+ * op: "replace",
309
+ * path: "/tags"
310
+ * },
311
+ * {
312
+ * op: "replace",
313
+ * path: "/ownerId"
314
+ * },
315
+ * {
316
+ * op: "replace",
317
+ * path: "/enabled",
318
+ * value: true
319
+ * },
320
+ * {
321
+ * op: "replace",
322
+ * path: "/description"
323
+ * }
324
+ * ]
325
+ */
326
+ type SharingTaskPatchRequestCompliantList = SharingTaskRecurringPatchRequestCompliant[];
327
+ type SharingTaskRecurringCreateRequest = {
328
+ /** @deprecated
329
+ * Name of the app associated (through the templates) with this sharing task */
330
+ appName?: string;
331
+ /** the id of the data connection */
332
+ dataConnectionID?: string;
333
+ /** Description of the sharing task */
334
+ description?: string;
335
+ /** the id of the distribution list associated to the app */
336
+ distributionListId?: string;
337
+ emailContent?: EmailComposition;
338
+ /** Toggle for enabling sharing task. */
339
+ enabled?: boolean;
340
+ /** making this true will execute the sharing task upon creation regardless of next trigger */
341
+ executeOnCreation?: boolean;
342
+ /** Timestamp for the termination of the task */
343
+ expiration?: string;
344
+ /** Message along with sharing task */
345
+ message?: string;
346
+ /** Name of this sharing task */
347
+ name: string;
348
+ /** List of recipients. An internal recipient is represented by their user id. */
349
+ recipients?: SharingTaskRecurringRecipients;
350
+ retentionPolicy?: RetentionPolicy;
351
+ scheduleOptions?: ScheduleOptions;
352
+ /** the SharePoint folder to upload the report to */
353
+ sharePointFolder?: string;
354
+ /** Space ID of the sharing task */
355
+ spaceId?: string;
356
+ /** Time to start capturing the history */
357
+ startTime?: string;
358
+ /** State of the selections and jsOpts */
359
+ state: State;
360
+ /** @deprecated
361
+ * the sharing task resource mashup sub type. */
362
+ subType?: "pdf" | "pptx" | "xlsx" | "html";
363
+ /** used to assign sharing task to a collection bucket (tags) */
364
+ tags?: string[];
365
+ templates: TemplateResult[];
366
+ /** the transport type for the report */
367
+ transportChannels?: ("email" | "sharepoint")[];
368
+ trigger?: Trigger;
369
+ /** the sharing task resource type. */
370
+ type: "chart-monitoring" | "chart-sharing" | "sheet-sharing" | "template-sharing";
371
+ };
372
+ type SharingTaskRecurringListResponse = StandardListResponseProps & {
373
+ links?: ListLinks;
374
+ /** List of recipients. An internal recipient is represented by their user id. */
375
+ recipients?: SharingTaskRecurringRecipients;
376
+ /** Gets a list of recurring sharing tasks. */
377
+ sharingTasks?: SharingTaskRecurringResponse[];
378
+ };
379
+ type SharingTaskRecurringPatchRequestCompliant = {
380
+ /** The operation to be performed */
381
+ op: "replace" | "remove";
382
+ /** A JSON Patch document as defined in http://tools.ietf.org/html/rfc6902 */
383
+ path: "/name" | "/tags" | "/ownerId" | "/enabled" | "/description" | "/scheduleOptions" | "/templates" | "/recipients" | "/recipient" | "/sharePointFolder" | "/dataConnectionID" | "/transportChannels" | "/bookmarkId";
384
+ /** The value to be used for this operation. */
385
+ value?: unknown;
386
+ };
387
+ /**
388
+ * Type of object stored in the database. Required fields mean that property cannot be null
389
+ */
390
+ type SharingTaskRecurringPersist = {
391
+ /** ID of the app associated (through the templates) with this sharing task */
392
+ appId?: string;
393
+ /** Name of the app associated (through the templates) with this sharing task */
394
+ appName?: string;
395
+ /** internal identifier used when migrating keys */
396
+ byokMigrationId?: string;
397
+ /** ID of creator */
398
+ createdBy?: string;
399
+ /** the id of the data connection */
400
+ dataConnectionID?: string;
401
+ /** Timestamp for the creation of the task */
402
+ dateCreated?: string;
403
+ /** A description of this sharing task */
404
+ description?: string;
405
+ /** the id of the distribution list associated to the app */
406
+ distributionListId?: string;
407
+ emailContent?: EmailComposition;
408
+ /** Toggle for enabling sharing task (system level). Example: when task owner gets enabled/ disabled. */
409
+ enabledBySystem?: boolean;
410
+ /** Toggle for enabling sharing task (user level). Example: user chooses to enable/ disable task. */
411
+ enabledByUser?: boolean;
412
+ /** the subject and body content for the email to send on report subscriptions */
413
+ encryptedEmailContent?: SharingTaskRecurringPersistEncryptedEmailContent;
414
+ /** Encrypted property in DB */
415
+ encryptedState?: EncryptedProperty;
416
+ /** Encrypted property in DB */
417
+ encryptedTemplates?: EncryptedProperty;
418
+ /** making this true will execute the sharing task upon creation regardless of next trigger */
419
+ executeOnCreation?: boolean;
420
+ /** Time for the termination of the task */
421
+ expiration?: string;
422
+ /** the number of consecutive failed executions for all recipeints. This is reset on a successful execution for at least one recipient */
423
+ failedExecutionsCount?: number;
424
+ /** the number of failed verifications. This is reset on a successful verification */
425
+ failedVerificationsCount?: number;
426
+ /** true if the associated app has section access enabled */
427
+ hasSectionAccess?: boolean;
428
+ /** Gets the sharing task resource identifier. */
429
+ id?: string;
430
+ /** The direct insights URL for the first template of this sharing task. (currently not used in multi-sheet scenarios) */
431
+ insightDirectURL?: string;
432
+ /** The insights fallback URL for the first template of this sharing task. (currently not used in multi-sheet scenarios) */
433
+ insightFallbackURL?: string;
434
+ /** The identifier for the insight URLs in this sharing task. Needed to remove the permanent insight upon task deletion. (currently not used in multi-sheet scenarios) */
435
+ insightID?: string;
436
+ /** true if the sharing task is a candidate for verification */
437
+ isCandidateForVerification?: boolean;
438
+ /** The last execution end date time timestamp of the task */
439
+ readonly lastExecutionDate?: string;
440
+ /** The last execution start date time timestamp of the task */
441
+ lastRun?: string;
442
+ /** Timestamp of the most recent update. */
443
+ lastUpdated?: string;
444
+ /** Timestamp of the most recent view by the user. */
445
+ lastViewed?: string;
446
+ /** Message along with sharing task */
447
+ message?: string;
448
+ /** Contains one or more insight links. Currently only used in multi sheet scenarios. Sharing will ensure that the persisted sort order is aligned to the order of sheets provided. */
449
+ multiInsightURLs?: InsightURL[];
450
+ /** Name of this sharing task */
451
+ name?: string;
452
+ /** Time for the next scheduled run */
453
+ nextScheduledRun?: string;
454
+ /** User id of owner of the sharing task */
455
+ owner?: string;
456
+ /** User name of owner of the sharing task */
457
+ ownerName?: string;
458
+ /** flag sent by UI to configure the persistent bookmark to use variables */
459
+ persistentBookmarkIncludeVariables?: boolean;
460
+ /** List of persisted recipients. */
461
+ recipients?: RecipientsPersist;
462
+ reportProperties?: unknown;
463
+ retentionPolicy?: RetentionPolicy;
464
+ scheduleOptions?: ScheduleOptions;
465
+ /** reporting service returns rendering errors for missing selections */
466
+ selectionErrors?: unknown;
467
+ /** the SharePoint folder to upload the report to */
468
+ sharePointFolder?: string;
469
+ /** spaceId of the app associated to this task definition */
470
+ spaceId?: string;
471
+ /** Time to start capturing the history */
472
+ startTime?: string;
473
+ /** State of the selections and jsOpts */
474
+ state?: State;
475
+ /** the status of this recurring sharing task */
476
+ readonly statusCode?: "CHART_NOT_FOUND" | "APP_NOT_FOUND" | "STORY_NOT_FOUND" | "SHEET_NOT_FOUND" | "ENGINE_POD_NOT_AVAILABLE" | "APP_FORBIDDEN" | "CHART_TYPE_NOT_ALLOWED" | "FAILED" | "DELETING" | "IN_PROGRESS" | "VALID" | "MAX_FAILURES_REACHED" | "BOOKMARK_NOT_FOUND" | "CANCELLING" | "CANCELLED" | "REPORTING_CONSUMPTION_EXCEEDED" | "REPORTING_CAPABILITY_NOT_FOUND";
477
+ /** error message indicating the underlying failure */
478
+ readonly statusLabel?: string;
479
+ /** @deprecated
480
+ * Mashup subType of sharing task */
481
+ readonly subType?: "pdf" | "pptx" | "xlsx" | "html";
482
+ tags?: string[];
483
+ taskErrors?: TaskError[];
484
+ /** @deprecated
485
+ * ID of unique template */
486
+ readonly templateId?: string;
487
+ templates?: TemplateResult[];
488
+ /** Tenant of the sharing task */
489
+ tenant?: string;
490
+ thumbnail?: string;
491
+ /** the transport type for the report */
492
+ transportChannels?: ("email" | "sharepoint")[];
493
+ trigger?: Trigger;
494
+ /** The sharing task resource type */
495
+ type?: "chart-monitoring" | "chart-sharing" | "sheet-sharing" | "template-sharing";
496
+ /** ID of a user that updated this task last */
497
+ updatedBy?: string;
498
+ };
499
+ /**
500
+ * the subject and body content for the email to send on report subscriptions
501
+ */
502
+ type SharingTaskRecurringPersistEncryptedEmailContent = {
503
+ /** Encrypted property in DB */
504
+ body?: EncryptedProperty;
505
+ /** Encrypted property in DB */
506
+ subject?: EncryptedProperty;
507
+ };
508
+ /**
509
+ * List of recipients. An internal recipient is represented by their user id.
510
+ */
511
+ type SharingTaskRecurringRecipients = {
512
+ DLGroups?: unknown[];
513
+ DLUsers?: unknown[];
514
+ emailAddresses?: string[];
515
+ userIds?: UserIDRecipient[];
516
+ };
517
+ /**
518
+ * Whatever is persisted in the db + links
519
+ */
520
+ type SharingTaskRecurringResponse = SharingTaskRecurringPersist & {
521
+ /** true if the sharing task is enabled */
522
+ enabled?: boolean;
523
+ /** URL to querying the files of the latest execution tied to this sharing task */
524
+ latestExecutionFilesURL?: string[];
525
+ /** URL to querying the latest execution tied to this sharing task */
526
+ latestExecutionURL?: string;
527
+ links?: Links;
528
+ };
529
+ /**
530
+ * @deprecated
531
+ */
532
+ type SheetTemplate = {
533
+ /** ID of app */
534
+ appId?: string;
535
+ /** heightPx of chart */
536
+ heightPx?: number;
537
+ /** @deprecated
538
+ * optional value to indicate that this sheet is private (used in multi-sheet sharing) */
539
+ isPrivate?: boolean;
540
+ /** Sheet state from client as a string json value. Can include language, theme, viewState etc. */
541
+ jsOpts?: unknown;
542
+ jsOptsById?: Record<string, unknown>;
543
+ patchesById?: Record<string, unknown[]>;
544
+ /** ID of sheet */
545
+ sheetId?: string;
546
+ /** @deprecated
547
+ * an optional name for the sheet (used in multi-sheet sharing) */
548
+ sheetName?: string;
549
+ /** widthPx of chart */
550
+ widthPx?: number;
551
+ };
552
+ /**
553
+ * properties that should be added to every list response
554
+ */
555
+ type StandardListResponseProps = {
556
+ /** count of entries on the currently shown page */
557
+ currentPageCount: number;
558
+ /** total count of entries in the collection as a whole */
559
+ totalCount: number;
560
+ };
561
+ /**
562
+ * State of the selections and jsOpts
563
+ */
564
+ type State = {
565
+ /** Selected fields that led to discovery of monitored Insight Advisor chart */
566
+ fields?: unknown[];
567
+ /** Query that led to discovery of monitored Insight Advisor chart */
568
+ queryItems?: unknown[];
569
+ selections?: Selection[];
570
+ };
571
+ type StoryTemplate = {
572
+ /** ID of app */
573
+ appId?: string;
574
+ /** ID of story */
575
+ storyId?: string;
576
+ };
577
+ type TaskError = {
578
+ /** Timestamp for the creation of the error */
579
+ timestamp?: string;
580
+ /** Identifier for type of error occurring on sharing task */
581
+ value?: "OWNER_DISABLED" | "OWNER_ACCESS" | "OWNER_LICENSE" | "APP_DELETED" | "NO_RECIPIENTS" | "PARTIAL_ACCESS" | "ORPHAN" | "PARTIAL_SENT" | "FATAL_SENT_ERROR" | "SECTION_ACCESS_MODIFIED" | "INVALID_DISTRIBUTION_LIST" | "MAX_DL_RECIPIENTS_LIMIT_REACHED" | "TEMPLATE_NOT_FOUND" | "REPORTING_BOOKMARK_NOT_FOUND" | "DATA_CONNECTION_NOT_FOUND" | "INVALID_SHAREPOINT_DIRECTORY" | "GENERIC_FILE_UPLOAD_ERROR" | "DISABLED_DUE_TO_OWNERSHIP_CHANGE" | "REPORTING_CONSUMPTION_EXCEEDED" | "REPORTING_CAPABILITY_NOT_FOUND" | "EXECUTION_TIME_OUT" | "OWNER_INSUFFICIENT_PERMISSIONS" | "MAX_UNIQUE_REPORTS_LIMIT_REACHED" | "MISSING_DISTRIBUTION_LIST" | "SECTION_ACCESS_NOT_SUPPORTED";
582
+ };
583
+ type TaskGroupRecipientError = {
584
+ /** Timestamp for the creation of the error */
585
+ timestamp?: string;
586
+ /** Identifier for type of error occurring on sharing task specific for group recipient */
587
+ value?: "GROUP_IS_DISABLED" | "MAX_ALERTS_LIMIT_REACHED" | "GROUP_WITH_NO_APP_ACCESS" | "GROUP_IS_DELETED" | "GROUP_NOT_FOUND_DL" | "GROUP_DISABLED_IN_DL";
588
+ };
589
+ type TaskRecipientError = {
590
+ /** Timestamp for the creation of the error */
591
+ timestamp?: string;
592
+ /** Identifier for type of error occurring on sharing task specific for recipient */
593
+ value?: "USER_IS_DELETED" | "USER_DISABLED_IN_QCS" | "NO_ACCESS_TO_APP" | "UNSUBSCRIBED_FROM_SHARING" | "USER_DISABLED_IN_SHARING_BY_OWNER" | "CHART_NOT_FOUND" | "APP_NOT_FOUND" | "SHEET_NOT_FOUND" | "ENGINE_POD_NOT_AVAILABLE" | "CHART_TYPE_NOT_ALLOWED" | "GENERIC_EXECUTION_FAILURE" | "USER_NOT_FOUND_DL" | "USER_DISABLED_IN_DL" | "FILTER_NOT_FOUND" | "BOOKMARK_NOT_FOUND";
594
+ };
595
+ /**
596
+ * Depending on the value of type, sharing service will internally validate a specific property regarding its data. Type "file" validates property "fileData", type "chart" validates property "chartData", type "story" validates property "storyData". Check description of each of the models for their required properties.
597
+ */
598
+ type TemplatePersist = {
599
+ /** If the template type is not "chart", this can be null. Otherwise, the following properties are required: appId, sheetId, objectId, widthPx, heightPx, language. The following properties are optional: outZoom, outDpi */
600
+ chartData?: ChartTemplate;
601
+ /** fileAlias provide an opaqueId for the client which can be used to filter and select the report generated */
602
+ fileAlias?: string;
603
+ /** fileName to be used when generating the report */
604
+ fileName?: string;
605
+ /** file name timestamp to be used when generating the report */
606
+ fileTimeStamp?: "yyyy-MM-dd" | "yyyy-MM-dd_HH-mm" | "yyyyMMdd" | "yyyyMMdd_HH-mm";
607
+ /** array of sheet data for multi-sheet type template */
608
+ multiSheetData?: MultiSheetTemplate[];
609
+ /** @deprecated */
610
+ sheetData?: SheetTemplate;
611
+ storyData?: StoryTemplate;
612
+ subType?: "image" | "snapshot" | "pdf" | "pptx" | "xlsx" | "qpxp" | "qhtml";
613
+ /** @deprecated
614
+ * ID of unique template */
615
+ readonly templateId?: string;
616
+ type: "file" | "chart" | "story" | "sheet" | "multi-sheet" | "excel" | "pixel-perfect" | "html";
617
+ };
618
+ type TemplateResult = TemplatePersist & unknown;
619
+ type Trigger = {
620
+ /** The chronosJobId which triggers the sharing task */
621
+ readonly chronosJobID?: string;
622
+ /** Toggle for executing sharing task on app reload. */
623
+ executeOnAppReload?: boolean;
624
+ /** To prevent overflow in the history, setting this to daily store the chart of a previous day in the history and maintain the live version with the tag latest. */
625
+ executionHistoryInterval?: "minutely" | "hourly" | "daily" | "weekly" | "monthly" | "quarterly" | "yearly";
626
+ /** List of RRULE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND, UNTIL lines are not allowed in this field; event start and end times are specified in the start and end fields. RDATE and EXDATE lines are not currently supported. EXRULE is not supported since it is deprecated by RFC5545. This field is omitted for single events. */
627
+ recurrence: string[];
628
+ };
629
+ /**
630
+ * an internal recipient based on its user id.
631
+ */
632
+ type UserIDRecipient = {
633
+ alertingTaskRecipientErrors?: AlertingTaskRecipientError[];
634
+ /** Whether this recipient can receive alerts. */
635
+ enabled?: boolean;
636
+ /** A list of associated groups. If a user is added individually the "addedIndividually" pseudo group is included */
637
+ groups?: string[];
638
+ /** Whether this recipient is subscribed to alerts of a task */
639
+ subscribed?: boolean;
640
+ taskRecipientErrors?: TaskRecipientError[];
641
+ /** User ID of recipient (internal user). */
642
+ value?: string;
643
+ };
644
+ /**
645
+ * recipient object model that is directly persisted in the DB
646
+ */
647
+ type UserIDRecipientPersist = {
648
+ alertingTaskRecipientErrors?: AlertingTaskRecipientError[];
649
+ /** Whether this recipient can receive alerts, set by external settings. */
650
+ enabledBySystem?: boolean;
651
+ /** Whether this recipient can receive alerts, set by api calls. */
652
+ enabledByUser?: boolean;
653
+ /** A list of associated groups. If a user is added individually the "addedIndividually" pseudo group is included */
654
+ groups?: string[];
655
+ /** Whether this user is subscribed to alerts in this task */
656
+ subscribed?: boolean;
657
+ taskRecipientErrors?: TaskRecipientError[];
658
+ /** User ID of recipient (internal user). */
659
+ value?: string;
660
+ };
661
+ /**
662
+ * Lists all sharing tasks.
663
+ *
664
+ * @param query an object with query parameters
665
+ * @throws GetSharingTasksHttpError
666
+ */
667
+ declare const getSharingTasks: (query: {
668
+ /** the filter by sharing task resource app id. TenantAdmin users may omit this parameter to list all sharing-tasks in the tenant. */
669
+ appid?: string;
670
+ /** Indicates if task with the status DELETING should be excluded from the list */
671
+ excludeDeleting?: boolean;
672
+ /** Limit the returned result set */
673
+ limit?: number;
674
+ /** @deprecated
675
+ * The cursor to the next page of data. Only one of next or previous may be specified. */
676
+ next?: string;
677
+ /** Offset for finding a list of entities - used for pagination */
678
+ offset?: number;
679
+ /** the filter by sharing task resource owner id. */
680
+ owner?: string;
681
+ /** the filter by sharing task resource owner name. */
682
+ ownername?: string;
683
+ /** The cursor to the page of data. */
684
+ page?: string;
685
+ /** @deprecated
686
+ * The cursor to the previous page of data. Only one of next or previous may be specified. */
687
+ prev?: string;
688
+ /** the filter by sharing task resource role. */
689
+ role?: ("owner" | "recipient")[];
690
+ /** Sort the returned result set by the specified field */
691
+ sort?: ("-datecreated" | "datecreated" | "+datecreated" | "-name" | "name" | "+name" | "-ownername" | "ownername" | "+ownername" | "-enabled" | "enabled" | "+enabled" | "-status" | "status" | "+status" | "-type" | "type" | "+type" | "-sent" | "sent" | "+sent" | "-scheduled" | "scheduled" | "+scheduled" | "-appname" | "appname" | "+appname" | "-appid" | "appid" | "+appid")[];
692
+ /** array of template ids to filter by */
693
+ templateId?: string[];
694
+ /** the filter by sharing task resource type. If type is template-sharing only and user is not tenant admin, appid is also required. */
695
+ type?: ("chart-monitoring" | "chart-sharing" | "sheet-sharing" | "template-sharing")[];
696
+ }, options?: ApiCallOptions) => Promise<GetSharingTasksHttpResponse>;
697
+ type GetSharingTasksHttpResponse = {
698
+ data: SharingTaskRecurringListResponse;
699
+ headers: Headers;
700
+ status: 200;
701
+ prev?: (options?: ApiCallOptions) => Promise<GetSharingTasksHttpResponse>;
702
+ next?: (options?: ApiCallOptions) => Promise<GetSharingTasksHttpResponse>;
703
+ };
704
+ type GetSharingTasksHttpError = {
705
+ data: Errors;
706
+ headers: Headers;
707
+ status: number;
708
+ };
709
+ /**
710
+ * Creates a new recurring sharing task.
711
+ *
712
+ * @param body an object with the body content
713
+ * @throws CreateSharingTaskHttpError
714
+ */
715
+ declare const createSharingTask: (body: SharingTaskRecurringCreateRequest, options?: ApiCallOptions) => Promise<CreateSharingTaskHttpResponse>;
716
+ type CreateSharingTaskHttpResponse = {
717
+ data: SharingTaskRecurringResponse;
718
+ headers: Headers;
719
+ status: 201;
720
+ };
721
+ type CreateSharingTaskHttpError = {
722
+ data: Errors;
723
+ headers: Headers;
724
+ status: number;
725
+ };
726
+ /**
727
+ * Executes a recurring sharing task
728
+ *
729
+ * @param body an object with the body content
730
+ * @throws ExecuteSharingTasksHttpError
731
+ */
732
+ declare const executeSharingTasks: (body: SharingActionsTriggerCreateRequest, options?: ApiCallOptions) => Promise<ExecuteSharingTasksHttpResponse>;
733
+ type ExecuteSharingTasksHttpResponse = {
734
+ data: void;
735
+ headers: Headers;
736
+ status: 204;
737
+ };
738
+ type ExecuteSharingTasksHttpError = {
739
+ data: Errors;
740
+ headers: Headers;
741
+ status: number;
742
+ };
743
+ /**
744
+ * Lists sharing settings.
745
+ *
746
+ * @throws GetSharingTasksSettingsHttpError
747
+ */
748
+ declare const getSharingTasksSettings: (options?: ApiCallOptions) => Promise<GetSharingTasksSettingsHttpResponse>;
749
+ type GetSharingTasksSettingsHttpResponse = {
750
+ data: SharingSettings;
751
+ headers: Headers;
752
+ status: 200;
753
+ };
754
+ type GetSharingTasksSettingsHttpError = {
755
+ data: Errors;
756
+ headers: Headers;
757
+ status: number;
758
+ };
759
+ /**
760
+ * Patches sharing features toggles. Accessible only by tenant admins.
761
+ *
762
+ * @param body an object with the body content
763
+ * @throws UpdateSharingTasksSettingsHttpError
764
+ */
765
+ declare const updateSharingTasksSettings: (body: SharingSettingsPatchCompliantList, options?: ApiCallOptions) => Promise<UpdateSharingTasksSettingsHttpResponse>;
766
+ type UpdateSharingTasksSettingsHttpResponse = {
767
+ data: void;
768
+ headers: Headers;
769
+ status: 204;
770
+ };
771
+ type UpdateSharingTasksSettingsHttpError = {
772
+ data: Errors;
773
+ headers: Headers;
774
+ status: number;
775
+ };
776
+ /**
777
+ * Updates API configuration. Accessible only by tenant admins.
778
+ *
779
+ * @param body an object with the body content
780
+ * @throws ConfigureSharingTasksSettingsHttpError
781
+ */
782
+ declare const configureSharingTasksSettings: (body: APISettingsUpload, options?: ApiCallOptions) => Promise<ConfigureSharingTasksSettingsHttpResponse>;
783
+ type ConfigureSharingTasksSettingsHttpResponse = {
784
+ data: void;
785
+ headers: Headers;
786
+ status: 204;
787
+ };
788
+ type ConfigureSharingTasksSettingsHttpError = {
789
+ data: Errors;
790
+ headers: Headers;
791
+ status: number;
792
+ };
793
+ /**
794
+ * Deletes a sharing task.
795
+ *
796
+ * @param taskId The sharing task identifier.
797
+ * @throws DeleteSharingTaskHttpError
798
+ */
799
+ declare const deleteSharingTask: (taskId: string, options?: ApiCallOptions) => Promise<DeleteSharingTaskHttpResponse>;
800
+ type DeleteSharingTaskHttpResponse = {
801
+ data: void;
802
+ headers: Headers;
803
+ status: 204;
804
+ };
805
+ type DeleteSharingTaskHttpError = {
806
+ data: Errors;
807
+ headers: Headers;
808
+ status: number;
809
+ };
810
+ /**
811
+ * See details about a sharing task
812
+ *
813
+ * @param taskId The sharing task identifier.
814
+ * @param query an object with query parameters
815
+ * @throws GetSharingTaskHttpError
816
+ */
817
+ declare const getSharingTask: (taskId: string, query: {
818
+ /** A boolean flag to know if the user has clicked on the view chart button */
819
+ isViewChart?: boolean;
820
+ }, options?: ApiCallOptions) => Promise<GetSharingTaskHttpResponse>;
821
+ type GetSharingTaskHttpResponse = {
822
+ data: SharingTaskRecurringResponse;
823
+ headers: Headers;
824
+ status: 200;
825
+ };
826
+ type GetSharingTaskHttpError = {
827
+ data: Errors;
828
+ headers: Headers;
829
+ status: number;
830
+ };
831
+ /**
832
+ * Updates an existing sharing task.
833
+ *
834
+ * @param taskId The sharing task identifier.
835
+ * @param body an object with the body content
836
+ * @throws PatchSharingTaskHttpError
837
+ */
838
+ declare const patchSharingTask: (taskId: string, body: SharingTaskPatchRequestCompliantList, options?: ApiCallOptions) => Promise<PatchSharingTaskHttpResponse>;
839
+ type PatchSharingTaskHttpResponse = {
840
+ data: void;
841
+ headers: Headers;
842
+ status: 204;
843
+ };
844
+ type PatchSharingTaskHttpError = {
845
+ data: Errors;
846
+ headers: Headers;
847
+ status: number;
848
+ };
849
+ /**
850
+ * Cancels a recurring sharing task
851
+ *
852
+ * @param taskId The sharing task identifier.
853
+ * @throws CancelSharingTaskHttpError
854
+ */
855
+ declare const cancelSharingTask: (taskId: string, options?: ApiCallOptions) => Promise<CancelSharingTaskHttpResponse>;
856
+ type CancelSharingTaskHttpResponse = {
857
+ data: void;
858
+ headers: Headers;
859
+ status: 204;
860
+ };
861
+ type CancelSharingTaskHttpError = {
862
+ data: Errors;
863
+ headers: Headers;
864
+ status: number;
865
+ };
866
+ /**
867
+ * Clears the cache for sharing-tasks api requests.
868
+ */
869
+ declare function clearCache(): void;
870
+ interface SharingTasksAPI {
871
+ /**
872
+ * Lists all sharing tasks.
873
+ *
874
+ * @param query an object with query parameters
875
+ * @throws GetSharingTasksHttpError
876
+ */
877
+ getSharingTasks: typeof getSharingTasks;
878
+ /**
879
+ * Creates a new recurring sharing task.
880
+ *
881
+ * @param body an object with the body content
882
+ * @throws CreateSharingTaskHttpError
883
+ */
884
+ createSharingTask: typeof createSharingTask;
885
+ /**
886
+ * Executes a recurring sharing task
887
+ *
888
+ * @param body an object with the body content
889
+ * @throws ExecuteSharingTasksHttpError
890
+ */
891
+ executeSharingTasks: typeof executeSharingTasks;
892
+ /**
893
+ * Lists sharing settings.
894
+ *
895
+ * @throws GetSharingTasksSettingsHttpError
896
+ */
897
+ getSharingTasksSettings: typeof getSharingTasksSettings;
898
+ /**
899
+ * Patches sharing features toggles. Accessible only by tenant admins.
900
+ *
901
+ * @param body an object with the body content
902
+ * @throws UpdateSharingTasksSettingsHttpError
903
+ */
904
+ updateSharingTasksSettings: typeof updateSharingTasksSettings;
905
+ /**
906
+ * Updates API configuration. Accessible only by tenant admins.
907
+ *
908
+ * @param body an object with the body content
909
+ * @throws ConfigureSharingTasksSettingsHttpError
910
+ */
911
+ configureSharingTasksSettings: typeof configureSharingTasksSettings;
912
+ /**
913
+ * Deletes a sharing task.
914
+ *
915
+ * @param taskId The sharing task identifier.
916
+ * @throws DeleteSharingTaskHttpError
917
+ */
918
+ deleteSharingTask: typeof deleteSharingTask;
919
+ /**
920
+ * See details about a sharing task
921
+ *
922
+ * @param taskId The sharing task identifier.
923
+ * @param query an object with query parameters
924
+ * @throws GetSharingTaskHttpError
925
+ */
926
+ getSharingTask: typeof getSharingTask;
927
+ /**
928
+ * Updates an existing sharing task.
929
+ *
930
+ * @param taskId The sharing task identifier.
931
+ * @param body an object with the body content
932
+ * @throws PatchSharingTaskHttpError
933
+ */
934
+ patchSharingTask: typeof patchSharingTask;
935
+ /**
936
+ * Cancels a recurring sharing task
937
+ *
938
+ * @param taskId The sharing task identifier.
939
+ * @throws CancelSharingTaskHttpError
940
+ */
941
+ cancelSharingTask: typeof cancelSharingTask;
942
+ /**
943
+ * Clears the cache for sharing-tasks api requests.
944
+ */
945
+ clearCache: typeof clearCache;
946
+ }
947
+ /**
948
+ * Functions for the sharing-tasks api
949
+ */
950
+ declare const sharingTasksExport: SharingTasksAPI;
951
+
952
+ export { type APISettingsUpload, type AlertingTaskGroupRecipientError, type AlertingTaskRecipientError, type CancelSharingTaskHttpError, type CancelSharingTaskHttpResponse, type ChartTemplate, type ConfigureSharingTasksSettingsHttpError, type ConfigureSharingTasksSettingsHttpResponse, type CreateSharingTaskHttpError, type CreateSharingTaskHttpResponse, type DeleteSharingTaskHttpError, type DeleteSharingTaskHttpResponse, type EmailAddressRecipientPersist, type EmailComposition, type EncryptedProperty, type Error, type ErrorMeta, type Errors, type ExecuteSharingTasksHttpError, type ExecuteSharingTasksHttpResponse, type GetSharingTaskHttpError, type GetSharingTaskHttpResponse, type GetSharingTasksHttpError, type GetSharingTasksHttpResponse, type GetSharingTasksSettingsHttpError, type GetSharingTasksSettingsHttpResponse, type GroupIDRecipientPersist, type InsightURL, type Links, type ListLinks, type MultiSheetTemplate, type Page, type PatchSharingTaskHttpError, type PatchSharingTaskHttpResponse, type RecipientsPersist, type RetentionPolicy, type ScheduleOptions, type Selection, type Self, type SharingActionsTriggerCreateRequest, type SharingSettings, type SharingSettingsPatchCompliant, type SharingSettingsPatchCompliantList, type SharingTaskPatchRequestCompliantList, type SharingTaskRecurringCreateRequest, type SharingTaskRecurringListResponse, type SharingTaskRecurringPatchRequestCompliant, type SharingTaskRecurringPersist, type SharingTaskRecurringPersistEncryptedEmailContent, type SharingTaskRecurringRecipients, type SharingTaskRecurringResponse, type SharingTasksAPI, type SheetTemplate, type StandardListResponseProps, type State, type StoryTemplate, type TaskError, type TaskGroupRecipientError, type TaskRecipientError, type TemplatePersist, type TemplateResult, type Trigger, type UpdateSharingTasksSettingsHttpError, type UpdateSharingTasksSettingsHttpResponse, type UserIDRecipient, type UserIDRecipientPersist, cancelSharingTask, clearCache, configureSharingTasksSettings, createSharingTask, sharingTasksExport as default, deleteSharingTask, executeSharingTasks, getSharingTask, getSharingTasks, getSharingTasksSettings, patchSharingTask, updateSharingTasksSettings };