@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
|
@@ -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
|
|
@@ -38,11 +38,10 @@ export const DataReportExecutorApiAxiosParamCreator = function (configuration?:
|
|
|
38
38
|
*
|
|
39
39
|
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
40
40
|
* @param {string} [authorization] Bearer Token
|
|
41
|
-
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
42
41
|
* @param {*} [options] Override http request option.
|
|
43
42
|
* @throws {RequiredError}
|
|
44
43
|
*/
|
|
45
|
-
runDataReport: async (runDataReportRequestDto: RunDataReportRequestDto, authorization?: string,
|
|
44
|
+
runDataReport: async (runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
46
45
|
// verify required parameter 'runDataReportRequestDto' is not null or undefined
|
|
47
46
|
assertParamExists('runDataReport', 'runDataReportRequestDto', runDataReportRequestDto)
|
|
48
47
|
const localVarPath = `/tenantservice/v1/data-report-executor`;
|
|
@@ -67,10 +66,6 @@ export const DataReportExecutorApiAxiosParamCreator = function (configuration?:
|
|
|
67
66
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
68
67
|
}
|
|
69
68
|
|
|
70
|
-
if (authorization2 !== undefined && authorization2 !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
71
|
-
localVarHeaderParameter['Authorization'] = String(authorization2 ? authorization2 : baseAccessToken);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
69
|
|
|
75
70
|
|
|
76
71
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -99,12 +94,11 @@ export const DataReportExecutorApiFp = function(configuration?: Configuration) {
|
|
|
99
94
|
*
|
|
100
95
|
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
101
96
|
* @param {string} [authorization] Bearer Token
|
|
102
|
-
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
103
97
|
* @param {*} [options] Override http request option.
|
|
104
98
|
* @throws {RequiredError}
|
|
105
99
|
*/
|
|
106
|
-
async runDataReport(runDataReportRequestDto: RunDataReportRequestDto, authorization?: string,
|
|
107
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.runDataReport(runDataReportRequestDto, authorization,
|
|
100
|
+
async runDataReport(runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunDataReportResponseClass>> {
|
|
101
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.runDataReport(runDataReportRequestDto, authorization, options);
|
|
108
102
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
109
103
|
},
|
|
110
104
|
}
|
|
@@ -121,12 +115,11 @@ export const DataReportExecutorApiFactory = function (configuration?: Configurat
|
|
|
121
115
|
*
|
|
122
116
|
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
123
117
|
* @param {string} [authorization] Bearer Token
|
|
124
|
-
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
125
118
|
* @param {*} [options] Override http request option.
|
|
126
119
|
* @throws {RequiredError}
|
|
127
120
|
*/
|
|
128
|
-
runDataReport(runDataReportRequestDto: RunDataReportRequestDto, authorization?: string,
|
|
129
|
-
return localVarFp.runDataReport(runDataReportRequestDto, authorization,
|
|
121
|
+
runDataReport(runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: any): AxiosPromise<RunDataReportResponseClass> {
|
|
122
|
+
return localVarFp.runDataReport(runDataReportRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
130
123
|
},
|
|
131
124
|
};
|
|
132
125
|
};
|
|
@@ -150,13 +143,6 @@ export interface DataReportExecutorApiRunDataReportRequest {
|
|
|
150
143
|
* @memberof DataReportExecutorApiRunDataReport
|
|
151
144
|
*/
|
|
152
145
|
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
146
|
}
|
|
161
147
|
|
|
162
148
|
/**
|
|
@@ -174,6 +160,6 @@ export class DataReportExecutorApi extends BaseAPI {
|
|
|
174
160
|
* @memberof DataReportExecutorApi
|
|
175
161
|
*/
|
|
176
162
|
public runDataReport(requestParameters: DataReportExecutorApiRunDataReportRequest, options?: AxiosRequestConfig) {
|
|
177
|
-
return DataReportExecutorApiFp(this.configuration).runDataReport(requestParameters.runDataReportRequestDto, requestParameters.authorization,
|
|
163
|
+
return DataReportExecutorApiFp(this.configuration).runDataReport(requestParameters.runDataReportRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
178
164
|
}
|
|
179
165
|
}
|
|
@@ -0,0 +1,347 @@
|
|
|
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 {InviteOrgRequestDto} inviteOrgRequestDto
|
|
44
|
+
* @param {*} [options] Override http request option.
|
|
45
|
+
* @throws {RequiredError}
|
|
46
|
+
*/
|
|
47
|
+
inviteOrg: async (authorization: string, inviteOrgRequestDto: InviteOrgRequestDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
48
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
49
|
+
assertParamExists('inviteOrg', 'authorization', authorization)
|
|
50
|
+
// verify required parameter 'inviteOrgRequestDto' is not null or undefined
|
|
51
|
+
assertParamExists('inviteOrg', 'inviteOrgRequestDto', inviteOrgRequestDto)
|
|
52
|
+
const localVarPath = `/tenantservice/v1/invitations/organizations`;
|
|
53
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
54
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
55
|
+
let baseOptions;
|
|
56
|
+
let baseAccessToken;
|
|
57
|
+
if (configuration) {
|
|
58
|
+
baseOptions = configuration.baseOptions;
|
|
59
|
+
baseAccessToken = configuration.accessToken;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
63
|
+
const localVarHeaderParameter = {} as any;
|
|
64
|
+
const localVarQueryParameter = {} as any;
|
|
65
|
+
|
|
66
|
+
// authentication bearer required
|
|
67
|
+
// http bearer authentication required
|
|
68
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
69
|
+
|
|
70
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
71
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
77
|
+
|
|
78
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
79
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
80
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
81
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inviteOrgRequestDto, localVarRequestOptions, configuration)
|
|
82
|
+
|
|
83
|
+
return {
|
|
84
|
+
url: toPathString(localVarUrlObj),
|
|
85
|
+
options: localVarRequestOptions,
|
|
86
|
+
};
|
|
87
|
+
},
|
|
88
|
+
/**
|
|
89
|
+
* 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.
|
|
90
|
+
* @summary List org invitations
|
|
91
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
92
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
93
|
+
* @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.
|
|
94
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
95
|
+
* @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.
|
|
96
|
+
* @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.
|
|
97
|
+
* @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.
|
|
98
|
+
* @param {*} [options] Override http request option.
|
|
99
|
+
* @throws {RequiredError}
|
|
100
|
+
*/
|
|
101
|
+
listOrgInvitations: async (authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
102
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
103
|
+
assertParamExists('listOrgInvitations', 'authorization', authorization)
|
|
104
|
+
const localVarPath = `/tenantservice/v1/invitations/organizations`;
|
|
105
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
106
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
107
|
+
let baseOptions;
|
|
108
|
+
let baseAccessToken;
|
|
109
|
+
if (configuration) {
|
|
110
|
+
baseOptions = configuration.baseOptions;
|
|
111
|
+
baseAccessToken = configuration.accessToken;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
115
|
+
const localVarHeaderParameter = {} as any;
|
|
116
|
+
const localVarQueryParameter = {} as any;
|
|
117
|
+
|
|
118
|
+
// authentication bearer required
|
|
119
|
+
// http bearer authentication required
|
|
120
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
121
|
+
|
|
122
|
+
if (pageSize !== undefined) {
|
|
123
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
if (pageToken !== undefined) {
|
|
127
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
if (filter !== undefined) {
|
|
131
|
+
localVarQueryParameter['filter'] = filter;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
if (search !== undefined) {
|
|
135
|
+
localVarQueryParameter['search'] = search;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
if (order !== undefined) {
|
|
139
|
+
localVarQueryParameter['order'] = order;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
if (expand !== undefined) {
|
|
143
|
+
localVarQueryParameter['expand'] = expand;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
147
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
153
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
154
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
155
|
+
|
|
156
|
+
return {
|
|
157
|
+
url: toPathString(localVarUrlObj),
|
|
158
|
+
options: localVarRequestOptions,
|
|
159
|
+
};
|
|
160
|
+
},
|
|
161
|
+
}
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* InviteOrganizationsApi - functional programming interface
|
|
166
|
+
* @export
|
|
167
|
+
*/
|
|
168
|
+
export const InviteOrganizationsApiFp = function(configuration?: Configuration) {
|
|
169
|
+
const localVarAxiosParamCreator = InviteOrganizationsApiAxiosParamCreator(configuration)
|
|
170
|
+
return {
|
|
171
|
+
/**
|
|
172
|
+
* This sends an email to invite an organization.
|
|
173
|
+
* @summary Invite an organization
|
|
174
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
175
|
+
* @param {InviteOrgRequestDto} inviteOrgRequestDto
|
|
176
|
+
* @param {*} [options] Override http request option.
|
|
177
|
+
* @throws {RequiredError}
|
|
178
|
+
*/
|
|
179
|
+
async inviteOrg(authorization: string, inviteOrgRequestDto: InviteOrgRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrgInvitationResponseClass>> {
|
|
180
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteOrg(authorization, inviteOrgRequestDto, options);
|
|
181
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
182
|
+
},
|
|
183
|
+
/**
|
|
184
|
+
* 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.
|
|
185
|
+
* @summary List org invitations
|
|
186
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
187
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
188
|
+
* @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.
|
|
189
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
190
|
+
* @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.
|
|
191
|
+
* @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.
|
|
192
|
+
* @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.
|
|
193
|
+
* @param {*} [options] Override http request option.
|
|
194
|
+
* @throws {RequiredError}
|
|
195
|
+
*/
|
|
196
|
+
async listOrgInvitations(authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListOrgInvitationsResponseClass>> {
|
|
197
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrgInvitations(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
198
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
199
|
+
},
|
|
200
|
+
}
|
|
201
|
+
};
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* InviteOrganizationsApi - factory interface
|
|
205
|
+
* @export
|
|
206
|
+
*/
|
|
207
|
+
export const InviteOrganizationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
208
|
+
const localVarFp = InviteOrganizationsApiFp(configuration)
|
|
209
|
+
return {
|
|
210
|
+
/**
|
|
211
|
+
* This sends an email to invite an organization.
|
|
212
|
+
* @summary Invite an organization
|
|
213
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
214
|
+
* @param {InviteOrgRequestDto} inviteOrgRequestDto
|
|
215
|
+
* @param {*} [options] Override http request option.
|
|
216
|
+
* @throws {RequiredError}
|
|
217
|
+
*/
|
|
218
|
+
inviteOrg(authorization: string, inviteOrgRequestDto: InviteOrgRequestDto, options?: any): AxiosPromise<OrgInvitationResponseClass> {
|
|
219
|
+
return localVarFp.inviteOrg(authorization, inviteOrgRequestDto, options).then((request) => request(axios, basePath));
|
|
220
|
+
},
|
|
221
|
+
/**
|
|
222
|
+
* 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.
|
|
223
|
+
* @summary List org invitations
|
|
224
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
225
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
226
|
+
* @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.
|
|
227
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
228
|
+
* @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.
|
|
229
|
+
* @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.
|
|
230
|
+
* @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.
|
|
231
|
+
* @param {*} [options] Override http request option.
|
|
232
|
+
* @throws {RequiredError}
|
|
233
|
+
*/
|
|
234
|
+
listOrgInvitations(authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListOrgInvitationsResponseClass> {
|
|
235
|
+
return localVarFp.listOrgInvitations(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
236
|
+
},
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Request parameters for inviteOrg operation in InviteOrganizationsApi.
|
|
242
|
+
* @export
|
|
243
|
+
* @interface InviteOrganizationsApiInviteOrgRequest
|
|
244
|
+
*/
|
|
245
|
+
export interface InviteOrganizationsApiInviteOrgRequest {
|
|
246
|
+
/**
|
|
247
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
248
|
+
* @type {string}
|
|
249
|
+
* @memberof InviteOrganizationsApiInviteOrg
|
|
250
|
+
*/
|
|
251
|
+
readonly authorization: string
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
*
|
|
255
|
+
* @type {InviteOrgRequestDto}
|
|
256
|
+
* @memberof InviteOrganizationsApiInviteOrg
|
|
257
|
+
*/
|
|
258
|
+
readonly inviteOrgRequestDto: InviteOrgRequestDto
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* Request parameters for listOrgInvitations operation in InviteOrganizationsApi.
|
|
263
|
+
* @export
|
|
264
|
+
* @interface InviteOrganizationsApiListOrgInvitationsRequest
|
|
265
|
+
*/
|
|
266
|
+
export interface InviteOrganizationsApiListOrgInvitationsRequest {
|
|
267
|
+
/**
|
|
268
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
269
|
+
* @type {string}
|
|
270
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
271
|
+
*/
|
|
272
|
+
readonly authorization: string
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
276
|
+
* @type {any}
|
|
277
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
278
|
+
*/
|
|
279
|
+
readonly pageSize?: any
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* 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.
|
|
283
|
+
* @type {any}
|
|
284
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
285
|
+
*/
|
|
286
|
+
readonly pageToken?: any
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
290
|
+
* @type {any}
|
|
291
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
292
|
+
*/
|
|
293
|
+
readonly filter?: any
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
297
|
+
* @type {any}
|
|
298
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
299
|
+
*/
|
|
300
|
+
readonly search?: any
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* 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.
|
|
304
|
+
* @type {any}
|
|
305
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
306
|
+
*/
|
|
307
|
+
readonly order?: any
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* 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.
|
|
311
|
+
* @type {any}
|
|
312
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
313
|
+
*/
|
|
314
|
+
readonly expand?: any
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* InviteOrganizationsApi - object-oriented interface
|
|
319
|
+
* @export
|
|
320
|
+
* @class InviteOrganizationsApi
|
|
321
|
+
* @extends {BaseAPI}
|
|
322
|
+
*/
|
|
323
|
+
export class InviteOrganizationsApi extends BaseAPI {
|
|
324
|
+
/**
|
|
325
|
+
* This sends an email to invite an organization.
|
|
326
|
+
* @summary Invite an organization
|
|
327
|
+
* @param {InviteOrganizationsApiInviteOrgRequest} requestParameters Request parameters.
|
|
328
|
+
* @param {*} [options] Override http request option.
|
|
329
|
+
* @throws {RequiredError}
|
|
330
|
+
* @memberof InviteOrganizationsApi
|
|
331
|
+
*/
|
|
332
|
+
public inviteOrg(requestParameters: InviteOrganizationsApiInviteOrgRequest, options?: AxiosRequestConfig) {
|
|
333
|
+
return InviteOrganizationsApiFp(this.configuration).inviteOrg(requestParameters.authorization, requestParameters.inviteOrgRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* 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.
|
|
338
|
+
* @summary List org invitations
|
|
339
|
+
* @param {InviteOrganizationsApiListOrgInvitationsRequest} requestParameters Request parameters.
|
|
340
|
+
* @param {*} [options] Override http request option.
|
|
341
|
+
* @throws {RequiredError}
|
|
342
|
+
* @memberof InviteOrganizationsApi
|
|
343
|
+
*/
|
|
344
|
+
public listOrgInvitations(requestParameters: InviteOrganizationsApiListOrgInvitationsRequest, options?: AxiosRequestConfig) {
|
|
345
|
+
return InviteOrganizationsApiFp(this.configuration).listOrgInvitations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
346
|
+
}
|
|
347
|
+
}
|