@emilgroup/tenant-sdk-node 1.0.0-beta.0 → 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 -59
- package/README.md +6 -6
- package/api/custom-schema-api.ts +93 -85
- package/api/data-report-api.ts +687 -0
- package/api/data-report-executor-api.ts +23 -25
- 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 -26
- package/base.ts +3 -2
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api/custom-schema-api.d.ts +75 -75
- package/dist/api/custom-schema-api.js +67 -60
- 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 +17 -21
- package/dist/api/data-report-executor-api.js +16 -18
- 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/{permissions-api.js → organizations-api.js} +97 -75
- package/dist/api/users-api.d.ts +136 -432
- package/dist/api/users-api.js +114 -567
- package/dist/api.d.ts +5 -15
- package/dist/api.js +5 -17
- package/dist/base.d.ts +3 -2
- package/dist/base.js +3 -2
- 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/{create-alert-response-class.js → create-data-report-request-dto.js} +1 -1
- package/dist/models/{create-permission-response-class.d.ts → create-data-report-response-class.d.ts} +8 -8
- package/dist/models/{create-dashboard-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/{compare-tariffs-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 +42 -0
- package/dist/models/data-report-filter-single-value-dto.js +15 -0
- package/dist/models/data-report-filter-value-dto.d.ts +31 -0
- package/dist/models/data-report-filter-value-dto.js +15 -0
- 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/disable-users-response-class.d.ts +24 -0
- 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/{list-tariffs-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/{list-channels-response-class.d.ts → get-settings-response-class.d.ts} +6 -6
- 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 +2 -2
- 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 +6 -5
- 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 +4 -3
- package/dist/models/list-users-response-class.js +1 -1
- package/dist/models/org-invitation-class.d.ts +115 -0
- package/dist/models/{condition-dto.js → org-invitation-class.js} +6 -7
- 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/{update-alert-request-dto.js → organization-class.js} +6 -6
- package/dist/models/permission-class.d.ts +8 -14
- package/dist/models/permission-class.js +1 -1
- package/dist/models/role-class.d.ts +11 -10
- package/dist/models/role-class.js +1 -1
- package/dist/models/run-data-report-request-dto.d.ts +5 -4
- package/dist/models/run-data-report-request-dto.js +1 -1
- package/dist/models/run-data-report-response-class.d.ts +4 -4
- 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 +48 -0
- package/models/data-report-filter-value-dto.ts +37 -0
- 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/disable-users-response-class.ts +30 -0
- package/models/enable-user-response-class.ts +1 -1
- package/models/enable-users-request-dto.ts +1 -1
- package/models/{list-tariffs-response-class.ts → enable-users-response-class.ts} +7 -7
- package/models/get-custom-schema-response-class.ts +1 -1
- package/models/{create-report-response-class.ts → get-data-report-response-class.ts} +8 -8
- package/models/{create-alert-response-class.ts → get-organization-response-class.ts} +8 -8
- package/models/{list-channels-response-class.ts → get-settings-response-class.ts} +6 -6
- 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 +2 -2
- package/models/{list-permissions-response-class.ts → list-data-reports-response-class.ts} +10 -9
- package/models/list-invites-response-class.ts +6 -5
- package/models/{list-alert-history-response-class.ts → list-org-invitations-response-class.ts} +10 -9
- package/models/{list-dashboards-response-class.ts → list-organizations-response-class.ts} +10 -9
- package/models/list-users-response-class.ts +4 -3
- 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/permission-class.ts +8 -14
- package/models/role-class.ts +11 -10
- package/models/run-data-report-request-dto.ts +5 -4
- package/models/run-data-report-response-class.ts +4 -4
- 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-permission-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/permissions-api.ts +0 -307
- package/api/reports-api.ts +0 -860
- package/api/roles-api.ts +0 -564
- 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/tenants-api.ts +0 -514
- 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/permissions-api.d.ts +0 -172
- package/dist/api/reports-api.d.ts +0 -479
- package/dist/api/roles-api.d.ts +0 -301
- package/dist/api/roles-api.js +0 -578
- 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/tariff-comparisons-api.js +0 -409
- package/dist/api/tenants-api.d.ts +0 -282
- package/dist/api/tenants-api.js +0 -514
- 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/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 -30
- 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-dashboard-request-dto.d.ts +0 -70
- package/dist/models/create-dashboard-request-dto.js +0 -29
- package/dist/models/create-permission-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-role-response-class.d.ts +0 -25
- package/dist/models/create-role-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/create-tenant-response-class.d.ts +0 -42
- package/dist/models/create-tenant-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.d.ts +0 -25
- 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-role-response-class.d.ts +0 -25
- package/dist/models/get-role-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/list-alert-history-response-class.d.ts +0 -30
- package/dist/models/list-alert-history-response-class.js +0 -15
- package/dist/models/list-alerts-response-class.d.ts +0 -30
- package/dist/models/list-alerts-response-class.js +0 -15
- package/dist/models/list-channels-response-class.js +0 -15
- package/dist/models/list-dashboards-response-class.d.ts +0 -30
- package/dist/models/list-dashboards-response-class.js +0 -15
- package/dist/models/list-insurance-companies-response-class.d.ts +0 -24
- package/dist/models/list-insurance-companies-response-class.js +0 -15
- package/dist/models/list-permissions-response-class.d.ts +0 -30
- package/dist/models/list-permissions-response-class.js +0 -15
- package/dist/models/list-report-history-response-class.d.ts +0 -30
- package/dist/models/list-report-history-response-class.js +0 -15
- package/dist/models/list-reports-response-class.d.ts +0 -30
- package/dist/models/list-reports-response-class.js +0 -15
- package/dist/models/list-roles-response-class.d.ts +0 -30
- package/dist/models/list-roles-response-class.js +0 -15
- package/dist/models/list-scenario-analyses-response-class.d.ts +0 -30
- package/dist/models/list-scenario-analyses-response-class.js +0 -15
- package/dist/models/list-scenario-analysis-dates-response-class.d.ts +0 -24
- package/dist/models/list-scenario-analysis-dates-response-class.js +0 -15
- package/dist/models/list-tariff-insurance-companies-response-class.d.ts +0 -24
- package/dist/models/list-tariff-insurance-companies-response-class.js +0 -15
- 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/scenario-analysis-class.d.ts +0 -108
- package/dist/models/scenario-analysis-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-role-response-class.d.ts +0 -25
- package/dist/models/update-role-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/compare-tariffs-request-dto.ts +0 -46
- package/models/compare-tariffs-response-class.ts +0 -36
- 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-role-response-class.ts +0 -31
- package/models/create-scenario-analysis-request-dto.ts +0 -83
- package/models/create-scenario-analysis-response-class.ts +0 -31
- package/models/create-tenant-response-class.ts +0 -48
- package/models/dashboard-class.ts +0 -84
- package/models/get-alert-response-class.ts +0 -31
- package/models/get-dashboard-response-class.ts +0 -31
- package/models/get-report-response-class.ts +0 -31
- package/models/get-role-response-class.ts +0 -31
- package/models/get-scenario-analysis-response-class.ts +0 -31
- package/models/list-alerts-response-class.ts +0 -36
- package/models/list-insurance-companies-response-class.ts +0 -30
- package/models/list-report-history-response-class.ts +0 -36
- package/models/list-reports-response-class.ts +0 -36
- package/models/list-roles-response-class.ts +0 -36
- package/models/list-scenario-analyses-response-class.ts +0 -36
- package/models/list-scenario-analysis-dates-response-class.ts +0 -30
- package/models/list-tariff-insurance-companies-response-class.ts +0 -30
- package/models/manage-subscription-response-class.ts +0 -31
- package/models/report-class.ts +0 -72
- package/models/scenario-analysis-class.ts +0 -114
- 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-role-response-class.ts +0 -31
- package/models/update-scenario-analysis-request-dto.ts +0 -83
- package/models/update-scenario-analysis-response-class.ts +0 -31
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* The EMIL TenantService API description
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
|
-
*
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.
|
|
81
|
+
exports.InviteUsersApi = exports.InviteUsersApiFactory = exports.InviteUsersApiFp = exports.InviteUsersApiAxiosParamCreator = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -90,35 +90,39 @@ var base_1 = require("../base");
|
|
|
90
90
|
var url_1 = require("url");
|
|
91
91
|
var FormData = require('form-data');
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* InviteUsersApi - axios parameter creator
|
|
94
94
|
* @export
|
|
95
95
|
*/
|
|
96
|
-
var
|
|
96
|
+
var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
*
|
|
101
|
-
* @
|
|
102
|
-
* @param {string}
|
|
100
|
+
* Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
|
|
101
|
+
* @summary Delete the invited user
|
|
102
|
+
* @param {string} authorization Bearer Token
|
|
103
|
+
* @param {number} id
|
|
103
104
|
* @param {*} [options] Override http request option.
|
|
104
105
|
* @throws {RequiredError}
|
|
105
106
|
*/
|
|
106
|
-
|
|
107
|
+
deleteInvite: function (authorization, id, options) {
|
|
107
108
|
if (options === void 0) { options = {}; }
|
|
108
109
|
return __awaiter(_this, void 0, void 0, function () {
|
|
109
110
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
110
111
|
return __generator(this, function (_a) {
|
|
111
112
|
switch (_a.label) {
|
|
112
113
|
case 0:
|
|
113
|
-
// verify required parameter '
|
|
114
|
-
(0, common_1.assertParamExists)('
|
|
115
|
-
|
|
114
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
115
|
+
(0, common_1.assertParamExists)('deleteInvite', 'authorization', authorization);
|
|
116
|
+
// verify required parameter 'id' is not null or undefined
|
|
117
|
+
(0, common_1.assertParamExists)('deleteInvite', 'id', id);
|
|
118
|
+
localVarPath = "/tenantservice/v1/users/invites/{id}"
|
|
119
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
116
120
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
117
121
|
if (configuration) {
|
|
118
122
|
baseOptions = configuration.baseOptions;
|
|
119
123
|
baseAccessToken = configuration.accessToken;
|
|
120
124
|
}
|
|
121
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
125
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
122
126
|
localVarHeaderParameter = {};
|
|
123
127
|
localVarQueryParameter = {};
|
|
124
128
|
// authentication bearer required
|
|
@@ -131,11 +135,9 @@ var ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
131
135
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
132
136
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
133
137
|
}
|
|
134
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
135
138
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
136
139
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
137
140
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
138
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createReportRequestDto, localVarRequestOptions, configuration);
|
|
139
141
|
return [2 /*return*/, {
|
|
140
142
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
141
143
|
options: localVarRequestOptions,
|
|
@@ -145,29 +147,31 @@ var ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
145
147
|
});
|
|
146
148
|
},
|
|
147
149
|
/**
|
|
148
|
-
*
|
|
149
|
-
* @
|
|
150
|
-
* @param {string}
|
|
150
|
+
* This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
|
|
151
|
+
* @summary Delete invited users.
|
|
152
|
+
* @param {string} authorization Bearer Token
|
|
153
|
+
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
151
154
|
* @param {*} [options] Override http request option.
|
|
152
155
|
* @throws {RequiredError}
|
|
153
156
|
*/
|
|
154
|
-
|
|
157
|
+
deleteInvites: function (authorization, batchDeleteRequestDto, options) {
|
|
155
158
|
if (options === void 0) { options = {}; }
|
|
156
159
|
return __awaiter(_this, void 0, void 0, function () {
|
|
157
160
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
158
161
|
return __generator(this, function (_a) {
|
|
159
162
|
switch (_a.label) {
|
|
160
163
|
case 0:
|
|
161
|
-
// verify required parameter '
|
|
162
|
-
(0, common_1.assertParamExists)('
|
|
163
|
-
|
|
164
|
-
|
|
164
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
165
|
+
(0, common_1.assertParamExists)('deleteInvites', 'authorization', authorization);
|
|
166
|
+
// verify required parameter 'batchDeleteRequestDto' is not null or undefined
|
|
167
|
+
(0, common_1.assertParamExists)('deleteInvites', 'batchDeleteRequestDto', batchDeleteRequestDto);
|
|
168
|
+
localVarPath = "/tenantservice/v1/users/invites/delete-batch";
|
|
165
169
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
166
170
|
if (configuration) {
|
|
167
171
|
baseOptions = configuration.baseOptions;
|
|
168
172
|
baseAccessToken = configuration.accessToken;
|
|
169
173
|
}
|
|
170
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
174
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
171
175
|
localVarHeaderParameter = {};
|
|
172
176
|
localVarQueryParameter = {};
|
|
173
177
|
// authentication bearer required
|
|
@@ -180,9 +184,11 @@ var ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
180
184
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
181
185
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
182
186
|
}
|
|
187
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
183
188
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
184
189
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
185
190
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
191
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(batchDeleteRequestDto, localVarRequestOptions, configuration);
|
|
186
192
|
return [2 /*return*/, {
|
|
187
193
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
188
194
|
options: localVarRequestOptions,
|
|
@@ -192,33 +198,31 @@ var ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
192
198
|
});
|
|
193
199
|
},
|
|
194
200
|
/**
|
|
195
|
-
*
|
|
196
|
-
* @
|
|
197
|
-
* @param {string}
|
|
198
|
-
* @param {
|
|
199
|
-
* @param {string} [expand] Fields to expand response by
|
|
201
|
+
* This send an email to invite a user with the specific role/roles.
|
|
202
|
+
* @summary Invite a user
|
|
203
|
+
* @param {string} authorization Bearer Token
|
|
204
|
+
* @param {InviteUserRequestDto} inviteUserRequestDto
|
|
200
205
|
* @param {*} [options] Override http request option.
|
|
201
206
|
* @throws {RequiredError}
|
|
202
207
|
*/
|
|
203
|
-
|
|
208
|
+
inviteUser: function (authorization, inviteUserRequestDto, options) {
|
|
204
209
|
if (options === void 0) { options = {}; }
|
|
205
210
|
return __awaiter(_this, void 0, void 0, function () {
|
|
206
211
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
207
212
|
return __generator(this, function (_a) {
|
|
208
213
|
switch (_a.label) {
|
|
209
214
|
case 0:
|
|
210
|
-
// verify required parameter '
|
|
211
|
-
(0, common_1.assertParamExists)('
|
|
212
|
-
// verify required parameter '
|
|
213
|
-
(0, common_1.assertParamExists)('
|
|
214
|
-
localVarPath = "/tenantservice/v1/
|
|
215
|
-
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
215
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
216
|
+
(0, common_1.assertParamExists)('inviteUser', 'authorization', authorization);
|
|
217
|
+
// verify required parameter 'inviteUserRequestDto' is not null or undefined
|
|
218
|
+
(0, common_1.assertParamExists)('inviteUser', 'inviteUserRequestDto', inviteUserRequestDto);
|
|
219
|
+
localVarPath = "/tenantservice/v1/users/invites";
|
|
216
220
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
217
221
|
if (configuration) {
|
|
218
222
|
baseOptions = configuration.baseOptions;
|
|
219
223
|
baseAccessToken = configuration.accessToken;
|
|
220
224
|
}
|
|
221
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
225
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
222
226
|
localVarHeaderParameter = {};
|
|
223
227
|
localVarQueryParameter = {};
|
|
224
228
|
// authentication bearer required
|
|
@@ -228,18 +232,14 @@ var ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
228
232
|
// authentication bearer required
|
|
229
233
|
// http bearer authentication required
|
|
230
234
|
_a.sent();
|
|
231
|
-
if (code2 !== undefined) {
|
|
232
|
-
localVarQueryParameter['code'] = code2;
|
|
233
|
-
}
|
|
234
|
-
if (expand !== undefined) {
|
|
235
|
-
localVarQueryParameter['expand'] = expand;
|
|
236
|
-
}
|
|
237
235
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
238
236
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
239
237
|
}
|
|
238
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
240
239
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
241
240
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
242
241
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
242
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteUserRequestDto, localVarRequestOptions, configuration);
|
|
243
243
|
return [2 /*return*/, {
|
|
244
244
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
245
245
|
options: localVarRequestOptions,
|
|
@@ -249,35 +249,31 @@ var ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
249
249
|
});
|
|
250
250
|
},
|
|
251
251
|
/**
|
|
252
|
-
*
|
|
253
|
-
* @
|
|
254
|
-
* @param {string}
|
|
255
|
-
* @param {
|
|
256
|
-
* @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.
|
|
257
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
258
|
-
* @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.
|
|
259
|
-
* @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.
|
|
260
|
-
* @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.
|
|
252
|
+
* This send bulk emails to invite users with the specific role/roles.
|
|
253
|
+
* @summary Invite batch of users
|
|
254
|
+
* @param {string} authorization Bearer Token
|
|
255
|
+
* @param {InviteUsersRequestDto} inviteUsersRequestDto
|
|
261
256
|
* @param {*} [options] Override http request option.
|
|
262
257
|
* @throws {RequiredError}
|
|
263
258
|
*/
|
|
264
|
-
|
|
259
|
+
inviteUsers: function (authorization, inviteUsersRequestDto, options) {
|
|
265
260
|
if (options === void 0) { options = {}; }
|
|
266
261
|
return __awaiter(_this, void 0, void 0, function () {
|
|
267
262
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
268
263
|
return __generator(this, function (_a) {
|
|
269
264
|
switch (_a.label) {
|
|
270
265
|
case 0:
|
|
271
|
-
// verify required parameter '
|
|
272
|
-
(0, common_1.assertParamExists)('
|
|
273
|
-
|
|
274
|
-
|
|
266
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
267
|
+
(0, common_1.assertParamExists)('inviteUsers', 'authorization', authorization);
|
|
268
|
+
// verify required parameter 'inviteUsersRequestDto' is not null or undefined
|
|
269
|
+
(0, common_1.assertParamExists)('inviteUsers', 'inviteUsersRequestDto', inviteUsersRequestDto);
|
|
270
|
+
localVarPath = "/tenantservice/v1/users/invites/batch";
|
|
275
271
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
276
272
|
if (configuration) {
|
|
277
273
|
baseOptions = configuration.baseOptions;
|
|
278
274
|
baseAccessToken = configuration.accessToken;
|
|
279
275
|
}
|
|
280
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
276
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
281
277
|
localVarHeaderParameter = {};
|
|
282
278
|
localVarQueryParameter = {};
|
|
283
279
|
// authentication bearer required
|
|
@@ -287,30 +283,14 @@ var ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
287
283
|
// authentication bearer required
|
|
288
284
|
// http bearer authentication required
|
|
289
285
|
_a.sent();
|
|
290
|
-
if (pageSize !== undefined) {
|
|
291
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
292
|
-
}
|
|
293
|
-
if (pageToken !== undefined) {
|
|
294
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
295
|
-
}
|
|
296
|
-
if (filter !== undefined) {
|
|
297
|
-
localVarQueryParameter['filter'] = filter;
|
|
298
|
-
}
|
|
299
|
-
if (search !== undefined) {
|
|
300
|
-
localVarQueryParameter['search'] = search;
|
|
301
|
-
}
|
|
302
|
-
if (order !== undefined) {
|
|
303
|
-
localVarQueryParameter['order'] = order;
|
|
304
|
-
}
|
|
305
|
-
if (expand !== undefined) {
|
|
306
|
-
localVarQueryParameter['expand'] = expand;
|
|
307
|
-
}
|
|
308
286
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
309
287
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
310
288
|
}
|
|
289
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
311
290
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
312
291
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
313
292
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
293
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteUsersRequestDto, localVarRequestOptions, configuration);
|
|
314
294
|
return [2 /*return*/, {
|
|
315
295
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
316
296
|
options: localVarRequestOptions,
|
|
@@ -320,25 +300,28 @@ var ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
320
300
|
});
|
|
321
301
|
},
|
|
322
302
|
/**
|
|
323
|
-
*
|
|
324
|
-
* @
|
|
325
|
-
* @param {
|
|
326
|
-
* @param {any} [
|
|
303
|
+
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
304
|
+
* @summary List invited users
|
|
305
|
+
* @param {string} authorization Bearer Token
|
|
306
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
307
|
+
* @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.
|
|
327
308
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
328
309
|
* @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.
|
|
329
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
330
|
-
* @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
|
|
310
|
+
* @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.
|
|
311
|
+
* @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.
|
|
331
312
|
* @param {*} [options] Override http request option.
|
|
332
313
|
* @throws {RequiredError}
|
|
333
314
|
*/
|
|
334
|
-
|
|
315
|
+
listInvites: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
335
316
|
if (options === void 0) { options = {}; }
|
|
336
317
|
return __awaiter(_this, void 0, void 0, function () {
|
|
337
318
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
338
319
|
return __generator(this, function (_a) {
|
|
339
320
|
switch (_a.label) {
|
|
340
321
|
case 0:
|
|
341
|
-
|
|
322
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
323
|
+
(0, common_1.assertParamExists)('listInvites', 'authorization', authorization);
|
|
324
|
+
localVarPath = "/tenantservice/v1/users/invites";
|
|
342
325
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
343
326
|
if (configuration) {
|
|
344
327
|
baseOptions = configuration.baseOptions;
|
|
@@ -386,81 +369,30 @@ var ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
386
369
|
});
|
|
387
370
|
});
|
|
388
371
|
},
|
|
389
|
-
/**
|
|
390
|
-
*
|
|
391
|
-
* @param {number} id
|
|
392
|
-
* @param {UpdateReportRequestDto} updateReportRequestDto
|
|
393
|
-
* @param {string} [authorization] Bearer Token
|
|
394
|
-
* @param {*} [options] Override http request option.
|
|
395
|
-
* @throws {RequiredError}
|
|
396
|
-
*/
|
|
397
|
-
updateReport: function (id, updateReportRequestDto, authorization, options) {
|
|
398
|
-
if (options === void 0) { options = {}; }
|
|
399
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
400
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
401
|
-
return __generator(this, function (_a) {
|
|
402
|
-
switch (_a.label) {
|
|
403
|
-
case 0:
|
|
404
|
-
// verify required parameter 'id' is not null or undefined
|
|
405
|
-
(0, common_1.assertParamExists)('updateReport', 'id', id);
|
|
406
|
-
// verify required parameter 'updateReportRequestDto' is not null or undefined
|
|
407
|
-
(0, common_1.assertParamExists)('updateReport', 'updateReportRequestDto', updateReportRequestDto);
|
|
408
|
-
localVarPath = "/tenantservice/v1/reports/{id}"
|
|
409
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
410
|
-
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
411
|
-
if (configuration) {
|
|
412
|
-
baseOptions = configuration.baseOptions;
|
|
413
|
-
baseAccessToken = configuration.accessToken;
|
|
414
|
-
}
|
|
415
|
-
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
416
|
-
localVarHeaderParameter = {};
|
|
417
|
-
localVarQueryParameter = {};
|
|
418
|
-
// authentication bearer required
|
|
419
|
-
// http bearer authentication required
|
|
420
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
421
|
-
case 1:
|
|
422
|
-
// authentication bearer required
|
|
423
|
-
// http bearer authentication required
|
|
424
|
-
_a.sent();
|
|
425
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
426
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
427
|
-
}
|
|
428
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
429
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
430
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
431
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
432
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateReportRequestDto, localVarRequestOptions, configuration);
|
|
433
|
-
return [2 /*return*/, {
|
|
434
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
435
|
-
options: localVarRequestOptions,
|
|
436
|
-
}];
|
|
437
|
-
}
|
|
438
|
-
});
|
|
439
|
-
});
|
|
440
|
-
},
|
|
441
372
|
};
|
|
442
373
|
};
|
|
443
|
-
exports.
|
|
374
|
+
exports.InviteUsersApiAxiosParamCreator = InviteUsersApiAxiosParamCreator;
|
|
444
375
|
/**
|
|
445
|
-
*
|
|
376
|
+
* InviteUsersApi - functional programming interface
|
|
446
377
|
* @export
|
|
447
378
|
*/
|
|
448
|
-
var
|
|
449
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
379
|
+
var InviteUsersApiFp = function (configuration) {
|
|
380
|
+
var localVarAxiosParamCreator = (0, exports.InviteUsersApiAxiosParamCreator)(configuration);
|
|
450
381
|
return {
|
|
451
382
|
/**
|
|
452
|
-
*
|
|
453
|
-
* @
|
|
454
|
-
* @param {string}
|
|
383
|
+
* Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
|
|
384
|
+
* @summary Delete the invited user
|
|
385
|
+
* @param {string} authorization Bearer Token
|
|
386
|
+
* @param {number} id
|
|
455
387
|
* @param {*} [options] Override http request option.
|
|
456
388
|
* @throws {RequiredError}
|
|
457
389
|
*/
|
|
458
|
-
|
|
390
|
+
deleteInvite: function (authorization, id, options) {
|
|
459
391
|
return __awaiter(this, void 0, void 0, function () {
|
|
460
392
|
var localVarAxiosArgs;
|
|
461
393
|
return __generator(this, function (_a) {
|
|
462
394
|
switch (_a.label) {
|
|
463
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
395
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteInvite(authorization, id, options)];
|
|
464
396
|
case 1:
|
|
465
397
|
localVarAxiosArgs = _a.sent();
|
|
466
398
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -469,18 +401,19 @@ var ReportsApiFp = function (configuration) {
|
|
|
469
401
|
});
|
|
470
402
|
},
|
|
471
403
|
/**
|
|
472
|
-
*
|
|
473
|
-
* @
|
|
474
|
-
* @param {string}
|
|
404
|
+
* This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
|
|
405
|
+
* @summary Delete invited users.
|
|
406
|
+
* @param {string} authorization Bearer Token
|
|
407
|
+
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
475
408
|
* @param {*} [options] Override http request option.
|
|
476
409
|
* @throws {RequiredError}
|
|
477
410
|
*/
|
|
478
|
-
|
|
411
|
+
deleteInvites: function (authorization, batchDeleteRequestDto, options) {
|
|
479
412
|
return __awaiter(this, void 0, void 0, function () {
|
|
480
413
|
var localVarAxiosArgs;
|
|
481
414
|
return __generator(this, function (_a) {
|
|
482
415
|
switch (_a.label) {
|
|
483
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
416
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteInvites(authorization, batchDeleteRequestDto, options)];
|
|
484
417
|
case 1:
|
|
485
418
|
localVarAxiosArgs = _a.sent();
|
|
486
419
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -489,20 +422,19 @@ var ReportsApiFp = function (configuration) {
|
|
|
489
422
|
});
|
|
490
423
|
},
|
|
491
424
|
/**
|
|
492
|
-
*
|
|
493
|
-
* @
|
|
494
|
-
* @param {string}
|
|
495
|
-
* @param {
|
|
496
|
-
* @param {string} [expand] Fields to expand response by
|
|
425
|
+
* This send an email to invite a user with the specific role/roles.
|
|
426
|
+
* @summary Invite a user
|
|
427
|
+
* @param {string} authorization Bearer Token
|
|
428
|
+
* @param {InviteUserRequestDto} inviteUserRequestDto
|
|
497
429
|
* @param {*} [options] Override http request option.
|
|
498
430
|
* @throws {RequiredError}
|
|
499
431
|
*/
|
|
500
|
-
|
|
432
|
+
inviteUser: function (authorization, inviteUserRequestDto, options) {
|
|
501
433
|
return __awaiter(this, void 0, void 0, function () {
|
|
502
434
|
var localVarAxiosArgs;
|
|
503
435
|
return __generator(this, function (_a) {
|
|
504
436
|
switch (_a.label) {
|
|
505
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
437
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUser(authorization, inviteUserRequestDto, options)];
|
|
506
438
|
case 1:
|
|
507
439
|
localVarAxiosArgs = _a.sent();
|
|
508
440
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -511,24 +443,19 @@ var ReportsApiFp = function (configuration) {
|
|
|
511
443
|
});
|
|
512
444
|
},
|
|
513
445
|
/**
|
|
514
|
-
*
|
|
515
|
-
* @
|
|
516
|
-
* @param {string}
|
|
517
|
-
* @param {
|
|
518
|
-
* @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.
|
|
519
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
520
|
-
* @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.
|
|
521
|
-
* @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.
|
|
522
|
-
* @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.
|
|
446
|
+
* This send bulk emails to invite users with the specific role/roles.
|
|
447
|
+
* @summary Invite batch of users
|
|
448
|
+
* @param {string} authorization Bearer Token
|
|
449
|
+
* @param {InviteUsersRequestDto} inviteUsersRequestDto
|
|
523
450
|
* @param {*} [options] Override http request option.
|
|
524
451
|
* @throws {RequiredError}
|
|
525
452
|
*/
|
|
526
|
-
|
|
453
|
+
inviteUsers: function (authorization, inviteUsersRequestDto, options) {
|
|
527
454
|
return __awaiter(this, void 0, void 0, function () {
|
|
528
455
|
var localVarAxiosArgs;
|
|
529
456
|
return __generator(this, function (_a) {
|
|
530
457
|
switch (_a.label) {
|
|
531
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
458
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUsers(authorization, inviteUsersRequestDto, options)];
|
|
532
459
|
case 1:
|
|
533
460
|
localVarAxiosArgs = _a.sent();
|
|
534
461
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -537,44 +464,24 @@ var ReportsApiFp = function (configuration) {
|
|
|
537
464
|
});
|
|
538
465
|
},
|
|
539
466
|
/**
|
|
540
|
-
*
|
|
541
|
-
* @
|
|
542
|
-
* @param {
|
|
543
|
-
* @param {any} [
|
|
467
|
+
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
468
|
+
* @summary List invited users
|
|
469
|
+
* @param {string} authorization Bearer Token
|
|
470
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
471
|
+
* @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.
|
|
544
472
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
545
473
|
* @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.
|
|
546
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
547
|
-
* @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
|
|
548
|
-
* @param {*} [options] Override http request option.
|
|
549
|
-
* @throws {RequiredError}
|
|
550
|
-
*/
|
|
551
|
-
listReports: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
552
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
553
|
-
var localVarAxiosArgs;
|
|
554
|
-
return __generator(this, function (_a) {
|
|
555
|
-
switch (_a.label) {
|
|
556
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listReports(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
557
|
-
case 1:
|
|
558
|
-
localVarAxiosArgs = _a.sent();
|
|
559
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
560
|
-
}
|
|
561
|
-
});
|
|
562
|
-
});
|
|
563
|
-
},
|
|
564
|
-
/**
|
|
565
|
-
*
|
|
566
|
-
* @param {number} id
|
|
567
|
-
* @param {UpdateReportRequestDto} updateReportRequestDto
|
|
568
|
-
* @param {string} [authorization] Bearer Token
|
|
474
|
+
* @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.
|
|
475
|
+
* @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.
|
|
569
476
|
* @param {*} [options] Override http request option.
|
|
570
477
|
* @throws {RequiredError}
|
|
571
478
|
*/
|
|
572
|
-
|
|
479
|
+
listInvites: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
573
480
|
return __awaiter(this, void 0, void 0, function () {
|
|
574
481
|
var localVarAxiosArgs;
|
|
575
482
|
return __generator(this, function (_a) {
|
|
576
483
|
switch (_a.label) {
|
|
577
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
484
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
578
485
|
case 1:
|
|
579
486
|
localVarAxiosArgs = _a.sent();
|
|
580
487
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -584,169 +491,148 @@ var ReportsApiFp = function (configuration) {
|
|
|
584
491
|
},
|
|
585
492
|
};
|
|
586
493
|
};
|
|
587
|
-
exports.
|
|
494
|
+
exports.InviteUsersApiFp = InviteUsersApiFp;
|
|
588
495
|
/**
|
|
589
|
-
*
|
|
496
|
+
* InviteUsersApi - factory interface
|
|
590
497
|
* @export
|
|
591
498
|
*/
|
|
592
|
-
var
|
|
593
|
-
var localVarFp = (0, exports.
|
|
499
|
+
var InviteUsersApiFactory = function (configuration, basePath, axios) {
|
|
500
|
+
var localVarFp = (0, exports.InviteUsersApiFp)(configuration);
|
|
594
501
|
return {
|
|
595
502
|
/**
|
|
596
|
-
*
|
|
597
|
-
* @
|
|
598
|
-
* @param {string}
|
|
503
|
+
* Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
|
|
504
|
+
* @summary Delete the invited user
|
|
505
|
+
* @param {string} authorization Bearer Token
|
|
506
|
+
* @param {number} id
|
|
599
507
|
* @param {*} [options] Override http request option.
|
|
600
508
|
* @throws {RequiredError}
|
|
601
509
|
*/
|
|
602
|
-
|
|
603
|
-
return localVarFp.
|
|
510
|
+
deleteInvite: function (authorization, id, options) {
|
|
511
|
+
return localVarFp.deleteInvite(authorization, id, options).then(function (request) { return request(axios, basePath); });
|
|
604
512
|
},
|
|
605
513
|
/**
|
|
606
|
-
*
|
|
607
|
-
* @
|
|
608
|
-
* @param {string}
|
|
514
|
+
* This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
|
|
515
|
+
* @summary Delete invited users.
|
|
516
|
+
* @param {string} authorization Bearer Token
|
|
517
|
+
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
609
518
|
* @param {*} [options] Override http request option.
|
|
610
519
|
* @throws {RequiredError}
|
|
611
520
|
*/
|
|
612
|
-
|
|
613
|
-
return localVarFp.
|
|
521
|
+
deleteInvites: function (authorization, batchDeleteRequestDto, options) {
|
|
522
|
+
return localVarFp.deleteInvites(authorization, batchDeleteRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
614
523
|
},
|
|
615
524
|
/**
|
|
616
|
-
*
|
|
617
|
-
* @
|
|
618
|
-
* @param {string}
|
|
619
|
-
* @param {
|
|
620
|
-
* @param {string} [expand] Fields to expand response by
|
|
525
|
+
* This send an email to invite a user with the specific role/roles.
|
|
526
|
+
* @summary Invite a user
|
|
527
|
+
* @param {string} authorization Bearer Token
|
|
528
|
+
* @param {InviteUserRequestDto} inviteUserRequestDto
|
|
621
529
|
* @param {*} [options] Override http request option.
|
|
622
530
|
* @throws {RequiredError}
|
|
623
531
|
*/
|
|
624
|
-
|
|
625
|
-
return localVarFp.
|
|
532
|
+
inviteUser: function (authorization, inviteUserRequestDto, options) {
|
|
533
|
+
return localVarFp.inviteUser(authorization, inviteUserRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
626
534
|
},
|
|
627
535
|
/**
|
|
628
|
-
*
|
|
629
|
-
* @
|
|
630
|
-
* @param {string}
|
|
631
|
-
* @param {
|
|
632
|
-
* @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.
|
|
633
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
634
|
-
* @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.
|
|
635
|
-
* @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.
|
|
636
|
-
* @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.
|
|
536
|
+
* This send bulk emails to invite users with the specific role/roles.
|
|
537
|
+
* @summary Invite batch of users
|
|
538
|
+
* @param {string} authorization Bearer Token
|
|
539
|
+
* @param {InviteUsersRequestDto} inviteUsersRequestDto
|
|
637
540
|
* @param {*} [options] Override http request option.
|
|
638
541
|
* @throws {RequiredError}
|
|
639
542
|
*/
|
|
640
|
-
|
|
641
|
-
return localVarFp.
|
|
543
|
+
inviteUsers: function (authorization, inviteUsersRequestDto, options) {
|
|
544
|
+
return localVarFp.inviteUsers(authorization, inviteUsersRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
642
545
|
},
|
|
643
546
|
/**
|
|
644
|
-
*
|
|
645
|
-
* @
|
|
646
|
-
* @param {
|
|
647
|
-
* @param {any} [
|
|
547
|
+
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
548
|
+
* @summary List invited users
|
|
549
|
+
* @param {string} authorization Bearer Token
|
|
550
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
551
|
+
* @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.
|
|
648
552
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
649
553
|
* @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.
|
|
650
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
651
|
-
* @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
|
|
554
|
+
* @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.
|
|
555
|
+
* @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.
|
|
652
556
|
* @param {*} [options] Override http request option.
|
|
653
557
|
* @throws {RequiredError}
|
|
654
558
|
*/
|
|
655
|
-
|
|
656
|
-
return localVarFp.
|
|
657
|
-
},
|
|
658
|
-
/**
|
|
659
|
-
*
|
|
660
|
-
* @param {number} id
|
|
661
|
-
* @param {UpdateReportRequestDto} updateReportRequestDto
|
|
662
|
-
* @param {string} [authorization] Bearer Token
|
|
663
|
-
* @param {*} [options] Override http request option.
|
|
664
|
-
* @throws {RequiredError}
|
|
665
|
-
*/
|
|
666
|
-
updateReport: function (id, updateReportRequestDto, authorization, options) {
|
|
667
|
-
return localVarFp.updateReport(id, updateReportRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
559
|
+
listInvites: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
560
|
+
return localVarFp.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
668
561
|
},
|
|
669
562
|
};
|
|
670
563
|
};
|
|
671
|
-
exports.
|
|
564
|
+
exports.InviteUsersApiFactory = InviteUsersApiFactory;
|
|
672
565
|
/**
|
|
673
|
-
*
|
|
566
|
+
* InviteUsersApi - object-oriented interface
|
|
674
567
|
* @export
|
|
675
|
-
* @class
|
|
568
|
+
* @class InviteUsersApi
|
|
676
569
|
* @extends {BaseAPI}
|
|
677
570
|
*/
|
|
678
|
-
var
|
|
679
|
-
__extends(
|
|
680
|
-
function
|
|
571
|
+
var InviteUsersApi = /** @class */ (function (_super) {
|
|
572
|
+
__extends(InviteUsersApi, _super);
|
|
573
|
+
function InviteUsersApi() {
|
|
681
574
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
682
575
|
}
|
|
683
576
|
/**
|
|
684
|
-
*
|
|
685
|
-
* @
|
|
686
|
-
* @param {
|
|
687
|
-
* @throws {RequiredError}
|
|
688
|
-
* @memberof ReportsApi
|
|
689
|
-
*/
|
|
690
|
-
ReportsApi.prototype.createReport = function (requestParameters, options) {
|
|
691
|
-
var _this = this;
|
|
692
|
-
return (0, exports.ReportsApiFp)(this.configuration).createReport(requestParameters.createReportRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
693
|
-
};
|
|
694
|
-
/**
|
|
695
|
-
*
|
|
696
|
-
* @param {ReportsApiDeleteReportRequest} requestParameters Request parameters.
|
|
577
|
+
* Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
|
|
578
|
+
* @summary Delete the invited user
|
|
579
|
+
* @param {InviteUsersApiDeleteInviteRequest} requestParameters Request parameters.
|
|
697
580
|
* @param {*} [options] Override http request option.
|
|
698
581
|
* @throws {RequiredError}
|
|
699
|
-
* @memberof
|
|
582
|
+
* @memberof InviteUsersApi
|
|
700
583
|
*/
|
|
701
|
-
|
|
584
|
+
InviteUsersApi.prototype.deleteInvite = function (requestParameters, options) {
|
|
702
585
|
var _this = this;
|
|
703
|
-
return (0, exports.
|
|
586
|
+
return (0, exports.InviteUsersApiFp)(this.configuration).deleteInvite(requestParameters.authorization, requestParameters.id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
704
587
|
};
|
|
705
588
|
/**
|
|
706
|
-
*
|
|
707
|
-
* @
|
|
589
|
+
* This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
|
|
590
|
+
* @summary Delete invited users.
|
|
591
|
+
* @param {InviteUsersApiDeleteInvitesRequest} requestParameters Request parameters.
|
|
708
592
|
* @param {*} [options] Override http request option.
|
|
709
593
|
* @throws {RequiredError}
|
|
710
|
-
* @memberof
|
|
594
|
+
* @memberof InviteUsersApi
|
|
711
595
|
*/
|
|
712
|
-
|
|
596
|
+
InviteUsersApi.prototype.deleteInvites = function (requestParameters, options) {
|
|
713
597
|
var _this = this;
|
|
714
|
-
return (0, exports.
|
|
598
|
+
return (0, exports.InviteUsersApiFp)(this.configuration).deleteInvites(requestParameters.authorization, requestParameters.batchDeleteRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
715
599
|
};
|
|
716
600
|
/**
|
|
717
|
-
*
|
|
718
|
-
* @
|
|
601
|
+
* This send an email to invite a user with the specific role/roles.
|
|
602
|
+
* @summary Invite a user
|
|
603
|
+
* @param {InviteUsersApiInviteUserRequest} requestParameters Request parameters.
|
|
719
604
|
* @param {*} [options] Override http request option.
|
|
720
605
|
* @throws {RequiredError}
|
|
721
|
-
* @memberof
|
|
606
|
+
* @memberof InviteUsersApi
|
|
722
607
|
*/
|
|
723
|
-
|
|
608
|
+
InviteUsersApi.prototype.inviteUser = function (requestParameters, options) {
|
|
724
609
|
var _this = this;
|
|
725
|
-
return (0, exports.
|
|
610
|
+
return (0, exports.InviteUsersApiFp)(this.configuration).inviteUser(requestParameters.authorization, requestParameters.inviteUserRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
726
611
|
};
|
|
727
612
|
/**
|
|
728
|
-
*
|
|
729
|
-
* @
|
|
613
|
+
* This send bulk emails to invite users with the specific role/roles.
|
|
614
|
+
* @summary Invite batch of users
|
|
615
|
+
* @param {InviteUsersApiInviteUsersRequest} requestParameters Request parameters.
|
|
730
616
|
* @param {*} [options] Override http request option.
|
|
731
617
|
* @throws {RequiredError}
|
|
732
|
-
* @memberof
|
|
618
|
+
* @memberof InviteUsersApi
|
|
733
619
|
*/
|
|
734
|
-
|
|
620
|
+
InviteUsersApi.prototype.inviteUsers = function (requestParameters, options) {
|
|
735
621
|
var _this = this;
|
|
736
|
-
|
|
737
|
-
return (0, exports.ReportsApiFp)(this.configuration).listReports(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
622
|
+
return (0, exports.InviteUsersApiFp)(this.configuration).inviteUsers(requestParameters.authorization, requestParameters.inviteUsersRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
738
623
|
};
|
|
739
624
|
/**
|
|
740
|
-
*
|
|
741
|
-
* @
|
|
625
|
+
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
626
|
+
* @summary List invited users
|
|
627
|
+
* @param {InviteUsersApiListInvitesRequest} requestParameters Request parameters.
|
|
742
628
|
* @param {*} [options] Override http request option.
|
|
743
629
|
* @throws {RequiredError}
|
|
744
|
-
* @memberof
|
|
630
|
+
* @memberof InviteUsersApi
|
|
745
631
|
*/
|
|
746
|
-
|
|
632
|
+
InviteUsersApi.prototype.listInvites = function (requestParameters, options) {
|
|
747
633
|
var _this = this;
|
|
748
|
-
return (0, exports.
|
|
634
|
+
return (0, exports.InviteUsersApiFp)(this.configuration).listInvites(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
749
635
|
};
|
|
750
|
-
return
|
|
636
|
+
return InviteUsersApi;
|
|
751
637
|
}(base_1.BaseAPI));
|
|
752
|
-
exports.
|
|
638
|
+
exports.InviteUsersApi = InviteUsersApi;
|