@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
package/api/users-api.ts
CHANGED
|
@@ -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
|
|
@@ -27,23 +27,23 @@ import { AssignUserRolesResponseClass } from '../models';
|
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { BatchDeleteRequestDto } from '../models';
|
|
29
29
|
// @ts-ignore
|
|
30
|
+
import { BatchDeleteResponseClass } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
import { DeleteResponseClass } from '../models';
|
|
33
|
+
// @ts-ignore
|
|
30
34
|
import { DisableUserResponseClass } from '../models';
|
|
31
35
|
// @ts-ignore
|
|
32
36
|
import { DisableUsersRequestDto } from '../models';
|
|
33
37
|
// @ts-ignore
|
|
38
|
+
import { DisableUsersResponseClass } from '../models';
|
|
39
|
+
// @ts-ignore
|
|
34
40
|
import { EnableUserResponseClass } from '../models';
|
|
35
41
|
// @ts-ignore
|
|
36
42
|
import { EnableUsersRequestDto } from '../models';
|
|
37
43
|
// @ts-ignore
|
|
38
|
-
import {
|
|
39
|
-
// @ts-ignore
|
|
40
|
-
import { InviteUserRequestDto } from '../models';
|
|
41
|
-
// @ts-ignore
|
|
42
|
-
import { InviteUserResponseClass } from '../models';
|
|
44
|
+
import { EnableUsersResponseClass } from '../models';
|
|
43
45
|
// @ts-ignore
|
|
44
|
-
import {
|
|
45
|
-
// @ts-ignore
|
|
46
|
-
import { ListInvitesResponseClass } from '../models';
|
|
46
|
+
import { GetUserResponseClass } from '../models';
|
|
47
47
|
// @ts-ignore
|
|
48
48
|
import { ListUsersResponseClass } from '../models';
|
|
49
49
|
// URLSearchParams not necessarily used
|
|
@@ -58,13 +58,15 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
58
58
|
return {
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
|
+
* @param {string} authorization Bearer Token
|
|
61
62
|
* @param {number} id
|
|
62
63
|
* @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
|
|
63
|
-
* @param {string} [authorization] Bearer Token
|
|
64
64
|
* @param {*} [options] Override http request option.
|
|
65
65
|
* @throws {RequiredError}
|
|
66
66
|
*/
|
|
67
|
-
assignUserRoles: async (id: number, assignUserRolesRequestDto: AssignUserRolesRequestDto,
|
|
67
|
+
assignUserRoles: async (authorization: string, id: number, assignUserRolesRequestDto: AssignUserRolesRequestDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
68
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
69
|
+
assertParamExists('assignUserRoles', 'authorization', authorization)
|
|
68
70
|
// verify required parameter 'id' is not null or undefined
|
|
69
71
|
assertParamExists('assignUserRoles', 'id', id)
|
|
70
72
|
// verify required parameter 'assignUserRolesRequestDto' is not null or undefined
|
|
@@ -108,102 +110,14 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
108
110
|
},
|
|
109
111
|
/**
|
|
110
112
|
*
|
|
113
|
+
* @param {string} authorization Bearer Token
|
|
111
114
|
* @param {number} id
|
|
112
|
-
* @param {string} [authorization] Bearer Token
|
|
113
|
-
* @param {*} [options] Override http request option.
|
|
114
|
-
* @throws {RequiredError}
|
|
115
|
-
*/
|
|
116
|
-
deleteInvite: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
117
|
-
// verify required parameter 'id' is not null or undefined
|
|
118
|
-
assertParamExists('deleteInvite', 'id', id)
|
|
119
|
-
const localVarPath = `/tenantservice/v1/users/invites/{id}`
|
|
120
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
121
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
122
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
123
|
-
let baseOptions;
|
|
124
|
-
let baseAccessToken;
|
|
125
|
-
if (configuration) {
|
|
126
|
-
baseOptions = configuration.baseOptions;
|
|
127
|
-
baseAccessToken = configuration.accessToken;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
131
|
-
const localVarHeaderParameter = {} as any;
|
|
132
|
-
const localVarQueryParameter = {} as any;
|
|
133
|
-
|
|
134
|
-
// authentication bearer required
|
|
135
|
-
// http bearer authentication required
|
|
136
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
137
|
-
|
|
138
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
139
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
145
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
146
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
147
|
-
|
|
148
|
-
return {
|
|
149
|
-
url: toPathString(localVarUrlObj),
|
|
150
|
-
options: localVarRequestOptions,
|
|
151
|
-
};
|
|
152
|
-
},
|
|
153
|
-
/**
|
|
154
|
-
*
|
|
155
|
-
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
156
|
-
* @param {string} [authorization] Bearer Token
|
|
157
|
-
* @param {*} [options] Override http request option.
|
|
158
|
-
* @throws {RequiredError}
|
|
159
|
-
*/
|
|
160
|
-
deleteInvites: async (batchDeleteRequestDto: BatchDeleteRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
161
|
-
// verify required parameter 'batchDeleteRequestDto' is not null or undefined
|
|
162
|
-
assertParamExists('deleteInvites', 'batchDeleteRequestDto', batchDeleteRequestDto)
|
|
163
|
-
const localVarPath = `/tenantservice/v1/users/invites/delete-batch`;
|
|
164
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
165
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
166
|
-
let baseOptions;
|
|
167
|
-
let baseAccessToken;
|
|
168
|
-
if (configuration) {
|
|
169
|
-
baseOptions = configuration.baseOptions;
|
|
170
|
-
baseAccessToken = configuration.accessToken;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
174
|
-
const localVarHeaderParameter = {} as any;
|
|
175
|
-
const localVarQueryParameter = {} as any;
|
|
176
|
-
|
|
177
|
-
// authentication bearer required
|
|
178
|
-
// http bearer authentication required
|
|
179
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
180
|
-
|
|
181
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
182
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
188
|
-
|
|
189
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
190
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
191
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
192
|
-
localVarRequestOptions.data = serializeDataIfNeeded(batchDeleteRequestDto, localVarRequestOptions, configuration)
|
|
193
|
-
|
|
194
|
-
return {
|
|
195
|
-
url: toPathString(localVarUrlObj),
|
|
196
|
-
options: localVarRequestOptions,
|
|
197
|
-
};
|
|
198
|
-
},
|
|
199
|
-
/**
|
|
200
|
-
*
|
|
201
|
-
* @param {number} id
|
|
202
|
-
* @param {string} [authorization] Bearer Token
|
|
203
115
|
* @param {*} [options] Override http request option.
|
|
204
116
|
* @throws {RequiredError}
|
|
205
117
|
*/
|
|
206
|
-
deleteUser: async (
|
|
118
|
+
deleteUser: async (authorization: string, id: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
119
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
120
|
+
assertParamExists('deleteUser', 'authorization', authorization)
|
|
207
121
|
// verify required parameter 'id' is not null or undefined
|
|
208
122
|
assertParamExists('deleteUser', 'id', id)
|
|
209
123
|
const localVarPath = `/tenantservice/v1/users/{id}`
|
|
@@ -242,12 +156,14 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
242
156
|
},
|
|
243
157
|
/**
|
|
244
158
|
*
|
|
159
|
+
* @param {string} authorization Bearer Token
|
|
245
160
|
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
246
|
-
* @param {string} [authorization] Bearer Token
|
|
247
161
|
* @param {*} [options] Override http request option.
|
|
248
162
|
* @throws {RequiredError}
|
|
249
163
|
*/
|
|
250
|
-
deleteUsers: async (
|
|
164
|
+
deleteUsers: async (authorization: string, batchDeleteRequestDto: BatchDeleteRequestDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
165
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
166
|
+
assertParamExists('deleteUsers', 'authorization', authorization)
|
|
251
167
|
// verify required parameter 'batchDeleteRequestDto' is not null or undefined
|
|
252
168
|
assertParamExists('deleteUsers', 'batchDeleteRequestDto', batchDeleteRequestDto)
|
|
253
169
|
const localVarPath = `/tenantservice/v1/users/delete-batch`;
|
|
@@ -288,12 +204,14 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
288
204
|
},
|
|
289
205
|
/**
|
|
290
206
|
*
|
|
207
|
+
* @param {string} authorization Bearer Token
|
|
291
208
|
* @param {number} id
|
|
292
|
-
* @param {string} [authorization] Bearer Token
|
|
293
209
|
* @param {*} [options] Override http request option.
|
|
294
210
|
* @throws {RequiredError}
|
|
295
211
|
*/
|
|
296
|
-
disableUser: async (
|
|
212
|
+
disableUser: async (authorization: string, id: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
213
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
214
|
+
assertParamExists('disableUser', 'authorization', authorization)
|
|
297
215
|
// verify required parameter 'id' is not null or undefined
|
|
298
216
|
assertParamExists('disableUser', 'id', id)
|
|
299
217
|
const localVarPath = `/tenantservice/v1/users/{id}/disable`
|
|
@@ -332,12 +250,14 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
332
250
|
},
|
|
333
251
|
/**
|
|
334
252
|
*
|
|
253
|
+
* @param {string} authorization Bearer Token
|
|
335
254
|
* @param {DisableUsersRequestDto} disableUsersRequestDto
|
|
336
|
-
* @param {string} [authorization] Bearer Token
|
|
337
255
|
* @param {*} [options] Override http request option.
|
|
338
256
|
* @throws {RequiredError}
|
|
339
257
|
*/
|
|
340
|
-
disableUsers: async (
|
|
258
|
+
disableUsers: async (authorization: string, disableUsersRequestDto: DisableUsersRequestDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
259
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
260
|
+
assertParamExists('disableUsers', 'authorization', authorization)
|
|
341
261
|
// verify required parameter 'disableUsersRequestDto' is not null or undefined
|
|
342
262
|
assertParamExists('disableUsers', 'disableUsersRequestDto', disableUsersRequestDto)
|
|
343
263
|
const localVarPath = `/tenantservice/v1/users/disable-batch`;
|
|
@@ -378,12 +298,14 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
378
298
|
},
|
|
379
299
|
/**
|
|
380
300
|
*
|
|
301
|
+
* @param {string} authorization Bearer Token
|
|
381
302
|
* @param {number} id
|
|
382
|
-
* @param {string} [authorization] Bearer Token
|
|
383
303
|
* @param {*} [options] Override http request option.
|
|
384
304
|
* @throws {RequiredError}
|
|
385
305
|
*/
|
|
386
|
-
enableUser: async (
|
|
306
|
+
enableUser: async (authorization: string, id: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
307
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
308
|
+
assertParamExists('enableUser', 'authorization', authorization)
|
|
387
309
|
// verify required parameter 'id' is not null or undefined
|
|
388
310
|
assertParamExists('enableUser', 'id', id)
|
|
389
311
|
const localVarPath = `/tenantservice/v1/users/{id}/enable`
|
|
@@ -422,12 +344,14 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
422
344
|
},
|
|
423
345
|
/**
|
|
424
346
|
*
|
|
347
|
+
* @param {string} authorization Bearer Token
|
|
425
348
|
* @param {EnableUsersRequestDto} enableUsersRequestDto
|
|
426
|
-
* @param {string} [authorization] Bearer Token
|
|
427
349
|
* @param {*} [options] Override http request option.
|
|
428
350
|
* @throws {RequiredError}
|
|
429
351
|
*/
|
|
430
|
-
enableUsers: async (
|
|
352
|
+
enableUsers: async (authorization: string, enableUsersRequestDto: EnableUsersRequestDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
353
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
354
|
+
assertParamExists('enableUsers', 'authorization', authorization)
|
|
431
355
|
// verify required parameter 'enableUsersRequestDto' is not null or undefined
|
|
432
356
|
assertParamExists('enableUsers', 'enableUsersRequestDto', enableUsersRequestDto)
|
|
433
357
|
const localVarPath = `/tenantservice/v1/users/enable-batch`;
|
|
@@ -468,14 +392,16 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
468
392
|
},
|
|
469
393
|
/**
|
|
470
394
|
*
|
|
395
|
+
* @param {string} authorization Bearer Token
|
|
471
396
|
* @param {string} code
|
|
472
397
|
* @param {string} code2 code
|
|
473
|
-
* @param {string} [authorization] Bearer Token
|
|
474
398
|
* @param {string} [expand] Fields to expand response by
|
|
475
399
|
* @param {*} [options] Override http request option.
|
|
476
400
|
* @throws {RequiredError}
|
|
477
401
|
*/
|
|
478
|
-
getUser: async (
|
|
402
|
+
getUser: async (authorization: string, code: string, code2: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
403
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
404
|
+
assertParamExists('getUser', 'authorization', authorization)
|
|
479
405
|
// verify required parameter 'code' is not null or undefined
|
|
480
406
|
assertParamExists('getUser', 'code', code)
|
|
481
407
|
// verify required parameter 'code2' is not null or undefined
|
|
@@ -523,180 +449,21 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
523
449
|
};
|
|
524
450
|
},
|
|
525
451
|
/**
|
|
526
|
-
*
|
|
527
|
-
* @
|
|
528
|
-
* @param {string}
|
|
529
|
-
* @param {
|
|
530
|
-
* @
|
|
531
|
-
*/
|
|
532
|
-
inviteUser: async (inviteUserRequestDto: InviteUserRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
533
|
-
// verify required parameter 'inviteUserRequestDto' is not null or undefined
|
|
534
|
-
assertParamExists('inviteUser', 'inviteUserRequestDto', inviteUserRequestDto)
|
|
535
|
-
const localVarPath = `/tenantservice/v1/users/invites`;
|
|
536
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
537
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
538
|
-
let baseOptions;
|
|
539
|
-
let baseAccessToken;
|
|
540
|
-
if (configuration) {
|
|
541
|
-
baseOptions = configuration.baseOptions;
|
|
542
|
-
baseAccessToken = configuration.accessToken;
|
|
543
|
-
}
|
|
544
|
-
|
|
545
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
546
|
-
const localVarHeaderParameter = {} as any;
|
|
547
|
-
const localVarQueryParameter = {} as any;
|
|
548
|
-
|
|
549
|
-
// authentication bearer required
|
|
550
|
-
// http bearer authentication required
|
|
551
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
552
|
-
|
|
553
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
554
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
560
|
-
|
|
561
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
562
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
563
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
564
|
-
localVarRequestOptions.data = serializeDataIfNeeded(inviteUserRequestDto, localVarRequestOptions, configuration)
|
|
565
|
-
|
|
566
|
-
return {
|
|
567
|
-
url: toPathString(localVarUrlObj),
|
|
568
|
-
options: localVarRequestOptions,
|
|
569
|
-
};
|
|
570
|
-
},
|
|
571
|
-
/**
|
|
572
|
-
*
|
|
573
|
-
* @param {InviteUsersRequestDto} inviteUsersRequestDto
|
|
574
|
-
* @param {string} [authorization] Bearer Token
|
|
575
|
-
* @param {*} [options] Override http request option.
|
|
576
|
-
* @throws {RequiredError}
|
|
577
|
-
*/
|
|
578
|
-
inviteUsers: async (inviteUsersRequestDto: InviteUsersRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
579
|
-
// verify required parameter 'inviteUsersRequestDto' is not null or undefined
|
|
580
|
-
assertParamExists('inviteUsers', 'inviteUsersRequestDto', inviteUsersRequestDto)
|
|
581
|
-
const localVarPath = `/tenantservice/v1/users/invites/batch`;
|
|
582
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
583
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
584
|
-
let baseOptions;
|
|
585
|
-
let baseAccessToken;
|
|
586
|
-
if (configuration) {
|
|
587
|
-
baseOptions = configuration.baseOptions;
|
|
588
|
-
baseAccessToken = configuration.accessToken;
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
592
|
-
const localVarHeaderParameter = {} as any;
|
|
593
|
-
const localVarQueryParameter = {} as any;
|
|
594
|
-
|
|
595
|
-
// authentication bearer required
|
|
596
|
-
// http bearer authentication required
|
|
597
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
598
|
-
|
|
599
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
600
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
606
|
-
|
|
607
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
608
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
609
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
610
|
-
localVarRequestOptions.data = serializeDataIfNeeded(inviteUsersRequestDto, localVarRequestOptions, configuration)
|
|
611
|
-
|
|
612
|
-
return {
|
|
613
|
-
url: toPathString(localVarUrlObj),
|
|
614
|
-
options: localVarRequestOptions,
|
|
615
|
-
};
|
|
616
|
-
},
|
|
617
|
-
/**
|
|
618
|
-
*
|
|
619
|
-
* @param {string} [authorization] Bearer Token
|
|
620
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
621
|
-
* @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.
|
|
622
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
623
|
-
* @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.
|
|
624
|
-
* @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.
|
|
625
|
-
* @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.
|
|
626
|
-
* @param {*} [options] Override http request option.
|
|
627
|
-
* @throws {RequiredError}
|
|
628
|
-
*/
|
|
629
|
-
listInvites: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
630
|
-
const localVarPath = `/tenantservice/v1/users/invites`;
|
|
631
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
632
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
633
|
-
let baseOptions;
|
|
634
|
-
let baseAccessToken;
|
|
635
|
-
if (configuration) {
|
|
636
|
-
baseOptions = configuration.baseOptions;
|
|
637
|
-
baseAccessToken = configuration.accessToken;
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
641
|
-
const localVarHeaderParameter = {} as any;
|
|
642
|
-
const localVarQueryParameter = {} as any;
|
|
643
|
-
|
|
644
|
-
// authentication bearer required
|
|
645
|
-
// http bearer authentication required
|
|
646
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
647
|
-
|
|
648
|
-
if (pageSize !== undefined) {
|
|
649
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
if (pageToken !== undefined) {
|
|
653
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
if (filter !== undefined) {
|
|
657
|
-
localVarQueryParameter['filter'] = filter;
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
if (search !== undefined) {
|
|
661
|
-
localVarQueryParameter['search'] = search;
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
if (order !== undefined) {
|
|
665
|
-
localVarQueryParameter['order'] = order;
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
if (expand !== undefined) {
|
|
669
|
-
localVarQueryParameter['expand'] = expand;
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
673
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
679
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
680
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
681
|
-
|
|
682
|
-
return {
|
|
683
|
-
url: toPathString(localVarUrlObj),
|
|
684
|
-
options: localVarRequestOptions,
|
|
685
|
-
};
|
|
686
|
-
},
|
|
687
|
-
/**
|
|
688
|
-
*
|
|
689
|
-
* @param {string} [authorization] Bearer Token
|
|
690
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
691
|
-
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
452
|
+
* Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
453
|
+
* @summary List users
|
|
454
|
+
* @param {string} authorization Bearer Token
|
|
455
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
456
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
692
457
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
693
458
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
694
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
695
|
-
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in
|
|
459
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
460
|
+
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
696
461
|
* @param {*} [options] Override http request option.
|
|
697
462
|
* @throws {RequiredError}
|
|
698
463
|
*/
|
|
699
|
-
listUsers: async (authorization
|
|
464
|
+
listUsers: async (authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
465
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
466
|
+
assertParamExists('listUsers', 'authorization', authorization)
|
|
700
467
|
const localVarPath = `/tenantservice/v1/users`;
|
|
701
468
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
702
469
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -766,169 +533,110 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
766
533
|
return {
|
|
767
534
|
/**
|
|
768
535
|
*
|
|
536
|
+
* @param {string} authorization Bearer Token
|
|
769
537
|
* @param {number} id
|
|
770
538
|
* @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
|
|
771
|
-
* @param {string} [authorization] Bearer Token
|
|
772
|
-
* @param {*} [options] Override http request option.
|
|
773
|
-
* @throws {RequiredError}
|
|
774
|
-
*/
|
|
775
|
-
async assignUserRoles(id: number, assignUserRolesRequestDto: AssignUserRolesRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AssignUserRolesResponseClass>> {
|
|
776
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.assignUserRoles(id, assignUserRolesRequestDto, authorization, options);
|
|
777
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
778
|
-
},
|
|
779
|
-
/**
|
|
780
|
-
*
|
|
781
|
-
* @param {number} id
|
|
782
|
-
* @param {string} [authorization] Bearer Token
|
|
783
539
|
* @param {*} [options] Override http request option.
|
|
784
540
|
* @throws {RequiredError}
|
|
785
541
|
*/
|
|
786
|
-
async
|
|
787
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
788
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
789
|
-
},
|
|
790
|
-
/**
|
|
791
|
-
*
|
|
792
|
-
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
793
|
-
* @param {string} [authorization] Bearer Token
|
|
794
|
-
* @param {*} [options] Override http request option.
|
|
795
|
-
* @throws {RequiredError}
|
|
796
|
-
*/
|
|
797
|
-
async deleteInvites(batchDeleteRequestDto: BatchDeleteRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
798
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteInvites(batchDeleteRequestDto, authorization, options);
|
|
542
|
+
async assignUserRoles(authorization: string, id: number, assignUserRolesRequestDto: AssignUserRolesRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AssignUserRolesResponseClass>> {
|
|
543
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.assignUserRoles(authorization, id, assignUserRolesRequestDto, options);
|
|
799
544
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
800
545
|
},
|
|
801
546
|
/**
|
|
802
547
|
*
|
|
548
|
+
* @param {string} authorization Bearer Token
|
|
803
549
|
* @param {number} id
|
|
804
|
-
* @param {string} [authorization] Bearer Token
|
|
805
550
|
* @param {*} [options] Override http request option.
|
|
806
551
|
* @throws {RequiredError}
|
|
807
552
|
*/
|
|
808
|
-
async deleteUser(
|
|
809
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUser(
|
|
553
|
+
async deleteUser(authorization: string, id: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>> {
|
|
554
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUser(authorization, id, options);
|
|
810
555
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
811
556
|
},
|
|
812
557
|
/**
|
|
813
558
|
*
|
|
559
|
+
* @param {string} authorization Bearer Token
|
|
814
560
|
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
815
|
-
* @param {string} [authorization] Bearer Token
|
|
816
561
|
* @param {*} [options] Override http request option.
|
|
817
562
|
* @throws {RequiredError}
|
|
818
563
|
*/
|
|
819
|
-
async deleteUsers(
|
|
820
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUsers(
|
|
564
|
+
async deleteUsers(authorization: string, batchDeleteRequestDto: BatchDeleteRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchDeleteResponseClass>> {
|
|
565
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUsers(authorization, batchDeleteRequestDto, options);
|
|
821
566
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
822
567
|
},
|
|
823
568
|
/**
|
|
824
569
|
*
|
|
570
|
+
* @param {string} authorization Bearer Token
|
|
825
571
|
* @param {number} id
|
|
826
|
-
* @param {string} [authorization] Bearer Token
|
|
827
572
|
* @param {*} [options] Override http request option.
|
|
828
573
|
* @throws {RequiredError}
|
|
829
574
|
*/
|
|
830
|
-
async disableUser(
|
|
831
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.disableUser(
|
|
575
|
+
async disableUser(authorization: string, id: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DisableUserResponseClass>> {
|
|
576
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disableUser(authorization, id, options);
|
|
832
577
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
833
578
|
},
|
|
834
579
|
/**
|
|
835
580
|
*
|
|
581
|
+
* @param {string} authorization Bearer Token
|
|
836
582
|
* @param {DisableUsersRequestDto} disableUsersRequestDto
|
|
837
|
-
* @param {string} [authorization] Bearer Token
|
|
838
583
|
* @param {*} [options] Override http request option.
|
|
839
584
|
* @throws {RequiredError}
|
|
840
585
|
*/
|
|
841
|
-
async disableUsers(
|
|
842
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.disableUsers(
|
|
586
|
+
async disableUsers(authorization: string, disableUsersRequestDto: DisableUsersRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DisableUsersResponseClass>> {
|
|
587
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disableUsers(authorization, disableUsersRequestDto, options);
|
|
843
588
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
844
589
|
},
|
|
845
590
|
/**
|
|
846
591
|
*
|
|
592
|
+
* @param {string} authorization Bearer Token
|
|
847
593
|
* @param {number} id
|
|
848
|
-
* @param {string} [authorization] Bearer Token
|
|
849
594
|
* @param {*} [options] Override http request option.
|
|
850
595
|
* @throws {RequiredError}
|
|
851
596
|
*/
|
|
852
|
-
async enableUser(
|
|
853
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.enableUser(
|
|
597
|
+
async enableUser(authorization: string, id: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnableUserResponseClass>> {
|
|
598
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.enableUser(authorization, id, options);
|
|
854
599
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
855
600
|
},
|
|
856
601
|
/**
|
|
857
602
|
*
|
|
603
|
+
* @param {string} authorization Bearer Token
|
|
858
604
|
* @param {EnableUsersRequestDto} enableUsersRequestDto
|
|
859
|
-
* @param {string} [authorization] Bearer Token
|
|
860
605
|
* @param {*} [options] Override http request option.
|
|
861
606
|
* @throws {RequiredError}
|
|
862
607
|
*/
|
|
863
|
-
async enableUsers(
|
|
864
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.enableUsers(
|
|
608
|
+
async enableUsers(authorization: string, enableUsersRequestDto: EnableUsersRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnableUsersResponseClass>> {
|
|
609
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.enableUsers(authorization, enableUsersRequestDto, options);
|
|
865
610
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
866
611
|
},
|
|
867
612
|
/**
|
|
868
613
|
*
|
|
614
|
+
* @param {string} authorization Bearer Token
|
|
869
615
|
* @param {string} code
|
|
870
616
|
* @param {string} code2 code
|
|
871
|
-
* @param {string} [authorization] Bearer Token
|
|
872
617
|
* @param {string} [expand] Fields to expand response by
|
|
873
618
|
* @param {*} [options] Override http request option.
|
|
874
619
|
* @throws {RequiredError}
|
|
875
620
|
*/
|
|
876
|
-
async getUser(
|
|
877
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getUser(code, code2,
|
|
621
|
+
async getUser(authorization: string, code: string, code2: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserResponseClass>> {
|
|
622
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUser(authorization, code, code2, expand, options);
|
|
878
623
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
879
624
|
},
|
|
880
625
|
/**
|
|
881
|
-
*
|
|
882
|
-
* @
|
|
883
|
-
* @param {string}
|
|
626
|
+
* Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
627
|
+
* @summary List users
|
|
628
|
+
* @param {string} authorization Bearer Token
|
|
629
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
630
|
+
* @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.
|
|
631
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
632
|
+
* @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.
|
|
633
|
+
* @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.
|
|
634
|
+
* @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.
|
|
884
635
|
* @param {*} [options] Override http request option.
|
|
885
636
|
* @throws {RequiredError}
|
|
886
637
|
*/
|
|
887
|
-
async
|
|
888
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
889
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
890
|
-
},
|
|
891
|
-
/**
|
|
892
|
-
*
|
|
893
|
-
* @param {InviteUsersRequestDto} inviteUsersRequestDto
|
|
894
|
-
* @param {string} [authorization] Bearer Token
|
|
895
|
-
* @param {*} [options] Override http request option.
|
|
896
|
-
* @throws {RequiredError}
|
|
897
|
-
*/
|
|
898
|
-
async inviteUsers(inviteUsersRequestDto: InviteUsersRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
899
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteUsers(inviteUsersRequestDto, authorization, options);
|
|
900
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
901
|
-
},
|
|
902
|
-
/**
|
|
903
|
-
*
|
|
904
|
-
* @param {string} [authorization] Bearer Token
|
|
905
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
906
|
-
* @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.
|
|
907
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
908
|
-
* @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.
|
|
909
|
-
* @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.
|
|
910
|
-
* @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.
|
|
911
|
-
* @param {*} [options] Override http request option.
|
|
912
|
-
* @throws {RequiredError}
|
|
913
|
-
*/
|
|
914
|
-
async listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInvitesResponseClass>> {
|
|
915
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
916
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
917
|
-
},
|
|
918
|
-
/**
|
|
919
|
-
*
|
|
920
|
-
* @param {string} [authorization] Bearer Token
|
|
921
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
922
|
-
* @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.
|
|
923
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
924
|
-
* @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.
|
|
925
|
-
* @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.
|
|
926
|
-
* @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.
|
|
927
|
-
* @param {*} [options] Override http request option.
|
|
928
|
-
* @throws {RequiredError}
|
|
929
|
-
*/
|
|
930
|
-
async listUsers(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListUsersResponseClass>> {
|
|
931
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listUsers(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
638
|
+
async listUsers(authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListUsersResponseClass>> {
|
|
639
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listUsers(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
932
640
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
933
641
|
},
|
|
934
642
|
}
|
|
@@ -943,155 +651,101 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
943
651
|
return {
|
|
944
652
|
/**
|
|
945
653
|
*
|
|
654
|
+
* @param {string} authorization Bearer Token
|
|
946
655
|
* @param {number} id
|
|
947
656
|
* @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
|
|
948
|
-
* @param {string} [authorization] Bearer Token
|
|
949
657
|
* @param {*} [options] Override http request option.
|
|
950
658
|
* @throws {RequiredError}
|
|
951
659
|
*/
|
|
952
|
-
assignUserRoles(id: number, assignUserRolesRequestDto: AssignUserRolesRequestDto,
|
|
953
|
-
return localVarFp.assignUserRoles(id, assignUserRolesRequestDto,
|
|
660
|
+
assignUserRoles(authorization: string, id: number, assignUserRolesRequestDto: AssignUserRolesRequestDto, options?: any): AxiosPromise<AssignUserRolesResponseClass> {
|
|
661
|
+
return localVarFp.assignUserRoles(authorization, id, assignUserRolesRequestDto, options).then((request) => request(axios, basePath));
|
|
954
662
|
},
|
|
955
663
|
/**
|
|
956
664
|
*
|
|
665
|
+
* @param {string} authorization Bearer Token
|
|
957
666
|
* @param {number} id
|
|
958
|
-
* @param {string} [authorization] Bearer Token
|
|
959
667
|
* @param {*} [options] Override http request option.
|
|
960
668
|
* @throws {RequiredError}
|
|
961
669
|
*/
|
|
962
|
-
|
|
963
|
-
return localVarFp.
|
|
670
|
+
deleteUser(authorization: string, id: number, options?: any): AxiosPromise<DeleteResponseClass> {
|
|
671
|
+
return localVarFp.deleteUser(authorization, id, options).then((request) => request(axios, basePath));
|
|
964
672
|
},
|
|
965
673
|
/**
|
|
966
674
|
*
|
|
675
|
+
* @param {string} authorization Bearer Token
|
|
967
676
|
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
968
|
-
* @param {string} [authorization] Bearer Token
|
|
969
677
|
* @param {*} [options] Override http request option.
|
|
970
678
|
* @throws {RequiredError}
|
|
971
679
|
*/
|
|
972
|
-
|
|
973
|
-
return localVarFp.
|
|
680
|
+
deleteUsers(authorization: string, batchDeleteRequestDto: BatchDeleteRequestDto, options?: any): AxiosPromise<BatchDeleteResponseClass> {
|
|
681
|
+
return localVarFp.deleteUsers(authorization, batchDeleteRequestDto, options).then((request) => request(axios, basePath));
|
|
974
682
|
},
|
|
975
683
|
/**
|
|
976
684
|
*
|
|
685
|
+
* @param {string} authorization Bearer Token
|
|
977
686
|
* @param {number} id
|
|
978
|
-
* @param {string} [authorization] Bearer Token
|
|
979
687
|
* @param {*} [options] Override http request option.
|
|
980
688
|
* @throws {RequiredError}
|
|
981
689
|
*/
|
|
982
|
-
|
|
983
|
-
return localVarFp.
|
|
984
|
-
},
|
|
985
|
-
/**
|
|
986
|
-
*
|
|
987
|
-
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
988
|
-
* @param {string} [authorization] Bearer Token
|
|
989
|
-
* @param {*} [options] Override http request option.
|
|
990
|
-
* @throws {RequiredError}
|
|
991
|
-
*/
|
|
992
|
-
deleteUsers(batchDeleteRequestDto: BatchDeleteRequestDto, authorization?: string, options?: any): AxiosPromise<object> {
|
|
993
|
-
return localVarFp.deleteUsers(batchDeleteRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
994
|
-
},
|
|
995
|
-
/**
|
|
996
|
-
*
|
|
997
|
-
* @param {number} id
|
|
998
|
-
* @param {string} [authorization] Bearer Token
|
|
999
|
-
* @param {*} [options] Override http request option.
|
|
1000
|
-
* @throws {RequiredError}
|
|
1001
|
-
*/
|
|
1002
|
-
disableUser(id: number, authorization?: string, options?: any): AxiosPromise<DisableUserResponseClass> {
|
|
1003
|
-
return localVarFp.disableUser(id, authorization, options).then((request) => request(axios, basePath));
|
|
690
|
+
disableUser(authorization: string, id: number, options?: any): AxiosPromise<DisableUserResponseClass> {
|
|
691
|
+
return localVarFp.disableUser(authorization, id, options).then((request) => request(axios, basePath));
|
|
1004
692
|
},
|
|
1005
693
|
/**
|
|
1006
694
|
*
|
|
695
|
+
* @param {string} authorization Bearer Token
|
|
1007
696
|
* @param {DisableUsersRequestDto} disableUsersRequestDto
|
|
1008
|
-
* @param {string} [authorization] Bearer Token
|
|
1009
697
|
* @param {*} [options] Override http request option.
|
|
1010
698
|
* @throws {RequiredError}
|
|
1011
699
|
*/
|
|
1012
|
-
disableUsers(
|
|
1013
|
-
return localVarFp.disableUsers(
|
|
700
|
+
disableUsers(authorization: string, disableUsersRequestDto: DisableUsersRequestDto, options?: any): AxiosPromise<DisableUsersResponseClass> {
|
|
701
|
+
return localVarFp.disableUsers(authorization, disableUsersRequestDto, options).then((request) => request(axios, basePath));
|
|
1014
702
|
},
|
|
1015
703
|
/**
|
|
1016
704
|
*
|
|
705
|
+
* @param {string} authorization Bearer Token
|
|
1017
706
|
* @param {number} id
|
|
1018
|
-
* @param {string} [authorization] Bearer Token
|
|
1019
707
|
* @param {*} [options] Override http request option.
|
|
1020
708
|
* @throws {RequiredError}
|
|
1021
709
|
*/
|
|
1022
|
-
enableUser(
|
|
1023
|
-
return localVarFp.enableUser(
|
|
710
|
+
enableUser(authorization: string, id: number, options?: any): AxiosPromise<EnableUserResponseClass> {
|
|
711
|
+
return localVarFp.enableUser(authorization, id, options).then((request) => request(axios, basePath));
|
|
1024
712
|
},
|
|
1025
713
|
/**
|
|
1026
714
|
*
|
|
715
|
+
* @param {string} authorization Bearer Token
|
|
1027
716
|
* @param {EnableUsersRequestDto} enableUsersRequestDto
|
|
1028
|
-
* @param {string} [authorization] Bearer Token
|
|
1029
717
|
* @param {*} [options] Override http request option.
|
|
1030
718
|
* @throws {RequiredError}
|
|
1031
719
|
*/
|
|
1032
|
-
enableUsers(
|
|
1033
|
-
return localVarFp.enableUsers(
|
|
720
|
+
enableUsers(authorization: string, enableUsersRequestDto: EnableUsersRequestDto, options?: any): AxiosPromise<EnableUsersResponseClass> {
|
|
721
|
+
return localVarFp.enableUsers(authorization, enableUsersRequestDto, options).then((request) => request(axios, basePath));
|
|
1034
722
|
},
|
|
1035
723
|
/**
|
|
1036
724
|
*
|
|
725
|
+
* @param {string} authorization Bearer Token
|
|
1037
726
|
* @param {string} code
|
|
1038
727
|
* @param {string} code2 code
|
|
1039
|
-
* @param {string} [authorization] Bearer Token
|
|
1040
728
|
* @param {string} [expand] Fields to expand response by
|
|
1041
729
|
* @param {*} [options] Override http request option.
|
|
1042
730
|
* @throws {RequiredError}
|
|
1043
731
|
*/
|
|
1044
|
-
getUser(
|
|
1045
|
-
return localVarFp.getUser(code, code2,
|
|
1046
|
-
},
|
|
1047
|
-
/**
|
|
1048
|
-
*
|
|
1049
|
-
* @param {InviteUserRequestDto} inviteUserRequestDto
|
|
1050
|
-
* @param {string} [authorization] Bearer Token
|
|
1051
|
-
* @param {*} [options] Override http request option.
|
|
1052
|
-
* @throws {RequiredError}
|
|
1053
|
-
*/
|
|
1054
|
-
inviteUser(inviteUserRequestDto: InviteUserRequestDto, authorization?: string, options?: any): AxiosPromise<InviteUserResponseClass> {
|
|
1055
|
-
return localVarFp.inviteUser(inviteUserRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
1056
|
-
},
|
|
1057
|
-
/**
|
|
1058
|
-
*
|
|
1059
|
-
* @param {InviteUsersRequestDto} inviteUsersRequestDto
|
|
1060
|
-
* @param {string} [authorization] Bearer Token
|
|
1061
|
-
* @param {*} [options] Override http request option.
|
|
1062
|
-
* @throws {RequiredError}
|
|
1063
|
-
*/
|
|
1064
|
-
inviteUsers(inviteUsersRequestDto: InviteUsersRequestDto, authorization?: string, options?: any): AxiosPromise<object> {
|
|
1065
|
-
return localVarFp.inviteUsers(inviteUsersRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
1066
|
-
},
|
|
1067
|
-
/**
|
|
1068
|
-
*
|
|
1069
|
-
* @param {string} [authorization] Bearer Token
|
|
1070
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
1071
|
-
* @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.
|
|
1072
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
1073
|
-
* @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.
|
|
1074
|
-
* @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.
|
|
1075
|
-
* @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.
|
|
1076
|
-
* @param {*} [options] Override http request option.
|
|
1077
|
-
* @throws {RequiredError}
|
|
1078
|
-
*/
|
|
1079
|
-
listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListInvitesResponseClass> {
|
|
1080
|
-
return localVarFp.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
732
|
+
getUser(authorization: string, code: string, code2: string, expand?: string, options?: any): AxiosPromise<GetUserResponseClass> {
|
|
733
|
+
return localVarFp.getUser(authorization, code, code2, expand, options).then((request) => request(axios, basePath));
|
|
1081
734
|
},
|
|
1082
735
|
/**
|
|
1083
|
-
*
|
|
1084
|
-
* @
|
|
1085
|
-
* @param {
|
|
1086
|
-
* @param {any} [
|
|
736
|
+
* Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
737
|
+
* @summary List users
|
|
738
|
+
* @param {string} authorization Bearer Token
|
|
739
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
740
|
+
* @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.
|
|
1087
741
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
1088
742
|
* @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.
|
|
1089
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
1090
|
-
* @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
|
|
743
|
+
* @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.
|
|
744
|
+
* @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.
|
|
1091
745
|
* @param {*} [options] Override http request option.
|
|
1092
746
|
* @throws {RequiredError}
|
|
1093
747
|
*/
|
|
1094
|
-
listUsers(authorization
|
|
748
|
+
listUsers(authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListUsersResponseClass> {
|
|
1095
749
|
return localVarFp.listUsers(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
1096
750
|
},
|
|
1097
751
|
};
|
|
@@ -1103,68 +757,26 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
1103
757
|
* @interface UsersApiAssignUserRolesRequest
|
|
1104
758
|
*/
|
|
1105
759
|
export interface UsersApiAssignUserRolesRequest {
|
|
1106
|
-
/**
|
|
1107
|
-
*
|
|
1108
|
-
* @type {number}
|
|
1109
|
-
* @memberof UsersApiAssignUserRoles
|
|
1110
|
-
*/
|
|
1111
|
-
readonly id: number
|
|
1112
|
-
|
|
1113
|
-
/**
|
|
1114
|
-
*
|
|
1115
|
-
* @type {AssignUserRolesRequestDto}
|
|
1116
|
-
* @memberof UsersApiAssignUserRoles
|
|
1117
|
-
*/
|
|
1118
|
-
readonly assignUserRolesRequestDto: AssignUserRolesRequestDto
|
|
1119
|
-
|
|
1120
760
|
/**
|
|
1121
761
|
* Bearer Token
|
|
1122
762
|
* @type {string}
|
|
1123
763
|
* @memberof UsersApiAssignUserRoles
|
|
1124
764
|
*/
|
|
1125
|
-
readonly authorization
|
|
1126
|
-
}
|
|
765
|
+
readonly authorization: string
|
|
1127
766
|
|
|
1128
|
-
/**
|
|
1129
|
-
* Request parameters for deleteInvite operation in UsersApi.
|
|
1130
|
-
* @export
|
|
1131
|
-
* @interface UsersApiDeleteInviteRequest
|
|
1132
|
-
*/
|
|
1133
|
-
export interface UsersApiDeleteInviteRequest {
|
|
1134
767
|
/**
|
|
1135
768
|
*
|
|
1136
769
|
* @type {number}
|
|
1137
|
-
* @memberof
|
|
770
|
+
* @memberof UsersApiAssignUserRoles
|
|
1138
771
|
*/
|
|
1139
772
|
readonly id: number
|
|
1140
773
|
|
|
1141
|
-
/**
|
|
1142
|
-
* Bearer Token
|
|
1143
|
-
* @type {string}
|
|
1144
|
-
* @memberof UsersApiDeleteInvite
|
|
1145
|
-
*/
|
|
1146
|
-
readonly authorization?: string
|
|
1147
|
-
}
|
|
1148
|
-
|
|
1149
|
-
/**
|
|
1150
|
-
* Request parameters for deleteInvites operation in UsersApi.
|
|
1151
|
-
* @export
|
|
1152
|
-
* @interface UsersApiDeleteInvitesRequest
|
|
1153
|
-
*/
|
|
1154
|
-
export interface UsersApiDeleteInvitesRequest {
|
|
1155
774
|
/**
|
|
1156
775
|
*
|
|
1157
|
-
* @type {
|
|
1158
|
-
* @memberof
|
|
1159
|
-
*/
|
|
1160
|
-
readonly batchDeleteRequestDto: BatchDeleteRequestDto
|
|
1161
|
-
|
|
1162
|
-
/**
|
|
1163
|
-
* Bearer Token
|
|
1164
|
-
* @type {string}
|
|
1165
|
-
* @memberof UsersApiDeleteInvites
|
|
776
|
+
* @type {AssignUserRolesRequestDto}
|
|
777
|
+
* @memberof UsersApiAssignUserRoles
|
|
1166
778
|
*/
|
|
1167
|
-
readonly
|
|
779
|
+
readonly assignUserRolesRequestDto: AssignUserRolesRequestDto
|
|
1168
780
|
}
|
|
1169
781
|
|
|
1170
782
|
/**
|
|
@@ -1174,18 +786,18 @@ export interface UsersApiDeleteInvitesRequest {
|
|
|
1174
786
|
*/
|
|
1175
787
|
export interface UsersApiDeleteUserRequest {
|
|
1176
788
|
/**
|
|
1177
|
-
*
|
|
1178
|
-
* @type {
|
|
789
|
+
* Bearer Token
|
|
790
|
+
* @type {string}
|
|
1179
791
|
* @memberof UsersApiDeleteUser
|
|
1180
792
|
*/
|
|
1181
|
-
readonly
|
|
793
|
+
readonly authorization: string
|
|
1182
794
|
|
|
1183
795
|
/**
|
|
1184
|
-
*
|
|
1185
|
-
* @type {
|
|
796
|
+
*
|
|
797
|
+
* @type {number}
|
|
1186
798
|
* @memberof UsersApiDeleteUser
|
|
1187
799
|
*/
|
|
1188
|
-
readonly
|
|
800
|
+
readonly id: number
|
|
1189
801
|
}
|
|
1190
802
|
|
|
1191
803
|
/**
|
|
@@ -1195,18 +807,18 @@ export interface UsersApiDeleteUserRequest {
|
|
|
1195
807
|
*/
|
|
1196
808
|
export interface UsersApiDeleteUsersRequest {
|
|
1197
809
|
/**
|
|
1198
|
-
*
|
|
1199
|
-
* @type {
|
|
810
|
+
* Bearer Token
|
|
811
|
+
* @type {string}
|
|
1200
812
|
* @memberof UsersApiDeleteUsers
|
|
1201
813
|
*/
|
|
1202
|
-
readonly
|
|
814
|
+
readonly authorization: string
|
|
1203
815
|
|
|
1204
816
|
/**
|
|
1205
|
-
*
|
|
1206
|
-
* @type {
|
|
817
|
+
*
|
|
818
|
+
* @type {BatchDeleteRequestDto}
|
|
1207
819
|
* @memberof UsersApiDeleteUsers
|
|
1208
820
|
*/
|
|
1209
|
-
readonly
|
|
821
|
+
readonly batchDeleteRequestDto: BatchDeleteRequestDto
|
|
1210
822
|
}
|
|
1211
823
|
|
|
1212
824
|
/**
|
|
@@ -1216,18 +828,18 @@ export interface UsersApiDeleteUsersRequest {
|
|
|
1216
828
|
*/
|
|
1217
829
|
export interface UsersApiDisableUserRequest {
|
|
1218
830
|
/**
|
|
1219
|
-
*
|
|
1220
|
-
* @type {
|
|
831
|
+
* Bearer Token
|
|
832
|
+
* @type {string}
|
|
1221
833
|
* @memberof UsersApiDisableUser
|
|
1222
834
|
*/
|
|
1223
|
-
readonly
|
|
835
|
+
readonly authorization: string
|
|
1224
836
|
|
|
1225
837
|
/**
|
|
1226
|
-
*
|
|
1227
|
-
* @type {
|
|
838
|
+
*
|
|
839
|
+
* @type {number}
|
|
1228
840
|
* @memberof UsersApiDisableUser
|
|
1229
841
|
*/
|
|
1230
|
-
readonly
|
|
842
|
+
readonly id: number
|
|
1231
843
|
}
|
|
1232
844
|
|
|
1233
845
|
/**
|
|
@@ -1237,18 +849,18 @@ export interface UsersApiDisableUserRequest {
|
|
|
1237
849
|
*/
|
|
1238
850
|
export interface UsersApiDisableUsersRequest {
|
|
1239
851
|
/**
|
|
1240
|
-
*
|
|
1241
|
-
* @type {
|
|
852
|
+
* Bearer Token
|
|
853
|
+
* @type {string}
|
|
1242
854
|
* @memberof UsersApiDisableUsers
|
|
1243
855
|
*/
|
|
1244
|
-
readonly
|
|
856
|
+
readonly authorization: string
|
|
1245
857
|
|
|
1246
858
|
/**
|
|
1247
|
-
*
|
|
1248
|
-
* @type {
|
|
859
|
+
*
|
|
860
|
+
* @type {DisableUsersRequestDto}
|
|
1249
861
|
* @memberof UsersApiDisableUsers
|
|
1250
862
|
*/
|
|
1251
|
-
readonly
|
|
863
|
+
readonly disableUsersRequestDto: DisableUsersRequestDto
|
|
1252
864
|
}
|
|
1253
865
|
|
|
1254
866
|
/**
|
|
@@ -1258,18 +870,18 @@ export interface UsersApiDisableUsersRequest {
|
|
|
1258
870
|
*/
|
|
1259
871
|
export interface UsersApiEnableUserRequest {
|
|
1260
872
|
/**
|
|
1261
|
-
*
|
|
1262
|
-
* @type {
|
|
873
|
+
* Bearer Token
|
|
874
|
+
* @type {string}
|
|
1263
875
|
* @memberof UsersApiEnableUser
|
|
1264
876
|
*/
|
|
1265
|
-
readonly
|
|
877
|
+
readonly authorization: string
|
|
1266
878
|
|
|
1267
879
|
/**
|
|
1268
|
-
*
|
|
1269
|
-
* @type {
|
|
880
|
+
*
|
|
881
|
+
* @type {number}
|
|
1270
882
|
* @memberof UsersApiEnableUser
|
|
1271
883
|
*/
|
|
1272
|
-
readonly
|
|
884
|
+
readonly id: number
|
|
1273
885
|
}
|
|
1274
886
|
|
|
1275
887
|
/**
|
|
@@ -1279,18 +891,18 @@ export interface UsersApiEnableUserRequest {
|
|
|
1279
891
|
*/
|
|
1280
892
|
export interface UsersApiEnableUsersRequest {
|
|
1281
893
|
/**
|
|
1282
|
-
*
|
|
1283
|
-
* @type {
|
|
894
|
+
* Bearer Token
|
|
895
|
+
* @type {string}
|
|
1284
896
|
* @memberof UsersApiEnableUsers
|
|
1285
897
|
*/
|
|
1286
|
-
readonly
|
|
898
|
+
readonly authorization: string
|
|
1287
899
|
|
|
1288
900
|
/**
|
|
1289
|
-
*
|
|
1290
|
-
* @type {
|
|
901
|
+
*
|
|
902
|
+
* @type {EnableUsersRequestDto}
|
|
1291
903
|
* @memberof UsersApiEnableUsers
|
|
1292
904
|
*/
|
|
1293
|
-
readonly
|
|
905
|
+
readonly enableUsersRequestDto: EnableUsersRequestDto
|
|
1294
906
|
}
|
|
1295
907
|
|
|
1296
908
|
/**
|
|
@@ -1300,25 +912,25 @@ export interface UsersApiEnableUsersRequest {
|
|
|
1300
912
|
*/
|
|
1301
913
|
export interface UsersApiGetUserRequest {
|
|
1302
914
|
/**
|
|
1303
|
-
*
|
|
915
|
+
* Bearer Token
|
|
1304
916
|
* @type {string}
|
|
1305
917
|
* @memberof UsersApiGetUser
|
|
1306
918
|
*/
|
|
1307
|
-
readonly
|
|
919
|
+
readonly authorization: string
|
|
1308
920
|
|
|
1309
921
|
/**
|
|
1310
|
-
*
|
|
922
|
+
*
|
|
1311
923
|
* @type {string}
|
|
1312
924
|
* @memberof UsersApiGetUser
|
|
1313
925
|
*/
|
|
1314
|
-
readonly
|
|
926
|
+
readonly code: string
|
|
1315
927
|
|
|
1316
928
|
/**
|
|
1317
|
-
*
|
|
929
|
+
* code
|
|
1318
930
|
* @type {string}
|
|
1319
931
|
* @memberof UsersApiGetUser
|
|
1320
932
|
*/
|
|
1321
|
-
readonly
|
|
933
|
+
readonly code2: string
|
|
1322
934
|
|
|
1323
935
|
/**
|
|
1324
936
|
* Fields to expand response by
|
|
@@ -1328,104 +940,6 @@ export interface UsersApiGetUserRequest {
|
|
|
1328
940
|
readonly expand?: string
|
|
1329
941
|
}
|
|
1330
942
|
|
|
1331
|
-
/**
|
|
1332
|
-
* Request parameters for inviteUser operation in UsersApi.
|
|
1333
|
-
* @export
|
|
1334
|
-
* @interface UsersApiInviteUserRequest
|
|
1335
|
-
*/
|
|
1336
|
-
export interface UsersApiInviteUserRequest {
|
|
1337
|
-
/**
|
|
1338
|
-
*
|
|
1339
|
-
* @type {InviteUserRequestDto}
|
|
1340
|
-
* @memberof UsersApiInviteUser
|
|
1341
|
-
*/
|
|
1342
|
-
readonly inviteUserRequestDto: InviteUserRequestDto
|
|
1343
|
-
|
|
1344
|
-
/**
|
|
1345
|
-
* Bearer Token
|
|
1346
|
-
* @type {string}
|
|
1347
|
-
* @memberof UsersApiInviteUser
|
|
1348
|
-
*/
|
|
1349
|
-
readonly authorization?: string
|
|
1350
|
-
}
|
|
1351
|
-
|
|
1352
|
-
/**
|
|
1353
|
-
* Request parameters for inviteUsers operation in UsersApi.
|
|
1354
|
-
* @export
|
|
1355
|
-
* @interface UsersApiInviteUsersRequest
|
|
1356
|
-
*/
|
|
1357
|
-
export interface UsersApiInviteUsersRequest {
|
|
1358
|
-
/**
|
|
1359
|
-
*
|
|
1360
|
-
* @type {InviteUsersRequestDto}
|
|
1361
|
-
* @memberof UsersApiInviteUsers
|
|
1362
|
-
*/
|
|
1363
|
-
readonly inviteUsersRequestDto: InviteUsersRequestDto
|
|
1364
|
-
|
|
1365
|
-
/**
|
|
1366
|
-
* Bearer Token
|
|
1367
|
-
* @type {string}
|
|
1368
|
-
* @memberof UsersApiInviteUsers
|
|
1369
|
-
*/
|
|
1370
|
-
readonly authorization?: string
|
|
1371
|
-
}
|
|
1372
|
-
|
|
1373
|
-
/**
|
|
1374
|
-
* Request parameters for listInvites operation in UsersApi.
|
|
1375
|
-
* @export
|
|
1376
|
-
* @interface UsersApiListInvitesRequest
|
|
1377
|
-
*/
|
|
1378
|
-
export interface UsersApiListInvitesRequest {
|
|
1379
|
-
/**
|
|
1380
|
-
* Bearer Token
|
|
1381
|
-
* @type {string}
|
|
1382
|
-
* @memberof UsersApiListInvites
|
|
1383
|
-
*/
|
|
1384
|
-
readonly authorization?: string
|
|
1385
|
-
|
|
1386
|
-
/**
|
|
1387
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
1388
|
-
* @type {any}
|
|
1389
|
-
* @memberof UsersApiListInvites
|
|
1390
|
-
*/
|
|
1391
|
-
readonly pageSize?: any
|
|
1392
|
-
|
|
1393
|
-
/**
|
|
1394
|
-
* 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.
|
|
1395
|
-
* @type {any}
|
|
1396
|
-
* @memberof UsersApiListInvites
|
|
1397
|
-
*/
|
|
1398
|
-
readonly pageToken?: any
|
|
1399
|
-
|
|
1400
|
-
/**
|
|
1401
|
-
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
1402
|
-
* @type {any}
|
|
1403
|
-
* @memberof UsersApiListInvites
|
|
1404
|
-
*/
|
|
1405
|
-
readonly filter?: any
|
|
1406
|
-
|
|
1407
|
-
/**
|
|
1408
|
-
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
1409
|
-
* @type {any}
|
|
1410
|
-
* @memberof UsersApiListInvites
|
|
1411
|
-
*/
|
|
1412
|
-
readonly search?: any
|
|
1413
|
-
|
|
1414
|
-
/**
|
|
1415
|
-
* 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.
|
|
1416
|
-
* @type {any}
|
|
1417
|
-
* @memberof UsersApiListInvites
|
|
1418
|
-
*/
|
|
1419
|
-
readonly order?: any
|
|
1420
|
-
|
|
1421
|
-
/**
|
|
1422
|
-
* 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.
|
|
1423
|
-
* @type {any}
|
|
1424
|
-
* @memberof UsersApiListInvites
|
|
1425
|
-
*/
|
|
1426
|
-
readonly expand?: any
|
|
1427
|
-
}
|
|
1428
|
-
|
|
1429
943
|
/**
|
|
1430
944
|
* Request parameters for listUsers operation in UsersApi.
|
|
1431
945
|
* @export
|
|
@@ -1437,17 +951,17 @@ export interface UsersApiListUsersRequest {
|
|
|
1437
951
|
* @type {string}
|
|
1438
952
|
* @memberof UsersApiListUsers
|
|
1439
953
|
*/
|
|
1440
|
-
readonly authorization
|
|
954
|
+
readonly authorization: string
|
|
1441
955
|
|
|
1442
956
|
/**
|
|
1443
|
-
* A limit on the number of objects to be returned.
|
|
957
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
1444
958
|
* @type {any}
|
|
1445
959
|
* @memberof UsersApiListUsers
|
|
1446
960
|
*/
|
|
1447
961
|
readonly pageSize?: any
|
|
1448
962
|
|
|
1449
963
|
/**
|
|
1450
|
-
* A cursor for use in pagination.
|
|
964
|
+
* 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.
|
|
1451
965
|
* @type {any}
|
|
1452
966
|
* @memberof UsersApiListUsers
|
|
1453
967
|
*/
|
|
@@ -1468,14 +982,14 @@ export interface UsersApiListUsersRequest {
|
|
|
1468
982
|
readonly search?: any
|
|
1469
983
|
|
|
1470
984
|
/**
|
|
1471
|
-
* The order parameter determines how the results should be sorted according to a specified field.
|
|
985
|
+
* 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.
|
|
1472
986
|
* @type {any}
|
|
1473
987
|
* @memberof UsersApiListUsers
|
|
1474
988
|
*/
|
|
1475
989
|
readonly order?: any
|
|
1476
990
|
|
|
1477
991
|
/**
|
|
1478
|
-
* 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
|
|
992
|
+
* 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.
|
|
1479
993
|
* @type {any}
|
|
1480
994
|
* @memberof UsersApiListUsers
|
|
1481
995
|
*/
|
|
@@ -1497,29 +1011,7 @@ export class UsersApi extends BaseAPI {
|
|
|
1497
1011
|
* @memberof UsersApi
|
|
1498
1012
|
*/
|
|
1499
1013
|
public assignUserRoles(requestParameters: UsersApiAssignUserRolesRequest, options?: AxiosRequestConfig) {
|
|
1500
|
-
return UsersApiFp(this.configuration).assignUserRoles(requestParameters.
|
|
1501
|
-
}
|
|
1502
|
-
|
|
1503
|
-
/**
|
|
1504
|
-
*
|
|
1505
|
-
* @param {UsersApiDeleteInviteRequest} requestParameters Request parameters.
|
|
1506
|
-
* @param {*} [options] Override http request option.
|
|
1507
|
-
* @throws {RequiredError}
|
|
1508
|
-
* @memberof UsersApi
|
|
1509
|
-
*/
|
|
1510
|
-
public deleteInvite(requestParameters: UsersApiDeleteInviteRequest, options?: AxiosRequestConfig) {
|
|
1511
|
-
return UsersApiFp(this.configuration).deleteInvite(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1512
|
-
}
|
|
1513
|
-
|
|
1514
|
-
/**
|
|
1515
|
-
*
|
|
1516
|
-
* @param {UsersApiDeleteInvitesRequest} requestParameters Request parameters.
|
|
1517
|
-
* @param {*} [options] Override http request option.
|
|
1518
|
-
* @throws {RequiredError}
|
|
1519
|
-
* @memberof UsersApi
|
|
1520
|
-
*/
|
|
1521
|
-
public deleteInvites(requestParameters: UsersApiDeleteInvitesRequest, options?: AxiosRequestConfig) {
|
|
1522
|
-
return UsersApiFp(this.configuration).deleteInvites(requestParameters.batchDeleteRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1014
|
+
return UsersApiFp(this.configuration).assignUserRoles(requestParameters.authorization, requestParameters.id, requestParameters.assignUserRolesRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1523
1015
|
}
|
|
1524
1016
|
|
|
1525
1017
|
/**
|
|
@@ -1530,7 +1022,7 @@ export class UsersApi extends BaseAPI {
|
|
|
1530
1022
|
* @memberof UsersApi
|
|
1531
1023
|
*/
|
|
1532
1024
|
public deleteUser(requestParameters: UsersApiDeleteUserRequest, options?: AxiosRequestConfig) {
|
|
1533
|
-
return UsersApiFp(this.configuration).deleteUser(requestParameters.
|
|
1025
|
+
return UsersApiFp(this.configuration).deleteUser(requestParameters.authorization, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1534
1026
|
}
|
|
1535
1027
|
|
|
1536
1028
|
/**
|
|
@@ -1541,7 +1033,7 @@ export class UsersApi extends BaseAPI {
|
|
|
1541
1033
|
* @memberof UsersApi
|
|
1542
1034
|
*/
|
|
1543
1035
|
public deleteUsers(requestParameters: UsersApiDeleteUsersRequest, options?: AxiosRequestConfig) {
|
|
1544
|
-
return UsersApiFp(this.configuration).deleteUsers(requestParameters.
|
|
1036
|
+
return UsersApiFp(this.configuration).deleteUsers(requestParameters.authorization, requestParameters.batchDeleteRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1545
1037
|
}
|
|
1546
1038
|
|
|
1547
1039
|
/**
|
|
@@ -1552,7 +1044,7 @@ export class UsersApi extends BaseAPI {
|
|
|
1552
1044
|
* @memberof UsersApi
|
|
1553
1045
|
*/
|
|
1554
1046
|
public disableUser(requestParameters: UsersApiDisableUserRequest, options?: AxiosRequestConfig) {
|
|
1555
|
-
return UsersApiFp(this.configuration).disableUser(requestParameters.
|
|
1047
|
+
return UsersApiFp(this.configuration).disableUser(requestParameters.authorization, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1556
1048
|
}
|
|
1557
1049
|
|
|
1558
1050
|
/**
|
|
@@ -1563,7 +1055,7 @@ export class UsersApi extends BaseAPI {
|
|
|
1563
1055
|
* @memberof UsersApi
|
|
1564
1056
|
*/
|
|
1565
1057
|
public disableUsers(requestParameters: UsersApiDisableUsersRequest, options?: AxiosRequestConfig) {
|
|
1566
|
-
return UsersApiFp(this.configuration).disableUsers(requestParameters.
|
|
1058
|
+
return UsersApiFp(this.configuration).disableUsers(requestParameters.authorization, requestParameters.disableUsersRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1567
1059
|
}
|
|
1568
1060
|
|
|
1569
1061
|
/**
|
|
@@ -1574,7 +1066,7 @@ export class UsersApi extends BaseAPI {
|
|
|
1574
1066
|
* @memberof UsersApi
|
|
1575
1067
|
*/
|
|
1576
1068
|
public enableUser(requestParameters: UsersApiEnableUserRequest, options?: AxiosRequestConfig) {
|
|
1577
|
-
return UsersApiFp(this.configuration).enableUser(requestParameters.
|
|
1069
|
+
return UsersApiFp(this.configuration).enableUser(requestParameters.authorization, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1578
1070
|
}
|
|
1579
1071
|
|
|
1580
1072
|
/**
|
|
@@ -1585,7 +1077,7 @@ export class UsersApi extends BaseAPI {
|
|
|
1585
1077
|
* @memberof UsersApi
|
|
1586
1078
|
*/
|
|
1587
1079
|
public enableUsers(requestParameters: UsersApiEnableUsersRequest, options?: AxiosRequestConfig) {
|
|
1588
|
-
return UsersApiFp(this.configuration).enableUsers(requestParameters.
|
|
1080
|
+
return UsersApiFp(this.configuration).enableUsers(requestParameters.authorization, requestParameters.enableUsersRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1589
1081
|
}
|
|
1590
1082
|
|
|
1591
1083
|
/**
|
|
@@ -1596,50 +1088,18 @@ export class UsersApi extends BaseAPI {
|
|
|
1596
1088
|
* @memberof UsersApi
|
|
1597
1089
|
*/
|
|
1598
1090
|
public getUser(requestParameters: UsersApiGetUserRequest, options?: AxiosRequestConfig) {
|
|
1599
|
-
return UsersApiFp(this.configuration).getUser(requestParameters.
|
|
1600
|
-
}
|
|
1601
|
-
|
|
1602
|
-
/**
|
|
1603
|
-
*
|
|
1604
|
-
* @param {UsersApiInviteUserRequest} requestParameters Request parameters.
|
|
1605
|
-
* @param {*} [options] Override http request option.
|
|
1606
|
-
* @throws {RequiredError}
|
|
1607
|
-
* @memberof UsersApi
|
|
1608
|
-
*/
|
|
1609
|
-
public inviteUser(requestParameters: UsersApiInviteUserRequest, options?: AxiosRequestConfig) {
|
|
1610
|
-
return UsersApiFp(this.configuration).inviteUser(requestParameters.inviteUserRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1091
|
+
return UsersApiFp(this.configuration).getUser(requestParameters.authorization, requestParameters.code, requestParameters.code2, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
1611
1092
|
}
|
|
1612
1093
|
|
|
1613
1094
|
/**
|
|
1614
|
-
*
|
|
1615
|
-
* @
|
|
1616
|
-
* @param {*} [options] Override http request option.
|
|
1617
|
-
* @throws {RequiredError}
|
|
1618
|
-
* @memberof UsersApi
|
|
1619
|
-
*/
|
|
1620
|
-
public inviteUsers(requestParameters: UsersApiInviteUsersRequest, options?: AxiosRequestConfig) {
|
|
1621
|
-
return UsersApiFp(this.configuration).inviteUsers(requestParameters.inviteUsersRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1622
|
-
}
|
|
1623
|
-
|
|
1624
|
-
/**
|
|
1625
|
-
*
|
|
1626
|
-
* @param {UsersApiListInvitesRequest} requestParameters Request parameters.
|
|
1627
|
-
* @param {*} [options] Override http request option.
|
|
1628
|
-
* @throws {RequiredError}
|
|
1629
|
-
* @memberof UsersApi
|
|
1630
|
-
*/
|
|
1631
|
-
public listInvites(requestParameters: UsersApiListInvitesRequest = {}, options?: AxiosRequestConfig) {
|
|
1632
|
-
return UsersApiFp(this.configuration).listInvites(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
1633
|
-
}
|
|
1634
|
-
|
|
1635
|
-
/**
|
|
1636
|
-
*
|
|
1095
|
+
* Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
1096
|
+
* @summary List users
|
|
1637
1097
|
* @param {UsersApiListUsersRequest} requestParameters Request parameters.
|
|
1638
1098
|
* @param {*} [options] Override http request option.
|
|
1639
1099
|
* @throws {RequiredError}
|
|
1640
1100
|
* @memberof UsersApi
|
|
1641
1101
|
*/
|
|
1642
|
-
public listUsers(requestParameters: UsersApiListUsersRequest
|
|
1102
|
+
public listUsers(requestParameters: UsersApiListUsersRequest, options?: AxiosRequestConfig) {
|
|
1643
1103
|
return UsersApiFp(this.configuration).listUsers(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
1644
1104
|
}
|
|
1645
1105
|
}
|