@emilgroup/tenant-sdk 1.9.0 → 1.15.1-beta.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.
- package/.openapi-generator/FILES +1 -2
- package/README.md +2 -2
- package/api/custom-schema-api.ts +36 -22
- package/api/data-report-api.ts +50 -36
- package/api/delete-organization-invitations-api.ts +161 -0
- package/api/invite-users-api.ts +32 -18
- package/api/list-organization-invitations-api.ts +32 -18
- package/api/organizations-api.ts +28 -14
- package/api/roles-api.ts +22 -22
- package/api/settings-api.ts +4 -4
- package/api/users-api.ts +32 -18
- package/api.ts +2 -0
- package/base.ts +1 -0
- package/dist/api/custom-schema-api.d.ts +28 -19
- package/dist/api/custom-schema-api.js +26 -20
- package/dist/api/data-report-api.d.ts +38 -29
- package/dist/api/data-report-api.js +35 -29
- package/dist/api/delete-organization-invitations-api.d.ts +96 -0
- package/dist/api/delete-organization-invitations-api.js +223 -0
- package/dist/api/invite-users-api.d.ts +24 -15
- package/dist/api/invite-users-api.js +22 -16
- package/dist/api/list-organization-invitations-api.d.ts +24 -15
- package/dist/api/list-organization-invitations-api.js +22 -16
- package/dist/api/organizations-api.d.ts +20 -11
- package/dist/api/organizations-api.js +18 -12
- package/dist/api/roles-api.d.ts +22 -22
- package/dist/api/roles-api.js +13 -13
- package/dist/api/settings-api.d.ts +4 -4
- package/dist/api/settings-api.js +4 -4
- package/dist/api/users-api.d.ts +24 -15
- package/dist/api/users-api.js +22 -16
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/base.js +1 -0
- package/dist/models/batch-delete-request-dto.d.ts +2 -2
- package/dist/models/create-data-report-request-dto.d.ts +1 -1
- package/dist/models/create-role-request-dto.d.ts +2 -2
- package/dist/models/custom-field-dto.d.ts +43 -11
- package/dist/models/custom-field-dto.js +5 -2
- package/dist/models/data-report-class.d.ts +1 -1
- package/dist/models/disable-users-request-dto.d.ts +2 -2
- package/dist/models/enable-users-request-dto.d.ts +2 -2
- package/dist/models/index.d.ts +0 -2
- package/dist/models/index.js +0 -2
- package/dist/models/inline-response200.d.ts +6 -6
- package/dist/models/inline-response503.d.ts +6 -6
- package/dist/models/invite-class.d.ts +7 -0
- package/dist/models/invite-org-request-dto.d.ts +1 -1
- package/dist/models/invite-users-request-dto.d.ts +6 -0
- package/dist/models/run-data-report-response-class.d.ts +2 -2
- package/dist/models/update-data-report-request-dto.d.ts +1 -1
- package/dist/models/update-role-request-dto.d.ts +2 -2
- package/dist/models/user-class.d.ts +7 -6
- package/models/batch-delete-request-dto.ts +2 -2
- package/models/create-data-report-request-dto.ts +1 -1
- package/models/create-role-request-dto.ts +2 -2
- package/models/custom-field-dto.ts +44 -12
- package/models/data-report-class.ts +1 -1
- package/models/disable-users-request-dto.ts +2 -2
- package/models/enable-users-request-dto.ts +2 -2
- package/models/index.ts +0 -2
- package/models/inline-response200.ts +6 -6
- package/models/inline-response503.ts +6 -6
- package/models/invite-class.ts +7 -0
- package/models/invite-org-request-dto.ts +1 -1
- package/models/invite-users-request-dto.ts +6 -0
- package/models/run-data-report-response-class.ts +2 -2
- package/models/update-data-report-request-dto.ts +1 -1
- package/models/update-role-request-dto.ts +2 -2
- package/models/user-class.ts +7 -6
- package/package.json +1 -2
- package/dist/models/custom-field-option-dto.d.ts +0 -30
- package/dist/models/custom-field-option-dto.js +0 -15
- package/dist/models/set-user-setting-response-class.d.ts +0 -36
- package/dist/models/set-user-setting-response-class.js +0 -15
- package/models/custom-field-option-dto.ts +0 -36
- package/models/set-user-setting-response-class.ts +0 -42
|
@@ -142,7 +142,7 @@ var CustomSchemaApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
144
|
/**
|
|
145
|
-
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code
|
|
145
|
+
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information.
|
|
146
146
|
* @summary Retrieve the custom-schema
|
|
147
147
|
* @param {string} code Unique identifier for the object.
|
|
148
148
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -194,19 +194,20 @@ var CustomSchemaApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
});
|
|
195
195
|
},
|
|
196
196
|
/**
|
|
197
|
-
* Returns a list of custom-schemas you have previously created.
|
|
197
|
+
* Returns a list of custom-schemas you have previously created. The custom-schemas are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
198
198
|
* @summary List custom-schemas
|
|
199
199
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
200
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
200
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
201
201
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
202
202
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
203
|
-
* @param {any} [search]
|
|
203
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
204
204
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
205
205
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
206
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
206
207
|
* @param {*} [options] Override http request option.
|
|
207
208
|
* @throws {RequiredError}
|
|
208
209
|
*/
|
|
209
|
-
listCustomSchemas: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
210
|
+
listCustomSchemas: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
210
211
|
if (options === void 0) { options = {}; }
|
|
211
212
|
return __awaiter(_this, void 0, void 0, function () {
|
|
212
213
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -247,6 +248,9 @@ var CustomSchemaApiAxiosParamCreator = function (configuration) {
|
|
|
247
248
|
if (expand !== undefined) {
|
|
248
249
|
localVarQueryParameter['expand'] = expand;
|
|
249
250
|
}
|
|
251
|
+
if (filters !== undefined) {
|
|
252
|
+
localVarQueryParameter['filters'] = filters;
|
|
253
|
+
}
|
|
250
254
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
251
255
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
252
256
|
}
|
|
@@ -346,7 +350,7 @@ var CustomSchemaApiFp = function (configuration) {
|
|
|
346
350
|
});
|
|
347
351
|
},
|
|
348
352
|
/**
|
|
349
|
-
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code
|
|
353
|
+
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information.
|
|
350
354
|
* @summary Retrieve the custom-schema
|
|
351
355
|
* @param {string} code Unique identifier for the object.
|
|
352
356
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -368,24 +372,25 @@ var CustomSchemaApiFp = function (configuration) {
|
|
|
368
372
|
});
|
|
369
373
|
},
|
|
370
374
|
/**
|
|
371
|
-
* Returns a list of custom-schemas you have previously created.
|
|
375
|
+
* Returns a list of custom-schemas you have previously created. The custom-schemas are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
372
376
|
* @summary List custom-schemas
|
|
373
377
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
374
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
378
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
375
379
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
376
380
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
377
|
-
* @param {any} [search]
|
|
381
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
378
382
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
379
383
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
384
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
380
385
|
* @param {*} [options] Override http request option.
|
|
381
386
|
* @throws {RequiredError}
|
|
382
387
|
*/
|
|
383
|
-
listCustomSchemas: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
388
|
+
listCustomSchemas: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
384
389
|
return __awaiter(this, void 0, void 0, function () {
|
|
385
390
|
var localVarAxiosArgs;
|
|
386
391
|
return __generator(this, function (_a) {
|
|
387
392
|
switch (_a.label) {
|
|
388
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCustomSchemas(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
393
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCustomSchemas(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
389
394
|
case 1:
|
|
390
395
|
localVarAxiosArgs = _a.sent();
|
|
391
396
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -437,7 +442,7 @@ var CustomSchemaApiFactory = function (configuration, basePath, axios) {
|
|
|
437
442
|
return localVarFp.createCustomSchema(createCustomSchemaRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
438
443
|
},
|
|
439
444
|
/**
|
|
440
|
-
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code
|
|
445
|
+
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information.
|
|
441
446
|
* @summary Retrieve the custom-schema
|
|
442
447
|
* @param {string} code Unique identifier for the object.
|
|
443
448
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -449,20 +454,21 @@ var CustomSchemaApiFactory = function (configuration, basePath, axios) {
|
|
|
449
454
|
return localVarFp.getCustomSchema(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
450
455
|
},
|
|
451
456
|
/**
|
|
452
|
-
* Returns a list of custom-schemas you have previously created.
|
|
457
|
+
* Returns a list of custom-schemas you have previously created. The custom-schemas are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
453
458
|
* @summary List custom-schemas
|
|
454
459
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
455
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
460
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
456
461
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
457
462
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
458
|
-
* @param {any} [search]
|
|
463
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
459
464
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
460
465
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
466
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
461
467
|
* @param {*} [options] Override http request option.
|
|
462
468
|
* @throws {RequiredError}
|
|
463
469
|
*/
|
|
464
|
-
listCustomSchemas: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
465
|
-
return localVarFp.listCustomSchemas(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
470
|
+
listCustomSchemas: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
471
|
+
return localVarFp.listCustomSchemas(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
466
472
|
},
|
|
467
473
|
/**
|
|
468
474
|
* Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -503,7 +509,7 @@ var CustomSchemaApi = /** @class */ (function (_super) {
|
|
|
503
509
|
return (0, exports.CustomSchemaApiFp)(this.configuration).createCustomSchema(requestParameters.createCustomSchemaRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
504
510
|
};
|
|
505
511
|
/**
|
|
506
|
-
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code
|
|
512
|
+
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information.
|
|
507
513
|
* @summary Retrieve the custom-schema
|
|
508
514
|
* @param {CustomSchemaApiGetCustomSchemaRequest} requestParameters Request parameters.
|
|
509
515
|
* @param {*} [options] Override http request option.
|
|
@@ -515,7 +521,7 @@ var CustomSchemaApi = /** @class */ (function (_super) {
|
|
|
515
521
|
return (0, exports.CustomSchemaApiFp)(this.configuration).getCustomSchema(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
516
522
|
};
|
|
517
523
|
/**
|
|
518
|
-
* Returns a list of custom-schemas you have previously created.
|
|
524
|
+
* Returns a list of custom-schemas you have previously created. The custom-schemas are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
519
525
|
* @summary List custom-schemas
|
|
520
526
|
* @param {CustomSchemaApiListCustomSchemasRequest} requestParameters Request parameters.
|
|
521
527
|
* @param {*} [options] Override http request option.
|
|
@@ -525,7 +531,7 @@ var CustomSchemaApi = /** @class */ (function (_super) {
|
|
|
525
531
|
CustomSchemaApi.prototype.listCustomSchemas = function (requestParameters, options) {
|
|
526
532
|
var _this = this;
|
|
527
533
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
528
|
-
return (0, exports.CustomSchemaApiFp)(this.configuration).listCustomSchemas(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
534
|
+
return (0, exports.CustomSchemaApiFp)(this.configuration).listCustomSchemas(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
529
535
|
};
|
|
530
536
|
/**
|
|
531
537
|
* Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -31,7 +31,7 @@ export declare const DataReportApiAxiosParamCreator: (configuration?: Configurat
|
|
|
31
31
|
* @param {*} [options] Override http request option.
|
|
32
32
|
* @throws {RequiredError}
|
|
33
33
|
*/
|
|
34
|
-
|
|
34
|
+
createDataReport: (createDataReportRequestDto: CreateDataReportRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
37
|
* @param {string} id
|
|
@@ -41,7 +41,7 @@ export declare const DataReportApiAxiosParamCreator: (configuration?: Configurat
|
|
|
41
41
|
*/
|
|
42
42
|
deleteAlert: (id: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
43
|
/**
|
|
44
|
-
* Retrieves the details of the data-report that was previously created. Supply the unique data-report code
|
|
44
|
+
* Retrieves the details of the data-report that was previously created. Supply the unique data-report code that was returned when you created it and Emil Api will return the corresponding data-report information.
|
|
45
45
|
* @summary Retrieve the data-report
|
|
46
46
|
* @param {string} code Unique identifier for the object.
|
|
47
47
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -51,19 +51,20 @@ export declare const DataReportApiAxiosParamCreator: (configuration?: Configurat
|
|
|
51
51
|
*/
|
|
52
52
|
getDataReport: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
53
|
/**
|
|
54
|
-
* Returns a list of data-reports you have previously created.
|
|
54
|
+
* Returns a list of data-reports you have previously created. The data-reports are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
55
55
|
* @summary List data-reports
|
|
56
56
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
57
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
57
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
58
58
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
59
59
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
60
|
-
* @param {any} [search]
|
|
60
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
61
61
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
62
62
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
63
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
63
64
|
* @param {*} [options] Override http request option.
|
|
64
65
|
* @throws {RequiredError}
|
|
65
66
|
*/
|
|
66
|
-
listDataReports: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
|
+
listDataReports: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
68
|
/**
|
|
68
69
|
* Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
69
70
|
* @summary Update the data-report
|
|
@@ -88,7 +89,7 @@ export declare const DataReportApiFp: (configuration?: Configuration) => {
|
|
|
88
89
|
* @param {*} [options] Override http request option.
|
|
89
90
|
* @throws {RequiredError}
|
|
90
91
|
*/
|
|
91
|
-
|
|
92
|
+
createDataReport(createDataReportRequestDto: CreateDataReportRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateDataReportResponseClass>>;
|
|
92
93
|
/**
|
|
93
94
|
*
|
|
94
95
|
* @param {string} id
|
|
@@ -98,7 +99,7 @@ export declare const DataReportApiFp: (configuration?: Configuration) => {
|
|
|
98
99
|
*/
|
|
99
100
|
deleteAlert(id: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
100
101
|
/**
|
|
101
|
-
* Retrieves the details of the data-report that was previously created. Supply the unique data-report code
|
|
102
|
+
* Retrieves the details of the data-report that was previously created. Supply the unique data-report code that was returned when you created it and Emil Api will return the corresponding data-report information.
|
|
102
103
|
* @summary Retrieve the data-report
|
|
103
104
|
* @param {string} code Unique identifier for the object.
|
|
104
105
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -108,19 +109,20 @@ export declare const DataReportApiFp: (configuration?: Configuration) => {
|
|
|
108
109
|
*/
|
|
109
110
|
getDataReport(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDataReportResponseClass>>;
|
|
110
111
|
/**
|
|
111
|
-
* Returns a list of data-reports you have previously created.
|
|
112
|
+
* Returns a list of data-reports you have previously created. The data-reports are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
112
113
|
* @summary List data-reports
|
|
113
114
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
114
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
115
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
115
116
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
116
117
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
117
|
-
* @param {any} [search]
|
|
118
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
118
119
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
119
120
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
121
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
120
122
|
* @param {*} [options] Override http request option.
|
|
121
123
|
* @throws {RequiredError}
|
|
122
124
|
*/
|
|
123
|
-
listDataReports(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDataReportsResponseClass>>;
|
|
125
|
+
listDataReports(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDataReportsResponseClass>>;
|
|
124
126
|
/**
|
|
125
127
|
* Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
126
128
|
* @summary Update the data-report
|
|
@@ -145,7 +147,7 @@ export declare const DataReportApiFactory: (configuration?: Configuration, baseP
|
|
|
145
147
|
* @param {*} [options] Override http request option.
|
|
146
148
|
* @throws {RequiredError}
|
|
147
149
|
*/
|
|
148
|
-
|
|
150
|
+
createDataReport(createDataReportRequestDto: CreateDataReportRequestDto, authorization?: string, options?: any): AxiosPromise<CreateDataReportResponseClass>;
|
|
149
151
|
/**
|
|
150
152
|
*
|
|
151
153
|
* @param {string} id
|
|
@@ -155,7 +157,7 @@ export declare const DataReportApiFactory: (configuration?: Configuration, baseP
|
|
|
155
157
|
*/
|
|
156
158
|
deleteAlert(id: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
157
159
|
/**
|
|
158
|
-
* Retrieves the details of the data-report that was previously created. Supply the unique data-report code
|
|
160
|
+
* Retrieves the details of the data-report that was previously created. Supply the unique data-report code that was returned when you created it and Emil Api will return the corresponding data-report information.
|
|
159
161
|
* @summary Retrieve the data-report
|
|
160
162
|
* @param {string} code Unique identifier for the object.
|
|
161
163
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -165,19 +167,20 @@ export declare const DataReportApiFactory: (configuration?: Configuration, baseP
|
|
|
165
167
|
*/
|
|
166
168
|
getDataReport(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetDataReportResponseClass>;
|
|
167
169
|
/**
|
|
168
|
-
* Returns a list of data-reports you have previously created.
|
|
170
|
+
* Returns a list of data-reports you have previously created. The data-reports are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
169
171
|
* @summary List data-reports
|
|
170
172
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
171
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
173
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
172
174
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
173
175
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
174
|
-
* @param {any} [search]
|
|
176
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
175
177
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
176
178
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
179
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
177
180
|
* @param {*} [options] Override http request option.
|
|
178
181
|
* @throws {RequiredError}
|
|
179
182
|
*/
|
|
180
|
-
listDataReports(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListDataReportsResponseClass>;
|
|
183
|
+
listDataReports(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListDataReportsResponseClass>;
|
|
181
184
|
/**
|
|
182
185
|
* Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
183
186
|
* @summary Update the data-report
|
|
@@ -190,21 +193,21 @@ export declare const DataReportApiFactory: (configuration?: Configuration, baseP
|
|
|
190
193
|
updateDataReport(code: string, updateDataReportRequestDto: UpdateDataReportRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateDataReportResponseClass>;
|
|
191
194
|
};
|
|
192
195
|
/**
|
|
193
|
-
* Request parameters for
|
|
196
|
+
* Request parameters for createDataReport operation in DataReportApi.
|
|
194
197
|
* @export
|
|
195
|
-
* @interface
|
|
198
|
+
* @interface DataReportApiCreateDataReportRequest
|
|
196
199
|
*/
|
|
197
|
-
export interface
|
|
200
|
+
export interface DataReportApiCreateDataReportRequest {
|
|
198
201
|
/**
|
|
199
202
|
*
|
|
200
203
|
* @type {CreateDataReportRequestDto}
|
|
201
|
-
* @memberof
|
|
204
|
+
* @memberof DataReportApiCreateDataReport
|
|
202
205
|
*/
|
|
203
206
|
readonly createDataReportRequestDto: CreateDataReportRequestDto;
|
|
204
207
|
/**
|
|
205
208
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
206
209
|
* @type {string}
|
|
207
|
-
* @memberof
|
|
210
|
+
* @memberof DataReportApiCreateDataReport
|
|
208
211
|
*/
|
|
209
212
|
readonly authorization?: string;
|
|
210
213
|
}
|
|
@@ -265,7 +268,7 @@ export interface DataReportApiListDataReportsRequest {
|
|
|
265
268
|
*/
|
|
266
269
|
readonly authorization?: string;
|
|
267
270
|
/**
|
|
268
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
271
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
269
272
|
* @type {any}
|
|
270
273
|
* @memberof DataReportApiListDataReports
|
|
271
274
|
*/
|
|
@@ -283,7 +286,7 @@ export interface DataReportApiListDataReportsRequest {
|
|
|
283
286
|
*/
|
|
284
287
|
readonly filter?: any;
|
|
285
288
|
/**
|
|
286
|
-
*
|
|
289
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
287
290
|
* @type {any}
|
|
288
291
|
* @memberof DataReportApiListDataReports
|
|
289
292
|
*/
|
|
@@ -300,6 +303,12 @@ export interface DataReportApiListDataReportsRequest {
|
|
|
300
303
|
* @memberof DataReportApiListDataReports
|
|
301
304
|
*/
|
|
302
305
|
readonly expand?: any;
|
|
306
|
+
/**
|
|
307
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
308
|
+
* @type {any}
|
|
309
|
+
* @memberof DataReportApiListDataReports
|
|
310
|
+
*/
|
|
311
|
+
readonly filters?: any;
|
|
303
312
|
}
|
|
304
313
|
/**
|
|
305
314
|
* Request parameters for updateDataReport operation in DataReportApi.
|
|
@@ -336,12 +345,12 @@ export declare class DataReportApi extends BaseAPI {
|
|
|
336
345
|
/**
|
|
337
346
|
* This will create a data report for tenant in the database
|
|
338
347
|
* @summary Create the data-report
|
|
339
|
-
* @param {
|
|
348
|
+
* @param {DataReportApiCreateDataReportRequest} requestParameters Request parameters.
|
|
340
349
|
* @param {*} [options] Override http request option.
|
|
341
350
|
* @throws {RequiredError}
|
|
342
351
|
* @memberof DataReportApi
|
|
343
352
|
*/
|
|
344
|
-
|
|
353
|
+
createDataReport(requestParameters: DataReportApiCreateDataReportRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateDataReportResponseClass, any>>;
|
|
345
354
|
/**
|
|
346
355
|
*
|
|
347
356
|
* @param {DataReportApiDeleteAlertRequest} requestParameters Request parameters.
|
|
@@ -351,7 +360,7 @@ export declare class DataReportApi extends BaseAPI {
|
|
|
351
360
|
*/
|
|
352
361
|
deleteAlert(requestParameters: DataReportApiDeleteAlertRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
353
362
|
/**
|
|
354
|
-
* Retrieves the details of the data-report that was previously created. Supply the unique data-report code
|
|
363
|
+
* Retrieves the details of the data-report that was previously created. Supply the unique data-report code that was returned when you created it and Emil Api will return the corresponding data-report information.
|
|
355
364
|
* @summary Retrieve the data-report
|
|
356
365
|
* @param {DataReportApiGetDataReportRequest} requestParameters Request parameters.
|
|
357
366
|
* @param {*} [options] Override http request option.
|
|
@@ -360,7 +369,7 @@ export declare class DataReportApi extends BaseAPI {
|
|
|
360
369
|
*/
|
|
361
370
|
getDataReport(requestParameters: DataReportApiGetDataReportRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDataReportResponseClass, any>>;
|
|
362
371
|
/**
|
|
363
|
-
* Returns a list of data-reports you have previously created.
|
|
372
|
+
* Returns a list of data-reports you have previously created. The data-reports are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
364
373
|
* @summary List data-reports
|
|
365
374
|
* @param {DataReportApiListDataReportsRequest} requestParameters Request parameters.
|
|
366
375
|
* @param {*} [options] Override http request option.
|
|
@@ -100,7 +100,7 @@ var DataReportApiAxiosParamCreator = function (configuration) {
|
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
101
101
|
* @throws {RequiredError}
|
|
102
102
|
*/
|
|
103
|
-
|
|
103
|
+
createDataReport: function (createDataReportRequestDto, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
106
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -108,7 +108,7 @@ var DataReportApiAxiosParamCreator = function (configuration) {
|
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
110
110
|
// verify required parameter 'createDataReportRequestDto' is not null or undefined
|
|
111
|
-
(0, common_1.assertParamExists)('
|
|
111
|
+
(0, common_1.assertParamExists)('createDataReport', 'createDataReportRequestDto', createDataReportRequestDto);
|
|
112
112
|
localVarPath = "/tenantservice/v1/data-reports";
|
|
113
113
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
114
|
if (configuration) {
|
|
@@ -189,7 +189,7 @@ var DataReportApiAxiosParamCreator = function (configuration) {
|
|
|
189
189
|
});
|
|
190
190
|
},
|
|
191
191
|
/**
|
|
192
|
-
* Retrieves the details of the data-report that was previously created. Supply the unique data-report code
|
|
192
|
+
* Retrieves the details of the data-report that was previously created. Supply the unique data-report code that was returned when you created it and Emil Api will return the corresponding data-report information.
|
|
193
193
|
* @summary Retrieve the data-report
|
|
194
194
|
* @param {string} code Unique identifier for the object.
|
|
195
195
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -241,19 +241,20 @@ var DataReportApiAxiosParamCreator = function (configuration) {
|
|
|
241
241
|
});
|
|
242
242
|
},
|
|
243
243
|
/**
|
|
244
|
-
* Returns a list of data-reports you have previously created.
|
|
244
|
+
* Returns a list of data-reports you have previously created. The data-reports are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
245
245
|
* @summary List data-reports
|
|
246
246
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
247
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
247
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
248
248
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
249
249
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
250
|
-
* @param {any} [search]
|
|
250
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
251
251
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
252
252
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
253
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
253
254
|
* @param {*} [options] Override http request option.
|
|
254
255
|
* @throws {RequiredError}
|
|
255
256
|
*/
|
|
256
|
-
listDataReports: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
257
|
+
listDataReports: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
257
258
|
if (options === void 0) { options = {}; }
|
|
258
259
|
return __awaiter(_this, void 0, void 0, function () {
|
|
259
260
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -294,6 +295,9 @@ var DataReportApiAxiosParamCreator = function (configuration) {
|
|
|
294
295
|
if (expand !== undefined) {
|
|
295
296
|
localVarQueryParameter['expand'] = expand;
|
|
296
297
|
}
|
|
298
|
+
if (filters !== undefined) {
|
|
299
|
+
localVarQueryParameter['filters'] = filters;
|
|
300
|
+
}
|
|
297
301
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
298
302
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
299
303
|
}
|
|
@@ -379,12 +383,12 @@ var DataReportApiFp = function (configuration) {
|
|
|
379
383
|
* @param {*} [options] Override http request option.
|
|
380
384
|
* @throws {RequiredError}
|
|
381
385
|
*/
|
|
382
|
-
|
|
386
|
+
createDataReport: function (createDataReportRequestDto, authorization, options) {
|
|
383
387
|
return __awaiter(this, void 0, void 0, function () {
|
|
384
388
|
var localVarAxiosArgs;
|
|
385
389
|
return __generator(this, function (_a) {
|
|
386
390
|
switch (_a.label) {
|
|
387
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
391
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createDataReport(createDataReportRequestDto, authorization, options)];
|
|
388
392
|
case 1:
|
|
389
393
|
localVarAxiosArgs = _a.sent();
|
|
390
394
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -413,7 +417,7 @@ var DataReportApiFp = function (configuration) {
|
|
|
413
417
|
});
|
|
414
418
|
},
|
|
415
419
|
/**
|
|
416
|
-
* Retrieves the details of the data-report that was previously created. Supply the unique data-report code
|
|
420
|
+
* Retrieves the details of the data-report that was previously created. Supply the unique data-report code that was returned when you created it and Emil Api will return the corresponding data-report information.
|
|
417
421
|
* @summary Retrieve the data-report
|
|
418
422
|
* @param {string} code Unique identifier for the object.
|
|
419
423
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -435,24 +439,25 @@ var DataReportApiFp = function (configuration) {
|
|
|
435
439
|
});
|
|
436
440
|
},
|
|
437
441
|
/**
|
|
438
|
-
* Returns a list of data-reports you have previously created.
|
|
442
|
+
* Returns a list of data-reports you have previously created. The data-reports are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
439
443
|
* @summary List data-reports
|
|
440
444
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
441
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
445
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
442
446
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
443
447
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
444
|
-
* @param {any} [search]
|
|
448
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
445
449
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
446
450
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
451
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
447
452
|
* @param {*} [options] Override http request option.
|
|
448
453
|
* @throws {RequiredError}
|
|
449
454
|
*/
|
|
450
|
-
listDataReports: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
455
|
+
listDataReports: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
451
456
|
return __awaiter(this, void 0, void 0, function () {
|
|
452
457
|
var localVarAxiosArgs;
|
|
453
458
|
return __generator(this, function (_a) {
|
|
454
459
|
switch (_a.label) {
|
|
455
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDataReports(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
460
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDataReports(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
456
461
|
case 1:
|
|
457
462
|
localVarAxiosArgs = _a.sent();
|
|
458
463
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -500,8 +505,8 @@ var DataReportApiFactory = function (configuration, basePath, axios) {
|
|
|
500
505
|
* @param {*} [options] Override http request option.
|
|
501
506
|
* @throws {RequiredError}
|
|
502
507
|
*/
|
|
503
|
-
|
|
504
|
-
return localVarFp.
|
|
508
|
+
createDataReport: function (createDataReportRequestDto, authorization, options) {
|
|
509
|
+
return localVarFp.createDataReport(createDataReportRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
505
510
|
},
|
|
506
511
|
/**
|
|
507
512
|
*
|
|
@@ -514,7 +519,7 @@ var DataReportApiFactory = function (configuration, basePath, axios) {
|
|
|
514
519
|
return localVarFp.deleteAlert(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
515
520
|
},
|
|
516
521
|
/**
|
|
517
|
-
* Retrieves the details of the data-report that was previously created. Supply the unique data-report code
|
|
522
|
+
* Retrieves the details of the data-report that was previously created. Supply the unique data-report code that was returned when you created it and Emil Api will return the corresponding data-report information.
|
|
518
523
|
* @summary Retrieve the data-report
|
|
519
524
|
* @param {string} code Unique identifier for the object.
|
|
520
525
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -526,20 +531,21 @@ var DataReportApiFactory = function (configuration, basePath, axios) {
|
|
|
526
531
|
return localVarFp.getDataReport(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
527
532
|
},
|
|
528
533
|
/**
|
|
529
|
-
* Returns a list of data-reports you have previously created.
|
|
534
|
+
* Returns a list of data-reports you have previously created. The data-reports are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
530
535
|
* @summary List data-reports
|
|
531
536
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
532
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
537
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
533
538
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
534
539
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
535
|
-
* @param {any} [search]
|
|
540
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
536
541
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
537
542
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
543
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
538
544
|
* @param {*} [options] Override http request option.
|
|
539
545
|
* @throws {RequiredError}
|
|
540
546
|
*/
|
|
541
|
-
listDataReports: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
542
|
-
return localVarFp.listDataReports(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
547
|
+
listDataReports: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
548
|
+
return localVarFp.listDataReports(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
543
549
|
},
|
|
544
550
|
/**
|
|
545
551
|
* Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -570,14 +576,14 @@ var DataReportApi = /** @class */ (function (_super) {
|
|
|
570
576
|
/**
|
|
571
577
|
* This will create a data report for tenant in the database
|
|
572
578
|
* @summary Create the data-report
|
|
573
|
-
* @param {
|
|
579
|
+
* @param {DataReportApiCreateDataReportRequest} requestParameters Request parameters.
|
|
574
580
|
* @param {*} [options] Override http request option.
|
|
575
581
|
* @throws {RequiredError}
|
|
576
582
|
* @memberof DataReportApi
|
|
577
583
|
*/
|
|
578
|
-
DataReportApi.prototype.
|
|
584
|
+
DataReportApi.prototype.createDataReport = function (requestParameters, options) {
|
|
579
585
|
var _this = this;
|
|
580
|
-
return (0, exports.DataReportApiFp)(this.configuration).
|
|
586
|
+
return (0, exports.DataReportApiFp)(this.configuration).createDataReport(requestParameters.createDataReportRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
581
587
|
};
|
|
582
588
|
/**
|
|
583
589
|
*
|
|
@@ -591,7 +597,7 @@ var DataReportApi = /** @class */ (function (_super) {
|
|
|
591
597
|
return (0, exports.DataReportApiFp)(this.configuration).deleteAlert(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
592
598
|
};
|
|
593
599
|
/**
|
|
594
|
-
* Retrieves the details of the data-report that was previously created. Supply the unique data-report code
|
|
600
|
+
* Retrieves the details of the data-report that was previously created. Supply the unique data-report code that was returned when you created it and Emil Api will return the corresponding data-report information.
|
|
595
601
|
* @summary Retrieve the data-report
|
|
596
602
|
* @param {DataReportApiGetDataReportRequest} requestParameters Request parameters.
|
|
597
603
|
* @param {*} [options] Override http request option.
|
|
@@ -603,7 +609,7 @@ var DataReportApi = /** @class */ (function (_super) {
|
|
|
603
609
|
return (0, exports.DataReportApiFp)(this.configuration).getDataReport(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
604
610
|
};
|
|
605
611
|
/**
|
|
606
|
-
* Returns a list of data-reports you have previously created.
|
|
612
|
+
* Returns a list of data-reports you have previously created. The data-reports are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
607
613
|
* @summary List data-reports
|
|
608
614
|
* @param {DataReportApiListDataReportsRequest} requestParameters Request parameters.
|
|
609
615
|
* @param {*} [options] Override http request option.
|
|
@@ -613,7 +619,7 @@ var DataReportApi = /** @class */ (function (_super) {
|
|
|
613
619
|
DataReportApi.prototype.listDataReports = function (requestParameters, options) {
|
|
614
620
|
var _this = this;
|
|
615
621
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
616
|
-
return (0, exports.DataReportApiFp)(this.configuration).listDataReports(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
622
|
+
return (0, exports.DataReportApiFp)(this.configuration).listDataReports(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
617
623
|
};
|
|
618
624
|
/**
|
|
619
625
|
* Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|