@emilgroup/tenant-sdk-node 1.0.0-beta.1 → 1.0.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 +30 -56
- package/api/custom-schema-api.ts +77 -69
- package/api/data-report-api.ts +687 -0
- package/api/data-report-executor-api.ts +19 -17
- package/api/invite-organizations-api.ts +379 -0
- package/api/invite-users-api.ts +670 -0
- package/api/organizations-api.ts +343 -0
- package/api/users-api.ts +181 -721
- 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 +13 -13
- package/dist/api/data-report-executor-api.js +12 -10
- package/dist/api/invite-organizations-api.d.ts +216 -0
- package/dist/api/invite-organizations-api.js +370 -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 +136 -432
- 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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The EMIL TenantService API description
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -36,13 +36,15 @@ export const DataReportExecutorApiAxiosParamCreator = function (configuration?:
|
|
|
36
36
|
return {
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
+
* @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
|
|
39
40
|
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
40
41
|
* @param {string} [authorization] Bearer Token
|
|
41
|
-
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
43
43
|
* @throws {RequiredError}
|
|
44
44
|
*/
|
|
45
|
-
runDataReport: async (runDataReportRequestDto: RunDataReportRequestDto, authorization?: string,
|
|
45
|
+
runDataReport: async (authorization2: string, runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
46
|
+
// verify required parameter 'authorization2' is not null or undefined
|
|
47
|
+
assertParamExists('runDataReport', 'authorization2', authorization2)
|
|
46
48
|
// verify required parameter 'runDataReportRequestDto' is not null or undefined
|
|
47
49
|
assertParamExists('runDataReport', 'runDataReportRequestDto', runDataReportRequestDto)
|
|
48
50
|
const localVarPath = `/tenantservice/v1/data-report-executor`;
|
|
@@ -97,14 +99,14 @@ export const DataReportExecutorApiFp = function(configuration?: Configuration) {
|
|
|
97
99
|
return {
|
|
98
100
|
/**
|
|
99
101
|
*
|
|
102
|
+
* @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
|
|
100
103
|
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
101
104
|
* @param {string} [authorization] Bearer Token
|
|
102
|
-
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
103
105
|
* @param {*} [options] Override http request option.
|
|
104
106
|
* @throws {RequiredError}
|
|
105
107
|
*/
|
|
106
|
-
async runDataReport(runDataReportRequestDto: RunDataReportRequestDto, authorization?: string,
|
|
107
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.runDataReport(runDataReportRequestDto, authorization,
|
|
108
|
+
async runDataReport(authorization2: string, runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunDataReportResponseClass>> {
|
|
109
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.runDataReport(authorization2, runDataReportRequestDto, authorization, options);
|
|
108
110
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
109
111
|
},
|
|
110
112
|
}
|
|
@@ -119,14 +121,14 @@ export const DataReportExecutorApiFactory = function (configuration?: Configurat
|
|
|
119
121
|
return {
|
|
120
122
|
/**
|
|
121
123
|
*
|
|
124
|
+
* @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
|
|
122
125
|
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
123
126
|
* @param {string} [authorization] Bearer Token
|
|
124
|
-
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
125
127
|
* @param {*} [options] Override http request option.
|
|
126
128
|
* @throws {RequiredError}
|
|
127
129
|
*/
|
|
128
|
-
runDataReport(runDataReportRequestDto: RunDataReportRequestDto, authorization?: string,
|
|
129
|
-
return localVarFp.runDataReport(runDataReportRequestDto, authorization,
|
|
130
|
+
runDataReport(authorization2: string, runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: any): AxiosPromise<RunDataReportResponseClass> {
|
|
131
|
+
return localVarFp.runDataReport(authorization2, runDataReportRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
130
132
|
},
|
|
131
133
|
};
|
|
132
134
|
};
|
|
@@ -137,6 +139,13 @@ export const DataReportExecutorApiFactory = function (configuration?: Configurat
|
|
|
137
139
|
* @interface DataReportExecutorApiRunDataReportRequest
|
|
138
140
|
*/
|
|
139
141
|
export interface DataReportExecutorApiRunDataReportRequest {
|
|
142
|
+
/**
|
|
143
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
144
|
+
* @type {string}
|
|
145
|
+
* @memberof DataReportExecutorApiRunDataReport
|
|
146
|
+
*/
|
|
147
|
+
readonly authorization2: string
|
|
148
|
+
|
|
140
149
|
/**
|
|
141
150
|
*
|
|
142
151
|
* @type {RunDataReportRequestDto}
|
|
@@ -150,13 +159,6 @@ export interface DataReportExecutorApiRunDataReportRequest {
|
|
|
150
159
|
* @memberof DataReportExecutorApiRunDataReport
|
|
151
160
|
*/
|
|
152
161
|
readonly authorization?: string
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
156
|
-
* @type {string}
|
|
157
|
-
* @memberof DataReportExecutorApiRunDataReport
|
|
158
|
-
*/
|
|
159
|
-
readonly authorization2?: string
|
|
160
162
|
}
|
|
161
163
|
|
|
162
164
|
/**
|
|
@@ -174,6 +176,6 @@ export class DataReportExecutorApi extends BaseAPI {
|
|
|
174
176
|
* @memberof DataReportExecutorApi
|
|
175
177
|
*/
|
|
176
178
|
public runDataReport(requestParameters: DataReportExecutorApiRunDataReportRequest, options?: AxiosRequestConfig) {
|
|
177
|
-
return DataReportExecutorApiFp(this.configuration).runDataReport(requestParameters.
|
|
179
|
+
return DataReportExecutorApiFp(this.configuration).runDataReport(requestParameters.authorization2, requestParameters.runDataReportRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
178
180
|
}
|
|
179
181
|
}
|
|
@@ -0,0 +1,379 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Tenant Service
|
|
5
|
+
* The EMIL TenantService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
17
|
+
import { Configuration } from '../configuration';
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { InviteOrgRequestDto } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { ListOrgInvitationsResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { OrgInvitationResponseClass } from '../models';
|
|
29
|
+
// URLSearchParams not necessarily used
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
import { URL, URLSearchParams } from 'url';
|
|
32
|
+
const FormData = require('form-data');
|
|
33
|
+
/**
|
|
34
|
+
* InviteOrganizationsApi - axios parameter creator
|
|
35
|
+
* @export
|
|
36
|
+
*/
|
|
37
|
+
export const InviteOrganizationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
38
|
+
return {
|
|
39
|
+
/**
|
|
40
|
+
* This sends an email to invite an organization.
|
|
41
|
+
* @summary Invite an organization
|
|
42
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
43
|
+
* @param {string} authorization2 Bearer Token
|
|
44
|
+
* @param {InviteOrgRequestDto} inviteOrgRequestDto
|
|
45
|
+
* @param {*} [options] Override http request option.
|
|
46
|
+
* @throws {RequiredError}
|
|
47
|
+
*/
|
|
48
|
+
inviteOrg: async (authorization: string, authorization2: string, inviteOrgRequestDto: InviteOrgRequestDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
50
|
+
assertParamExists('inviteOrg', 'authorization', authorization)
|
|
51
|
+
// verify required parameter 'authorization2' is not null or undefined
|
|
52
|
+
assertParamExists('inviteOrg', 'authorization2', authorization2)
|
|
53
|
+
// verify required parameter 'inviteOrgRequestDto' is not null or undefined
|
|
54
|
+
assertParamExists('inviteOrg', 'inviteOrgRequestDto', inviteOrgRequestDto)
|
|
55
|
+
const localVarPath = `/tenantservice/v1/invitations/organizations`;
|
|
56
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
57
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
58
|
+
let baseOptions;
|
|
59
|
+
let baseAccessToken;
|
|
60
|
+
if (configuration) {
|
|
61
|
+
baseOptions = configuration.baseOptions;
|
|
62
|
+
baseAccessToken = configuration.accessToken;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
66
|
+
const localVarHeaderParameter = {} as any;
|
|
67
|
+
const localVarQueryParameter = {} as any;
|
|
68
|
+
|
|
69
|
+
// authentication bearer required
|
|
70
|
+
// http bearer authentication required
|
|
71
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
72
|
+
|
|
73
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
74
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
if (authorization2 !== undefined && authorization2 !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
78
|
+
localVarHeaderParameter['Authorization'] = String(authorization2 ? authorization2 : baseAccessToken);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
84
|
+
|
|
85
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
86
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
87
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
88
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inviteOrgRequestDto, localVarRequestOptions, configuration)
|
|
89
|
+
|
|
90
|
+
return {
|
|
91
|
+
url: toPathString(localVarUrlObj),
|
|
92
|
+
options: localVarRequestOptions,
|
|
93
|
+
};
|
|
94
|
+
},
|
|
95
|
+
/**
|
|
96
|
+
* Returns a list of org invitations you have previously created. The org invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
97
|
+
* @summary List org invitations
|
|
98
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
99
|
+
* @param {string} authorization2 Bearer Token
|
|
100
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
101
|
+
* @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.
|
|
102
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
103
|
+
* @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.
|
|
104
|
+
* @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.
|
|
105
|
+
* @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.
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @throws {RequiredError}
|
|
108
|
+
*/
|
|
109
|
+
listOrgInvitations: async (authorization: string, authorization2: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
110
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
111
|
+
assertParamExists('listOrgInvitations', 'authorization', authorization)
|
|
112
|
+
// verify required parameter 'authorization2' is not null or undefined
|
|
113
|
+
assertParamExists('listOrgInvitations', 'authorization2', authorization2)
|
|
114
|
+
const localVarPath = `/tenantservice/v1/invitations/organizations`;
|
|
115
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
116
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
117
|
+
let baseOptions;
|
|
118
|
+
let baseAccessToken;
|
|
119
|
+
if (configuration) {
|
|
120
|
+
baseOptions = configuration.baseOptions;
|
|
121
|
+
baseAccessToken = configuration.accessToken;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
125
|
+
const localVarHeaderParameter = {} as any;
|
|
126
|
+
const localVarQueryParameter = {} as any;
|
|
127
|
+
|
|
128
|
+
// authentication bearer required
|
|
129
|
+
// http bearer authentication required
|
|
130
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
131
|
+
|
|
132
|
+
if (pageSize !== undefined) {
|
|
133
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
if (pageToken !== undefined) {
|
|
137
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
if (filter !== undefined) {
|
|
141
|
+
localVarQueryParameter['filter'] = filter;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
if (search !== undefined) {
|
|
145
|
+
localVarQueryParameter['search'] = search;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
if (order !== undefined) {
|
|
149
|
+
localVarQueryParameter['order'] = order;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
if (expand !== undefined) {
|
|
153
|
+
localVarQueryParameter['expand'] = expand;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
157
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
if (authorization2 !== undefined && authorization2 !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
161
|
+
localVarHeaderParameter['Authorization'] = String(authorization2 ? authorization2 : baseAccessToken);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
167
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
168
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
169
|
+
|
|
170
|
+
return {
|
|
171
|
+
url: toPathString(localVarUrlObj),
|
|
172
|
+
options: localVarRequestOptions,
|
|
173
|
+
};
|
|
174
|
+
},
|
|
175
|
+
}
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* InviteOrganizationsApi - functional programming interface
|
|
180
|
+
* @export
|
|
181
|
+
*/
|
|
182
|
+
export const InviteOrganizationsApiFp = function(configuration?: Configuration) {
|
|
183
|
+
const localVarAxiosParamCreator = InviteOrganizationsApiAxiosParamCreator(configuration)
|
|
184
|
+
return {
|
|
185
|
+
/**
|
|
186
|
+
* This sends an email to invite an organization.
|
|
187
|
+
* @summary Invite an organization
|
|
188
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
189
|
+
* @param {string} authorization2 Bearer Token
|
|
190
|
+
* @param {InviteOrgRequestDto} inviteOrgRequestDto
|
|
191
|
+
* @param {*} [options] Override http request option.
|
|
192
|
+
* @throws {RequiredError}
|
|
193
|
+
*/
|
|
194
|
+
async inviteOrg(authorization: string, authorization2: string, inviteOrgRequestDto: InviteOrgRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrgInvitationResponseClass>> {
|
|
195
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteOrg(authorization, authorization2, inviteOrgRequestDto, options);
|
|
196
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
197
|
+
},
|
|
198
|
+
/**
|
|
199
|
+
* Returns a list of org invitations you have previously created. The org invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
200
|
+
* @summary List org invitations
|
|
201
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
202
|
+
* @param {string} authorization2 Bearer Token
|
|
203
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
204
|
+
* @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.
|
|
205
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
206
|
+
* @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.
|
|
207
|
+
* @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.
|
|
208
|
+
* @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.
|
|
209
|
+
* @param {*} [options] Override http request option.
|
|
210
|
+
* @throws {RequiredError}
|
|
211
|
+
*/
|
|
212
|
+
async listOrgInvitations(authorization: string, authorization2: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListOrgInvitationsResponseClass>> {
|
|
213
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrgInvitations(authorization, authorization2, pageSize, pageToken, filter, search, order, expand, options);
|
|
214
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
215
|
+
},
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* InviteOrganizationsApi - factory interface
|
|
221
|
+
* @export
|
|
222
|
+
*/
|
|
223
|
+
export const InviteOrganizationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
224
|
+
const localVarFp = InviteOrganizationsApiFp(configuration)
|
|
225
|
+
return {
|
|
226
|
+
/**
|
|
227
|
+
* This sends an email to invite an organization.
|
|
228
|
+
* @summary Invite an organization
|
|
229
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
230
|
+
* @param {string} authorization2 Bearer Token
|
|
231
|
+
* @param {InviteOrgRequestDto} inviteOrgRequestDto
|
|
232
|
+
* @param {*} [options] Override http request option.
|
|
233
|
+
* @throws {RequiredError}
|
|
234
|
+
*/
|
|
235
|
+
inviteOrg(authorization: string, authorization2: string, inviteOrgRequestDto: InviteOrgRequestDto, options?: any): AxiosPromise<OrgInvitationResponseClass> {
|
|
236
|
+
return localVarFp.inviteOrg(authorization, authorization2, inviteOrgRequestDto, options).then((request) => request(axios, basePath));
|
|
237
|
+
},
|
|
238
|
+
/**
|
|
239
|
+
* Returns a list of org invitations you have previously created. The org invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
240
|
+
* @summary List org invitations
|
|
241
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
242
|
+
* @param {string} authorization2 Bearer Token
|
|
243
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
244
|
+
* @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.
|
|
245
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
246
|
+
* @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.
|
|
247
|
+
* @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.
|
|
248
|
+
* @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.
|
|
249
|
+
* @param {*} [options] Override http request option.
|
|
250
|
+
* @throws {RequiredError}
|
|
251
|
+
*/
|
|
252
|
+
listOrgInvitations(authorization: string, authorization2: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListOrgInvitationsResponseClass> {
|
|
253
|
+
return localVarFp.listOrgInvitations(authorization, authorization2, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
254
|
+
},
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* Request parameters for inviteOrg operation in InviteOrganizationsApi.
|
|
260
|
+
* @export
|
|
261
|
+
* @interface InviteOrganizationsApiInviteOrgRequest
|
|
262
|
+
*/
|
|
263
|
+
export interface InviteOrganizationsApiInviteOrgRequest {
|
|
264
|
+
/**
|
|
265
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
266
|
+
* @type {string}
|
|
267
|
+
* @memberof InviteOrganizationsApiInviteOrg
|
|
268
|
+
*/
|
|
269
|
+
readonly authorization: string
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* Bearer Token
|
|
273
|
+
* @type {string}
|
|
274
|
+
* @memberof InviteOrganizationsApiInviteOrg
|
|
275
|
+
*/
|
|
276
|
+
readonly authorization2: string
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
*
|
|
280
|
+
* @type {InviteOrgRequestDto}
|
|
281
|
+
* @memberof InviteOrganizationsApiInviteOrg
|
|
282
|
+
*/
|
|
283
|
+
readonly inviteOrgRequestDto: InviteOrgRequestDto
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* Request parameters for listOrgInvitations operation in InviteOrganizationsApi.
|
|
288
|
+
* @export
|
|
289
|
+
* @interface InviteOrganizationsApiListOrgInvitationsRequest
|
|
290
|
+
*/
|
|
291
|
+
export interface InviteOrganizationsApiListOrgInvitationsRequest {
|
|
292
|
+
/**
|
|
293
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
294
|
+
* @type {string}
|
|
295
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
296
|
+
*/
|
|
297
|
+
readonly authorization: string
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* Bearer Token
|
|
301
|
+
* @type {string}
|
|
302
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
303
|
+
*/
|
|
304
|
+
readonly authorization2: string
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
308
|
+
* @type {any}
|
|
309
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
310
|
+
*/
|
|
311
|
+
readonly pageSize?: any
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* 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.
|
|
315
|
+
* @type {any}
|
|
316
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
317
|
+
*/
|
|
318
|
+
readonly pageToken?: any
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
322
|
+
* @type {any}
|
|
323
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
324
|
+
*/
|
|
325
|
+
readonly filter?: any
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
329
|
+
* @type {any}
|
|
330
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
331
|
+
*/
|
|
332
|
+
readonly search?: any
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* 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.
|
|
336
|
+
* @type {any}
|
|
337
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
338
|
+
*/
|
|
339
|
+
readonly order?: any
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* 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.
|
|
343
|
+
* @type {any}
|
|
344
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
345
|
+
*/
|
|
346
|
+
readonly expand?: any
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* InviteOrganizationsApi - object-oriented interface
|
|
351
|
+
* @export
|
|
352
|
+
* @class InviteOrganizationsApi
|
|
353
|
+
* @extends {BaseAPI}
|
|
354
|
+
*/
|
|
355
|
+
export class InviteOrganizationsApi extends BaseAPI {
|
|
356
|
+
/**
|
|
357
|
+
* This sends an email to invite an organization.
|
|
358
|
+
* @summary Invite an organization
|
|
359
|
+
* @param {InviteOrganizationsApiInviteOrgRequest} requestParameters Request parameters.
|
|
360
|
+
* @param {*} [options] Override http request option.
|
|
361
|
+
* @throws {RequiredError}
|
|
362
|
+
* @memberof InviteOrganizationsApi
|
|
363
|
+
*/
|
|
364
|
+
public inviteOrg(requestParameters: InviteOrganizationsApiInviteOrgRequest, options?: AxiosRequestConfig) {
|
|
365
|
+
return InviteOrganizationsApiFp(this.configuration).inviteOrg(requestParameters.authorization, requestParameters.authorization2, requestParameters.inviteOrgRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* Returns a list of org invitations you have previously created. The org invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
370
|
+
* @summary List org invitations
|
|
371
|
+
* @param {InviteOrganizationsApiListOrgInvitationsRequest} requestParameters Request parameters.
|
|
372
|
+
* @param {*} [options] Override http request option.
|
|
373
|
+
* @throws {RequiredError}
|
|
374
|
+
* @memberof InviteOrganizationsApi
|
|
375
|
+
*/
|
|
376
|
+
public listOrgInvitations(requestParameters: InviteOrganizationsApiListOrgInvitationsRequest, options?: AxiosRequestConfig) {
|
|
377
|
+
return InviteOrganizationsApiFp(this.configuration).listOrgInvitations(requestParameters.authorization, requestParameters.authorization2, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
378
|
+
}
|
|
379
|
+
}
|