@emilgroup/tenant-sdk-node 1.0.0-beta.1 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +30 -56
- package/README.md +2 -2
- package/api/custom-schema-api.ts +77 -69
- package/api/data-report-api.ts +687 -0
- package/api/data-report-executor-api.ts +7 -21
- package/api/invite-organizations-api.ts +347 -0
- package/api/invite-users-api.ts +670 -0
- package/api/organizations-api.ts +343 -0
- package/api/users-api.ts +180 -720
- package/api.ts +9 -20
- package/base.ts +2 -1
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api/custom-schema-api.d.ts +59 -59
- package/dist/api/custom-schema-api.js +51 -44
- package/dist/api/data-report-api.d.ts +380 -0
- package/dist/api/{dashboard-api.js → data-report-api.js} +162 -241
- package/dist/api/data-report-executor-api.d.ts +4 -13
- package/dist/api/data-report-executor-api.js +7 -13
- package/dist/api/invite-organizations-api.d.ts +198 -0
- package/dist/api/invite-organizations-api.js +354 -0
- package/dist/api/invite-users-api.d.ts +368 -0
- package/dist/api/{reports-api.js → invite-users-api.js} +178 -292
- package/dist/api/organizations-api.d.ts +197 -0
- package/dist/api/{tariff-comparisons-api.js → organizations-api.js} +104 -160
- package/dist/api/users-api.d.ts +138 -434
- package/dist/api/users-api.js +114 -567
- package/dist/api.d.ts +5 -12
- package/dist/api.js +5 -14
- package/dist/base.d.ts +3 -2
- package/dist/base.js +2 -1
- package/dist/common.d.ts +2 -2
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -2
- package/dist/models/assign-user-roles-request-dto.d.ts +1 -1
- package/dist/models/assign-user-roles-request-dto.js +1 -1
- package/dist/models/assign-user-roles-response-class.d.ts +1 -1
- package/dist/models/assign-user-roles-response-class.js +1 -1
- package/dist/models/batch-delete-request-dto.d.ts +2 -2
- package/dist/models/batch-delete-request-dto.js +1 -1
- package/dist/models/{get-embedded-url-response-class.d.ts → batch-delete-response-class.d.ts} +7 -7
- package/dist/models/{alert-class.js → batch-delete-response-class.js} +1 -1
- package/dist/models/create-custom-schema-request-dto.d.ts +1 -1
- package/dist/models/create-custom-schema-request-dto.js +1 -1
- package/dist/models/create-custom-schema-response-class.d.ts +1 -1
- package/dist/models/create-custom-schema-response-class.js +1 -1
- package/dist/models/create-data-report-request-dto.d.ts +61 -0
- package/dist/models/{alert-history-class.js → create-data-report-request-dto.js} +1 -1
- package/dist/models/{channel-response-class.d.ts → create-data-report-response-class.d.ts} +8 -13
- package/dist/models/{compare-tariffs-response-class.js → create-data-report-response-class.js} +1 -1
- package/dist/models/create-permission-request-dto.d.ts +1 -7
- package/dist/models/create-permission-request-dto.js +1 -1
- package/dist/models/create-role-request-dto.d.ts +2 -2
- package/dist/models/create-role-request-dto.js +1 -1
- package/dist/models/create-tenant-request-dto.d.ts +1 -1
- package/dist/models/create-tenant-request-dto.js +1 -1
- package/dist/models/custom-field-dto.d.ts +1 -1
- package/dist/models/custom-field-dto.js +1 -1
- package/dist/models/custom-schema-class.d.ts +1 -1
- package/dist/models/custom-schema-class.js +1 -1
- package/dist/models/data-report-class.d.ts +79 -0
- package/dist/models/{channel-response-class.js → data-report-class.js} +1 -1
- package/dist/models/data-report-filter-class.d.ts +72 -0
- package/dist/models/data-report-filter-class.js +15 -0
- package/dist/models/data-report-filter-dto.d.ts +48 -0
- package/dist/models/data-report-filter-dto.js +15 -0
- package/dist/models/data-report-filter-single-value-dto.d.ts +5 -5
- package/dist/models/data-report-filter-single-value-dto.js +1 -1
- package/dist/models/data-report-filter-value-dto.d.ts +2 -2
- package/dist/models/data-report-filter-value-dto.js +1 -1
- package/dist/models/dbconfig-dto.d.ts +1 -1
- package/dist/models/dbconfig-dto.js +1 -1
- package/dist/models/{manage-subscription-request-dto.d.ts → delete-response-class.d.ts} +6 -6
- package/dist/models/delete-response-class.js +15 -0
- package/dist/models/disable-user-response-class.d.ts +1 -1
- package/dist/models/disable-user-response-class.js +1 -1
- package/dist/models/disable-users-request-dto.d.ts +1 -1
- package/dist/models/disable-users-request-dto.js +1 -1
- package/dist/models/{insurance-company-response-class.d.ts → disable-users-response-class.d.ts} +7 -7
- package/dist/models/disable-users-response-class.js +15 -0
- package/dist/models/enable-user-response-class.d.ts +1 -1
- package/dist/models/enable-user-response-class.js +1 -1
- package/dist/models/enable-users-request-dto.d.ts +1 -1
- package/dist/models/enable-users-request-dto.js +1 -1
- package/dist/models/{insurance-response-class.d.ts → enable-users-response-class.d.ts} +7 -7
- package/dist/models/enable-users-response-class.js +15 -0
- package/dist/models/get-custom-schema-response-class.d.ts +1 -1
- package/dist/models/get-custom-schema-response-class.js +1 -1
- package/dist/models/{create-alert-response-class.d.ts → get-data-report-response-class.d.ts} +8 -8
- package/dist/models/get-data-report-response-class.js +15 -0
- package/dist/models/{create-dashboard-response-class.d.ts → get-organization-response-class.d.ts} +8 -8
- package/dist/models/get-organization-response-class.js +15 -0
- package/dist/models/{get-alert-response-class.d.ts → get-settings-response-class.d.ts} +7 -8
- package/dist/models/get-settings-response-class.js +15 -0
- package/dist/models/get-user-response-class.d.ts +1 -1
- package/dist/models/get-user-response-class.js +1 -1
- package/dist/models/index.d.ts +26 -49
- package/dist/models/index.js +26 -49
- package/dist/models/invite-class.d.ts +10 -9
- package/dist/models/invite-class.js +1 -1
- package/dist/models/invite-org-request-dto.d.ts +90 -0
- package/dist/models/invite-org-request-dto.js +21 -0
- package/dist/models/invite-user-request-dto.d.ts +9 -3
- package/dist/models/invite-user-request-dto.js +1 -1
- package/dist/models/invite-user-response-class.d.ts +2 -2
- package/dist/models/invite-user-response-class.js +1 -1
- package/dist/models/invite-users-request-dto.d.ts +3 -3
- package/dist/models/invite-users-request-dto.js +1 -1
- package/dist/models/invite-users-response-class.d.ts +24 -0
- package/dist/models/invite-users-response-class.js +15 -0
- package/dist/models/list-custom-schemas-response-class.d.ts +1 -1
- package/dist/models/list-custom-schemas-response-class.js +1 -1
- package/dist/models/list-data-reports-response-class.d.ts +31 -0
- package/dist/models/list-data-reports-response-class.js +15 -0
- package/dist/models/list-invites-response-class.d.ts +3 -3
- package/dist/models/list-invites-response-class.js +1 -1
- package/dist/models/list-org-invitations-response-class.d.ts +31 -0
- package/dist/models/list-org-invitations-response-class.js +15 -0
- package/dist/models/list-organizations-response-class.d.ts +31 -0
- package/dist/models/list-organizations-response-class.js +15 -0
- package/dist/models/list-users-response-class.d.ts +1 -1
- package/dist/models/list-users-response-class.js +1 -1
- package/dist/models/org-invitation-class.d.ts +115 -0
- package/dist/models/{update-alert-request-dto.js → org-invitation-class.js} +6 -6
- package/dist/models/org-invitation-response-class.d.ts +25 -0
- package/dist/models/org-invitation-response-class.js +15 -0
- package/dist/models/organization-class.d.ts +90 -0
- package/dist/models/{condition-dto.js → organization-class.js} +6 -7
- package/dist/models/permission-class.d.ts +60 -0
- package/dist/models/permission-class.js +15 -0
- package/dist/models/role-class.d.ts +61 -0
- package/dist/models/role-class.js +15 -0
- package/dist/models/run-data-report-request-dto.d.ts +2 -2
- package/dist/models/run-data-report-request-dto.js +1 -1
- package/dist/models/run-data-report-response-class.d.ts +2 -2
- package/dist/models/run-data-report-response-class.js +1 -1
- package/dist/models/{set-user-setting-request-dto.d.ts → set-setting-request-dto.d.ts} +15 -9
- package/dist/models/set-setting-request-dto.js +15 -0
- package/dist/models/set-user-setting-response-class.d.ts +36 -0
- package/dist/models/set-user-setting-response-class.js +15 -0
- package/dist/models/subscription-class.d.ts +12 -5
- package/dist/models/subscription-class.js +1 -1
- package/dist/models/tenant-admin-user-dto.d.ts +1 -1
- package/dist/models/tenant-admin-user-dto.js +1 -1
- package/dist/models/update-custom-schema-request-dto.d.ts +1 -1
- package/dist/models/update-custom-schema-request-dto.js +1 -1
- package/dist/models/update-custom-schema-response-class.d.ts +1 -1
- package/dist/models/update-custom-schema-response-class.js +1 -1
- package/dist/models/update-data-report-request-dto.d.ts +61 -0
- package/dist/models/update-data-report-request-dto.js +15 -0
- package/dist/models/{create-report-response-class.d.ts → update-data-report-response-class.d.ts} +8 -8
- package/dist/models/update-data-report-response-class.js +15 -0
- package/dist/models/update-role-request-dto.d.ts +4 -4
- package/dist/models/update-role-request-dto.js +1 -1
- package/dist/models/user-class.d.ts +14 -6
- package/dist/models/user-class.js +1 -1
- package/index.ts +2 -2
- package/models/assign-user-roles-request-dto.ts +1 -1
- package/models/assign-user-roles-response-class.ts +1 -1
- package/models/batch-delete-request-dto.ts +2 -2
- package/models/{get-embedded-url-response-class.ts → batch-delete-response-class.ts} +7 -7
- package/models/create-custom-schema-request-dto.ts +1 -1
- package/models/create-custom-schema-response-class.ts +1 -1
- package/models/create-data-report-request-dto.ts +67 -0
- package/models/{create-dashboard-response-class.ts → create-data-report-response-class.ts} +8 -8
- package/models/create-permission-request-dto.ts +1 -7
- package/models/create-role-request-dto.ts +2 -2
- package/models/create-tenant-request-dto.ts +1 -1
- package/models/custom-field-dto.ts +1 -1
- package/models/custom-schema-class.ts +1 -1
- package/models/data-report-class.ts +85 -0
- package/models/data-report-filter-class.ts +78 -0
- package/models/data-report-filter-dto.ts +54 -0
- package/models/data-report-filter-single-value-dto.ts +5 -5
- package/models/data-report-filter-value-dto.ts +2 -2
- package/models/dbconfig-dto.ts +1 -1
- package/models/{manage-subscription-request-dto.ts → delete-response-class.ts} +6 -6
- package/models/disable-user-response-class.ts +1 -1
- package/models/disable-users-request-dto.ts +1 -1
- package/models/{insurance-company-response-class.ts → disable-users-response-class.ts} +7 -7
- package/models/enable-user-response-class.ts +1 -1
- package/models/enable-users-request-dto.ts +1 -1
- package/models/{insurance-response-class.ts → enable-users-response-class.ts} +7 -7
- package/models/get-custom-schema-response-class.ts +1 -1
- package/models/{channel-response-class.ts → get-data-report-response-class.ts} +8 -13
- package/models/{create-alert-response-class.ts → get-organization-response-class.ts} +8 -8
- package/models/{get-alert-response-class.ts → get-settings-response-class.ts} +7 -8
- package/models/get-user-response-class.ts +1 -1
- package/models/index.ts +26 -49
- package/models/invite-class.ts +10 -9
- package/models/invite-org-request-dto.ts +99 -0
- package/models/invite-user-request-dto.ts +9 -3
- package/models/invite-user-response-class.ts +2 -2
- package/models/invite-users-request-dto.ts +3 -3
- package/models/invite-users-response-class.ts +30 -0
- package/models/list-custom-schemas-response-class.ts +1 -1
- package/models/{list-dashboards-response-class.ts → list-data-reports-response-class.ts} +10 -10
- package/models/list-invites-response-class.ts +3 -3
- package/models/{list-alert-history-response-class.ts → list-org-invitations-response-class.ts} +10 -10
- package/models/{list-alerts-response-class.ts → list-organizations-response-class.ts} +10 -10
- package/models/list-users-response-class.ts +1 -1
- package/models/org-invitation-class.ts +124 -0
- package/models/org-invitation-response-class.ts +31 -0
- package/models/organization-class.ts +99 -0
- package/models/{report-class.ts → permission-class.ts} +20 -26
- package/models/role-class.ts +67 -0
- package/models/run-data-report-request-dto.ts +2 -2
- package/models/run-data-report-response-class.ts +3 -2
- package/models/{set-user-setting-request-dto.ts → set-setting-request-dto.ts} +15 -9
- package/models/set-user-setting-response-class.ts +42 -0
- package/models/subscription-class.ts +12 -5
- package/models/tenant-admin-user-dto.ts +1 -1
- package/models/update-custom-schema-request-dto.ts +1 -1
- package/models/update-custom-schema-response-class.ts +1 -1
- package/models/update-data-report-request-dto.ts +67 -0
- package/models/{create-report-response-class.ts → update-data-report-response-class.ts} +8 -8
- package/models/update-role-request-dto.ts +4 -4
- package/models/user-class.ts +14 -6
- package/package.json +2 -2
- package/api/alerts-api.ts +0 -860
- package/api/dashboard-api.ts +0 -792
- package/api/reports-api.ts +0 -860
- package/api/scenario-analysis-api.ts +0 -977
- package/api/settings-api.ts +0 -478
- package/api/tariff-comparisons-api.ts +0 -381
- package/api/user-subscription-api.ts +0 -191
- package/dist/api/alerts-api.d.ts +0 -479
- package/dist/api/alerts-api.js +0 -752
- package/dist/api/dashboard-api.d.ts +0 -434
- package/dist/api/reports-api.d.ts +0 -479
- package/dist/api/scenario-analysis-api.d.ts +0 -529
- package/dist/api/scenario-analysis-api.js +0 -895
- package/dist/api/settings-api.d.ts +0 -261
- package/dist/api/settings-api.js +0 -509
- package/dist/api/tariff-comparisons-api.d.ts +0 -206
- package/dist/api/user-subscription-api.d.ts +0 -111
- package/dist/api/user-subscription-api.js +0 -236
- package/dist/models/alert-class.d.ts +0 -90
- package/dist/models/alert-history-class.d.ts +0 -108
- package/dist/models/compare-tariffs-request-dto.d.ts +0 -37
- package/dist/models/compare-tariffs-request-dto.js +0 -22
- package/dist/models/compare-tariffs-response-class.d.ts +0 -31
- package/dist/models/condition-dto.d.ts +0 -43
- package/dist/models/create-alert-request-dto.d.ts +0 -79
- package/dist/models/create-alert-request-dto.js +0 -27
- package/dist/models/create-alert-response-class.js +0 -15
- package/dist/models/create-dashboard-request-dto.d.ts +0 -70
- package/dist/models/create-dashboard-request-dto.js +0 -29
- package/dist/models/create-dashboard-response-class.js +0 -15
- package/dist/models/create-report-request-dto.d.ts +0 -49
- package/dist/models/create-report-request-dto.js +0 -22
- package/dist/models/create-report-response-class.js +0 -15
- package/dist/models/create-scenario-analysis-request-dto.d.ts +0 -74
- package/dist/models/create-scenario-analysis-request-dto.js +0 -22
- package/dist/models/create-scenario-analysis-response-class.d.ts +0 -25
- package/dist/models/create-scenario-analysis-response-class.js +0 -15
- package/dist/models/dashboard-class.d.ts +0 -78
- package/dist/models/dashboard-class.js +0 -15
- package/dist/models/get-alert-response-class.js +0 -15
- package/dist/models/get-dashboard-response-class.d.ts +0 -25
- package/dist/models/get-dashboard-response-class.js +0 -15
- package/dist/models/get-embedded-url-response-class.js +0 -15
- package/dist/models/get-report-response-class.d.ts +0 -25
- package/dist/models/get-report-response-class.js +0 -15
- package/dist/models/get-scenario-analysis-response-class.d.ts +0 -25
- package/dist/models/get-scenario-analysis-response-class.js +0 -15
- package/dist/models/grouped-tariff-class.d.ts +0 -30
- package/dist/models/grouped-tariff-class.js +0 -15
- package/dist/models/insurance-company-response-class.js +0 -15
- package/dist/models/insurance-response-class.js +0 -15
- package/dist/models/list-alert-history-response-class.d.ts +0 -31
- package/dist/models/list-alert-history-response-class.js +0 -15
- package/dist/models/list-alerts-response-class.d.ts +0 -31
- package/dist/models/list-alerts-response-class.js +0 -15
- package/dist/models/list-channels-response-class.d.ts +0 -25
- package/dist/models/list-channels-response-class.js +0 -15
- package/dist/models/list-dashboards-response-class.d.ts +0 -31
- package/dist/models/list-dashboards-response-class.js +0 -15
- package/dist/models/list-insurance-companies-response-class.d.ts +0 -25
- package/dist/models/list-insurance-companies-response-class.js +0 -15
- package/dist/models/list-report-history-response-class.d.ts +0 -31
- package/dist/models/list-report-history-response-class.js +0 -15
- package/dist/models/list-reports-response-class.d.ts +0 -31
- package/dist/models/list-reports-response-class.js +0 -15
- package/dist/models/list-scenario-analyses-response-class.d.ts +0 -31
- package/dist/models/list-scenario-analyses-response-class.js +0 -15
- package/dist/models/list-scenario-analysis-dates-response-class.d.ts +0 -25
- package/dist/models/list-scenario-analysis-dates-response-class.js +0 -15
- package/dist/models/list-tariff-insurance-companies-response-class.d.ts +0 -25
- package/dist/models/list-tariff-insurance-companies-response-class.js +0 -15
- package/dist/models/list-tariffs-response-class.d.ts +0 -25
- package/dist/models/list-tariffs-response-class.js +0 -15
- package/dist/models/manage-subscription-request-dto.js +0 -15
- package/dist/models/manage-subscription-response-class.d.ts +0 -25
- package/dist/models/manage-subscription-response-class.js +0 -15
- package/dist/models/report-class.d.ts +0 -66
- package/dist/models/report-class.js +0 -15
- package/dist/models/report-history-class.d.ts +0 -48
- package/dist/models/report-history-class.js +0 -15
- package/dist/models/scenario-analysis-class.d.ts +0 -108
- package/dist/models/scenario-analysis-class.js +0 -15
- package/dist/models/scenario-analysis-date-response-class.d.ts +0 -36
- package/dist/models/scenario-analysis-date-response-class.js +0 -15
- package/dist/models/set-user-setting-request-dto.js +0 -15
- package/dist/models/update-alert-request-dto.d.ts +0 -72
- package/dist/models/update-alert-response-class.d.ts +0 -25
- package/dist/models/update-alert-response-class.js +0 -15
- package/dist/models/update-dashboard-request-dto.d.ts +0 -76
- package/dist/models/update-dashboard-request-dto.js +0 -29
- package/dist/models/update-dashboard-response-class.d.ts +0 -25
- package/dist/models/update-dashboard-response-class.js +0 -15
- package/dist/models/update-report-request-dto.d.ts +0 -55
- package/dist/models/update-report-request-dto.js +0 -22
- package/dist/models/update-report-response-class.d.ts +0 -25
- package/dist/models/update-report-response-class.js +0 -15
- package/dist/models/update-scenario-analysis-request-dto.d.ts +0 -74
- package/dist/models/update-scenario-analysis-request-dto.js +0 -22
- package/dist/models/update-scenario-analysis-response-class.d.ts +0 -25
- package/dist/models/update-scenario-analysis-response-class.js +0 -15
- package/models/alert-class.ts +0 -96
- package/models/alert-history-class.ts +0 -114
- package/models/compare-tariffs-request-dto.ts +0 -46
- package/models/compare-tariffs-response-class.ts +0 -37
- package/models/condition-dto.ts +0 -52
- package/models/create-alert-request-dto.ts +0 -89
- package/models/create-dashboard-request-dto.ts +0 -81
- package/models/create-report-request-dto.ts +0 -58
- package/models/create-scenario-analysis-request-dto.ts +0 -83
- package/models/create-scenario-analysis-response-class.ts +0 -31
- package/models/dashboard-class.ts +0 -84
- package/models/get-dashboard-response-class.ts +0 -31
- package/models/get-report-response-class.ts +0 -31
- package/models/get-scenario-analysis-response-class.ts +0 -31
- package/models/grouped-tariff-class.ts +0 -36
- package/models/list-channels-response-class.ts +0 -31
- package/models/list-insurance-companies-response-class.ts +0 -31
- package/models/list-report-history-response-class.ts +0 -37
- package/models/list-reports-response-class.ts +0 -37
- package/models/list-scenario-analyses-response-class.ts +0 -37
- package/models/list-scenario-analysis-dates-response-class.ts +0 -31
- package/models/list-tariff-insurance-companies-response-class.ts +0 -31
- package/models/list-tariffs-response-class.ts +0 -31
- package/models/manage-subscription-response-class.ts +0 -31
- package/models/report-history-class.ts +0 -54
- package/models/scenario-analysis-class.ts +0 -114
- package/models/scenario-analysis-date-response-class.ts +0 -42
- package/models/update-alert-request-dto.ts +0 -81
- package/models/update-alert-response-class.ts +0 -31
- package/models/update-dashboard-request-dto.ts +0 -87
- package/models/update-dashboard-response-class.ts +0 -31
- package/models/update-report-request-dto.ts +0 -64
- package/models/update-report-response-class.ts +0 -31
- package/models/update-scenario-analysis-request-dto.ts +0 -83
- package/models/update-scenario-analysis-response-class.ts +0 -31
package/.openapi-generator/FILES
CHANGED
|
@@ -3,104 +3,78 @@
|
|
|
3
3
|
.openapi-generator-ignore
|
|
4
4
|
README.md
|
|
5
5
|
api.ts
|
|
6
|
-
api/alerts-api.ts
|
|
7
6
|
api/custom-schema-api.ts
|
|
8
|
-
api/
|
|
7
|
+
api/data-report-api.ts
|
|
9
8
|
api/data-report-executor-api.ts
|
|
10
|
-
api/
|
|
11
|
-
api/
|
|
12
|
-
api/
|
|
13
|
-
api/tariff-comparisons-api.ts
|
|
14
|
-
api/user-subscription-api.ts
|
|
9
|
+
api/invite-organizations-api.ts
|
|
10
|
+
api/invite-users-api.ts
|
|
11
|
+
api/organizations-api.ts
|
|
15
12
|
api/users-api.ts
|
|
16
13
|
base.ts
|
|
17
14
|
common.ts
|
|
18
15
|
configuration.ts
|
|
19
16
|
git_push.sh
|
|
20
17
|
index.ts
|
|
21
|
-
models/alert-class.ts
|
|
22
|
-
models/alert-history-class.ts
|
|
23
18
|
models/assign-user-roles-request-dto.ts
|
|
24
19
|
models/assign-user-roles-response-class.ts
|
|
25
20
|
models/batch-delete-request-dto.ts
|
|
26
|
-
models/
|
|
27
|
-
models/compare-tariffs-request-dto.ts
|
|
28
|
-
models/compare-tariffs-response-class.ts
|
|
29
|
-
models/condition-dto.ts
|
|
30
|
-
models/create-alert-request-dto.ts
|
|
31
|
-
models/create-alert-response-class.ts
|
|
21
|
+
models/batch-delete-response-class.ts
|
|
32
22
|
models/create-custom-schema-request-dto.ts
|
|
33
23
|
models/create-custom-schema-response-class.ts
|
|
34
|
-
models/create-
|
|
35
|
-
models/create-
|
|
24
|
+
models/create-data-report-request-dto.ts
|
|
25
|
+
models/create-data-report-response-class.ts
|
|
36
26
|
models/create-permission-request-dto.ts
|
|
37
|
-
models/create-report-request-dto.ts
|
|
38
|
-
models/create-report-response-class.ts
|
|
39
27
|
models/create-role-request-dto.ts
|
|
40
|
-
models/create-scenario-analysis-request-dto.ts
|
|
41
|
-
models/create-scenario-analysis-response-class.ts
|
|
42
28
|
models/create-tenant-request-dto.ts
|
|
43
29
|
models/custom-field-dto.ts
|
|
44
30
|
models/custom-schema-class.ts
|
|
45
|
-
models/
|
|
31
|
+
models/data-report-class.ts
|
|
32
|
+
models/data-report-filter-class.ts
|
|
33
|
+
models/data-report-filter-dto.ts
|
|
46
34
|
models/data-report-filter-single-value-dto.ts
|
|
47
35
|
models/data-report-filter-value-dto.ts
|
|
48
36
|
models/dbconfig-dto.ts
|
|
37
|
+
models/delete-response-class.ts
|
|
49
38
|
models/disable-user-response-class.ts
|
|
50
39
|
models/disable-users-request-dto.ts
|
|
40
|
+
models/disable-users-response-class.ts
|
|
51
41
|
models/enable-user-response-class.ts
|
|
52
42
|
models/enable-users-request-dto.ts
|
|
53
|
-
models/
|
|
43
|
+
models/enable-users-response-class.ts
|
|
54
44
|
models/get-custom-schema-response-class.ts
|
|
55
|
-
models/get-
|
|
56
|
-
models/get-
|
|
57
|
-
models/get-
|
|
58
|
-
models/get-scenario-analysis-response-class.ts
|
|
45
|
+
models/get-data-report-response-class.ts
|
|
46
|
+
models/get-organization-response-class.ts
|
|
47
|
+
models/get-settings-response-class.ts
|
|
59
48
|
models/get-user-response-class.ts
|
|
60
|
-
models/grouped-tariff-class.ts
|
|
61
49
|
models/index.ts
|
|
62
|
-
models/insurance-company-response-class.ts
|
|
63
|
-
models/insurance-response-class.ts
|
|
64
50
|
models/invite-class.ts
|
|
51
|
+
models/invite-org-request-dto.ts
|
|
65
52
|
models/invite-user-request-dto.ts
|
|
66
53
|
models/invite-user-response-class.ts
|
|
67
54
|
models/invite-users-request-dto.ts
|
|
68
|
-
models/
|
|
69
|
-
models/list-alerts-response-class.ts
|
|
70
|
-
models/list-channels-response-class.ts
|
|
55
|
+
models/invite-users-response-class.ts
|
|
71
56
|
models/list-custom-schemas-response-class.ts
|
|
72
|
-
models/list-
|
|
73
|
-
models/list-insurance-companies-response-class.ts
|
|
57
|
+
models/list-data-reports-response-class.ts
|
|
74
58
|
models/list-invites-response-class.ts
|
|
75
|
-
models/list-
|
|
76
|
-
models/list-
|
|
77
|
-
models/list-scenario-analyses-response-class.ts
|
|
78
|
-
models/list-scenario-analysis-dates-response-class.ts
|
|
79
|
-
models/list-tariff-insurance-companies-response-class.ts
|
|
80
|
-
models/list-tariffs-response-class.ts
|
|
59
|
+
models/list-org-invitations-response-class.ts
|
|
60
|
+
models/list-organizations-response-class.ts
|
|
81
61
|
models/list-users-response-class.ts
|
|
82
|
-
models/
|
|
83
|
-
models/
|
|
84
|
-
models/
|
|
85
|
-
models/
|
|
62
|
+
models/org-invitation-class.ts
|
|
63
|
+
models/org-invitation-response-class.ts
|
|
64
|
+
models/organization-class.ts
|
|
65
|
+
models/permission-class.ts
|
|
66
|
+
models/role-class.ts
|
|
86
67
|
models/run-data-report-request-dto.ts
|
|
87
68
|
models/run-data-report-response-class.ts
|
|
88
|
-
models/
|
|
89
|
-
models/
|
|
90
|
-
models/set-user-setting-request-dto.ts
|
|
69
|
+
models/set-setting-request-dto.ts
|
|
70
|
+
models/set-user-setting-response-class.ts
|
|
91
71
|
models/subscription-class.ts
|
|
92
72
|
models/tenant-admin-user-dto.ts
|
|
93
|
-
models/update-alert-request-dto.ts
|
|
94
|
-
models/update-alert-response-class.ts
|
|
95
73
|
models/update-custom-schema-request-dto.ts
|
|
96
74
|
models/update-custom-schema-response-class.ts
|
|
97
|
-
models/update-
|
|
98
|
-
models/update-
|
|
99
|
-
models/update-report-request-dto.ts
|
|
100
|
-
models/update-report-response-class.ts
|
|
75
|
+
models/update-data-report-request-dto.ts
|
|
76
|
+
models/update-data-report-response-class.ts
|
|
101
77
|
models/update-role-request-dto.ts
|
|
102
|
-
models/update-scenario-analysis-request-dto.ts
|
|
103
|
-
models/update-scenario-analysis-response-class.ts
|
|
104
78
|
models/user-class.ts
|
|
105
79
|
package.json
|
|
106
80
|
tsconfig.json
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/tenant-sdk-node@1.0.
|
|
20
|
+
npm install @emilgroup/tenant-sdk-node@1.0.1 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/tenant-sdk-node@1.0.
|
|
24
|
+
yarn add @emilgroup/tenant-sdk-node@1.0.1
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `UsersApi`.
|
package/api/custom-schema-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
|
|
@@ -45,12 +45,14 @@ export const CustomSchemaApiAxiosParamCreator = function (configuration?: Config
|
|
|
45
45
|
/**
|
|
46
46
|
* This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema.
|
|
47
47
|
* @summary Create the custom-schema
|
|
48
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
48
49
|
* @param {CreateCustomSchemaRequestDto} createCustomSchemaRequestDto
|
|
49
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
50
50
|
* @param {*} [options] Override http request option.
|
|
51
51
|
* @throws {RequiredError}
|
|
52
52
|
*/
|
|
53
|
-
createCustomSchema: async (
|
|
53
|
+
createCustomSchema: async (authorization: string, createCustomSchemaRequestDto: CreateCustomSchemaRequestDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
54
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
55
|
+
assertParamExists('createCustomSchema', 'authorization', authorization)
|
|
54
56
|
// verify required parameter 'createCustomSchemaRequestDto' is not null or undefined
|
|
55
57
|
assertParamExists('createCustomSchema', 'createCustomSchemaRequestDto', createCustomSchemaRequestDto)
|
|
56
58
|
const localVarPath = `/tenantservice/v1/custom-schemas`;
|
|
@@ -92,13 +94,15 @@ export const CustomSchemaApiAxiosParamCreator = function (configuration?: Config
|
|
|
92
94
|
/**
|
|
93
95
|
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information.
|
|
94
96
|
* @summary Retrieve the custom-schema
|
|
97
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
95
98
|
* @param {string} code Unique identifier for the object.
|
|
96
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
97
99
|
* @param {string} [expand] Fields to expand response by
|
|
98
100
|
* @param {*} [options] Override http request option.
|
|
99
101
|
* @throws {RequiredError}
|
|
100
102
|
*/
|
|
101
|
-
getCustomSchema: async (
|
|
103
|
+
getCustomSchema: async (authorization: string, code: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
104
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
105
|
+
assertParamExists('getCustomSchema', 'authorization', authorization)
|
|
102
106
|
// verify required parameter 'code' is not null or undefined
|
|
103
107
|
assertParamExists('getCustomSchema', 'code', code)
|
|
104
108
|
const localVarPath = `/tenantservice/v1/custom-schemas/{code}`
|
|
@@ -142,17 +146,19 @@ export const CustomSchemaApiAxiosParamCreator = function (configuration?: Config
|
|
|
142
146
|
/**
|
|
143
147
|
* Returns a list of custom-schemas you have previously created. The custom-schemas are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
144
148
|
* @summary List custom-schemas
|
|
145
|
-
* @param {string}
|
|
146
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned.
|
|
147
|
-
* @param {any} [pageToken] A cursor for use in pagination.
|
|
149
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
150
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
151
|
+
* @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.
|
|
148
152
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
149
153
|
* @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.
|
|
150
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
151
|
-
* @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
|
|
154
|
+
* @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.
|
|
155
|
+
* @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.
|
|
152
156
|
* @param {*} [options] Override http request option.
|
|
153
157
|
* @throws {RequiredError}
|
|
154
158
|
*/
|
|
155
|
-
listCustomSchemas: async (authorization
|
|
159
|
+
listCustomSchemas: async (authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
160
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
161
|
+
assertParamExists('listCustomSchemas', 'authorization', authorization)
|
|
156
162
|
const localVarPath = `/tenantservice/v1/custom-schemas`;
|
|
157
163
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
158
164
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -213,13 +219,15 @@ export const CustomSchemaApiAxiosParamCreator = function (configuration?: Config
|
|
|
213
219
|
/**
|
|
214
220
|
* Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
215
221
|
* @summary Update the custom-schema
|
|
222
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
216
223
|
* @param {string} code
|
|
217
224
|
* @param {UpdateCustomSchemaRequestDto} updateCustomSchemaRequestDto
|
|
218
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
219
225
|
* @param {*} [options] Override http request option.
|
|
220
226
|
* @throws {RequiredError}
|
|
221
227
|
*/
|
|
222
|
-
updateCustomSchema: async (code: string, updateCustomSchemaRequestDto: UpdateCustomSchemaRequestDto,
|
|
228
|
+
updateCustomSchema: async (authorization: string, code: string, updateCustomSchemaRequestDto: UpdateCustomSchemaRequestDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
229
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
230
|
+
assertParamExists('updateCustomSchema', 'authorization', authorization)
|
|
223
231
|
// verify required parameter 'code' is not null or undefined
|
|
224
232
|
assertParamExists('updateCustomSchema', 'code', code)
|
|
225
233
|
// verify required parameter 'updateCustomSchemaRequestDto' is not null or undefined
|
|
@@ -274,56 +282,56 @@ export const CustomSchemaApiFp = function(configuration?: Configuration) {
|
|
|
274
282
|
/**
|
|
275
283
|
* This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema.
|
|
276
284
|
* @summary Create the custom-schema
|
|
285
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
277
286
|
* @param {CreateCustomSchemaRequestDto} createCustomSchemaRequestDto
|
|
278
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
279
287
|
* @param {*} [options] Override http request option.
|
|
280
288
|
* @throws {RequiredError}
|
|
281
289
|
*/
|
|
282
|
-
async createCustomSchema(
|
|
283
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createCustomSchema(
|
|
290
|
+
async createCustomSchema(authorization: string, createCustomSchemaRequestDto: CreateCustomSchemaRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCustomSchemaResponseClass>> {
|
|
291
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createCustomSchema(authorization, createCustomSchemaRequestDto, options);
|
|
284
292
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
285
293
|
},
|
|
286
294
|
/**
|
|
287
295
|
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information.
|
|
288
296
|
* @summary Retrieve the custom-schema
|
|
297
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
289
298
|
* @param {string} code Unique identifier for the object.
|
|
290
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
291
299
|
* @param {string} [expand] Fields to expand response by
|
|
292
300
|
* @param {*} [options] Override http request option.
|
|
293
301
|
* @throws {RequiredError}
|
|
294
302
|
*/
|
|
295
|
-
async getCustomSchema(
|
|
296
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getCustomSchema(
|
|
303
|
+
async getCustomSchema(authorization: string, code: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomSchemaResponseClass>> {
|
|
304
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCustomSchema(authorization, code, expand, options);
|
|
297
305
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
298
306
|
},
|
|
299
307
|
/**
|
|
300
308
|
* Returns a list of custom-schemas you have previously created. The custom-schemas are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
301
309
|
* @summary List custom-schemas
|
|
302
|
-
* @param {string}
|
|
303
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned.
|
|
304
|
-
* @param {any} [pageToken] A cursor for use in pagination.
|
|
310
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
311
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
312
|
+
* @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.
|
|
305
313
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
306
314
|
* @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.
|
|
307
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
308
|
-
* @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
|
|
315
|
+
* @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.
|
|
316
|
+
* @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.
|
|
309
317
|
* @param {*} [options] Override http request option.
|
|
310
318
|
* @throws {RequiredError}
|
|
311
319
|
*/
|
|
312
|
-
async listCustomSchemas(authorization
|
|
320
|
+
async listCustomSchemas(authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCustomSchemasResponseClass>> {
|
|
313
321
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listCustomSchemas(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
314
322
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
315
323
|
},
|
|
316
324
|
/**
|
|
317
325
|
* Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
318
326
|
* @summary Update the custom-schema
|
|
327
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
319
328
|
* @param {string} code
|
|
320
329
|
* @param {UpdateCustomSchemaRequestDto} updateCustomSchemaRequestDto
|
|
321
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
322
330
|
* @param {*} [options] Override http request option.
|
|
323
331
|
* @throws {RequiredError}
|
|
324
332
|
*/
|
|
325
|
-
async updateCustomSchema(code: string, updateCustomSchemaRequestDto: UpdateCustomSchemaRequestDto,
|
|
326
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateCustomSchema(code, updateCustomSchemaRequestDto,
|
|
333
|
+
async updateCustomSchema(authorization: string, code: string, updateCustomSchemaRequestDto: UpdateCustomSchemaRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCustomSchemaResponseClass>> {
|
|
334
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateCustomSchema(authorization, code, updateCustomSchemaRequestDto, options);
|
|
327
335
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
328
336
|
},
|
|
329
337
|
}
|
|
@@ -339,53 +347,53 @@ export const CustomSchemaApiFactory = function (configuration?: Configuration, b
|
|
|
339
347
|
/**
|
|
340
348
|
* This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema.
|
|
341
349
|
* @summary Create the custom-schema
|
|
350
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
342
351
|
* @param {CreateCustomSchemaRequestDto} createCustomSchemaRequestDto
|
|
343
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
344
352
|
* @param {*} [options] Override http request option.
|
|
345
353
|
* @throws {RequiredError}
|
|
346
354
|
*/
|
|
347
|
-
createCustomSchema(
|
|
348
|
-
return localVarFp.createCustomSchema(
|
|
355
|
+
createCustomSchema(authorization: string, createCustomSchemaRequestDto: CreateCustomSchemaRequestDto, options?: any): AxiosPromise<CreateCustomSchemaResponseClass> {
|
|
356
|
+
return localVarFp.createCustomSchema(authorization, createCustomSchemaRequestDto, options).then((request) => request(axios, basePath));
|
|
349
357
|
},
|
|
350
358
|
/**
|
|
351
359
|
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information.
|
|
352
360
|
* @summary Retrieve the custom-schema
|
|
361
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
353
362
|
* @param {string} code Unique identifier for the object.
|
|
354
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
355
363
|
* @param {string} [expand] Fields to expand response by
|
|
356
364
|
* @param {*} [options] Override http request option.
|
|
357
365
|
* @throws {RequiredError}
|
|
358
366
|
*/
|
|
359
|
-
getCustomSchema(
|
|
360
|
-
return localVarFp.getCustomSchema(
|
|
367
|
+
getCustomSchema(authorization: string, code: string, expand?: string, options?: any): AxiosPromise<GetCustomSchemaResponseClass> {
|
|
368
|
+
return localVarFp.getCustomSchema(authorization, code, expand, options).then((request) => request(axios, basePath));
|
|
361
369
|
},
|
|
362
370
|
/**
|
|
363
371
|
* Returns a list of custom-schemas you have previously created. The custom-schemas are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
364
372
|
* @summary List custom-schemas
|
|
365
|
-
* @param {string}
|
|
366
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned.
|
|
367
|
-
* @param {any} [pageToken] A cursor for use in pagination.
|
|
373
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
374
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
375
|
+
* @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.
|
|
368
376
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
369
377
|
* @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.
|
|
370
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
371
|
-
* @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
|
|
378
|
+
* @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.
|
|
379
|
+
* @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.
|
|
372
380
|
* @param {*} [options] Override http request option.
|
|
373
381
|
* @throws {RequiredError}
|
|
374
382
|
*/
|
|
375
|
-
listCustomSchemas(authorization
|
|
383
|
+
listCustomSchemas(authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListCustomSchemasResponseClass> {
|
|
376
384
|
return localVarFp.listCustomSchemas(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
377
385
|
},
|
|
378
386
|
/**
|
|
379
387
|
* Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
380
388
|
* @summary Update the custom-schema
|
|
389
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
381
390
|
* @param {string} code
|
|
382
391
|
* @param {UpdateCustomSchemaRequestDto} updateCustomSchemaRequestDto
|
|
383
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
384
392
|
* @param {*} [options] Override http request option.
|
|
385
393
|
* @throws {RequiredError}
|
|
386
394
|
*/
|
|
387
|
-
updateCustomSchema(code: string, updateCustomSchemaRequestDto: UpdateCustomSchemaRequestDto,
|
|
388
|
-
return localVarFp.updateCustomSchema(code, updateCustomSchemaRequestDto,
|
|
395
|
+
updateCustomSchema(authorization: string, code: string, updateCustomSchemaRequestDto: UpdateCustomSchemaRequestDto, options?: any): AxiosPromise<UpdateCustomSchemaResponseClass> {
|
|
396
|
+
return localVarFp.updateCustomSchema(authorization, code, updateCustomSchemaRequestDto, options).then((request) => request(axios, basePath));
|
|
389
397
|
},
|
|
390
398
|
};
|
|
391
399
|
};
|
|
@@ -397,18 +405,18 @@ export const CustomSchemaApiFactory = function (configuration?: Configuration, b
|
|
|
397
405
|
*/
|
|
398
406
|
export interface CustomSchemaApiCreateCustomSchemaRequest {
|
|
399
407
|
/**
|
|
400
|
-
*
|
|
401
|
-
* @type {
|
|
408
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
409
|
+
* @type {string}
|
|
402
410
|
* @memberof CustomSchemaApiCreateCustomSchema
|
|
403
411
|
*/
|
|
404
|
-
readonly
|
|
412
|
+
readonly authorization: string
|
|
405
413
|
|
|
406
414
|
/**
|
|
407
|
-
*
|
|
408
|
-
* @type {
|
|
415
|
+
*
|
|
416
|
+
* @type {CreateCustomSchemaRequestDto}
|
|
409
417
|
* @memberof CustomSchemaApiCreateCustomSchema
|
|
410
418
|
*/
|
|
411
|
-
readonly
|
|
419
|
+
readonly createCustomSchemaRequestDto: CreateCustomSchemaRequestDto
|
|
412
420
|
}
|
|
413
421
|
|
|
414
422
|
/**
|
|
@@ -418,18 +426,18 @@ export interface CustomSchemaApiCreateCustomSchemaRequest {
|
|
|
418
426
|
*/
|
|
419
427
|
export interface CustomSchemaApiGetCustomSchemaRequest {
|
|
420
428
|
/**
|
|
421
|
-
*
|
|
429
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
422
430
|
* @type {string}
|
|
423
431
|
* @memberof CustomSchemaApiGetCustomSchema
|
|
424
432
|
*/
|
|
425
|
-
readonly
|
|
433
|
+
readonly authorization: string
|
|
426
434
|
|
|
427
435
|
/**
|
|
428
|
-
*
|
|
436
|
+
* Unique identifier for the object.
|
|
429
437
|
* @type {string}
|
|
430
438
|
* @memberof CustomSchemaApiGetCustomSchema
|
|
431
439
|
*/
|
|
432
|
-
readonly
|
|
440
|
+
readonly code: string
|
|
433
441
|
|
|
434
442
|
/**
|
|
435
443
|
* Fields to expand response by
|
|
@@ -450,17 +458,17 @@ export interface CustomSchemaApiListCustomSchemasRequest {
|
|
|
450
458
|
* @type {string}
|
|
451
459
|
* @memberof CustomSchemaApiListCustomSchemas
|
|
452
460
|
*/
|
|
453
|
-
readonly authorization
|
|
461
|
+
readonly authorization: string
|
|
454
462
|
|
|
455
463
|
/**
|
|
456
|
-
* A limit on the number of objects to be returned.
|
|
464
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
457
465
|
* @type {any}
|
|
458
466
|
* @memberof CustomSchemaApiListCustomSchemas
|
|
459
467
|
*/
|
|
460
468
|
readonly pageSize?: any
|
|
461
469
|
|
|
462
470
|
/**
|
|
463
|
-
* A cursor for use in pagination.
|
|
471
|
+
* 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.
|
|
464
472
|
* @type {any}
|
|
465
473
|
* @memberof CustomSchemaApiListCustomSchemas
|
|
466
474
|
*/
|
|
@@ -481,14 +489,14 @@ export interface CustomSchemaApiListCustomSchemasRequest {
|
|
|
481
489
|
readonly search?: any
|
|
482
490
|
|
|
483
491
|
/**
|
|
484
|
-
* The order parameter determines how the results should be sorted according to a specified field.
|
|
492
|
+
* 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.
|
|
485
493
|
* @type {any}
|
|
486
494
|
* @memberof CustomSchemaApiListCustomSchemas
|
|
487
495
|
*/
|
|
488
496
|
readonly order?: any
|
|
489
497
|
|
|
490
498
|
/**
|
|
491
|
-
* 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
|
|
499
|
+
* 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.
|
|
492
500
|
* @type {any}
|
|
493
501
|
* @memberof CustomSchemaApiListCustomSchemas
|
|
494
502
|
*/
|
|
@@ -502,25 +510,25 @@ export interface CustomSchemaApiListCustomSchemasRequest {
|
|
|
502
510
|
*/
|
|
503
511
|
export interface CustomSchemaApiUpdateCustomSchemaRequest {
|
|
504
512
|
/**
|
|
505
|
-
*
|
|
513
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
506
514
|
* @type {string}
|
|
507
515
|
* @memberof CustomSchemaApiUpdateCustomSchema
|
|
508
516
|
*/
|
|
509
|
-
readonly
|
|
517
|
+
readonly authorization: string
|
|
510
518
|
|
|
511
519
|
/**
|
|
512
520
|
*
|
|
513
|
-
* @type {
|
|
521
|
+
* @type {string}
|
|
514
522
|
* @memberof CustomSchemaApiUpdateCustomSchema
|
|
515
523
|
*/
|
|
516
|
-
readonly
|
|
524
|
+
readonly code: string
|
|
517
525
|
|
|
518
526
|
/**
|
|
519
|
-
*
|
|
520
|
-
* @type {
|
|
527
|
+
*
|
|
528
|
+
* @type {UpdateCustomSchemaRequestDto}
|
|
521
529
|
* @memberof CustomSchemaApiUpdateCustomSchema
|
|
522
530
|
*/
|
|
523
|
-
readonly
|
|
531
|
+
readonly updateCustomSchemaRequestDto: UpdateCustomSchemaRequestDto
|
|
524
532
|
}
|
|
525
533
|
|
|
526
534
|
/**
|
|
@@ -539,7 +547,7 @@ export class CustomSchemaApi extends BaseAPI {
|
|
|
539
547
|
* @memberof CustomSchemaApi
|
|
540
548
|
*/
|
|
541
549
|
public createCustomSchema(requestParameters: CustomSchemaApiCreateCustomSchemaRequest, options?: AxiosRequestConfig) {
|
|
542
|
-
return CustomSchemaApiFp(this.configuration).createCustomSchema(requestParameters.
|
|
550
|
+
return CustomSchemaApiFp(this.configuration).createCustomSchema(requestParameters.authorization, requestParameters.createCustomSchemaRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
543
551
|
}
|
|
544
552
|
|
|
545
553
|
/**
|
|
@@ -551,7 +559,7 @@ export class CustomSchemaApi extends BaseAPI {
|
|
|
551
559
|
* @memberof CustomSchemaApi
|
|
552
560
|
*/
|
|
553
561
|
public getCustomSchema(requestParameters: CustomSchemaApiGetCustomSchemaRequest, options?: AxiosRequestConfig) {
|
|
554
|
-
return CustomSchemaApiFp(this.configuration).getCustomSchema(requestParameters.
|
|
562
|
+
return CustomSchemaApiFp(this.configuration).getCustomSchema(requestParameters.authorization, requestParameters.code, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
555
563
|
}
|
|
556
564
|
|
|
557
565
|
/**
|
|
@@ -562,7 +570,7 @@ export class CustomSchemaApi extends BaseAPI {
|
|
|
562
570
|
* @throws {RequiredError}
|
|
563
571
|
* @memberof CustomSchemaApi
|
|
564
572
|
*/
|
|
565
|
-
public listCustomSchemas(requestParameters: CustomSchemaApiListCustomSchemasRequest
|
|
573
|
+
public listCustomSchemas(requestParameters: CustomSchemaApiListCustomSchemasRequest, options?: AxiosRequestConfig) {
|
|
566
574
|
return CustomSchemaApiFp(this.configuration).listCustomSchemas(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
567
575
|
}
|
|
568
576
|
|
|
@@ -575,6 +583,6 @@ export class CustomSchemaApi extends BaseAPI {
|
|
|
575
583
|
* @memberof CustomSchemaApi
|
|
576
584
|
*/
|
|
577
585
|
public updateCustomSchema(requestParameters: CustomSchemaApiUpdateCustomSchemaRequest, options?: AxiosRequestConfig) {
|
|
578
|
-
return CustomSchemaApiFp(this.configuration).updateCustomSchema(requestParameters.
|
|
586
|
+
return CustomSchemaApiFp(this.configuration).updateCustomSchema(requestParameters.authorization, requestParameters.code, requestParameters.updateCustomSchemaRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
579
587
|
}
|
|
580
588
|
}
|