@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
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Tenant Service
|
|
3
|
+
* The EMIL TenantService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { GetOrganizationResponseClass } from '../models';
|
|
16
|
+
import { ListOrganizationsResponseClass } from '../models';
|
|
17
|
+
/**
|
|
18
|
+
* OrganizationsApi - axios parameter creator
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
export declare const OrganizationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
|
+
/**
|
|
23
|
+
* Get Organization by code
|
|
24
|
+
* @summary Retrieve the Organization
|
|
25
|
+
* @param {string} authorization Bearer Token
|
|
26
|
+
* @param {string} code
|
|
27
|
+
* @param {*} [options] Override http request option.
|
|
28
|
+
* @throws {RequiredError}
|
|
29
|
+
*/
|
|
30
|
+
getOrganization: (authorization: string, code: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
|
+
/**
|
|
32
|
+
* This will fetch list of organizations
|
|
33
|
+
* @summary List organizations
|
|
34
|
+
* @param {string} authorization Bearer Token
|
|
35
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
36
|
+
* @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.
|
|
37
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
38
|
+
* @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.
|
|
39
|
+
* @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.
|
|
40
|
+
* @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.
|
|
41
|
+
* @param {*} [options] Override http request option.
|
|
42
|
+
* @throws {RequiredError}
|
|
43
|
+
*/
|
|
44
|
+
listOrganizations: (authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* OrganizationsApi - functional programming interface
|
|
48
|
+
* @export
|
|
49
|
+
*/
|
|
50
|
+
export declare const OrganizationsApiFp: (configuration?: Configuration) => {
|
|
51
|
+
/**
|
|
52
|
+
* Get Organization by code
|
|
53
|
+
* @summary Retrieve the Organization
|
|
54
|
+
* @param {string} authorization Bearer Token
|
|
55
|
+
* @param {string} code
|
|
56
|
+
* @param {*} [options] Override http request option.
|
|
57
|
+
* @throws {RequiredError}
|
|
58
|
+
*/
|
|
59
|
+
getOrganization(authorization: string, code: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrganizationResponseClass>>;
|
|
60
|
+
/**
|
|
61
|
+
* This will fetch list of organizations
|
|
62
|
+
* @summary List organizations
|
|
63
|
+
* @param {string} authorization Bearer Token
|
|
64
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
65
|
+
* @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.
|
|
66
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
67
|
+
* @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.
|
|
68
|
+
* @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.
|
|
69
|
+
* @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.
|
|
70
|
+
* @param {*} [options] Override http request option.
|
|
71
|
+
* @throws {RequiredError}
|
|
72
|
+
*/
|
|
73
|
+
listOrganizations(authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListOrganizationsResponseClass>>;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* OrganizationsApi - factory interface
|
|
77
|
+
* @export
|
|
78
|
+
*/
|
|
79
|
+
export declare const OrganizationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
80
|
+
/**
|
|
81
|
+
* Get Organization by code
|
|
82
|
+
* @summary Retrieve the Organization
|
|
83
|
+
* @param {string} authorization Bearer Token
|
|
84
|
+
* @param {string} code
|
|
85
|
+
* @param {*} [options] Override http request option.
|
|
86
|
+
* @throws {RequiredError}
|
|
87
|
+
*/
|
|
88
|
+
getOrganization(authorization: string, code: string, options?: any): AxiosPromise<GetOrganizationResponseClass>;
|
|
89
|
+
/**
|
|
90
|
+
* This will fetch list of organizations
|
|
91
|
+
* @summary List organizations
|
|
92
|
+
* @param {string} authorization Bearer Token
|
|
93
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
94
|
+
* @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.
|
|
95
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
96
|
+
* @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.
|
|
97
|
+
* @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.
|
|
98
|
+
* @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.
|
|
99
|
+
* @param {*} [options] Override http request option.
|
|
100
|
+
* @throws {RequiredError}
|
|
101
|
+
*/
|
|
102
|
+
listOrganizations(authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListOrganizationsResponseClass>;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Request parameters for getOrganization operation in OrganizationsApi.
|
|
106
|
+
* @export
|
|
107
|
+
* @interface OrganizationsApiGetOrganizationRequest
|
|
108
|
+
*/
|
|
109
|
+
export interface OrganizationsApiGetOrganizationRequest {
|
|
110
|
+
/**
|
|
111
|
+
* Bearer Token
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof OrganizationsApiGetOrganization
|
|
114
|
+
*/
|
|
115
|
+
readonly authorization: string;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {string}
|
|
119
|
+
* @memberof OrganizationsApiGetOrganization
|
|
120
|
+
*/
|
|
121
|
+
readonly code: string;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Request parameters for listOrganizations operation in OrganizationsApi.
|
|
125
|
+
* @export
|
|
126
|
+
* @interface OrganizationsApiListOrganizationsRequest
|
|
127
|
+
*/
|
|
128
|
+
export interface OrganizationsApiListOrganizationsRequest {
|
|
129
|
+
/**
|
|
130
|
+
* Bearer Token
|
|
131
|
+
* @type {string}
|
|
132
|
+
* @memberof OrganizationsApiListOrganizations
|
|
133
|
+
*/
|
|
134
|
+
readonly authorization: string;
|
|
135
|
+
/**
|
|
136
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
137
|
+
* @type {any}
|
|
138
|
+
* @memberof OrganizationsApiListOrganizations
|
|
139
|
+
*/
|
|
140
|
+
readonly pageSize?: any;
|
|
141
|
+
/**
|
|
142
|
+
* 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.
|
|
143
|
+
* @type {any}
|
|
144
|
+
* @memberof OrganizationsApiListOrganizations
|
|
145
|
+
*/
|
|
146
|
+
readonly pageToken?: any;
|
|
147
|
+
/**
|
|
148
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
149
|
+
* @type {any}
|
|
150
|
+
* @memberof OrganizationsApiListOrganizations
|
|
151
|
+
*/
|
|
152
|
+
readonly filter?: any;
|
|
153
|
+
/**
|
|
154
|
+
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
155
|
+
* @type {any}
|
|
156
|
+
* @memberof OrganizationsApiListOrganizations
|
|
157
|
+
*/
|
|
158
|
+
readonly search?: any;
|
|
159
|
+
/**
|
|
160
|
+
* 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.
|
|
161
|
+
* @type {any}
|
|
162
|
+
* @memberof OrganizationsApiListOrganizations
|
|
163
|
+
*/
|
|
164
|
+
readonly order?: any;
|
|
165
|
+
/**
|
|
166
|
+
* 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.
|
|
167
|
+
* @type {any}
|
|
168
|
+
* @memberof OrganizationsApiListOrganizations
|
|
169
|
+
*/
|
|
170
|
+
readonly expand?: any;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* OrganizationsApi - object-oriented interface
|
|
174
|
+
* @export
|
|
175
|
+
* @class OrganizationsApi
|
|
176
|
+
* @extends {BaseAPI}
|
|
177
|
+
*/
|
|
178
|
+
export declare class OrganizationsApi extends BaseAPI {
|
|
179
|
+
/**
|
|
180
|
+
* Get Organization by code
|
|
181
|
+
* @summary Retrieve the Organization
|
|
182
|
+
* @param {OrganizationsApiGetOrganizationRequest} requestParameters Request parameters.
|
|
183
|
+
* @param {*} [options] Override http request option.
|
|
184
|
+
* @throws {RequiredError}
|
|
185
|
+
* @memberof OrganizationsApi
|
|
186
|
+
*/
|
|
187
|
+
getOrganization(requestParameters: OrganizationsApiGetOrganizationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOrganizationResponseClass, any>>;
|
|
188
|
+
/**
|
|
189
|
+
* This will fetch list of organizations
|
|
190
|
+
* @summary List organizations
|
|
191
|
+
* @param {OrganizationsApiListOrganizationsRequest} requestParameters Request parameters.
|
|
192
|
+
* @param {*} [options] Override http request option.
|
|
193
|
+
* @throws {RequiredError}
|
|
194
|
+
* @memberof OrganizationsApi
|
|
195
|
+
*/
|
|
196
|
+
listOrganizations(requestParameters: OrganizationsApiListOrganizationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListOrganizationsResponseClass, any>>;
|
|
197
|
+
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* The EMIL TenantService API description
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
|
-
*
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.
|
|
81
|
+
exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -90,34 +90,39 @@ var base_1 = require("../base");
|
|
|
90
90
|
var url_1 = require("url");
|
|
91
91
|
var FormData = require('form-data');
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* OrganizationsApi - axios parameter creator
|
|
94
94
|
* @export
|
|
95
95
|
*/
|
|
96
|
-
var
|
|
96
|
+
var OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
*
|
|
101
|
-
* @
|
|
100
|
+
* Get Organization by code
|
|
101
|
+
* @summary Retrieve the Organization
|
|
102
|
+
* @param {string} authorization Bearer Token
|
|
103
|
+
* @param {string} code
|
|
102
104
|
* @param {*} [options] Override http request option.
|
|
103
105
|
* @throws {RequiredError}
|
|
104
106
|
*/
|
|
105
|
-
|
|
107
|
+
getOrganization: function (authorization, code, options) {
|
|
106
108
|
if (options === void 0) { options = {}; }
|
|
107
109
|
return __awaiter(_this, void 0, void 0, function () {
|
|
108
110
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
109
111
|
return __generator(this, function (_a) {
|
|
110
112
|
switch (_a.label) {
|
|
111
113
|
case 0:
|
|
112
|
-
// verify required parameter '
|
|
113
|
-
(0, common_1.assertParamExists)('
|
|
114
|
-
|
|
114
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
115
|
+
(0, common_1.assertParamExists)('getOrganization', 'authorization', authorization);
|
|
116
|
+
// verify required parameter 'code' is not null or undefined
|
|
117
|
+
(0, common_1.assertParamExists)('getOrganization', 'code', code);
|
|
118
|
+
localVarPath = "/tenantservice/v1/organizations/{code}"
|
|
119
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
115
120
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
116
121
|
if (configuration) {
|
|
117
122
|
baseOptions = configuration.baseOptions;
|
|
118
123
|
baseAccessToken = configuration.accessToken;
|
|
119
124
|
}
|
|
120
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
125
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
121
126
|
localVarHeaderParameter = {};
|
|
122
127
|
localVarQueryParameter = {};
|
|
123
128
|
// authentication bearer required
|
|
@@ -127,11 +132,12 @@ var PermissionsApiAxiosParamCreator = function (configuration) {
|
|
|
127
132
|
// authentication bearer required
|
|
128
133
|
// http bearer authentication required
|
|
129
134
|
_a.sent();
|
|
130
|
-
|
|
135
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
136
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
137
|
+
}
|
|
131
138
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
132
139
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
133
140
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
134
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createPermissionRequestDto, localVarRequestOptions, configuration);
|
|
135
141
|
return [2 /*return*/, {
|
|
136
142
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
137
143
|
options: localVarRequestOptions,
|
|
@@ -141,24 +147,28 @@ var PermissionsApiAxiosParamCreator = function (configuration) {
|
|
|
141
147
|
});
|
|
142
148
|
},
|
|
143
149
|
/**
|
|
144
|
-
*
|
|
145
|
-
* @
|
|
146
|
-
* @param {string}
|
|
147
|
-
* @param {
|
|
148
|
-
* @param {
|
|
149
|
-
* @param {
|
|
150
|
-
* @param {
|
|
150
|
+
* This will fetch list of organizations
|
|
151
|
+
* @summary List organizations
|
|
152
|
+
* @param {string} authorization Bearer Token
|
|
153
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
154
|
+
* @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.
|
|
155
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
156
|
+
* @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.
|
|
157
|
+
* @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.
|
|
158
|
+
* @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.
|
|
151
159
|
* @param {*} [options] Override http request option.
|
|
152
160
|
* @throws {RequiredError}
|
|
153
161
|
*/
|
|
154
|
-
|
|
162
|
+
listOrganizations: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
155
163
|
if (options === void 0) { options = {}; }
|
|
156
164
|
return __awaiter(_this, void 0, void 0, function () {
|
|
157
165
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
158
166
|
return __generator(this, function (_a) {
|
|
159
167
|
switch (_a.label) {
|
|
160
168
|
case 0:
|
|
161
|
-
|
|
169
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
170
|
+
(0, common_1.assertParamExists)('listOrganizations', 'authorization', authorization);
|
|
171
|
+
localVarPath = "/tenantservice/v1/organizations";
|
|
162
172
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
163
173
|
if (configuration) {
|
|
164
174
|
baseOptions = configuration.baseOptions;
|
|
@@ -192,6 +202,9 @@ var PermissionsApiAxiosParamCreator = function (configuration) {
|
|
|
192
202
|
if (expand !== undefined) {
|
|
193
203
|
localVarQueryParameter['expand'] = expand;
|
|
194
204
|
}
|
|
205
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
206
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
207
|
+
}
|
|
195
208
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
196
209
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
197
210
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -205,26 +218,28 @@ var PermissionsApiAxiosParamCreator = function (configuration) {
|
|
|
205
218
|
},
|
|
206
219
|
};
|
|
207
220
|
};
|
|
208
|
-
exports.
|
|
221
|
+
exports.OrganizationsApiAxiosParamCreator = OrganizationsApiAxiosParamCreator;
|
|
209
222
|
/**
|
|
210
|
-
*
|
|
223
|
+
* OrganizationsApi - functional programming interface
|
|
211
224
|
* @export
|
|
212
225
|
*/
|
|
213
|
-
var
|
|
214
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
226
|
+
var OrganizationsApiFp = function (configuration) {
|
|
227
|
+
var localVarAxiosParamCreator = (0, exports.OrganizationsApiAxiosParamCreator)(configuration);
|
|
215
228
|
return {
|
|
216
229
|
/**
|
|
217
|
-
*
|
|
218
|
-
* @
|
|
230
|
+
* Get Organization by code
|
|
231
|
+
* @summary Retrieve the Organization
|
|
232
|
+
* @param {string} authorization Bearer Token
|
|
233
|
+
* @param {string} code
|
|
219
234
|
* @param {*} [options] Override http request option.
|
|
220
235
|
* @throws {RequiredError}
|
|
221
236
|
*/
|
|
222
|
-
|
|
237
|
+
getOrganization: function (authorization, code, options) {
|
|
223
238
|
return __awaiter(this, void 0, void 0, function () {
|
|
224
239
|
var localVarAxiosArgs;
|
|
225
240
|
return __generator(this, function (_a) {
|
|
226
241
|
switch (_a.label) {
|
|
227
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
242
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getOrganization(authorization, code, options)];
|
|
228
243
|
case 1:
|
|
229
244
|
localVarAxiosArgs = _a.sent();
|
|
230
245
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -233,22 +248,24 @@ var PermissionsApiFp = function (configuration) {
|
|
|
233
248
|
});
|
|
234
249
|
},
|
|
235
250
|
/**
|
|
236
|
-
*
|
|
237
|
-
* @
|
|
238
|
-
* @param {string}
|
|
239
|
-
* @param {
|
|
240
|
-
* @param {
|
|
241
|
-
* @param {
|
|
242
|
-
* @param {
|
|
251
|
+
* This will fetch list of organizations
|
|
252
|
+
* @summary List organizations
|
|
253
|
+
* @param {string} authorization Bearer Token
|
|
254
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
255
|
+
* @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.
|
|
256
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
257
|
+
* @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.
|
|
258
|
+
* @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.
|
|
259
|
+
* @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.
|
|
243
260
|
* @param {*} [options] Override http request option.
|
|
244
261
|
* @throws {RequiredError}
|
|
245
262
|
*/
|
|
246
|
-
|
|
263
|
+
listOrganizations: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
247
264
|
return __awaiter(this, void 0, void 0, function () {
|
|
248
265
|
var localVarAxiosArgs;
|
|
249
266
|
return __generator(this, function (_a) {
|
|
250
267
|
switch (_a.label) {
|
|
251
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
268
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listOrganizations(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
252
269
|
case 1:
|
|
253
270
|
localVarAxiosArgs = _a.sent();
|
|
254
271
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -258,74 +275,79 @@ var PermissionsApiFp = function (configuration) {
|
|
|
258
275
|
},
|
|
259
276
|
};
|
|
260
277
|
};
|
|
261
|
-
exports.
|
|
278
|
+
exports.OrganizationsApiFp = OrganizationsApiFp;
|
|
262
279
|
/**
|
|
263
|
-
*
|
|
280
|
+
* OrganizationsApi - factory interface
|
|
264
281
|
* @export
|
|
265
282
|
*/
|
|
266
|
-
var
|
|
267
|
-
var localVarFp = (0, exports.
|
|
283
|
+
var OrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
284
|
+
var localVarFp = (0, exports.OrganizationsApiFp)(configuration);
|
|
268
285
|
return {
|
|
269
286
|
/**
|
|
270
|
-
*
|
|
271
|
-
* @
|
|
287
|
+
* Get Organization by code
|
|
288
|
+
* @summary Retrieve the Organization
|
|
289
|
+
* @param {string} authorization Bearer Token
|
|
290
|
+
* @param {string} code
|
|
272
291
|
* @param {*} [options] Override http request option.
|
|
273
292
|
* @throws {RequiredError}
|
|
274
293
|
*/
|
|
275
|
-
|
|
276
|
-
return localVarFp.
|
|
294
|
+
getOrganization: function (authorization, code, options) {
|
|
295
|
+
return localVarFp.getOrganization(authorization, code, options).then(function (request) { return request(axios, basePath); });
|
|
277
296
|
},
|
|
278
297
|
/**
|
|
279
|
-
*
|
|
280
|
-
* @
|
|
281
|
-
* @param {string}
|
|
282
|
-
* @param {
|
|
283
|
-
* @param {
|
|
284
|
-
* @param {
|
|
285
|
-
* @param {
|
|
298
|
+
* This will fetch list of organizations
|
|
299
|
+
* @summary List organizations
|
|
300
|
+
* @param {string} authorization Bearer Token
|
|
301
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
302
|
+
* @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.
|
|
303
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
304
|
+
* @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.
|
|
305
|
+
* @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.
|
|
306
|
+
* @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.
|
|
286
307
|
* @param {*} [options] Override http request option.
|
|
287
308
|
* @throws {RequiredError}
|
|
288
309
|
*/
|
|
289
|
-
|
|
290
|
-
return localVarFp.
|
|
310
|
+
listOrganizations: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
311
|
+
return localVarFp.listOrganizations(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
291
312
|
},
|
|
292
313
|
};
|
|
293
314
|
};
|
|
294
|
-
exports.
|
|
315
|
+
exports.OrganizationsApiFactory = OrganizationsApiFactory;
|
|
295
316
|
/**
|
|
296
|
-
*
|
|
317
|
+
* OrganizationsApi - object-oriented interface
|
|
297
318
|
* @export
|
|
298
|
-
* @class
|
|
319
|
+
* @class OrganizationsApi
|
|
299
320
|
* @extends {BaseAPI}
|
|
300
321
|
*/
|
|
301
|
-
var
|
|
302
|
-
__extends(
|
|
303
|
-
function
|
|
322
|
+
var OrganizationsApi = /** @class */ (function (_super) {
|
|
323
|
+
__extends(OrganizationsApi, _super);
|
|
324
|
+
function OrganizationsApi() {
|
|
304
325
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
305
326
|
}
|
|
306
327
|
/**
|
|
307
|
-
*
|
|
308
|
-
* @
|
|
328
|
+
* Get Organization by code
|
|
329
|
+
* @summary Retrieve the Organization
|
|
330
|
+
* @param {OrganizationsApiGetOrganizationRequest} requestParameters Request parameters.
|
|
309
331
|
* @param {*} [options] Override http request option.
|
|
310
332
|
* @throws {RequiredError}
|
|
311
|
-
* @memberof
|
|
333
|
+
* @memberof OrganizationsApi
|
|
312
334
|
*/
|
|
313
|
-
|
|
335
|
+
OrganizationsApi.prototype.getOrganization = function (requestParameters, options) {
|
|
314
336
|
var _this = this;
|
|
315
|
-
return (0, exports.
|
|
337
|
+
return (0, exports.OrganizationsApiFp)(this.configuration).getOrganization(requestParameters.authorization, requestParameters.code, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
316
338
|
};
|
|
317
339
|
/**
|
|
318
|
-
*
|
|
319
|
-
* @
|
|
340
|
+
* This will fetch list of organizations
|
|
341
|
+
* @summary List organizations
|
|
342
|
+
* @param {OrganizationsApiListOrganizationsRequest} requestParameters Request parameters.
|
|
320
343
|
* @param {*} [options] Override http request option.
|
|
321
344
|
* @throws {RequiredError}
|
|
322
|
-
* @memberof
|
|
345
|
+
* @memberof OrganizationsApi
|
|
323
346
|
*/
|
|
324
|
-
|
|
347
|
+
OrganizationsApi.prototype.listOrganizations = function (requestParameters, options) {
|
|
325
348
|
var _this = this;
|
|
326
|
-
|
|
327
|
-
return (0, exports.PermissionsApiFp)(this.configuration).listPermissions(requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
349
|
+
return (0, exports.OrganizationsApiFp)(this.configuration).listOrganizations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
328
350
|
};
|
|
329
|
-
return
|
|
351
|
+
return OrganizationsApi;
|
|
330
352
|
}(base_1.BaseAPI));
|
|
331
|
-
exports.
|
|
353
|
+
exports.OrganizationsApi = OrganizationsApi;
|