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