@emilgroup/tenant-sdk-node 1.0.0-beta.1 → 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 +30 -56
- package/README.md +2 -2
- package/api/custom-schema-api.ts +77 -69
- package/api/data-report-api.ts +687 -0
- package/api/data-report-executor-api.ts +7 -21
- package/api/invite-organizations-api.ts +347 -0
- package/api/invite-users-api.ts +670 -0
- package/api/organizations-api.ts +343 -0
- package/api/users-api.ts +180 -720
- package/api.ts +9 -20
- package/base.ts +2 -1
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api/custom-schema-api.d.ts +59 -59
- package/dist/api/custom-schema-api.js +51 -44
- package/dist/api/data-report-api.d.ts +380 -0
- package/dist/api/{dashboard-api.js → data-report-api.js} +162 -241
- package/dist/api/data-report-executor-api.d.ts +4 -13
- package/dist/api/data-report-executor-api.js +7 -13
- package/dist/api/invite-organizations-api.d.ts +198 -0
- package/dist/api/invite-organizations-api.js +354 -0
- package/dist/api/invite-users-api.d.ts +368 -0
- package/dist/api/{reports-api.js → invite-users-api.js} +178 -292
- package/dist/api/organizations-api.d.ts +197 -0
- package/dist/api/{tariff-comparisons-api.js → organizations-api.js} +104 -160
- package/dist/api/users-api.d.ts +138 -434
- package/dist/api/users-api.js +114 -567
- package/dist/api.d.ts +5 -12
- package/dist/api.js +5 -14
- package/dist/base.d.ts +3 -2
- package/dist/base.js +2 -1
- package/dist/common.d.ts +2 -2
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -2
- package/dist/models/assign-user-roles-request-dto.d.ts +1 -1
- package/dist/models/assign-user-roles-request-dto.js +1 -1
- package/dist/models/assign-user-roles-response-class.d.ts +1 -1
- package/dist/models/assign-user-roles-response-class.js +1 -1
- package/dist/models/batch-delete-request-dto.d.ts +2 -2
- package/dist/models/batch-delete-request-dto.js +1 -1
- package/dist/models/{get-embedded-url-response-class.d.ts → batch-delete-response-class.d.ts} +7 -7
- package/dist/models/{alert-class.js → batch-delete-response-class.js} +1 -1
- package/dist/models/create-custom-schema-request-dto.d.ts +1 -1
- package/dist/models/create-custom-schema-request-dto.js +1 -1
- package/dist/models/create-custom-schema-response-class.d.ts +1 -1
- package/dist/models/create-custom-schema-response-class.js +1 -1
- package/dist/models/create-data-report-request-dto.d.ts +61 -0
- package/dist/models/{alert-history-class.js → create-data-report-request-dto.js} +1 -1
- package/dist/models/{channel-response-class.d.ts → create-data-report-response-class.d.ts} +8 -13
- package/dist/models/{compare-tariffs-response-class.js → create-data-report-response-class.js} +1 -1
- package/dist/models/create-permission-request-dto.d.ts +1 -7
- package/dist/models/create-permission-request-dto.js +1 -1
- package/dist/models/create-role-request-dto.d.ts +2 -2
- package/dist/models/create-role-request-dto.js +1 -1
- package/dist/models/create-tenant-request-dto.d.ts +1 -1
- package/dist/models/create-tenant-request-dto.js +1 -1
- package/dist/models/custom-field-dto.d.ts +1 -1
- package/dist/models/custom-field-dto.js +1 -1
- package/dist/models/custom-schema-class.d.ts +1 -1
- package/dist/models/custom-schema-class.js +1 -1
- package/dist/models/data-report-class.d.ts +79 -0
- package/dist/models/{channel-response-class.js → data-report-class.js} +1 -1
- package/dist/models/data-report-filter-class.d.ts +72 -0
- package/dist/models/data-report-filter-class.js +15 -0
- package/dist/models/data-report-filter-dto.d.ts +48 -0
- package/dist/models/data-report-filter-dto.js +15 -0
- package/dist/models/data-report-filter-single-value-dto.d.ts +5 -5
- package/dist/models/data-report-filter-single-value-dto.js +1 -1
- package/dist/models/data-report-filter-value-dto.d.ts +2 -2
- package/dist/models/data-report-filter-value-dto.js +1 -1
- package/dist/models/dbconfig-dto.d.ts +1 -1
- package/dist/models/dbconfig-dto.js +1 -1
- package/dist/models/{manage-subscription-request-dto.d.ts → delete-response-class.d.ts} +6 -6
- package/dist/models/delete-response-class.js +15 -0
- package/dist/models/disable-user-response-class.d.ts +1 -1
- package/dist/models/disable-user-response-class.js +1 -1
- package/dist/models/disable-users-request-dto.d.ts +1 -1
- package/dist/models/disable-users-request-dto.js +1 -1
- package/dist/models/{insurance-company-response-class.d.ts → disable-users-response-class.d.ts} +7 -7
- package/dist/models/disable-users-response-class.js +15 -0
- package/dist/models/enable-user-response-class.d.ts +1 -1
- package/dist/models/enable-user-response-class.js +1 -1
- package/dist/models/enable-users-request-dto.d.ts +1 -1
- package/dist/models/enable-users-request-dto.js +1 -1
- package/dist/models/{insurance-response-class.d.ts → enable-users-response-class.d.ts} +7 -7
- package/dist/models/enable-users-response-class.js +15 -0
- package/dist/models/get-custom-schema-response-class.d.ts +1 -1
- package/dist/models/get-custom-schema-response-class.js +1 -1
- package/dist/models/{create-alert-response-class.d.ts → get-data-report-response-class.d.ts} +8 -8
- package/dist/models/get-data-report-response-class.js +15 -0
- package/dist/models/{create-dashboard-response-class.d.ts → get-organization-response-class.d.ts} +8 -8
- package/dist/models/get-organization-response-class.js +15 -0
- package/dist/models/{get-alert-response-class.d.ts → get-settings-response-class.d.ts} +7 -8
- package/dist/models/get-settings-response-class.js +15 -0
- package/dist/models/get-user-response-class.d.ts +1 -1
- package/dist/models/get-user-response-class.js +1 -1
- package/dist/models/index.d.ts +26 -49
- package/dist/models/index.js +26 -49
- package/dist/models/invite-class.d.ts +10 -9
- package/dist/models/invite-class.js +1 -1
- package/dist/models/invite-org-request-dto.d.ts +90 -0
- package/dist/models/invite-org-request-dto.js +21 -0
- package/dist/models/invite-user-request-dto.d.ts +9 -3
- package/dist/models/invite-user-request-dto.js +1 -1
- package/dist/models/invite-user-response-class.d.ts +2 -2
- package/dist/models/invite-user-response-class.js +1 -1
- package/dist/models/invite-users-request-dto.d.ts +3 -3
- package/dist/models/invite-users-request-dto.js +1 -1
- package/dist/models/invite-users-response-class.d.ts +24 -0
- package/dist/models/invite-users-response-class.js +15 -0
- package/dist/models/list-custom-schemas-response-class.d.ts +1 -1
- package/dist/models/list-custom-schemas-response-class.js +1 -1
- package/dist/models/list-data-reports-response-class.d.ts +31 -0
- package/dist/models/list-data-reports-response-class.js +15 -0
- package/dist/models/list-invites-response-class.d.ts +3 -3
- package/dist/models/list-invites-response-class.js +1 -1
- package/dist/models/list-org-invitations-response-class.d.ts +31 -0
- package/dist/models/list-org-invitations-response-class.js +15 -0
- package/dist/models/list-organizations-response-class.d.ts +31 -0
- package/dist/models/list-organizations-response-class.js +15 -0
- package/dist/models/list-users-response-class.d.ts +1 -1
- package/dist/models/list-users-response-class.js +1 -1
- package/dist/models/org-invitation-class.d.ts +115 -0
- package/dist/models/{update-alert-request-dto.js → org-invitation-class.js} +6 -6
- package/dist/models/org-invitation-response-class.d.ts +25 -0
- package/dist/models/org-invitation-response-class.js +15 -0
- package/dist/models/organization-class.d.ts +90 -0
- package/dist/models/{condition-dto.js → organization-class.js} +6 -7
- package/dist/models/permission-class.d.ts +60 -0
- package/dist/models/permission-class.js +15 -0
- package/dist/models/role-class.d.ts +61 -0
- package/dist/models/role-class.js +15 -0
- package/dist/models/run-data-report-request-dto.d.ts +2 -2
- package/dist/models/run-data-report-request-dto.js +1 -1
- package/dist/models/run-data-report-response-class.d.ts +2 -2
- package/dist/models/run-data-report-response-class.js +1 -1
- package/dist/models/{set-user-setting-request-dto.d.ts → set-setting-request-dto.d.ts} +15 -9
- package/dist/models/set-setting-request-dto.js +15 -0
- package/dist/models/set-user-setting-response-class.d.ts +36 -0
- package/dist/models/set-user-setting-response-class.js +15 -0
- package/dist/models/subscription-class.d.ts +12 -5
- package/dist/models/subscription-class.js +1 -1
- package/dist/models/tenant-admin-user-dto.d.ts +1 -1
- package/dist/models/tenant-admin-user-dto.js +1 -1
- package/dist/models/update-custom-schema-request-dto.d.ts +1 -1
- package/dist/models/update-custom-schema-request-dto.js +1 -1
- package/dist/models/update-custom-schema-response-class.d.ts +1 -1
- package/dist/models/update-custom-schema-response-class.js +1 -1
- package/dist/models/update-data-report-request-dto.d.ts +61 -0
- package/dist/models/update-data-report-request-dto.js +15 -0
- package/dist/models/{create-report-response-class.d.ts → update-data-report-response-class.d.ts} +8 -8
- package/dist/models/update-data-report-response-class.js +15 -0
- package/dist/models/update-role-request-dto.d.ts +4 -4
- package/dist/models/update-role-request-dto.js +1 -1
- package/dist/models/user-class.d.ts +14 -6
- package/dist/models/user-class.js +1 -1
- package/index.ts +2 -2
- package/models/assign-user-roles-request-dto.ts +1 -1
- package/models/assign-user-roles-response-class.ts +1 -1
- package/models/batch-delete-request-dto.ts +2 -2
- package/models/{get-embedded-url-response-class.ts → batch-delete-response-class.ts} +7 -7
- package/models/create-custom-schema-request-dto.ts +1 -1
- package/models/create-custom-schema-response-class.ts +1 -1
- package/models/create-data-report-request-dto.ts +67 -0
- package/models/{create-dashboard-response-class.ts → create-data-report-response-class.ts} +8 -8
- package/models/create-permission-request-dto.ts +1 -7
- package/models/create-role-request-dto.ts +2 -2
- package/models/create-tenant-request-dto.ts +1 -1
- package/models/custom-field-dto.ts +1 -1
- package/models/custom-schema-class.ts +1 -1
- package/models/data-report-class.ts +85 -0
- package/models/data-report-filter-class.ts +78 -0
- package/models/data-report-filter-dto.ts +54 -0
- package/models/data-report-filter-single-value-dto.ts +5 -5
- package/models/data-report-filter-value-dto.ts +2 -2
- package/models/dbconfig-dto.ts +1 -1
- package/models/{manage-subscription-request-dto.ts → delete-response-class.ts} +6 -6
- package/models/disable-user-response-class.ts +1 -1
- package/models/disable-users-request-dto.ts +1 -1
- package/models/{insurance-company-response-class.ts → disable-users-response-class.ts} +7 -7
- package/models/enable-user-response-class.ts +1 -1
- package/models/enable-users-request-dto.ts +1 -1
- package/models/{insurance-response-class.ts → enable-users-response-class.ts} +7 -7
- package/models/get-custom-schema-response-class.ts +1 -1
- package/models/{channel-response-class.ts → get-data-report-response-class.ts} +8 -13
- package/models/{create-alert-response-class.ts → get-organization-response-class.ts} +8 -8
- package/models/{get-alert-response-class.ts → get-settings-response-class.ts} +7 -8
- package/models/get-user-response-class.ts +1 -1
- package/models/index.ts +26 -49
- package/models/invite-class.ts +10 -9
- package/models/invite-org-request-dto.ts +99 -0
- package/models/invite-user-request-dto.ts +9 -3
- package/models/invite-user-response-class.ts +2 -2
- package/models/invite-users-request-dto.ts +3 -3
- package/models/invite-users-response-class.ts +30 -0
- package/models/list-custom-schemas-response-class.ts +1 -1
- package/models/{list-dashboards-response-class.ts → list-data-reports-response-class.ts} +10 -10
- package/models/list-invites-response-class.ts +3 -3
- package/models/{list-alert-history-response-class.ts → list-org-invitations-response-class.ts} +10 -10
- package/models/{list-alerts-response-class.ts → list-organizations-response-class.ts} +10 -10
- package/models/list-users-response-class.ts +1 -1
- package/models/org-invitation-class.ts +124 -0
- package/models/org-invitation-response-class.ts +31 -0
- package/models/organization-class.ts +99 -0
- package/models/{report-class.ts → permission-class.ts} +20 -26
- package/models/role-class.ts +67 -0
- package/models/run-data-report-request-dto.ts +2 -2
- package/models/run-data-report-response-class.ts +3 -2
- package/models/{set-user-setting-request-dto.ts → set-setting-request-dto.ts} +15 -9
- package/models/set-user-setting-response-class.ts +42 -0
- package/models/subscription-class.ts +12 -5
- package/models/tenant-admin-user-dto.ts +1 -1
- package/models/update-custom-schema-request-dto.ts +1 -1
- package/models/update-custom-schema-response-class.ts +1 -1
- package/models/update-data-report-request-dto.ts +67 -0
- package/models/{create-report-response-class.ts → update-data-report-response-class.ts} +8 -8
- package/models/update-role-request-dto.ts +4 -4
- package/models/user-class.ts +14 -6
- package/package.json +2 -2
- 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 -478
- package/api/tariff-comparisons-api.ts +0 -381
- package/api/user-subscription-api.ts +0 -191
- 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/reports-api.d.ts +0 -479
- 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 -261
- package/dist/api/settings-api.js +0 -509
- package/dist/api/tariff-comparisons-api.d.ts +0 -206
- package/dist/api/user-subscription-api.d.ts +0 -111
- package/dist/api/user-subscription-api.js +0 -236
- package/dist/models/alert-class.d.ts +0 -90
- package/dist/models/alert-history-class.d.ts +0 -108
- 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/create-alert-request-dto.d.ts +0 -79
- package/dist/models/create-alert-request-dto.js +0 -27
- package/dist/models/create-alert-response-class.js +0 -15
- 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-dashboard-response-class.js +0 -15
- 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.js +0 -15
- 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/create-scenario-analysis-response-class.js +0 -15
- package/dist/models/dashboard-class.d.ts +0 -78
- package/dist/models/dashboard-class.js +0 -15
- package/dist/models/get-alert-response-class.js +0 -15
- package/dist/models/get-dashboard-response-class.d.ts +0 -25
- package/dist/models/get-dashboard-response-class.js +0 -15
- package/dist/models/get-embedded-url-response-class.js +0 -15
- 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.d.ts +0 -31
- 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/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-user-setting-request-dto.js +0 -15
- package/dist/models/update-alert-request-dto.d.ts +0 -72
- 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-report-request-dto.ts +0 -58
- 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-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-channels-response-class.ts +0 -31
- 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-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/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
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* The EMIL TenantService API description
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
|
-
*
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.
|
|
81
|
+
exports.DataReportApi = exports.DataReportApiFactory = exports.DataReportApiFp = exports.DataReportApiAxiosParamCreator = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -90,29 +90,32 @@ var base_1 = require("../base");
|
|
|
90
90
|
var url_1 = require("url");
|
|
91
91
|
var FormData = require('form-data');
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* DataReportApi - axios parameter creator
|
|
94
94
|
* @export
|
|
95
95
|
*/
|
|
96
|
-
var
|
|
96
|
+
var DataReportApiAxiosParamCreator = function (configuration) {
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
*
|
|
101
|
-
* @
|
|
102
|
-
* @param {string}
|
|
100
|
+
* This will create a data report for tenant in the database
|
|
101
|
+
* @summary Create the data-report
|
|
102
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
103
|
+
* @param {CreateDataReportRequestDto} createDataReportRequestDto
|
|
103
104
|
* @param {*} [options] Override http request option.
|
|
104
105
|
* @throws {RequiredError}
|
|
105
106
|
*/
|
|
106
|
-
|
|
107
|
+
createCustomSchema: function (authorization, createDataReportRequestDto, options) {
|
|
107
108
|
if (options === void 0) { options = {}; }
|
|
108
109
|
return __awaiter(_this, void 0, void 0, function () {
|
|
109
110
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
110
111
|
return __generator(this, function (_a) {
|
|
111
112
|
switch (_a.label) {
|
|
112
113
|
case 0:
|
|
113
|
-
// verify required parameter '
|
|
114
|
-
(0, common_1.assertParamExists)('
|
|
115
|
-
|
|
114
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
115
|
+
(0, common_1.assertParamExists)('createCustomSchema', 'authorization', authorization);
|
|
116
|
+
// verify required parameter 'createDataReportRequestDto' is not null or undefined
|
|
117
|
+
(0, common_1.assertParamExists)('createCustomSchema', 'createDataReportRequestDto', createDataReportRequestDto);
|
|
118
|
+
localVarPath = "/tenantservice/v1/data-reports";
|
|
116
119
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
117
120
|
if (configuration) {
|
|
118
121
|
baseOptions = configuration.baseOptions;
|
|
@@ -135,7 +138,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
135
138
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
136
139
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
137
140
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
138
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
141
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createDataReportRequestDto, localVarRequestOptions, configuration);
|
|
139
142
|
return [2 /*return*/, {
|
|
140
143
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
141
144
|
options: localVarRequestOptions,
|
|
@@ -146,21 +149,23 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
146
149
|
},
|
|
147
150
|
/**
|
|
148
151
|
*
|
|
152
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
149
153
|
* @param {string} id
|
|
150
|
-
* @param {string} [authorization] Bearer Token
|
|
151
154
|
* @param {*} [options] Override http request option.
|
|
152
155
|
* @throws {RequiredError}
|
|
153
156
|
*/
|
|
154
|
-
|
|
157
|
+
deleteAlert: function (authorization, id, options) {
|
|
155
158
|
if (options === void 0) { options = {}; }
|
|
156
159
|
return __awaiter(_this, void 0, void 0, function () {
|
|
157
160
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
158
161
|
return __generator(this, function (_a) {
|
|
159
162
|
switch (_a.label) {
|
|
160
163
|
case 0:
|
|
164
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
165
|
+
(0, common_1.assertParamExists)('deleteAlert', 'authorization', authorization);
|
|
161
166
|
// verify required parameter 'id' is not null or undefined
|
|
162
|
-
(0, common_1.assertParamExists)('
|
|
163
|
-
localVarPath = "/tenantservice/v1/
|
|
167
|
+
(0, common_1.assertParamExists)('deleteAlert', 'id', id);
|
|
168
|
+
localVarPath = "/tenantservice/v1/data-reports/{id}"
|
|
164
169
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
165
170
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
166
171
|
if (configuration) {
|
|
@@ -192,26 +197,26 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
192
197
|
});
|
|
193
198
|
},
|
|
194
199
|
/**
|
|
195
|
-
*
|
|
196
|
-
* @
|
|
197
|
-
* @param {string}
|
|
198
|
-
* @param {string}
|
|
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.
|
|
201
|
+
* @summary Retrieve the data-report
|
|
202
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
203
|
+
* @param {string} code Unique identifier for the object.
|
|
199
204
|
* @param {string} [expand] Fields to expand response by
|
|
200
205
|
* @param {*} [options] Override http request option.
|
|
201
206
|
* @throws {RequiredError}
|
|
202
207
|
*/
|
|
203
|
-
|
|
208
|
+
getDataReport: function (authorization, code, expand, options) {
|
|
204
209
|
if (options === void 0) { options = {}; }
|
|
205
210
|
return __awaiter(_this, void 0, void 0, function () {
|
|
206
211
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
207
212
|
return __generator(this, function (_a) {
|
|
208
213
|
switch (_a.label) {
|
|
209
214
|
case 0:
|
|
215
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
216
|
+
(0, common_1.assertParamExists)('getDataReport', 'authorization', authorization);
|
|
210
217
|
// verify required parameter 'code' is not null or undefined
|
|
211
|
-
(0, common_1.assertParamExists)('
|
|
212
|
-
|
|
213
|
-
(0, common_1.assertParamExists)('getDashboard', 'code2', code2);
|
|
214
|
-
localVarPath = "/tenantservice/v1/dashboards/{code}"
|
|
218
|
+
(0, common_1.assertParamExists)('getDataReport', 'code', code);
|
|
219
|
+
localVarPath = "/tenantservice/v1/data-reports/{code}"
|
|
215
220
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
216
221
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
217
222
|
if (configuration) {
|
|
@@ -228,9 +233,6 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
228
233
|
// authentication bearer required
|
|
229
234
|
// http bearer authentication required
|
|
230
235
|
_a.sent();
|
|
231
|
-
if (code2 !== undefined) {
|
|
232
|
-
localVarQueryParameter['code'] = code2;
|
|
233
|
-
}
|
|
234
236
|
if (expand !== undefined) {
|
|
235
237
|
localVarQueryParameter['expand'] = expand;
|
|
236
238
|
}
|
|
@@ -249,78 +251,28 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
249
251
|
});
|
|
250
252
|
},
|
|
251
253
|
/**
|
|
252
|
-
*
|
|
253
|
-
* @
|
|
254
|
-
* @param {string}
|
|
255
|
-
* @param {
|
|
256
|
-
* @param {
|
|
257
|
-
* @throws {RequiredError}
|
|
258
|
-
*/
|
|
259
|
-
getEmbeddedUrl: function (providerDashboardId, providerName, authorization, options) {
|
|
260
|
-
if (options === void 0) { options = {}; }
|
|
261
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
262
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
263
|
-
return __generator(this, function (_a) {
|
|
264
|
-
switch (_a.label) {
|
|
265
|
-
case 0:
|
|
266
|
-
// verify required parameter 'providerDashboardId' is not null or undefined
|
|
267
|
-
(0, common_1.assertParamExists)('getEmbeddedUrl', 'providerDashboardId', providerDashboardId);
|
|
268
|
-
// verify required parameter 'providerName' is not null or undefined
|
|
269
|
-
(0, common_1.assertParamExists)('getEmbeddedUrl', 'providerName', providerName);
|
|
270
|
-
localVarPath = "/tenantservice/v1/dashboards/{provider_dashboard_id}/embedded-url"
|
|
271
|
-
.replace("{".concat("provider_dashboard_id", "}"), encodeURIComponent(String(providerDashboardId)));
|
|
272
|
-
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
273
|
-
if (configuration) {
|
|
274
|
-
baseOptions = configuration.baseOptions;
|
|
275
|
-
baseAccessToken = configuration.accessToken;
|
|
276
|
-
}
|
|
277
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
278
|
-
localVarHeaderParameter = {};
|
|
279
|
-
localVarQueryParameter = {};
|
|
280
|
-
// authentication bearer required
|
|
281
|
-
// http bearer authentication required
|
|
282
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
283
|
-
case 1:
|
|
284
|
-
// authentication bearer required
|
|
285
|
-
// http bearer authentication required
|
|
286
|
-
_a.sent();
|
|
287
|
-
if (providerName !== undefined) {
|
|
288
|
-
localVarQueryParameter['provider_name'] = providerName;
|
|
289
|
-
}
|
|
290
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
291
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
292
|
-
}
|
|
293
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
294
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
295
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
296
|
-
return [2 /*return*/, {
|
|
297
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
298
|
-
options: localVarRequestOptions,
|
|
299
|
-
}];
|
|
300
|
-
}
|
|
301
|
-
});
|
|
302
|
-
});
|
|
303
|
-
},
|
|
304
|
-
/**
|
|
305
|
-
*
|
|
306
|
-
* @param {string} [authorization] Bearer Token
|
|
307
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
308
|
-
* @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.
|
|
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.
|
|
255
|
+
* @summary List data-reports
|
|
256
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
257
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
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.
|
|
309
259
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
310
260
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
311
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
312
|
-
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in
|
|
261
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
262
|
+
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
313
263
|
* @param {*} [options] Override http request option.
|
|
314
264
|
* @throws {RequiredError}
|
|
315
265
|
*/
|
|
316
|
-
|
|
266
|
+
listDataReports: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
317
267
|
if (options === void 0) { options = {}; }
|
|
318
268
|
return __awaiter(_this, void 0, void 0, function () {
|
|
319
269
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
320
270
|
return __generator(this, function (_a) {
|
|
321
271
|
switch (_a.label) {
|
|
322
272
|
case 0:
|
|
323
|
-
|
|
273
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
274
|
+
(0, common_1.assertParamExists)('listDataReports', 'authorization', authorization);
|
|
275
|
+
localVarPath = "/tenantservice/v1/data-reports";
|
|
324
276
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
325
277
|
if (configuration) {
|
|
326
278
|
baseOptions = configuration.baseOptions;
|
|
@@ -369,26 +321,29 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
369
321
|
});
|
|
370
322
|
},
|
|
371
323
|
/**
|
|
372
|
-
*
|
|
373
|
-
* @
|
|
374
|
-
* @param {
|
|
375
|
-
* @param {string}
|
|
324
|
+
* Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
325
|
+
* @summary Update the data-report
|
|
326
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
327
|
+
* @param {string} code
|
|
328
|
+
* @param {UpdateDataReportRequestDto} updateDataReportRequestDto
|
|
376
329
|
* @param {*} [options] Override http request option.
|
|
377
330
|
* @throws {RequiredError}
|
|
378
331
|
*/
|
|
379
|
-
|
|
332
|
+
updateDataReport: function (authorization, code, updateDataReportRequestDto, options) {
|
|
380
333
|
if (options === void 0) { options = {}; }
|
|
381
334
|
return __awaiter(_this, void 0, void 0, function () {
|
|
382
335
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
383
336
|
return __generator(this, function (_a) {
|
|
384
337
|
switch (_a.label) {
|
|
385
338
|
case 0:
|
|
386
|
-
// verify required parameter '
|
|
387
|
-
(0, common_1.assertParamExists)('
|
|
388
|
-
// verify required parameter '
|
|
389
|
-
(0, common_1.assertParamExists)('
|
|
390
|
-
|
|
391
|
-
|
|
339
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
340
|
+
(0, common_1.assertParamExists)('updateDataReport', 'authorization', authorization);
|
|
341
|
+
// verify required parameter 'code' is not null or undefined
|
|
342
|
+
(0, common_1.assertParamExists)('updateDataReport', 'code', code);
|
|
343
|
+
// verify required parameter 'updateDataReportRequestDto' is not null or undefined
|
|
344
|
+
(0, common_1.assertParamExists)('updateDataReport', 'updateDataReportRequestDto', updateDataReportRequestDto);
|
|
345
|
+
localVarPath = "/tenantservice/v1/data-reports/{code}"
|
|
346
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
392
347
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
393
348
|
if (configuration) {
|
|
394
349
|
baseOptions = configuration.baseOptions;
|
|
@@ -411,7 +366,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
411
366
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
412
367
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
413
368
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
414
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
369
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateDataReportRequestDto, localVarRequestOptions, configuration);
|
|
415
370
|
return [2 /*return*/, {
|
|
416
371
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
417
372
|
options: localVarRequestOptions,
|
|
@@ -422,27 +377,28 @@ var DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
422
377
|
},
|
|
423
378
|
};
|
|
424
379
|
};
|
|
425
|
-
exports.
|
|
380
|
+
exports.DataReportApiAxiosParamCreator = DataReportApiAxiosParamCreator;
|
|
426
381
|
/**
|
|
427
|
-
*
|
|
382
|
+
* DataReportApi - functional programming interface
|
|
428
383
|
* @export
|
|
429
384
|
*/
|
|
430
|
-
var
|
|
431
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
385
|
+
var DataReportApiFp = function (configuration) {
|
|
386
|
+
var localVarAxiosParamCreator = (0, exports.DataReportApiAxiosParamCreator)(configuration);
|
|
432
387
|
return {
|
|
433
388
|
/**
|
|
434
|
-
*
|
|
435
|
-
* @
|
|
436
|
-
* @param {string}
|
|
389
|
+
* This will create a data report for tenant in the database
|
|
390
|
+
* @summary Create the data-report
|
|
391
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
392
|
+
* @param {CreateDataReportRequestDto} createDataReportRequestDto
|
|
437
393
|
* @param {*} [options] Override http request option.
|
|
438
394
|
* @throws {RequiredError}
|
|
439
395
|
*/
|
|
440
|
-
|
|
396
|
+
createCustomSchema: function (authorization, createDataReportRequestDto, options) {
|
|
441
397
|
return __awaiter(this, void 0, void 0, function () {
|
|
442
398
|
var localVarAxiosArgs;
|
|
443
399
|
return __generator(this, function (_a) {
|
|
444
400
|
switch (_a.label) {
|
|
445
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
401
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createCustomSchema(authorization, createDataReportRequestDto, options)];
|
|
446
402
|
case 1:
|
|
447
403
|
localVarAxiosArgs = _a.sent();
|
|
448
404
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -452,17 +408,17 @@ var DashboardApiFp = function (configuration) {
|
|
|
452
408
|
},
|
|
453
409
|
/**
|
|
454
410
|
*
|
|
411
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
455
412
|
* @param {string} id
|
|
456
|
-
* @param {string} [authorization] Bearer Token
|
|
457
413
|
* @param {*} [options] Override http request option.
|
|
458
414
|
* @throws {RequiredError}
|
|
459
415
|
*/
|
|
460
|
-
|
|
416
|
+
deleteAlert: function (authorization, id, options) {
|
|
461
417
|
return __awaiter(this, void 0, void 0, function () {
|
|
462
418
|
var localVarAxiosArgs;
|
|
463
419
|
return __generator(this, function (_a) {
|
|
464
420
|
switch (_a.label) {
|
|
465
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
421
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteAlert(authorization, id, options)];
|
|
466
422
|
case 1:
|
|
467
423
|
localVarAxiosArgs = _a.sent();
|
|
468
424
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -471,20 +427,20 @@ var DashboardApiFp = function (configuration) {
|
|
|
471
427
|
});
|
|
472
428
|
},
|
|
473
429
|
/**
|
|
474
|
-
*
|
|
475
|
-
* @
|
|
476
|
-
* @param {string}
|
|
477
|
-
* @param {string}
|
|
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.
|
|
431
|
+
* @summary Retrieve the data-report
|
|
432
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
433
|
+
* @param {string} code Unique identifier for the object.
|
|
478
434
|
* @param {string} [expand] Fields to expand response by
|
|
479
435
|
* @param {*} [options] Override http request option.
|
|
480
436
|
* @throws {RequiredError}
|
|
481
437
|
*/
|
|
482
|
-
|
|
438
|
+
getDataReport: function (authorization, code, expand, options) {
|
|
483
439
|
return __awaiter(this, void 0, void 0, function () {
|
|
484
440
|
var localVarAxiosArgs;
|
|
485
441
|
return __generator(this, function (_a) {
|
|
486
442
|
switch (_a.label) {
|
|
487
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
443
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDataReport(authorization, code, expand, options)];
|
|
488
444
|
case 1:
|
|
489
445
|
localVarAxiosArgs = _a.sent();
|
|
490
446
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -493,44 +449,24 @@ var DashboardApiFp = function (configuration) {
|
|
|
493
449
|
});
|
|
494
450
|
},
|
|
495
451
|
/**
|
|
496
|
-
*
|
|
497
|
-
* @
|
|
498
|
-
* @param {string}
|
|
499
|
-
* @param {
|
|
500
|
-
* @param {
|
|
501
|
-
* @throws {RequiredError}
|
|
502
|
-
*/
|
|
503
|
-
getEmbeddedUrl: function (providerDashboardId, providerName, authorization, options) {
|
|
504
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
505
|
-
var localVarAxiosArgs;
|
|
506
|
-
return __generator(this, function (_a) {
|
|
507
|
-
switch (_a.label) {
|
|
508
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getEmbeddedUrl(providerDashboardId, providerName, authorization, options)];
|
|
509
|
-
case 1:
|
|
510
|
-
localVarAxiosArgs = _a.sent();
|
|
511
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
512
|
-
}
|
|
513
|
-
});
|
|
514
|
-
});
|
|
515
|
-
},
|
|
516
|
-
/**
|
|
517
|
-
*
|
|
518
|
-
* @param {string} [authorization] Bearer Token
|
|
519
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
520
|
-
* @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.
|
|
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.
|
|
453
|
+
* @summary List data-reports
|
|
454
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
455
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
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.
|
|
521
457
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
522
458
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
523
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
524
|
-
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in
|
|
459
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
460
|
+
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
525
461
|
* @param {*} [options] Override http request option.
|
|
526
462
|
* @throws {RequiredError}
|
|
527
463
|
*/
|
|
528
|
-
|
|
464
|
+
listDataReports: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
529
465
|
return __awaiter(this, void 0, void 0, function () {
|
|
530
466
|
var localVarAxiosArgs;
|
|
531
467
|
return __generator(this, function (_a) {
|
|
532
468
|
switch (_a.label) {
|
|
533
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
469
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDataReports(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
534
470
|
case 1:
|
|
535
471
|
localVarAxiosArgs = _a.sent();
|
|
536
472
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -539,19 +475,20 @@ var DashboardApiFp = function (configuration) {
|
|
|
539
475
|
});
|
|
540
476
|
},
|
|
541
477
|
/**
|
|
542
|
-
*
|
|
543
|
-
* @
|
|
544
|
-
* @param {
|
|
545
|
-
* @param {string}
|
|
478
|
+
* Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
479
|
+
* @summary Update the data-report
|
|
480
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
481
|
+
* @param {string} code
|
|
482
|
+
* @param {UpdateDataReportRequestDto} updateDataReportRequestDto
|
|
546
483
|
* @param {*} [options] Override http request option.
|
|
547
484
|
* @throws {RequiredError}
|
|
548
485
|
*/
|
|
549
|
-
|
|
486
|
+
updateDataReport: function (authorization, code, updateDataReportRequestDto, options) {
|
|
550
487
|
return __awaiter(this, void 0, void 0, function () {
|
|
551
488
|
var localVarAxiosArgs;
|
|
552
489
|
return __generator(this, function (_a) {
|
|
553
490
|
switch (_a.label) {
|
|
554
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
491
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateDataReport(authorization, code, updateDataReportRequestDto, options)];
|
|
555
492
|
case 1:
|
|
556
493
|
localVarAxiosArgs = _a.sent();
|
|
557
494
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -561,164 +498,148 @@ var DashboardApiFp = function (configuration) {
|
|
|
561
498
|
},
|
|
562
499
|
};
|
|
563
500
|
};
|
|
564
|
-
exports.
|
|
501
|
+
exports.DataReportApiFp = DataReportApiFp;
|
|
565
502
|
/**
|
|
566
|
-
*
|
|
503
|
+
* DataReportApi - factory interface
|
|
567
504
|
* @export
|
|
568
505
|
*/
|
|
569
|
-
var
|
|
570
|
-
var localVarFp = (0, exports.
|
|
506
|
+
var DataReportApiFactory = function (configuration, basePath, axios) {
|
|
507
|
+
var localVarFp = (0, exports.DataReportApiFp)(configuration);
|
|
571
508
|
return {
|
|
572
509
|
/**
|
|
573
|
-
*
|
|
574
|
-
* @
|
|
575
|
-
* @param {string}
|
|
510
|
+
* This will create a data report for tenant in the database
|
|
511
|
+
* @summary Create the data-report
|
|
512
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
513
|
+
* @param {CreateDataReportRequestDto} createDataReportRequestDto
|
|
576
514
|
* @param {*} [options] Override http request option.
|
|
577
515
|
* @throws {RequiredError}
|
|
578
516
|
*/
|
|
579
|
-
|
|
580
|
-
return localVarFp.
|
|
517
|
+
createCustomSchema: function (authorization, createDataReportRequestDto, options) {
|
|
518
|
+
return localVarFp.createCustomSchema(authorization, createDataReportRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
581
519
|
},
|
|
582
520
|
/**
|
|
583
521
|
*
|
|
522
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
584
523
|
* @param {string} id
|
|
585
|
-
* @param {string} [authorization] Bearer Token
|
|
586
524
|
* @param {*} [options] Override http request option.
|
|
587
525
|
* @throws {RequiredError}
|
|
588
526
|
*/
|
|
589
|
-
|
|
590
|
-
return localVarFp.
|
|
527
|
+
deleteAlert: function (authorization, id, options) {
|
|
528
|
+
return localVarFp.deleteAlert(authorization, id, options).then(function (request) { return request(axios, basePath); });
|
|
591
529
|
},
|
|
592
530
|
/**
|
|
593
|
-
*
|
|
594
|
-
* @
|
|
595
|
-
* @param {string}
|
|
596
|
-
* @param {string}
|
|
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.
|
|
532
|
+
* @summary Retrieve the data-report
|
|
533
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
534
|
+
* @param {string} code Unique identifier for the object.
|
|
597
535
|
* @param {string} [expand] Fields to expand response by
|
|
598
536
|
* @param {*} [options] Override http request option.
|
|
599
537
|
* @throws {RequiredError}
|
|
600
538
|
*/
|
|
601
|
-
|
|
602
|
-
return localVarFp.
|
|
603
|
-
},
|
|
604
|
-
/**
|
|
605
|
-
*
|
|
606
|
-
* @param {string} providerDashboardId
|
|
607
|
-
* @param {string} providerName
|
|
608
|
-
* @param {string} [authorization] Bearer Token
|
|
609
|
-
* @param {*} [options] Override http request option.
|
|
610
|
-
* @throws {RequiredError}
|
|
611
|
-
*/
|
|
612
|
-
getEmbeddedUrl: function (providerDashboardId, providerName, authorization, options) {
|
|
613
|
-
return localVarFp.getEmbeddedUrl(providerDashboardId, providerName, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
539
|
+
getDataReport: function (authorization, code, expand, options) {
|
|
540
|
+
return localVarFp.getDataReport(authorization, code, expand, options).then(function (request) { return request(axios, basePath); });
|
|
614
541
|
},
|
|
615
542
|
/**
|
|
616
|
-
*
|
|
617
|
-
* @
|
|
618
|
-
* @param {
|
|
619
|
-
* @param {any} [
|
|
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.
|
|
544
|
+
* @summary List data-reports
|
|
545
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
546
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
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.
|
|
620
548
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
621
549
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
622
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
623
|
-
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in
|
|
550
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
551
|
+
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
624
552
|
* @param {*} [options] Override http request option.
|
|
625
553
|
* @throws {RequiredError}
|
|
626
554
|
*/
|
|
627
|
-
|
|
628
|
-
return localVarFp.
|
|
555
|
+
listDataReports: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
556
|
+
return localVarFp.listDataReports(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
629
557
|
},
|
|
630
558
|
/**
|
|
631
|
-
*
|
|
632
|
-
* @
|
|
633
|
-
* @param {
|
|
634
|
-
* @param {string}
|
|
559
|
+
* Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
560
|
+
* @summary Update the data-report
|
|
561
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
562
|
+
* @param {string} code
|
|
563
|
+
* @param {UpdateDataReportRequestDto} updateDataReportRequestDto
|
|
635
564
|
* @param {*} [options] Override http request option.
|
|
636
565
|
* @throws {RequiredError}
|
|
637
566
|
*/
|
|
638
|
-
|
|
639
|
-
return localVarFp.
|
|
567
|
+
updateDataReport: function (authorization, code, updateDataReportRequestDto, options) {
|
|
568
|
+
return localVarFp.updateDataReport(authorization, code, updateDataReportRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
640
569
|
},
|
|
641
570
|
};
|
|
642
571
|
};
|
|
643
|
-
exports.
|
|
572
|
+
exports.DataReportApiFactory = DataReportApiFactory;
|
|
644
573
|
/**
|
|
645
|
-
*
|
|
574
|
+
* DataReportApi - object-oriented interface
|
|
646
575
|
* @export
|
|
647
|
-
* @class
|
|
576
|
+
* @class DataReportApi
|
|
648
577
|
* @extends {BaseAPI}
|
|
649
578
|
*/
|
|
650
|
-
var
|
|
651
|
-
__extends(
|
|
652
|
-
function
|
|
579
|
+
var DataReportApi = /** @class */ (function (_super) {
|
|
580
|
+
__extends(DataReportApi, _super);
|
|
581
|
+
function DataReportApi() {
|
|
653
582
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
654
583
|
}
|
|
655
584
|
/**
|
|
656
|
-
*
|
|
657
|
-
* @
|
|
658
|
-
* @param {
|
|
659
|
-
* @throws {RequiredError}
|
|
660
|
-
* @memberof DashboardApi
|
|
661
|
-
*/
|
|
662
|
-
DashboardApi.prototype.createDashboard = function (requestParameters, options) {
|
|
663
|
-
var _this = this;
|
|
664
|
-
return (0, exports.DashboardApiFp)(this.configuration).createDashboard(requestParameters.createDashboardRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
665
|
-
};
|
|
666
|
-
/**
|
|
667
|
-
*
|
|
668
|
-
* @param {DashboardApiDeleteDashboardRequest} requestParameters Request parameters.
|
|
585
|
+
* This will create a data report for tenant in the database
|
|
586
|
+
* @summary Create the data-report
|
|
587
|
+
* @param {DataReportApiCreateCustomSchemaRequest} requestParameters Request parameters.
|
|
669
588
|
* @param {*} [options] Override http request option.
|
|
670
589
|
* @throws {RequiredError}
|
|
671
|
-
* @memberof
|
|
590
|
+
* @memberof DataReportApi
|
|
672
591
|
*/
|
|
673
|
-
|
|
592
|
+
DataReportApi.prototype.createCustomSchema = function (requestParameters, options) {
|
|
674
593
|
var _this = this;
|
|
675
|
-
return (0, exports.
|
|
594
|
+
return (0, exports.DataReportApiFp)(this.configuration).createCustomSchema(requestParameters.authorization, requestParameters.createDataReportRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
676
595
|
};
|
|
677
596
|
/**
|
|
678
597
|
*
|
|
679
|
-
* @param {
|
|
598
|
+
* @param {DataReportApiDeleteAlertRequest} requestParameters Request parameters.
|
|
680
599
|
* @param {*} [options] Override http request option.
|
|
681
600
|
* @throws {RequiredError}
|
|
682
|
-
* @memberof
|
|
601
|
+
* @memberof DataReportApi
|
|
683
602
|
*/
|
|
684
|
-
|
|
603
|
+
DataReportApi.prototype.deleteAlert = function (requestParameters, options) {
|
|
685
604
|
var _this = this;
|
|
686
|
-
return (0, exports.
|
|
605
|
+
return (0, exports.DataReportApiFp)(this.configuration).deleteAlert(requestParameters.authorization, requestParameters.id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
687
606
|
};
|
|
688
607
|
/**
|
|
689
|
-
*
|
|
690
|
-
* @
|
|
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.
|
|
609
|
+
* @summary Retrieve the data-report
|
|
610
|
+
* @param {DataReportApiGetDataReportRequest} requestParameters Request parameters.
|
|
691
611
|
* @param {*} [options] Override http request option.
|
|
692
612
|
* @throws {RequiredError}
|
|
693
|
-
* @memberof
|
|
613
|
+
* @memberof DataReportApi
|
|
694
614
|
*/
|
|
695
|
-
|
|
615
|
+
DataReportApi.prototype.getDataReport = function (requestParameters, options) {
|
|
696
616
|
var _this = this;
|
|
697
|
-
return (0, exports.
|
|
617
|
+
return (0, exports.DataReportApiFp)(this.configuration).getDataReport(requestParameters.authorization, requestParameters.code, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
698
618
|
};
|
|
699
619
|
/**
|
|
700
|
-
*
|
|
701
|
-
* @
|
|
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.
|
|
621
|
+
* @summary List data-reports
|
|
622
|
+
* @param {DataReportApiListDataReportsRequest} requestParameters Request parameters.
|
|
702
623
|
* @param {*} [options] Override http request option.
|
|
703
624
|
* @throws {RequiredError}
|
|
704
|
-
* @memberof
|
|
625
|
+
* @memberof DataReportApi
|
|
705
626
|
*/
|
|
706
|
-
|
|
627
|
+
DataReportApi.prototype.listDataReports = function (requestParameters, options) {
|
|
707
628
|
var _this = this;
|
|
708
|
-
|
|
709
|
-
return (0, exports.DashboardApiFp)(this.configuration).listDashboards(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
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); });
|
|
710
630
|
};
|
|
711
631
|
/**
|
|
712
|
-
*
|
|
713
|
-
* @
|
|
632
|
+
* Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
633
|
+
* @summary Update the data-report
|
|
634
|
+
* @param {DataReportApiUpdateDataReportRequest} requestParameters Request parameters.
|
|
714
635
|
* @param {*} [options] Override http request option.
|
|
715
636
|
* @throws {RequiredError}
|
|
716
|
-
* @memberof
|
|
637
|
+
* @memberof DataReportApi
|
|
717
638
|
*/
|
|
718
|
-
|
|
639
|
+
DataReportApi.prototype.updateDataReport = function (requestParameters, options) {
|
|
719
640
|
var _this = this;
|
|
720
|
-
return (0, exports.
|
|
641
|
+
return (0, exports.DataReportApiFp)(this.configuration).updateDataReport(requestParameters.authorization, requestParameters.code, requestParameters.updateDataReportRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
721
642
|
};
|
|
722
|
-
return
|
|
643
|
+
return DataReportApi;
|
|
723
644
|
}(base_1.BaseAPI));
|
|
724
|
-
exports.
|
|
645
|
+
exports.DataReportApi = DataReportApi;
|