@emilgroup/tenant-sdk 1.0.0 → 1.0.1
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 +57 -14
- package/README.md +2 -2
- package/api/alerts-api.ts +860 -0
- package/api/custom-schema-api.ts +60 -52
- package/api/dashboard-api.ts +792 -0
- package/api/data-report-api.ts +75 -65
- package/api/data-report-executor-api.ts +26 -10
- package/api/invite-users-api.ts +79 -75
- package/api/reports-api.ts +860 -0
- package/api/scenario-analysis-api.ts +977 -0
- package/api/settings-api.ts +484 -0
- package/api/tariff-comparisons-api.ts +381 -0
- package/api/{invite-organizations-api.ts → user-subscription-api.ts} +161 -139
- package/api/users-api.ts +148 -138
- package/api.ts +14 -4
- package/dist/api/alerts-api.d.ts +479 -0
- package/dist/api/alerts-api.js +752 -0
- package/dist/api/custom-schema-api.d.ts +42 -42
- package/dist/api/custom-schema-api.js +38 -31
- package/dist/api/dashboard-api.d.ts +434 -0
- package/dist/api/dashboard-api.js +724 -0
- package/dist/api/data-report-api.d.ts +52 -52
- package/dist/api/data-report-api.js +49 -40
- package/dist/api/data-report-executor-api.d.ts +16 -7
- package/dist/api/data-report-executor-api.js +17 -9
- package/dist/api/invite-users-api.d.ts +60 -63
- package/dist/api/invite-users-api.js +49 -40
- package/dist/api/reports-api.d.ts +479 -0
- package/dist/api/reports-api.js +752 -0
- package/dist/api/scenario-analysis-api.d.ts +529 -0
- package/dist/api/scenario-analysis-api.js +895 -0
- package/dist/api/settings-api.d.ts +264 -0
- package/dist/api/settings-api.js +509 -0
- package/dist/api/tariff-comparisons-api.d.ts +206 -0
- package/dist/api/{organizations-api.js → tariff-comparisons-api.js} +158 -99
- package/dist/api/{organizations-api.d.ts → user-subscription-api.d.ts} +103 -88
- package/dist/api/{invite-organizations-api.js → user-subscription-api.js} +114 -106
- package/dist/api/users-api.d.ts +109 -113
- package/dist/api/users-api.js +93 -76
- package/dist/api.d.ts +7 -2
- package/dist/api.js +7 -2
- package/dist/models/alert-class.d.ts +90 -0
- package/dist/models/alert-history-class.d.ts +108 -0
- package/dist/models/assign-user-roles-request-dto.d.ts +2 -2
- package/dist/models/channel-response-class.d.ts +30 -0
- package/dist/models/compare-tariffs-request-dto.d.ts +37 -0
- package/dist/models/compare-tariffs-request-dto.js +22 -0
- package/dist/models/compare-tariffs-response-class.d.ts +31 -0
- package/dist/models/condition-dto.d.ts +43 -0
- package/dist/models/condition-dto.js +22 -0
- package/dist/models/create-alert-request-dto.d.ts +79 -0
- package/dist/models/create-alert-request-dto.js +27 -0
- package/dist/models/create-alert-response-class.d.ts +25 -0
- package/dist/models/create-custom-schema-request-dto.d.ts +0 -1
- package/dist/models/create-custom-schema-request-dto.js +1 -2
- package/dist/models/create-dashboard-request-dto.d.ts +70 -0
- package/dist/models/create-dashboard-request-dto.js +29 -0
- package/dist/models/create-dashboard-response-class.d.ts +25 -0
- package/dist/models/create-report-request-dto.d.ts +49 -0
- package/dist/models/create-report-request-dto.js +22 -0
- package/dist/models/create-report-response-class.d.ts +25 -0
- package/dist/models/create-scenario-analysis-request-dto.d.ts +74 -0
- package/dist/models/create-scenario-analysis-request-dto.js +22 -0
- package/dist/models/create-scenario-analysis-response-class.d.ts +25 -0
- package/dist/models/dashboard-class.d.ts +78 -0
- package/dist/models/get-alert-response-class.d.ts +25 -0
- package/dist/models/get-dashboard-response-class.d.ts +25 -0
- package/dist/models/{delete-response-class.d.ts → get-embedded-url-response-class.d.ts} +6 -6
- package/dist/models/get-report-response-class.d.ts +25 -0
- package/dist/models/get-report-response-class.js +15 -0
- package/dist/models/get-scenario-analysis-response-class.d.ts +25 -0
- package/dist/models/get-scenario-analysis-response-class.js +15 -0
- package/dist/models/grouped-tariff-class.d.ts +30 -0
- package/dist/models/grouped-tariff-class.js +15 -0
- package/dist/models/index.d.ts +50 -12
- package/dist/models/index.js +50 -12
- package/dist/models/{enable-users-response-class.d.ts → insurance-company-response-class.d.ts} +6 -6
- package/dist/models/insurance-company-response-class.js +15 -0
- package/dist/models/{disable-users-response-class.d.ts → insurance-response-class.d.ts} +6 -6
- package/dist/models/insurance-response-class.js +15 -0
- package/dist/models/invite-user-request-dto.d.ts +2 -8
- package/dist/models/invite-users-request-dto.d.ts +2 -2
- package/dist/models/{list-organizations-response-class.d.ts → list-alert-history-response-class.d.ts} +9 -9
- package/dist/models/list-alert-history-response-class.js +15 -0
- package/dist/models/list-alerts-response-class.d.ts +31 -0
- package/dist/models/list-alerts-response-class.js +15 -0
- package/dist/models/list-channels-response-class.d.ts +25 -0
- package/dist/models/list-channels-response-class.js +15 -0
- package/dist/models/list-dashboards-response-class.d.ts +31 -0
- package/dist/models/list-dashboards-response-class.js +15 -0
- package/dist/models/list-insurance-companies-response-class.d.ts +25 -0
- package/dist/models/list-insurance-companies-response-class.js +15 -0
- package/dist/models/list-report-history-response-class.d.ts +31 -0
- package/dist/models/list-report-history-response-class.js +15 -0
- package/dist/models/list-reports-response-class.d.ts +31 -0
- package/dist/models/list-reports-response-class.js +15 -0
- package/dist/models/list-scenario-analyses-response-class.d.ts +31 -0
- package/dist/models/list-scenario-analyses-response-class.js +15 -0
- package/dist/models/list-scenario-analysis-dates-response-class.d.ts +25 -0
- package/dist/models/list-scenario-analysis-dates-response-class.js +15 -0
- package/dist/models/list-tariff-insurance-companies-response-class.d.ts +25 -0
- package/dist/models/list-tariff-insurance-companies-response-class.js +15 -0
- package/dist/models/list-tariffs-response-class.d.ts +25 -0
- package/dist/models/list-tariffs-response-class.js +15 -0
- package/dist/models/{list-org-invitations-response-class.d.ts → list-user-subscriptions-response-class.d.ts} +8 -8
- package/dist/models/list-user-subscriptions-response-class.js +15 -0
- package/dist/models/{batch-delete-response-class.d.ts → manage-subscription-request-dto.d.ts} +5 -5
- package/dist/models/manage-subscription-request-dto.js +15 -0
- package/dist/models/manage-subscription-response-class.d.ts +25 -0
- package/dist/models/manage-subscription-response-class.js +15 -0
- package/dist/models/report-class.d.ts +66 -0
- package/dist/models/report-class.js +15 -0
- package/dist/models/report-history-class.d.ts +48 -0
- package/dist/models/report-history-class.js +15 -0
- package/dist/models/scenario-analysis-class.d.ts +108 -0
- package/dist/models/scenario-analysis-class.js +15 -0
- package/dist/models/scenario-analysis-date-response-class.d.ts +36 -0
- package/dist/models/scenario-analysis-date-response-class.js +15 -0
- package/dist/models/set-setting-request-dto.d.ts +4 -10
- package/dist/models/set-tenant-setting-response-class.d.ts +36 -0
- package/dist/models/set-tenant-setting-response-class.js +15 -0
- package/dist/models/subscription-class.d.ts +2 -9
- package/dist/models/update-alert-request-dto.d.ts +72 -0
- package/dist/models/update-alert-request-dto.js +21 -0
- package/dist/models/update-alert-response-class.d.ts +25 -0
- package/dist/models/update-alert-response-class.js +15 -0
- package/dist/models/update-custom-schema-request-dto.d.ts +0 -1
- package/dist/models/update-custom-schema-request-dto.js +1 -2
- package/dist/models/update-dashboard-request-dto.d.ts +76 -0
- package/dist/models/update-dashboard-request-dto.js +29 -0
- package/dist/models/update-dashboard-response-class.d.ts +25 -0
- package/dist/models/update-dashboard-response-class.js +15 -0
- package/dist/models/update-report-request-dto.d.ts +55 -0
- package/dist/models/update-report-request-dto.js +22 -0
- package/dist/models/update-report-response-class.d.ts +25 -0
- package/dist/models/update-report-response-class.js +15 -0
- package/dist/models/update-scenario-analysis-request-dto.d.ts +74 -0
- package/dist/models/update-scenario-analysis-request-dto.js +22 -0
- package/dist/models/update-scenario-analysis-response-class.d.ts +25 -0
- package/dist/models/update-scenario-analysis-response-class.js +15 -0
- package/dist/models/user-class.d.ts +5 -13
- package/models/alert-class.ts +96 -0
- package/models/alert-history-class.ts +114 -0
- package/models/assign-user-roles-request-dto.ts +2 -2
- package/models/channel-response-class.ts +36 -0
- package/models/compare-tariffs-request-dto.ts +46 -0
- package/models/compare-tariffs-response-class.ts +37 -0
- package/models/condition-dto.ts +52 -0
- package/models/create-alert-request-dto.ts +89 -0
- package/models/create-alert-response-class.ts +31 -0
- package/models/create-custom-schema-request-dto.ts +1 -2
- package/models/create-dashboard-request-dto.ts +81 -0
- package/models/create-dashboard-response-class.ts +31 -0
- package/models/create-report-request-dto.ts +58 -0
- package/models/create-report-response-class.ts +31 -0
- package/models/create-scenario-analysis-request-dto.ts +83 -0
- package/models/create-scenario-analysis-response-class.ts +31 -0
- package/models/dashboard-class.ts +84 -0
- package/models/get-alert-response-class.ts +31 -0
- package/models/get-dashboard-response-class.ts +31 -0
- package/models/{disable-users-response-class.ts → get-embedded-url-response-class.ts} +6 -6
- package/models/get-report-response-class.ts +31 -0
- package/models/get-scenario-analysis-response-class.ts +31 -0
- package/models/grouped-tariff-class.ts +36 -0
- package/models/index.ts +50 -12
- package/models/{enable-users-response-class.ts → insurance-company-response-class.ts} +6 -6
- package/models/{delete-response-class.ts → insurance-response-class.ts} +6 -6
- package/models/invite-user-request-dto.ts +2 -8
- package/models/invite-users-request-dto.ts +2 -2
- package/models/{list-organizations-response-class.ts → list-alert-history-response-class.ts} +9 -9
- package/models/list-alerts-response-class.ts +37 -0
- package/models/list-channels-response-class.ts +31 -0
- package/models/list-dashboards-response-class.ts +37 -0
- package/models/list-insurance-companies-response-class.ts +31 -0
- package/models/list-report-history-response-class.ts +37 -0
- package/models/list-reports-response-class.ts +37 -0
- package/models/list-scenario-analyses-response-class.ts +37 -0
- package/models/list-scenario-analysis-dates-response-class.ts +31 -0
- package/models/list-tariff-insurance-companies-response-class.ts +31 -0
- package/models/list-tariffs-response-class.ts +31 -0
- package/models/{list-org-invitations-response-class.ts → list-user-subscriptions-response-class.ts} +8 -8
- package/models/{batch-delete-response-class.ts → manage-subscription-request-dto.ts} +5 -5
- package/models/manage-subscription-response-class.ts +31 -0
- package/models/report-class.ts +72 -0
- package/models/report-history-class.ts +54 -0
- package/models/scenario-analysis-class.ts +114 -0
- package/models/scenario-analysis-date-response-class.ts +42 -0
- package/models/set-setting-request-dto.ts +4 -10
- package/models/set-tenant-setting-response-class.ts +42 -0
- package/models/subscription-class.ts +2 -9
- package/models/update-alert-request-dto.ts +81 -0
- package/models/update-alert-response-class.ts +31 -0
- package/models/update-custom-schema-request-dto.ts +1 -2
- package/models/update-dashboard-request-dto.ts +87 -0
- package/models/update-dashboard-response-class.ts +31 -0
- package/models/update-report-request-dto.ts +64 -0
- package/models/update-report-response-class.ts +31 -0
- package/models/update-scenario-analysis-request-dto.ts +83 -0
- package/models/update-scenario-analysis-response-class.ts +31 -0
- package/models/user-class.ts +5 -13
- package/package.json +1 -1
- package/api/organizations-api.ts +0 -339
- package/dist/api/invite-organizations-api.d.ts +0 -198
- package/dist/models/get-organization-response-class.d.ts +0 -25
- package/dist/models/invite-org-request-dto.d.ts +0 -78
- package/dist/models/invite-users-response-class.d.ts +0 -24
- package/dist/models/org-invitation-class.d.ts +0 -103
- package/dist/models/org-invitation-response-class.d.ts +0 -25
- package/dist/models/organization-class.d.ts +0 -84
- package/models/get-organization-response-class.ts +0 -31
- package/models/invite-org-request-dto.ts +0 -84
- package/models/invite-users-response-class.ts +0 -30
- package/models/org-invitation-class.ts +0 -109
- package/models/org-invitation-response-class.ts +0 -31
- package/models/organization-class.ts +0 -90
- /package/dist/models/{batch-delete-response-class.js → alert-class.js} +0 -0
- /package/dist/models/{delete-response-class.js → alert-history-class.js} +0 -0
- /package/dist/models/{disable-users-response-class.js → channel-response-class.js} +0 -0
- /package/dist/models/{enable-users-response-class.js → compare-tariffs-response-class.js} +0 -0
- /package/dist/models/{get-organization-response-class.js → create-alert-response-class.js} +0 -0
- /package/dist/models/{invite-org-request-dto.js → create-dashboard-response-class.js} +0 -0
- /package/dist/models/{invite-users-response-class.js → create-report-response-class.js} +0 -0
- /package/dist/models/{list-org-invitations-response-class.js → create-scenario-analysis-response-class.js} +0 -0
- /package/dist/models/{list-organizations-response-class.js → dashboard-class.js} +0 -0
- /package/dist/models/{org-invitation-class.js → get-alert-response-class.js} +0 -0
- /package/dist/models/{org-invitation-response-class.js → get-dashboard-response-class.js} +0 -0
- /package/dist/models/{organization-class.js → get-embedded-url-response-class.js} +0 -0
|
@@ -26,34 +26,34 @@ export declare const DataReportApiAxiosParamCreator: (configuration?: Configurat
|
|
|
26
26
|
/**
|
|
27
27
|
* This will create a data report for tenant in the database
|
|
28
28
|
* @summary Create the data-report
|
|
29
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
29
30
|
* @param {CreateDataReportRequestDto} createDataReportRequestDto
|
|
30
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
31
31
|
* @param {*} [options] Override http request option.
|
|
32
32
|
* @throws {RequiredError}
|
|
33
33
|
*/
|
|
34
|
-
createCustomSchema: (
|
|
34
|
+
createCustomSchema: (authorization: string, createDataReportRequestDto: CreateDataReportRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
37
38
|
* @param {string} id
|
|
38
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
40
40
|
* @throws {RequiredError}
|
|
41
41
|
*/
|
|
42
|
-
deleteAlert: (
|
|
42
|
+
deleteAlert: (authorization: string, id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
43
|
/**
|
|
44
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
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
46
47
|
* @param {string} code Unique identifier for the object.
|
|
47
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
48
48
|
* @param {string} [expand] Fields to expand response by
|
|
49
49
|
* @param {*} [options] Override http request option.
|
|
50
50
|
* @throws {RequiredError}
|
|
51
51
|
*/
|
|
52
|
-
getDataReport: (
|
|
52
|
+
getDataReport: (authorization: string, code: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
53
|
/**
|
|
54
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
|
-
* @param {string}
|
|
56
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
57
57
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. 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.
|
|
@@ -63,17 +63,17 @@ export declare const DataReportApiAxiosParamCreator: (configuration?: Configurat
|
|
|
63
63
|
* @param {*} [options] Override http request option.
|
|
64
64
|
* @throws {RequiredError}
|
|
65
65
|
*/
|
|
66
|
-
listDataReports: (authorization
|
|
66
|
+
listDataReports: (authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
67
|
/**
|
|
68
68
|
* Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
69
69
|
* @summary Update the data-report
|
|
70
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
70
71
|
* @param {string} code
|
|
71
72
|
* @param {UpdateDataReportRequestDto} updateDataReportRequestDto
|
|
72
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
73
73
|
* @param {*} [options] Override http request option.
|
|
74
74
|
* @throws {RequiredError}
|
|
75
75
|
*/
|
|
76
|
-
updateDataReport: (code: string, updateDataReportRequestDto: UpdateDataReportRequestDto,
|
|
76
|
+
updateDataReport: (authorization: string, code: string, updateDataReportRequestDto: UpdateDataReportRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
77
77
|
};
|
|
78
78
|
/**
|
|
79
79
|
* DataReportApi - functional programming interface
|
|
@@ -83,34 +83,34 @@ export declare const DataReportApiFp: (configuration?: Configuration) => {
|
|
|
83
83
|
/**
|
|
84
84
|
* This will create a data report for tenant in the database
|
|
85
85
|
* @summary Create the data-report
|
|
86
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
86
87
|
* @param {CreateDataReportRequestDto} createDataReportRequestDto
|
|
87
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
88
88
|
* @param {*} [options] Override http request option.
|
|
89
89
|
* @throws {RequiredError}
|
|
90
90
|
*/
|
|
91
|
-
createCustomSchema(
|
|
91
|
+
createCustomSchema(authorization: string, createDataReportRequestDto: CreateDataReportRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateDataReportResponseClass>>;
|
|
92
92
|
/**
|
|
93
93
|
*
|
|
94
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
94
95
|
* @param {string} id
|
|
95
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
96
96
|
* @param {*} [options] Override http request option.
|
|
97
97
|
* @throws {RequiredError}
|
|
98
98
|
*/
|
|
99
|
-
deleteAlert(
|
|
99
|
+
deleteAlert(authorization: string, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
100
100
|
/**
|
|
101
101
|
* 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
102
|
* @summary Retrieve the data-report
|
|
103
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
103
104
|
* @param {string} code Unique identifier for the object.
|
|
104
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
105
105
|
* @param {string} [expand] Fields to expand response by
|
|
106
106
|
* @param {*} [options] Override http request option.
|
|
107
107
|
* @throws {RequiredError}
|
|
108
108
|
*/
|
|
109
|
-
getDataReport(
|
|
109
|
+
getDataReport(authorization: string, code: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDataReportResponseClass>>;
|
|
110
110
|
/**
|
|
111
111
|
* 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
112
|
* @summary List data-reports
|
|
113
|
-
* @param {string}
|
|
113
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
114
114
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
115
115
|
* @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
116
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -120,17 +120,17 @@ export declare const DataReportApiFp: (configuration?: Configuration) => {
|
|
|
120
120
|
* @param {*} [options] Override http request option.
|
|
121
121
|
* @throws {RequiredError}
|
|
122
122
|
*/
|
|
123
|
-
listDataReports(authorization
|
|
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>>;
|
|
124
124
|
/**
|
|
125
125
|
* Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
126
126
|
* @summary Update the data-report
|
|
127
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
127
128
|
* @param {string} code
|
|
128
129
|
* @param {UpdateDataReportRequestDto} updateDataReportRequestDto
|
|
129
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
130
130
|
* @param {*} [options] Override http request option.
|
|
131
131
|
* @throws {RequiredError}
|
|
132
132
|
*/
|
|
133
|
-
updateDataReport(code: string, updateDataReportRequestDto: UpdateDataReportRequestDto,
|
|
133
|
+
updateDataReport(authorization: string, code: string, updateDataReportRequestDto: UpdateDataReportRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateDataReportResponseClass>>;
|
|
134
134
|
};
|
|
135
135
|
/**
|
|
136
136
|
* DataReportApi - factory interface
|
|
@@ -140,34 +140,34 @@ export declare const DataReportApiFactory: (configuration?: Configuration, baseP
|
|
|
140
140
|
/**
|
|
141
141
|
* This will create a data report for tenant in the database
|
|
142
142
|
* @summary Create the data-report
|
|
143
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
143
144
|
* @param {CreateDataReportRequestDto} createDataReportRequestDto
|
|
144
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
145
145
|
* @param {*} [options] Override http request option.
|
|
146
146
|
* @throws {RequiredError}
|
|
147
147
|
*/
|
|
148
|
-
createCustomSchema(
|
|
148
|
+
createCustomSchema(authorization: string, createDataReportRequestDto: CreateDataReportRequestDto, options?: any): AxiosPromise<CreateDataReportResponseClass>;
|
|
149
149
|
/**
|
|
150
150
|
*
|
|
151
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
151
152
|
* @param {string} id
|
|
152
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
153
153
|
* @param {*} [options] Override http request option.
|
|
154
154
|
* @throws {RequiredError}
|
|
155
155
|
*/
|
|
156
|
-
deleteAlert(
|
|
156
|
+
deleteAlert(authorization: string, id: string, options?: any): AxiosPromise<void>;
|
|
157
157
|
/**
|
|
158
158
|
* 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
159
|
* @summary Retrieve the data-report
|
|
160
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
160
161
|
* @param {string} code Unique identifier for the object.
|
|
161
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
162
162
|
* @param {string} [expand] Fields to expand response by
|
|
163
163
|
* @param {*} [options] Override http request option.
|
|
164
164
|
* @throws {RequiredError}
|
|
165
165
|
*/
|
|
166
|
-
getDataReport(
|
|
166
|
+
getDataReport(authorization: string, code: string, expand?: string, options?: any): AxiosPromise<GetDataReportResponseClass>;
|
|
167
167
|
/**
|
|
168
168
|
* 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
169
|
* @summary List data-reports
|
|
170
|
-
* @param {string}
|
|
170
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
171
171
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
172
172
|
* @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
173
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -177,17 +177,17 @@ export declare const DataReportApiFactory: (configuration?: Configuration, baseP
|
|
|
177
177
|
* @param {*} [options] Override http request option.
|
|
178
178
|
* @throws {RequiredError}
|
|
179
179
|
*/
|
|
180
|
-
listDataReports(authorization
|
|
180
|
+
listDataReports(authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListDataReportsResponseClass>;
|
|
181
181
|
/**
|
|
182
182
|
* Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
183
183
|
* @summary Update the data-report
|
|
184
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
184
185
|
* @param {string} code
|
|
185
186
|
* @param {UpdateDataReportRequestDto} updateDataReportRequestDto
|
|
186
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
187
187
|
* @param {*} [options] Override http request option.
|
|
188
188
|
* @throws {RequiredError}
|
|
189
189
|
*/
|
|
190
|
-
updateDataReport(code: string, updateDataReportRequestDto: UpdateDataReportRequestDto,
|
|
190
|
+
updateDataReport(authorization: string, code: string, updateDataReportRequestDto: UpdateDataReportRequestDto, options?: any): AxiosPromise<UpdateDataReportResponseClass>;
|
|
191
191
|
};
|
|
192
192
|
/**
|
|
193
193
|
* Request parameters for createCustomSchema operation in DataReportApi.
|
|
@@ -196,17 +196,17 @@ export declare const DataReportApiFactory: (configuration?: Configuration, baseP
|
|
|
196
196
|
*/
|
|
197
197
|
export interface DataReportApiCreateCustomSchemaRequest {
|
|
198
198
|
/**
|
|
199
|
-
*
|
|
200
|
-
* @type {
|
|
199
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
200
|
+
* @type {string}
|
|
201
201
|
* @memberof DataReportApiCreateCustomSchema
|
|
202
202
|
*/
|
|
203
|
-
readonly
|
|
203
|
+
readonly authorization: string;
|
|
204
204
|
/**
|
|
205
|
-
*
|
|
206
|
-
* @type {
|
|
205
|
+
*
|
|
206
|
+
* @type {CreateDataReportRequestDto}
|
|
207
207
|
* @memberof DataReportApiCreateCustomSchema
|
|
208
208
|
*/
|
|
209
|
-
readonly
|
|
209
|
+
readonly createDataReportRequestDto: CreateDataReportRequestDto;
|
|
210
210
|
}
|
|
211
211
|
/**
|
|
212
212
|
* Request parameters for deleteAlert operation in DataReportApi.
|
|
@@ -215,17 +215,17 @@ export interface DataReportApiCreateCustomSchemaRequest {
|
|
|
215
215
|
*/
|
|
216
216
|
export interface DataReportApiDeleteAlertRequest {
|
|
217
217
|
/**
|
|
218
|
-
*
|
|
218
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
219
219
|
* @type {string}
|
|
220
220
|
* @memberof DataReportApiDeleteAlert
|
|
221
221
|
*/
|
|
222
|
-
readonly
|
|
222
|
+
readonly authorization: string;
|
|
223
223
|
/**
|
|
224
|
-
*
|
|
224
|
+
*
|
|
225
225
|
* @type {string}
|
|
226
226
|
* @memberof DataReportApiDeleteAlert
|
|
227
227
|
*/
|
|
228
|
-
readonly
|
|
228
|
+
readonly id: string;
|
|
229
229
|
}
|
|
230
230
|
/**
|
|
231
231
|
* Request parameters for getDataReport operation in DataReportApi.
|
|
@@ -234,17 +234,17 @@ export interface DataReportApiDeleteAlertRequest {
|
|
|
234
234
|
*/
|
|
235
235
|
export interface DataReportApiGetDataReportRequest {
|
|
236
236
|
/**
|
|
237
|
-
*
|
|
237
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
238
238
|
* @type {string}
|
|
239
239
|
* @memberof DataReportApiGetDataReport
|
|
240
240
|
*/
|
|
241
|
-
readonly
|
|
241
|
+
readonly authorization: string;
|
|
242
242
|
/**
|
|
243
|
-
*
|
|
243
|
+
* Unique identifier for the object.
|
|
244
244
|
* @type {string}
|
|
245
245
|
* @memberof DataReportApiGetDataReport
|
|
246
246
|
*/
|
|
247
|
-
readonly
|
|
247
|
+
readonly code: string;
|
|
248
248
|
/**
|
|
249
249
|
* Fields to expand response by
|
|
250
250
|
* @type {string}
|
|
@@ -263,7 +263,7 @@ export interface DataReportApiListDataReportsRequest {
|
|
|
263
263
|
* @type {string}
|
|
264
264
|
* @memberof DataReportApiListDataReports
|
|
265
265
|
*/
|
|
266
|
-
readonly authorization
|
|
266
|
+
readonly authorization: string;
|
|
267
267
|
/**
|
|
268
268
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
269
269
|
* @type {any}
|
|
@@ -307,6 +307,12 @@ export interface DataReportApiListDataReportsRequest {
|
|
|
307
307
|
* @interface DataReportApiUpdateDataReportRequest
|
|
308
308
|
*/
|
|
309
309
|
export interface DataReportApiUpdateDataReportRequest {
|
|
310
|
+
/**
|
|
311
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
312
|
+
* @type {string}
|
|
313
|
+
* @memberof DataReportApiUpdateDataReport
|
|
314
|
+
*/
|
|
315
|
+
readonly authorization: string;
|
|
310
316
|
/**
|
|
311
317
|
*
|
|
312
318
|
* @type {string}
|
|
@@ -319,12 +325,6 @@ export interface DataReportApiUpdateDataReportRequest {
|
|
|
319
325
|
* @memberof DataReportApiUpdateDataReport
|
|
320
326
|
*/
|
|
321
327
|
readonly updateDataReportRequestDto: UpdateDataReportRequestDto;
|
|
322
|
-
/**
|
|
323
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
324
|
-
* @type {string}
|
|
325
|
-
* @memberof DataReportApiUpdateDataReport
|
|
326
|
-
*/
|
|
327
|
-
readonly authorization?: string;
|
|
328
328
|
}
|
|
329
329
|
/**
|
|
330
330
|
* DataReportApi - object-oriented interface
|
|
@@ -367,7 +367,7 @@ export declare class DataReportApi extends BaseAPI {
|
|
|
367
367
|
* @throws {RequiredError}
|
|
368
368
|
* @memberof DataReportApi
|
|
369
369
|
*/
|
|
370
|
-
listDataReports(requestParameters
|
|
370
|
+
listDataReports(requestParameters: DataReportApiListDataReportsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDataReportsResponseClass, any>>;
|
|
371
371
|
/**
|
|
372
372
|
* Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
373
373
|
* @summary Update the data-report
|
|
@@ -99,18 +99,20 @@ var DataReportApiAxiosParamCreator = function (configuration) {
|
|
|
99
99
|
/**
|
|
100
100
|
* This will create a data report for tenant in the database
|
|
101
101
|
* @summary Create the data-report
|
|
102
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
102
103
|
* @param {CreateDataReportRequestDto} createDataReportRequestDto
|
|
103
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
105
105
|
* @throws {RequiredError}
|
|
106
106
|
*/
|
|
107
|
-
createCustomSchema: function (
|
|
107
|
+
createCustomSchema: function (authorization, createDataReportRequestDto, options) {
|
|
108
108
|
if (options === void 0) { options = {}; }
|
|
109
109
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
110
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
111
|
return __generator(this, function (_a) {
|
|
112
112
|
switch (_a.label) {
|
|
113
113
|
case 0:
|
|
114
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
115
|
+
(0, common_1.assertParamExists)('createCustomSchema', 'authorization', authorization);
|
|
114
116
|
// verify required parameter 'createDataReportRequestDto' is not null or undefined
|
|
115
117
|
(0, common_1.assertParamExists)('createCustomSchema', 'createDataReportRequestDto', createDataReportRequestDto);
|
|
116
118
|
localVarPath = "/tenantservice/v1/data-reports";
|
|
@@ -147,18 +149,20 @@ var DataReportApiAxiosParamCreator = function (configuration) {
|
|
|
147
149
|
},
|
|
148
150
|
/**
|
|
149
151
|
*
|
|
152
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
150
153
|
* @param {string} id
|
|
151
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
152
154
|
* @param {*} [options] Override http request option.
|
|
153
155
|
* @throws {RequiredError}
|
|
154
156
|
*/
|
|
155
|
-
deleteAlert: function (
|
|
157
|
+
deleteAlert: function (authorization, id, options) {
|
|
156
158
|
if (options === void 0) { options = {}; }
|
|
157
159
|
return __awaiter(_this, void 0, void 0, function () {
|
|
158
160
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
159
161
|
return __generator(this, function (_a) {
|
|
160
162
|
switch (_a.label) {
|
|
161
163
|
case 0:
|
|
164
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
165
|
+
(0, common_1.assertParamExists)('deleteAlert', 'authorization', authorization);
|
|
162
166
|
// verify required parameter 'id' is not null or undefined
|
|
163
167
|
(0, common_1.assertParamExists)('deleteAlert', 'id', id);
|
|
164
168
|
localVarPath = "/tenantservice/v1/data-reports/{id}"
|
|
@@ -195,19 +199,21 @@ var DataReportApiAxiosParamCreator = function (configuration) {
|
|
|
195
199
|
/**
|
|
196
200
|
* 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.
|
|
197
201
|
* @summary Retrieve the data-report
|
|
202
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
198
203
|
* @param {string} code Unique identifier for the object.
|
|
199
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
200
204
|
* @param {string} [expand] Fields to expand response by
|
|
201
205
|
* @param {*} [options] Override http request option.
|
|
202
206
|
* @throws {RequiredError}
|
|
203
207
|
*/
|
|
204
|
-
getDataReport: function (
|
|
208
|
+
getDataReport: function (authorization, code, expand, options) {
|
|
205
209
|
if (options === void 0) { options = {}; }
|
|
206
210
|
return __awaiter(_this, void 0, void 0, function () {
|
|
207
211
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
208
212
|
return __generator(this, function (_a) {
|
|
209
213
|
switch (_a.label) {
|
|
210
214
|
case 0:
|
|
215
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
216
|
+
(0, common_1.assertParamExists)('getDataReport', 'authorization', authorization);
|
|
211
217
|
// verify required parameter 'code' is not null or undefined
|
|
212
218
|
(0, common_1.assertParamExists)('getDataReport', 'code', code);
|
|
213
219
|
localVarPath = "/tenantservice/v1/data-reports/{code}"
|
|
@@ -247,7 +253,7 @@ var DataReportApiAxiosParamCreator = function (configuration) {
|
|
|
247
253
|
/**
|
|
248
254
|
* 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.
|
|
249
255
|
* @summary List data-reports
|
|
250
|
-
* @param {string}
|
|
256
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
251
257
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
252
258
|
* @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.
|
|
253
259
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -264,6 +270,8 @@ var DataReportApiAxiosParamCreator = function (configuration) {
|
|
|
264
270
|
return __generator(this, function (_a) {
|
|
265
271
|
switch (_a.label) {
|
|
266
272
|
case 0:
|
|
273
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
274
|
+
(0, common_1.assertParamExists)('listDataReports', 'authorization', authorization);
|
|
267
275
|
localVarPath = "/tenantservice/v1/data-reports";
|
|
268
276
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
269
277
|
if (configuration) {
|
|
@@ -315,19 +323,21 @@ var DataReportApiAxiosParamCreator = function (configuration) {
|
|
|
315
323
|
/**
|
|
316
324
|
* Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
317
325
|
* @summary Update the data-report
|
|
326
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
318
327
|
* @param {string} code
|
|
319
328
|
* @param {UpdateDataReportRequestDto} updateDataReportRequestDto
|
|
320
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
321
329
|
* @param {*} [options] Override http request option.
|
|
322
330
|
* @throws {RequiredError}
|
|
323
331
|
*/
|
|
324
|
-
updateDataReport: function (code, updateDataReportRequestDto,
|
|
332
|
+
updateDataReport: function (authorization, code, updateDataReportRequestDto, options) {
|
|
325
333
|
if (options === void 0) { options = {}; }
|
|
326
334
|
return __awaiter(_this, void 0, void 0, function () {
|
|
327
335
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
328
336
|
return __generator(this, function (_a) {
|
|
329
337
|
switch (_a.label) {
|
|
330
338
|
case 0:
|
|
339
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
340
|
+
(0, common_1.assertParamExists)('updateDataReport', 'authorization', authorization);
|
|
331
341
|
// verify required parameter 'code' is not null or undefined
|
|
332
342
|
(0, common_1.assertParamExists)('updateDataReport', 'code', code);
|
|
333
343
|
// verify required parameter 'updateDataReportRequestDto' is not null or undefined
|
|
@@ -378,17 +388,17 @@ var DataReportApiFp = function (configuration) {
|
|
|
378
388
|
/**
|
|
379
389
|
* This will create a data report for tenant in the database
|
|
380
390
|
* @summary Create the data-report
|
|
391
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
381
392
|
* @param {CreateDataReportRequestDto} createDataReportRequestDto
|
|
382
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
383
393
|
* @param {*} [options] Override http request option.
|
|
384
394
|
* @throws {RequiredError}
|
|
385
395
|
*/
|
|
386
|
-
createCustomSchema: function (
|
|
396
|
+
createCustomSchema: function (authorization, createDataReportRequestDto, options) {
|
|
387
397
|
return __awaiter(this, void 0, void 0, function () {
|
|
388
398
|
var localVarAxiosArgs;
|
|
389
399
|
return __generator(this, function (_a) {
|
|
390
400
|
switch (_a.label) {
|
|
391
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createCustomSchema(
|
|
401
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createCustomSchema(authorization, createDataReportRequestDto, options)];
|
|
392
402
|
case 1:
|
|
393
403
|
localVarAxiosArgs = _a.sent();
|
|
394
404
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -398,17 +408,17 @@ var DataReportApiFp = function (configuration) {
|
|
|
398
408
|
},
|
|
399
409
|
/**
|
|
400
410
|
*
|
|
411
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
401
412
|
* @param {string} id
|
|
402
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
403
413
|
* @param {*} [options] Override http request option.
|
|
404
414
|
* @throws {RequiredError}
|
|
405
415
|
*/
|
|
406
|
-
deleteAlert: function (
|
|
416
|
+
deleteAlert: function (authorization, id, options) {
|
|
407
417
|
return __awaiter(this, void 0, void 0, function () {
|
|
408
418
|
var localVarAxiosArgs;
|
|
409
419
|
return __generator(this, function (_a) {
|
|
410
420
|
switch (_a.label) {
|
|
411
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteAlert(
|
|
421
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteAlert(authorization, id, options)];
|
|
412
422
|
case 1:
|
|
413
423
|
localVarAxiosArgs = _a.sent();
|
|
414
424
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -419,18 +429,18 @@ var DataReportApiFp = function (configuration) {
|
|
|
419
429
|
/**
|
|
420
430
|
* 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.
|
|
421
431
|
* @summary Retrieve the data-report
|
|
432
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
422
433
|
* @param {string} code Unique identifier for the object.
|
|
423
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
424
434
|
* @param {string} [expand] Fields to expand response by
|
|
425
435
|
* @param {*} [options] Override http request option.
|
|
426
436
|
* @throws {RequiredError}
|
|
427
437
|
*/
|
|
428
|
-
getDataReport: function (
|
|
438
|
+
getDataReport: function (authorization, code, expand, options) {
|
|
429
439
|
return __awaiter(this, void 0, void 0, function () {
|
|
430
440
|
var localVarAxiosArgs;
|
|
431
441
|
return __generator(this, function (_a) {
|
|
432
442
|
switch (_a.label) {
|
|
433
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDataReport(
|
|
443
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDataReport(authorization, code, expand, options)];
|
|
434
444
|
case 1:
|
|
435
445
|
localVarAxiosArgs = _a.sent();
|
|
436
446
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -441,7 +451,7 @@ var DataReportApiFp = function (configuration) {
|
|
|
441
451
|
/**
|
|
442
452
|
* 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.
|
|
443
453
|
* @summary List data-reports
|
|
444
|
-
* @param {string}
|
|
454
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
445
455
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
446
456
|
* @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.
|
|
447
457
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -467,18 +477,18 @@ var DataReportApiFp = function (configuration) {
|
|
|
467
477
|
/**
|
|
468
478
|
* Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
469
479
|
* @summary Update the data-report
|
|
480
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
470
481
|
* @param {string} code
|
|
471
482
|
* @param {UpdateDataReportRequestDto} updateDataReportRequestDto
|
|
472
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
473
483
|
* @param {*} [options] Override http request option.
|
|
474
484
|
* @throws {RequiredError}
|
|
475
485
|
*/
|
|
476
|
-
updateDataReport: function (code, updateDataReportRequestDto,
|
|
486
|
+
updateDataReport: function (authorization, code, updateDataReportRequestDto, options) {
|
|
477
487
|
return __awaiter(this, void 0, void 0, function () {
|
|
478
488
|
var localVarAxiosArgs;
|
|
479
489
|
return __generator(this, function (_a) {
|
|
480
490
|
switch (_a.label) {
|
|
481
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateDataReport(code, updateDataReportRequestDto,
|
|
491
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateDataReport(authorization, code, updateDataReportRequestDto, options)];
|
|
482
492
|
case 1:
|
|
483
493
|
localVarAxiosArgs = _a.sent();
|
|
484
494
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -499,40 +509,40 @@ var DataReportApiFactory = function (configuration, basePath, axios) {
|
|
|
499
509
|
/**
|
|
500
510
|
* This will create a data report for tenant in the database
|
|
501
511
|
* @summary Create the data-report
|
|
512
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
502
513
|
* @param {CreateDataReportRequestDto} createDataReportRequestDto
|
|
503
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
504
514
|
* @param {*} [options] Override http request option.
|
|
505
515
|
* @throws {RequiredError}
|
|
506
516
|
*/
|
|
507
|
-
createCustomSchema: function (
|
|
508
|
-
return localVarFp.createCustomSchema(
|
|
517
|
+
createCustomSchema: function (authorization, createDataReportRequestDto, options) {
|
|
518
|
+
return localVarFp.createCustomSchema(authorization, createDataReportRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
509
519
|
},
|
|
510
520
|
/**
|
|
511
521
|
*
|
|
522
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
512
523
|
* @param {string} id
|
|
513
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
514
524
|
* @param {*} [options] Override http request option.
|
|
515
525
|
* @throws {RequiredError}
|
|
516
526
|
*/
|
|
517
|
-
deleteAlert: function (
|
|
518
|
-
return localVarFp.deleteAlert(
|
|
527
|
+
deleteAlert: function (authorization, id, options) {
|
|
528
|
+
return localVarFp.deleteAlert(authorization, id, options).then(function (request) { return request(axios, basePath); });
|
|
519
529
|
},
|
|
520
530
|
/**
|
|
521
531
|
* 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.
|
|
522
532
|
* @summary Retrieve the data-report
|
|
533
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
523
534
|
* @param {string} code Unique identifier for the object.
|
|
524
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
525
535
|
* @param {string} [expand] Fields to expand response by
|
|
526
536
|
* @param {*} [options] Override http request option.
|
|
527
537
|
* @throws {RequiredError}
|
|
528
538
|
*/
|
|
529
|
-
getDataReport: function (
|
|
530
|
-
return localVarFp.getDataReport(
|
|
539
|
+
getDataReport: function (authorization, code, expand, options) {
|
|
540
|
+
return localVarFp.getDataReport(authorization, code, expand, options).then(function (request) { return request(axios, basePath); });
|
|
531
541
|
},
|
|
532
542
|
/**
|
|
533
543
|
* 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.
|
|
534
544
|
* @summary List data-reports
|
|
535
|
-
* @param {string}
|
|
545
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
536
546
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
537
547
|
* @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.
|
|
538
548
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -548,14 +558,14 @@ var DataReportApiFactory = function (configuration, basePath, axios) {
|
|
|
548
558
|
/**
|
|
549
559
|
* Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
550
560
|
* @summary Update the data-report
|
|
561
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
551
562
|
* @param {string} code
|
|
552
563
|
* @param {UpdateDataReportRequestDto} updateDataReportRequestDto
|
|
553
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
554
564
|
* @param {*} [options] Override http request option.
|
|
555
565
|
* @throws {RequiredError}
|
|
556
566
|
*/
|
|
557
|
-
updateDataReport: function (code, updateDataReportRequestDto,
|
|
558
|
-
return localVarFp.updateDataReport(code, updateDataReportRequestDto,
|
|
567
|
+
updateDataReport: function (authorization, code, updateDataReportRequestDto, options) {
|
|
568
|
+
return localVarFp.updateDataReport(authorization, code, updateDataReportRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
559
569
|
},
|
|
560
570
|
};
|
|
561
571
|
};
|
|
@@ -581,7 +591,7 @@ var DataReportApi = /** @class */ (function (_super) {
|
|
|
581
591
|
*/
|
|
582
592
|
DataReportApi.prototype.createCustomSchema = function (requestParameters, options) {
|
|
583
593
|
var _this = this;
|
|
584
|
-
return (0, exports.DataReportApiFp)(this.configuration).createCustomSchema(requestParameters.
|
|
594
|
+
return (0, exports.DataReportApiFp)(this.configuration).createCustomSchema(requestParameters.authorization, requestParameters.createDataReportRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
585
595
|
};
|
|
586
596
|
/**
|
|
587
597
|
*
|
|
@@ -592,7 +602,7 @@ var DataReportApi = /** @class */ (function (_super) {
|
|
|
592
602
|
*/
|
|
593
603
|
DataReportApi.prototype.deleteAlert = function (requestParameters, options) {
|
|
594
604
|
var _this = this;
|
|
595
|
-
return (0, exports.DataReportApiFp)(this.configuration).deleteAlert(requestParameters.
|
|
605
|
+
return (0, exports.DataReportApiFp)(this.configuration).deleteAlert(requestParameters.authorization, requestParameters.id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
596
606
|
};
|
|
597
607
|
/**
|
|
598
608
|
* 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.
|
|
@@ -604,7 +614,7 @@ var DataReportApi = /** @class */ (function (_super) {
|
|
|
604
614
|
*/
|
|
605
615
|
DataReportApi.prototype.getDataReport = function (requestParameters, options) {
|
|
606
616
|
var _this = this;
|
|
607
|
-
return (0, exports.DataReportApiFp)(this.configuration).getDataReport(requestParameters.
|
|
617
|
+
return (0, exports.DataReportApiFp)(this.configuration).getDataReport(requestParameters.authorization, requestParameters.code, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
608
618
|
};
|
|
609
619
|
/**
|
|
610
620
|
* 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.
|
|
@@ -616,7 +626,6 @@ var DataReportApi = /** @class */ (function (_super) {
|
|
|
616
626
|
*/
|
|
617
627
|
DataReportApi.prototype.listDataReports = function (requestParameters, options) {
|
|
618
628
|
var _this = this;
|
|
619
|
-
if (requestParameters === void 0) { requestParameters = {}; }
|
|
620
629
|
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); });
|
|
621
630
|
};
|
|
622
631
|
/**
|
|
@@ -629,7 +638,7 @@ var DataReportApi = /** @class */ (function (_super) {
|
|
|
629
638
|
*/
|
|
630
639
|
DataReportApi.prototype.updateDataReport = function (requestParameters, options) {
|
|
631
640
|
var _this = this;
|
|
632
|
-
return (0, exports.DataReportApiFp)(this.configuration).updateDataReport(requestParameters.
|
|
641
|
+
return (0, exports.DataReportApiFp)(this.configuration).updateDataReport(requestParameters.authorization, requestParameters.code, requestParameters.updateDataReportRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
633
642
|
};
|
|
634
643
|
return DataReportApi;
|
|
635
644
|
}(base_1.BaseAPI));
|