@connectreport/connectreport-js 2.81.0-beta.2 → 2.81.0-beta.3
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.
- package/api.ts +225 -0
- package/dist/index.cjs +7 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +224 -1
- package/dist/index.d.ts +224 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -120,6 +120,148 @@ declare class BaseAPI {
|
|
|
120
120
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
+
/**
|
|
124
|
+
* Configuration for data-driven report cycles where each row in a data source creates a child report task
|
|
125
|
+
* @export
|
|
126
|
+
* @interface CycleConfig
|
|
127
|
+
*/
|
|
128
|
+
interface CycleConfig {
|
|
129
|
+
/**
|
|
130
|
+
* Type of cycle configuration - \'filters\' for Dynamic Filters, \'recipients\' for Dynamic Recipients
|
|
131
|
+
* @type {string}
|
|
132
|
+
* @memberof CycleConfig
|
|
133
|
+
*/
|
|
134
|
+
configType: CycleConfigConfigTypeEnum;
|
|
135
|
+
/**
|
|
136
|
+
* Data connector name (case-insensitive)
|
|
137
|
+
* @type {string}
|
|
138
|
+
* @memberof CycleConfig
|
|
139
|
+
*/
|
|
140
|
+
connector: string;
|
|
141
|
+
/**
|
|
142
|
+
* Data source document ID
|
|
143
|
+
* @type {string}
|
|
144
|
+
* @memberof CycleConfig
|
|
145
|
+
*/
|
|
146
|
+
docId: string;
|
|
147
|
+
/**
|
|
148
|
+
* Columns to query - defines what data to fetch (each row creates a child task)
|
|
149
|
+
* @type {Array<FieldInfo>}
|
|
150
|
+
* @memberof CycleConfig
|
|
151
|
+
*/
|
|
152
|
+
tableColumns: Array<FieldInfo>;
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
* @type {RowExclusion}
|
|
156
|
+
* @memberof CycleConfig
|
|
157
|
+
*/
|
|
158
|
+
excludedValues?: RowExclusion;
|
|
159
|
+
/**
|
|
160
|
+
* Map source fields to report filter fields
|
|
161
|
+
* @type {Array<FilterMapping>}
|
|
162
|
+
* @memberof CycleConfig
|
|
163
|
+
*/
|
|
164
|
+
filterMappings?: Array<FilterMapping>;
|
|
165
|
+
/**
|
|
166
|
+
*
|
|
167
|
+
* @type {FieldInfo}
|
|
168
|
+
* @memberof CycleConfig
|
|
169
|
+
*/
|
|
170
|
+
recipientsFieldInfo?: FieldInfo;
|
|
171
|
+
/**
|
|
172
|
+
*
|
|
173
|
+
* @type {FieldInfo}
|
|
174
|
+
* @memberof CycleConfig
|
|
175
|
+
*/
|
|
176
|
+
emailSubjectFieldInfo?: FieldInfo;
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
* @type {FieldInfo}
|
|
180
|
+
* @memberof CycleConfig
|
|
181
|
+
*/
|
|
182
|
+
emailBodyFieldInfo?: FieldInfo;
|
|
183
|
+
/**
|
|
184
|
+
*
|
|
185
|
+
* @type {FieldInfo}
|
|
186
|
+
* @memberof CycleConfig
|
|
187
|
+
*/
|
|
188
|
+
titleFieldInfo?: FieldInfo;
|
|
189
|
+
/**
|
|
190
|
+
*
|
|
191
|
+
* @type {FieldInfo}
|
|
192
|
+
* @memberof CycleConfig
|
|
193
|
+
*/
|
|
194
|
+
oneDriveParentFolderIdFieldInfo?: FieldInfo;
|
|
195
|
+
/**
|
|
196
|
+
*
|
|
197
|
+
* @type {FieldInfo}
|
|
198
|
+
* @memberof CycleConfig
|
|
199
|
+
*/
|
|
200
|
+
tagsFieldInfo?: FieldInfo;
|
|
201
|
+
/**
|
|
202
|
+
*
|
|
203
|
+
* @type {FieldInfo}
|
|
204
|
+
* @memberof CycleConfig
|
|
205
|
+
*/
|
|
206
|
+
groupsToShareWithFieldInfo?: FieldInfo;
|
|
207
|
+
/**
|
|
208
|
+
*
|
|
209
|
+
* @type {FieldInfo}
|
|
210
|
+
* @memberof CycleConfig
|
|
211
|
+
*/
|
|
212
|
+
emailFieldInfo?: FieldInfo;
|
|
213
|
+
/**
|
|
214
|
+
* Automatically tag child reports with first column value
|
|
215
|
+
* @type {boolean}
|
|
216
|
+
* @memberof CycleConfig
|
|
217
|
+
*/
|
|
218
|
+
autotag?: boolean;
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* @export
|
|
222
|
+
* @enum {string}
|
|
223
|
+
*/
|
|
224
|
+
declare enum CycleConfigConfigTypeEnum {
|
|
225
|
+
Filters = "filters",
|
|
226
|
+
Recipients = "recipients"
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Field metadata from data source
|
|
230
|
+
* @export
|
|
231
|
+
* @interface FieldInfo
|
|
232
|
+
*/
|
|
233
|
+
interface FieldInfo {
|
|
234
|
+
/**
|
|
235
|
+
* Display name of the field
|
|
236
|
+
* @type {string}
|
|
237
|
+
* @memberof FieldInfo
|
|
238
|
+
*/
|
|
239
|
+
fieldName?: string;
|
|
240
|
+
/**
|
|
241
|
+
* Definition/expression of the field
|
|
242
|
+
* @type {string}
|
|
243
|
+
* @memberof FieldInfo
|
|
244
|
+
*/
|
|
245
|
+
fieldDef: string;
|
|
246
|
+
/**
|
|
247
|
+
* Unique identifier of the field
|
|
248
|
+
* @type {string}
|
|
249
|
+
* @memberof FieldInfo
|
|
250
|
+
*/
|
|
251
|
+
id?: string;
|
|
252
|
+
/**
|
|
253
|
+
* Table identifier
|
|
254
|
+
* @type {string}
|
|
255
|
+
* @memberof FieldInfo
|
|
256
|
+
*/
|
|
257
|
+
table?: string;
|
|
258
|
+
/**
|
|
259
|
+
* Display name of the table
|
|
260
|
+
* @type {string}
|
|
261
|
+
* @memberof FieldInfo
|
|
262
|
+
*/
|
|
263
|
+
tableName?: string;
|
|
264
|
+
}
|
|
123
265
|
/**
|
|
124
266
|
*
|
|
125
267
|
* @export
|
|
@@ -272,6 +414,12 @@ interface FilterCycle {
|
|
|
272
414
|
* @memberof FilterCycle
|
|
273
415
|
*/
|
|
274
416
|
onedriveParentFolderId?: string;
|
|
417
|
+
/**
|
|
418
|
+
*
|
|
419
|
+
* @type {CycleConfig}
|
|
420
|
+
* @memberof FilterCycle
|
|
421
|
+
*/
|
|
422
|
+
cycle?: CycleConfig;
|
|
275
423
|
/**
|
|
276
424
|
*
|
|
277
425
|
* @type {FilterCycleAllOfFieldInfo}
|
|
@@ -437,6 +585,25 @@ interface FilterCycleAllOfFieldValues {
|
|
|
437
585
|
*/
|
|
438
586
|
number?: number;
|
|
439
587
|
}
|
|
588
|
+
/**
|
|
589
|
+
* Maps a source table field to a report filter field
|
|
590
|
+
* @export
|
|
591
|
+
* @interface FilterMapping
|
|
592
|
+
*/
|
|
593
|
+
interface FilterMapping {
|
|
594
|
+
/**
|
|
595
|
+
*
|
|
596
|
+
* @type {FieldInfo}
|
|
597
|
+
* @memberof FilterMapping
|
|
598
|
+
*/
|
|
599
|
+
from: FieldInfo;
|
|
600
|
+
/**
|
|
601
|
+
*
|
|
602
|
+
* @type {FieldInfo}
|
|
603
|
+
* @memberof FilterMapping
|
|
604
|
+
*/
|
|
605
|
+
to: FieldInfo;
|
|
606
|
+
}
|
|
440
607
|
/**
|
|
441
608
|
*
|
|
442
609
|
* @export
|
|
@@ -852,6 +1019,12 @@ interface ReportTask {
|
|
|
852
1019
|
* @memberof ReportTask
|
|
853
1020
|
*/
|
|
854
1021
|
onedriveParentFolderId?: string;
|
|
1022
|
+
/**
|
|
1023
|
+
*
|
|
1024
|
+
* @type {CycleConfig}
|
|
1025
|
+
* @memberof ReportTask
|
|
1026
|
+
*/
|
|
1027
|
+
cycle?: CycleConfig;
|
|
855
1028
|
}
|
|
856
1029
|
/**
|
|
857
1030
|
* @export
|
|
@@ -1129,6 +1302,12 @@ interface ReportTaskRequest {
|
|
|
1129
1302
|
* @memberof ReportTaskRequest
|
|
1130
1303
|
*/
|
|
1131
1304
|
onedriveParentFolderId?: string;
|
|
1305
|
+
/**
|
|
1306
|
+
*
|
|
1307
|
+
* @type {CycleConfig}
|
|
1308
|
+
* @memberof ReportTaskRequest
|
|
1309
|
+
*/
|
|
1310
|
+
cycle?: CycleConfig;
|
|
1132
1311
|
/**
|
|
1133
1312
|
* Emails to send the report to. This is only allowed if \"Allow reports to be shared with any email\" is to true.
|
|
1134
1313
|
* @type {Array<string>}
|
|
@@ -1367,6 +1546,12 @@ interface ReportTaskResponse {
|
|
|
1367
1546
|
* @memberof ReportTaskResponse
|
|
1368
1547
|
*/
|
|
1369
1548
|
onedriveParentFolderId?: string;
|
|
1549
|
+
/**
|
|
1550
|
+
*
|
|
1551
|
+
* @type {CycleConfig}
|
|
1552
|
+
* @memberof ReportTaskResponse
|
|
1553
|
+
*/
|
|
1554
|
+
cycle?: CycleConfig;
|
|
1370
1555
|
/**
|
|
1371
1556
|
* Users to share the published report with. This field will be updated entirely if provided
|
|
1372
1557
|
* @type {Array<ReportTaskResponseAllOfUsersToShareWith>}
|
|
@@ -1618,6 +1803,44 @@ interface ReportTaskVariables {
|
|
|
1618
1803
|
*/
|
|
1619
1804
|
value?: string;
|
|
1620
1805
|
}
|
|
1806
|
+
/**
|
|
1807
|
+
* Filter out rows where field matches specified values
|
|
1808
|
+
* @export
|
|
1809
|
+
* @interface RowExclusion
|
|
1810
|
+
*/
|
|
1811
|
+
interface RowExclusion {
|
|
1812
|
+
/**
|
|
1813
|
+
*
|
|
1814
|
+
* @type {FieldInfo}
|
|
1815
|
+
* @memberof RowExclusion
|
|
1816
|
+
*/
|
|
1817
|
+
exclusionFieldInfo: FieldInfo;
|
|
1818
|
+
/**
|
|
1819
|
+
*
|
|
1820
|
+
* @type {Array<RowExclusionFieldValues>}
|
|
1821
|
+
* @memberof RowExclusion
|
|
1822
|
+
*/
|
|
1823
|
+
fieldValues: Array<RowExclusionFieldValues>;
|
|
1824
|
+
}
|
|
1825
|
+
/**
|
|
1826
|
+
*
|
|
1827
|
+
* @export
|
|
1828
|
+
* @interface RowExclusionFieldValues
|
|
1829
|
+
*/
|
|
1830
|
+
interface RowExclusionFieldValues {
|
|
1831
|
+
/**
|
|
1832
|
+
*
|
|
1833
|
+
* @type {string}
|
|
1834
|
+
* @memberof RowExclusionFieldValues
|
|
1835
|
+
*/
|
|
1836
|
+
text: string;
|
|
1837
|
+
/**
|
|
1838
|
+
*
|
|
1839
|
+
* @type {number}
|
|
1840
|
+
* @memberof RowExclusionFieldValues
|
|
1841
|
+
*/
|
|
1842
|
+
number?: number;
|
|
1843
|
+
}
|
|
1621
1844
|
/**
|
|
1622
1845
|
*
|
|
1623
1846
|
* @export
|
|
@@ -3302,4 +3525,4 @@ declare class ConnectReport {
|
|
|
3302
3525
|
constructor(config: Pick<Configuration, "apiKey" | "basePath" | "formDataCtor" | "httpsAgent">);
|
|
3303
3526
|
}
|
|
3304
3527
|
|
|
3305
|
-
export { BaseTemplatesApi, BaseTemplatesApiAxiosParamCreator, BaseTemplatesApiFactory, BaseTemplatesApiFp, ConnectReport, DocumentsApi, DocumentsApiAxiosParamCreator, DocumentsApiFactory, DocumentsApiFp, type FilterCycle, type FilterCycleAllOf, type FilterCycleAllOfFieldInfo, type FilterCycleAllOfFieldValues, FilterCycleEmailEnum, FilterCycleFrequencyEnum, FilterCyclesApi, FilterCyclesApiAxiosParamCreator, FilterCyclesApiFactory, FilterCyclesApiFp, ImagesApi, ImagesApiAxiosParamCreator, ImagesApiFactory, ImagesApiFp, type InlineResponse200, type InlineResponse2001, type InlineResponse2002, type InlineResponse2003, type InlineResponse2004, type Job, type JobResponse, JobsApi, JobsApiAxiosParamCreator, JobsApiFactory, JobsApiFp, type ModelError, type Report, type ReportTask, type ReportTaskCustomSelection, ReportTaskEmailEnum, type ReportTaskErrors, type ReportTaskFieldValues, type ReportTaskFilterSets, ReportTaskFrequencyEnum, type ReportTaskGroupsToShareWith, type ReportTaskRequest, type ReportTaskRequestAllOf, type ReportTaskRequestAllOfUsersToShareWith, ReportTaskRequestEmailEnum, ReportTaskRequestFrequencyEnum, type ReportTaskResponse, type ReportTaskResponseAllOf, type ReportTaskResponseAllOfGroupsSharedWith, type ReportTaskResponseAllOfUsersToShareWith, ReportTaskResponseEmailEnum, ReportTaskResponseFrequencyEnum, type ReportTaskTags, type ReportTaskVariables, ReportTasksApi, ReportTasksApiAxiosParamCreator, ReportTasksApiFactory, ReportTasksApiFp, ReportTypeEnum, ReportsApi, ReportsApiAxiosParamCreator, ReportsApiFactory, ReportsApiFp, type Template, TemplateTypeEnum, TemplatesApi, TemplatesApiAxiosParamCreator, TemplatesApiFactory, TemplatesApiFp, type Visualization, VisualizationApi, VisualizationApiAxiosParamCreator, VisualizationApiFactory, VisualizationApiFp };
|
|
3528
|
+
export { BaseTemplatesApi, BaseTemplatesApiAxiosParamCreator, BaseTemplatesApiFactory, BaseTemplatesApiFp, ConnectReport, type CycleConfig, CycleConfigConfigTypeEnum, DocumentsApi, DocumentsApiAxiosParamCreator, DocumentsApiFactory, DocumentsApiFp, type FieldInfo, type FilterCycle, type FilterCycleAllOf, type FilterCycleAllOfFieldInfo, type FilterCycleAllOfFieldValues, FilterCycleEmailEnum, FilterCycleFrequencyEnum, FilterCyclesApi, FilterCyclesApiAxiosParamCreator, FilterCyclesApiFactory, FilterCyclesApiFp, type FilterMapping, ImagesApi, ImagesApiAxiosParamCreator, ImagesApiFactory, ImagesApiFp, type InlineResponse200, type InlineResponse2001, type InlineResponse2002, type InlineResponse2003, type InlineResponse2004, type Job, type JobResponse, JobsApi, JobsApiAxiosParamCreator, JobsApiFactory, JobsApiFp, type ModelError, type Report, type ReportTask, type ReportTaskCustomSelection, ReportTaskEmailEnum, type ReportTaskErrors, type ReportTaskFieldValues, type ReportTaskFilterSets, ReportTaskFrequencyEnum, type ReportTaskGroupsToShareWith, type ReportTaskRequest, type ReportTaskRequestAllOf, type ReportTaskRequestAllOfUsersToShareWith, ReportTaskRequestEmailEnum, ReportTaskRequestFrequencyEnum, type ReportTaskResponse, type ReportTaskResponseAllOf, type ReportTaskResponseAllOfGroupsSharedWith, type ReportTaskResponseAllOfUsersToShareWith, ReportTaskResponseEmailEnum, ReportTaskResponseFrequencyEnum, type ReportTaskTags, type ReportTaskVariables, ReportTasksApi, ReportTasksApiAxiosParamCreator, ReportTasksApiFactory, ReportTasksApiFp, ReportTypeEnum, ReportsApi, ReportsApiAxiosParamCreator, ReportsApiFactory, ReportsApiFp, type RowExclusion, type RowExclusionFieldValues, type Template, TemplateTypeEnum, TemplatesApi, TemplatesApiAxiosParamCreator, TemplatesApiFactory, TemplatesApiFp, type Visualization, VisualizationApi, VisualizationApiAxiosParamCreator, VisualizationApiFactory, VisualizationApiFp };
|
package/dist/index.d.ts
CHANGED
|
@@ -120,6 +120,148 @@ declare class BaseAPI {
|
|
|
120
120
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
+
/**
|
|
124
|
+
* Configuration for data-driven report cycles where each row in a data source creates a child report task
|
|
125
|
+
* @export
|
|
126
|
+
* @interface CycleConfig
|
|
127
|
+
*/
|
|
128
|
+
interface CycleConfig {
|
|
129
|
+
/**
|
|
130
|
+
* Type of cycle configuration - \'filters\' for Dynamic Filters, \'recipients\' for Dynamic Recipients
|
|
131
|
+
* @type {string}
|
|
132
|
+
* @memberof CycleConfig
|
|
133
|
+
*/
|
|
134
|
+
configType: CycleConfigConfigTypeEnum;
|
|
135
|
+
/**
|
|
136
|
+
* Data connector name (case-insensitive)
|
|
137
|
+
* @type {string}
|
|
138
|
+
* @memberof CycleConfig
|
|
139
|
+
*/
|
|
140
|
+
connector: string;
|
|
141
|
+
/**
|
|
142
|
+
* Data source document ID
|
|
143
|
+
* @type {string}
|
|
144
|
+
* @memberof CycleConfig
|
|
145
|
+
*/
|
|
146
|
+
docId: string;
|
|
147
|
+
/**
|
|
148
|
+
* Columns to query - defines what data to fetch (each row creates a child task)
|
|
149
|
+
* @type {Array<FieldInfo>}
|
|
150
|
+
* @memberof CycleConfig
|
|
151
|
+
*/
|
|
152
|
+
tableColumns: Array<FieldInfo>;
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
* @type {RowExclusion}
|
|
156
|
+
* @memberof CycleConfig
|
|
157
|
+
*/
|
|
158
|
+
excludedValues?: RowExclusion;
|
|
159
|
+
/**
|
|
160
|
+
* Map source fields to report filter fields
|
|
161
|
+
* @type {Array<FilterMapping>}
|
|
162
|
+
* @memberof CycleConfig
|
|
163
|
+
*/
|
|
164
|
+
filterMappings?: Array<FilterMapping>;
|
|
165
|
+
/**
|
|
166
|
+
*
|
|
167
|
+
* @type {FieldInfo}
|
|
168
|
+
* @memberof CycleConfig
|
|
169
|
+
*/
|
|
170
|
+
recipientsFieldInfo?: FieldInfo;
|
|
171
|
+
/**
|
|
172
|
+
*
|
|
173
|
+
* @type {FieldInfo}
|
|
174
|
+
* @memberof CycleConfig
|
|
175
|
+
*/
|
|
176
|
+
emailSubjectFieldInfo?: FieldInfo;
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
* @type {FieldInfo}
|
|
180
|
+
* @memberof CycleConfig
|
|
181
|
+
*/
|
|
182
|
+
emailBodyFieldInfo?: FieldInfo;
|
|
183
|
+
/**
|
|
184
|
+
*
|
|
185
|
+
* @type {FieldInfo}
|
|
186
|
+
* @memberof CycleConfig
|
|
187
|
+
*/
|
|
188
|
+
titleFieldInfo?: FieldInfo;
|
|
189
|
+
/**
|
|
190
|
+
*
|
|
191
|
+
* @type {FieldInfo}
|
|
192
|
+
* @memberof CycleConfig
|
|
193
|
+
*/
|
|
194
|
+
oneDriveParentFolderIdFieldInfo?: FieldInfo;
|
|
195
|
+
/**
|
|
196
|
+
*
|
|
197
|
+
* @type {FieldInfo}
|
|
198
|
+
* @memberof CycleConfig
|
|
199
|
+
*/
|
|
200
|
+
tagsFieldInfo?: FieldInfo;
|
|
201
|
+
/**
|
|
202
|
+
*
|
|
203
|
+
* @type {FieldInfo}
|
|
204
|
+
* @memberof CycleConfig
|
|
205
|
+
*/
|
|
206
|
+
groupsToShareWithFieldInfo?: FieldInfo;
|
|
207
|
+
/**
|
|
208
|
+
*
|
|
209
|
+
* @type {FieldInfo}
|
|
210
|
+
* @memberof CycleConfig
|
|
211
|
+
*/
|
|
212
|
+
emailFieldInfo?: FieldInfo;
|
|
213
|
+
/**
|
|
214
|
+
* Automatically tag child reports with first column value
|
|
215
|
+
* @type {boolean}
|
|
216
|
+
* @memberof CycleConfig
|
|
217
|
+
*/
|
|
218
|
+
autotag?: boolean;
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* @export
|
|
222
|
+
* @enum {string}
|
|
223
|
+
*/
|
|
224
|
+
declare enum CycleConfigConfigTypeEnum {
|
|
225
|
+
Filters = "filters",
|
|
226
|
+
Recipients = "recipients"
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Field metadata from data source
|
|
230
|
+
* @export
|
|
231
|
+
* @interface FieldInfo
|
|
232
|
+
*/
|
|
233
|
+
interface FieldInfo {
|
|
234
|
+
/**
|
|
235
|
+
* Display name of the field
|
|
236
|
+
* @type {string}
|
|
237
|
+
* @memberof FieldInfo
|
|
238
|
+
*/
|
|
239
|
+
fieldName?: string;
|
|
240
|
+
/**
|
|
241
|
+
* Definition/expression of the field
|
|
242
|
+
* @type {string}
|
|
243
|
+
* @memberof FieldInfo
|
|
244
|
+
*/
|
|
245
|
+
fieldDef: string;
|
|
246
|
+
/**
|
|
247
|
+
* Unique identifier of the field
|
|
248
|
+
* @type {string}
|
|
249
|
+
* @memberof FieldInfo
|
|
250
|
+
*/
|
|
251
|
+
id?: string;
|
|
252
|
+
/**
|
|
253
|
+
* Table identifier
|
|
254
|
+
* @type {string}
|
|
255
|
+
* @memberof FieldInfo
|
|
256
|
+
*/
|
|
257
|
+
table?: string;
|
|
258
|
+
/**
|
|
259
|
+
* Display name of the table
|
|
260
|
+
* @type {string}
|
|
261
|
+
* @memberof FieldInfo
|
|
262
|
+
*/
|
|
263
|
+
tableName?: string;
|
|
264
|
+
}
|
|
123
265
|
/**
|
|
124
266
|
*
|
|
125
267
|
* @export
|
|
@@ -272,6 +414,12 @@ interface FilterCycle {
|
|
|
272
414
|
* @memberof FilterCycle
|
|
273
415
|
*/
|
|
274
416
|
onedriveParentFolderId?: string;
|
|
417
|
+
/**
|
|
418
|
+
*
|
|
419
|
+
* @type {CycleConfig}
|
|
420
|
+
* @memberof FilterCycle
|
|
421
|
+
*/
|
|
422
|
+
cycle?: CycleConfig;
|
|
275
423
|
/**
|
|
276
424
|
*
|
|
277
425
|
* @type {FilterCycleAllOfFieldInfo}
|
|
@@ -437,6 +585,25 @@ interface FilterCycleAllOfFieldValues {
|
|
|
437
585
|
*/
|
|
438
586
|
number?: number;
|
|
439
587
|
}
|
|
588
|
+
/**
|
|
589
|
+
* Maps a source table field to a report filter field
|
|
590
|
+
* @export
|
|
591
|
+
* @interface FilterMapping
|
|
592
|
+
*/
|
|
593
|
+
interface FilterMapping {
|
|
594
|
+
/**
|
|
595
|
+
*
|
|
596
|
+
* @type {FieldInfo}
|
|
597
|
+
* @memberof FilterMapping
|
|
598
|
+
*/
|
|
599
|
+
from: FieldInfo;
|
|
600
|
+
/**
|
|
601
|
+
*
|
|
602
|
+
* @type {FieldInfo}
|
|
603
|
+
* @memberof FilterMapping
|
|
604
|
+
*/
|
|
605
|
+
to: FieldInfo;
|
|
606
|
+
}
|
|
440
607
|
/**
|
|
441
608
|
*
|
|
442
609
|
* @export
|
|
@@ -852,6 +1019,12 @@ interface ReportTask {
|
|
|
852
1019
|
* @memberof ReportTask
|
|
853
1020
|
*/
|
|
854
1021
|
onedriveParentFolderId?: string;
|
|
1022
|
+
/**
|
|
1023
|
+
*
|
|
1024
|
+
* @type {CycleConfig}
|
|
1025
|
+
* @memberof ReportTask
|
|
1026
|
+
*/
|
|
1027
|
+
cycle?: CycleConfig;
|
|
855
1028
|
}
|
|
856
1029
|
/**
|
|
857
1030
|
* @export
|
|
@@ -1129,6 +1302,12 @@ interface ReportTaskRequest {
|
|
|
1129
1302
|
* @memberof ReportTaskRequest
|
|
1130
1303
|
*/
|
|
1131
1304
|
onedriveParentFolderId?: string;
|
|
1305
|
+
/**
|
|
1306
|
+
*
|
|
1307
|
+
* @type {CycleConfig}
|
|
1308
|
+
* @memberof ReportTaskRequest
|
|
1309
|
+
*/
|
|
1310
|
+
cycle?: CycleConfig;
|
|
1132
1311
|
/**
|
|
1133
1312
|
* Emails to send the report to. This is only allowed if \"Allow reports to be shared with any email\" is to true.
|
|
1134
1313
|
* @type {Array<string>}
|
|
@@ -1367,6 +1546,12 @@ interface ReportTaskResponse {
|
|
|
1367
1546
|
* @memberof ReportTaskResponse
|
|
1368
1547
|
*/
|
|
1369
1548
|
onedriveParentFolderId?: string;
|
|
1549
|
+
/**
|
|
1550
|
+
*
|
|
1551
|
+
* @type {CycleConfig}
|
|
1552
|
+
* @memberof ReportTaskResponse
|
|
1553
|
+
*/
|
|
1554
|
+
cycle?: CycleConfig;
|
|
1370
1555
|
/**
|
|
1371
1556
|
* Users to share the published report with. This field will be updated entirely if provided
|
|
1372
1557
|
* @type {Array<ReportTaskResponseAllOfUsersToShareWith>}
|
|
@@ -1618,6 +1803,44 @@ interface ReportTaskVariables {
|
|
|
1618
1803
|
*/
|
|
1619
1804
|
value?: string;
|
|
1620
1805
|
}
|
|
1806
|
+
/**
|
|
1807
|
+
* Filter out rows where field matches specified values
|
|
1808
|
+
* @export
|
|
1809
|
+
* @interface RowExclusion
|
|
1810
|
+
*/
|
|
1811
|
+
interface RowExclusion {
|
|
1812
|
+
/**
|
|
1813
|
+
*
|
|
1814
|
+
* @type {FieldInfo}
|
|
1815
|
+
* @memberof RowExclusion
|
|
1816
|
+
*/
|
|
1817
|
+
exclusionFieldInfo: FieldInfo;
|
|
1818
|
+
/**
|
|
1819
|
+
*
|
|
1820
|
+
* @type {Array<RowExclusionFieldValues>}
|
|
1821
|
+
* @memberof RowExclusion
|
|
1822
|
+
*/
|
|
1823
|
+
fieldValues: Array<RowExclusionFieldValues>;
|
|
1824
|
+
}
|
|
1825
|
+
/**
|
|
1826
|
+
*
|
|
1827
|
+
* @export
|
|
1828
|
+
* @interface RowExclusionFieldValues
|
|
1829
|
+
*/
|
|
1830
|
+
interface RowExclusionFieldValues {
|
|
1831
|
+
/**
|
|
1832
|
+
*
|
|
1833
|
+
* @type {string}
|
|
1834
|
+
* @memberof RowExclusionFieldValues
|
|
1835
|
+
*/
|
|
1836
|
+
text: string;
|
|
1837
|
+
/**
|
|
1838
|
+
*
|
|
1839
|
+
* @type {number}
|
|
1840
|
+
* @memberof RowExclusionFieldValues
|
|
1841
|
+
*/
|
|
1842
|
+
number?: number;
|
|
1843
|
+
}
|
|
1621
1844
|
/**
|
|
1622
1845
|
*
|
|
1623
1846
|
* @export
|
|
@@ -3302,4 +3525,4 @@ declare class ConnectReport {
|
|
|
3302
3525
|
constructor(config: Pick<Configuration, "apiKey" | "basePath" | "formDataCtor" | "httpsAgent">);
|
|
3303
3526
|
}
|
|
3304
3527
|
|
|
3305
|
-
export { BaseTemplatesApi, BaseTemplatesApiAxiosParamCreator, BaseTemplatesApiFactory, BaseTemplatesApiFp, ConnectReport, DocumentsApi, DocumentsApiAxiosParamCreator, DocumentsApiFactory, DocumentsApiFp, type FilterCycle, type FilterCycleAllOf, type FilterCycleAllOfFieldInfo, type FilterCycleAllOfFieldValues, FilterCycleEmailEnum, FilterCycleFrequencyEnum, FilterCyclesApi, FilterCyclesApiAxiosParamCreator, FilterCyclesApiFactory, FilterCyclesApiFp, ImagesApi, ImagesApiAxiosParamCreator, ImagesApiFactory, ImagesApiFp, type InlineResponse200, type InlineResponse2001, type InlineResponse2002, type InlineResponse2003, type InlineResponse2004, type Job, type JobResponse, JobsApi, JobsApiAxiosParamCreator, JobsApiFactory, JobsApiFp, type ModelError, type Report, type ReportTask, type ReportTaskCustomSelection, ReportTaskEmailEnum, type ReportTaskErrors, type ReportTaskFieldValues, type ReportTaskFilterSets, ReportTaskFrequencyEnum, type ReportTaskGroupsToShareWith, type ReportTaskRequest, type ReportTaskRequestAllOf, type ReportTaskRequestAllOfUsersToShareWith, ReportTaskRequestEmailEnum, ReportTaskRequestFrequencyEnum, type ReportTaskResponse, type ReportTaskResponseAllOf, type ReportTaskResponseAllOfGroupsSharedWith, type ReportTaskResponseAllOfUsersToShareWith, ReportTaskResponseEmailEnum, ReportTaskResponseFrequencyEnum, type ReportTaskTags, type ReportTaskVariables, ReportTasksApi, ReportTasksApiAxiosParamCreator, ReportTasksApiFactory, ReportTasksApiFp, ReportTypeEnum, ReportsApi, ReportsApiAxiosParamCreator, ReportsApiFactory, ReportsApiFp, type Template, TemplateTypeEnum, TemplatesApi, TemplatesApiAxiosParamCreator, TemplatesApiFactory, TemplatesApiFp, type Visualization, VisualizationApi, VisualizationApiAxiosParamCreator, VisualizationApiFactory, VisualizationApiFp };
|
|
3528
|
+
export { BaseTemplatesApi, BaseTemplatesApiAxiosParamCreator, BaseTemplatesApiFactory, BaseTemplatesApiFp, ConnectReport, type CycleConfig, CycleConfigConfigTypeEnum, DocumentsApi, DocumentsApiAxiosParamCreator, DocumentsApiFactory, DocumentsApiFp, type FieldInfo, type FilterCycle, type FilterCycleAllOf, type FilterCycleAllOfFieldInfo, type FilterCycleAllOfFieldValues, FilterCycleEmailEnum, FilterCycleFrequencyEnum, FilterCyclesApi, FilterCyclesApiAxiosParamCreator, FilterCyclesApiFactory, FilterCyclesApiFp, type FilterMapping, ImagesApi, ImagesApiAxiosParamCreator, ImagesApiFactory, ImagesApiFp, type InlineResponse200, type InlineResponse2001, type InlineResponse2002, type InlineResponse2003, type InlineResponse2004, type Job, type JobResponse, JobsApi, JobsApiAxiosParamCreator, JobsApiFactory, JobsApiFp, type ModelError, type Report, type ReportTask, type ReportTaskCustomSelection, ReportTaskEmailEnum, type ReportTaskErrors, type ReportTaskFieldValues, type ReportTaskFilterSets, ReportTaskFrequencyEnum, type ReportTaskGroupsToShareWith, type ReportTaskRequest, type ReportTaskRequestAllOf, type ReportTaskRequestAllOfUsersToShareWith, ReportTaskRequestEmailEnum, ReportTaskRequestFrequencyEnum, type ReportTaskResponse, type ReportTaskResponseAllOf, type ReportTaskResponseAllOfGroupsSharedWith, type ReportTaskResponseAllOfUsersToShareWith, ReportTaskResponseEmailEnum, ReportTaskResponseFrequencyEnum, type ReportTaskTags, type ReportTaskVariables, ReportTasksApi, ReportTasksApiAxiosParamCreator, ReportTasksApiFactory, ReportTasksApiFp, ReportTypeEnum, ReportsApi, ReportsApiAxiosParamCreator, ReportsApiFactory, ReportsApiFp, type RowExclusion, type RowExclusionFieldValues, type Template, TemplateTypeEnum, TemplatesApi, TemplatesApiAxiosParamCreator, TemplatesApiFactory, TemplatesApiFp, type Visualization, VisualizationApi, VisualizationApiAxiosParamCreator, VisualizationApiFactory, VisualizationApiFp };
|
package/dist/index.js
CHANGED
|
@@ -140,6 +140,11 @@ var createRequestFunction = function(axiosArgs, globalAxios3, BASE_PATH2, config
|
|
|
140
140
|
};
|
|
141
141
|
|
|
142
142
|
// api.ts
|
|
143
|
+
var CycleConfigConfigTypeEnum = /* @__PURE__ */ ((CycleConfigConfigTypeEnum2) => {
|
|
144
|
+
CycleConfigConfigTypeEnum2["Filters"] = "filters";
|
|
145
|
+
CycleConfigConfigTypeEnum2["Recipients"] = "recipients";
|
|
146
|
+
return CycleConfigConfigTypeEnum2;
|
|
147
|
+
})(CycleConfigConfigTypeEnum || {});
|
|
143
148
|
var FilterCycleFrequencyEnum = /* @__PURE__ */ ((FilterCycleFrequencyEnum2) => {
|
|
144
149
|
FilterCycleFrequencyEnum2["Monthly"] = "Monthly";
|
|
145
150
|
FilterCycleFrequencyEnum2["OnceNow"] = "Once - now";
|
|
@@ -3068,6 +3073,7 @@ export {
|
|
|
3068
3073
|
BaseTemplatesApiFactory,
|
|
3069
3074
|
BaseTemplatesApiFp,
|
|
3070
3075
|
ConnectReport,
|
|
3076
|
+
CycleConfigConfigTypeEnum,
|
|
3071
3077
|
DocumentsApi,
|
|
3072
3078
|
DocumentsApiAxiosParamCreator,
|
|
3073
3079
|
DocumentsApiFactory,
|