@emilgroup/tenant-sdk 1.0.1 → 1.2.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 +16 -72
- package/README.md +2 -2
- package/api/custom-schema-api.ts +52 -60
- package/api/{user-subscription-api.ts → invite-organizations-api.ts} +139 -161
- package/api/invite-users-api.ts +75 -79
- package/api/organizations-api.ts +459 -0
- package/api/users-api.ts +138 -148
- package/api.ts +4 -18
- package/dist/api/custom-schema-api.d.ts +42 -42
- package/dist/api/custom-schema-api.js +31 -38
- package/dist/api/{user-subscription-api.d.ts → invite-organizations-api.d.ts} +89 -103
- package/dist/api/{user-subscription-api.js → invite-organizations-api.js} +106 -114
- package/dist/api/invite-users-api.d.ts +63 -60
- package/dist/api/invite-users-api.js +40 -49
- package/dist/api/organizations-api.d.ts +263 -0
- package/dist/api/{settings-api.js → organizations-api.js} +135 -195
- package/dist/api/users-api.d.ts +113 -109
- package/dist/api/users-api.js +76 -93
- package/dist/api.d.ts +2 -9
- package/dist/api.js +2 -9
- package/dist/models/assign-user-roles-request-dto.d.ts +2 -2
- package/dist/models/{manage-subscription-request-dto.d.ts → batch-delete-response-class.d.ts} +5 -5
- package/dist/models/create-custom-schema-request-dto.d.ts +1 -0
- package/dist/models/create-custom-schema-request-dto.js +2 -1
- package/dist/models/{insurance-response-class.d.ts → delete-response-class.d.ts} +6 -6
- package/dist/models/{get-embedded-url-response-class.d.ts → disable-users-response-class.d.ts} +6 -6
- package/dist/models/{insurance-company-response-class.d.ts → enable-users-response-class.d.ts} +6 -6
- package/dist/models/{create-alert-response-class.d.ts → get-organization-response-class.d.ts} +7 -7
- package/dist/models/index.d.ts +14 -63
- package/dist/models/index.js +14 -63
- package/dist/models/invite-org-request-dto.d.ts +78 -0
- package/dist/models/invite-user-request-dto.d.ts +8 -2
- package/dist/models/invite-users-request-dto.d.ts +2 -2
- package/dist/models/invite-users-response-class.d.ts +24 -0
- package/dist/models/{list-user-subscriptions-response-class.d.ts → list-org-invitations-response-class.d.ts} +8 -8
- package/dist/models/{list-data-reports-response-class.d.ts → list-organizations-response-class.d.ts} +8 -8
- package/dist/models/org-invitation-class.d.ts +103 -0
- package/dist/models/{create-dashboard-response-class.d.ts → org-invitation-response-class.d.ts} +7 -7
- package/dist/models/organization-class.d.ts +96 -0
- package/dist/models/set-setting-request-dto.d.ts +10 -4
- package/dist/models/subscription-class.d.ts +9 -2
- package/dist/models/update-custom-schema-request-dto.d.ts +1 -0
- package/dist/models/update-custom-schema-request-dto.js +2 -1
- package/dist/models/update-organization-request-dto-rest.d.ts +60 -0
- package/dist/models/{channel-response-class.d.ts → update-organization-response-class.d.ts} +7 -12
- package/dist/models/user-class.d.ts +13 -5
- package/models/assign-user-roles-request-dto.ts +2 -2
- package/models/{manage-subscription-request-dto.ts → batch-delete-response-class.ts} +5 -5
- package/models/create-custom-schema-request-dto.ts +2 -1
- package/models/{insurance-response-class.ts → delete-response-class.ts} +6 -6
- package/models/{get-embedded-url-response-class.ts → disable-users-response-class.ts} +6 -6
- package/models/{insurance-company-response-class.ts → enable-users-response-class.ts} +6 -6
- package/models/{channel-response-class.ts → get-organization-response-class.ts} +7 -12
- package/models/index.ts +14 -63
- package/models/invite-org-request-dto.ts +84 -0
- package/models/invite-user-request-dto.ts +8 -2
- package/models/invite-users-request-dto.ts +2 -2
- package/models/invite-users-response-class.ts +30 -0
- package/models/{list-user-subscriptions-response-class.ts → list-org-invitations-response-class.ts} +8 -8
- package/models/{list-data-reports-response-class.ts → list-organizations-response-class.ts} +8 -8
- package/models/org-invitation-class.ts +109 -0
- package/models/{create-alert-response-class.ts → org-invitation-response-class.ts} +7 -7
- package/models/organization-class.ts +102 -0
- package/models/set-setting-request-dto.ts +10 -4
- package/models/subscription-class.ts +9 -2
- package/models/update-custom-schema-request-dto.ts +2 -1
- package/models/update-organization-request-dto-rest.ts +66 -0
- package/models/{create-dashboard-response-class.ts → update-organization-response-class.ts} +7 -7
- package/models/user-class.ts +13 -5
- package/package.json +2 -2
- package/api/alerts-api.ts +0 -860
- package/api/dashboard-api.ts +0 -792
- package/api/data-report-api.ts +0 -687
- package/api/data-report-executor-api.ts +0 -181
- package/api/reports-api.ts +0 -860
- package/api/scenario-analysis-api.ts +0 -977
- package/api/settings-api.ts +0 -484
- package/api/tariff-comparisons-api.ts +0 -381
- 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/dashboard-api.js +0 -724
- package/dist/api/data-report-api.d.ts +0 -380
- package/dist/api/data-report-api.js +0 -645
- package/dist/api/data-report-executor-api.d.ts +0 -102
- package/dist/api/data-report-executor-api.js +0 -232
- package/dist/api/reports-api.d.ts +0 -479
- package/dist/api/reports-api.js +0 -752
- 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 -264
- package/dist/api/tariff-comparisons-api.d.ts +0 -206
- package/dist/api/tariff-comparisons-api.js +0 -409
- 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/condition-dto.js +0 -22
- 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-data-report-request-dto.d.ts +0 -61
- package/dist/models/create-data-report-response-class.d.ts +0 -25
- 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.d.ts +0 -25
- 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/dashboard-class.d.ts +0 -78
- package/dist/models/data-report-class.d.ts +0 -79
- package/dist/models/data-report-filter-class.d.ts +0 -72
- package/dist/models/data-report-filter-dto.d.ts +0 -48
- package/dist/models/data-report-filter-single-value-dto.d.ts +0 -42
- package/dist/models/data-report-filter-single-value-dto.js +0 -15
- package/dist/models/data-report-filter-value-dto.d.ts +0 -31
- package/dist/models/data-report-filter-value-dto.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-data-report-response-class.d.ts +0 -25
- package/dist/models/get-data-report-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-data-reports-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/list-user-subscriptions-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/run-data-report-request-dto.d.ts +0 -31
- package/dist/models/run-data-report-request-dto.js +0 -15
- package/dist/models/run-data-report-response-class.d.ts +0 -24
- package/dist/models/run-data-report-response-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-tenant-setting-response-class.d.ts +0 -36
- package/dist/models/set-tenant-setting-response-class.js +0 -15
- package/dist/models/update-alert-request-dto.d.ts +0 -72
- package/dist/models/update-alert-request-dto.js +0 -21
- 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-data-report-request-dto.d.ts +0 -61
- package/dist/models/update-data-report-request-dto.js +0 -15
- package/dist/models/update-data-report-response-class.d.ts +0 -25
- package/dist/models/update-data-report-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-data-report-request-dto.ts +0 -67
- package/models/create-data-report-response-class.ts +0 -31
- package/models/create-report-request-dto.ts +0 -58
- package/models/create-report-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/dashboard-class.ts +0 -84
- package/models/data-report-class.ts +0 -85
- package/models/data-report-filter-class.ts +0 -78
- package/models/data-report-filter-dto.ts +0 -54
- package/models/data-report-filter-single-value-dto.ts +0 -48
- package/models/data-report-filter-value-dto.ts +0 -37
- package/models/get-alert-response-class.ts +0 -31
- package/models/get-dashboard-response-class.ts +0 -31
- package/models/get-data-report-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-alert-history-response-class.ts +0 -37
- package/models/list-alerts-response-class.ts +0 -37
- package/models/list-channels-response-class.ts +0 -31
- package/models/list-dashboards-response-class.ts +0 -37
- 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-class.ts +0 -72
- package/models/report-history-class.ts +0 -54
- package/models/run-data-report-request-dto.ts +0 -37
- package/models/run-data-report-response-class.ts +0 -30
- package/models/scenario-analysis-class.ts +0 -114
- package/models/scenario-analysis-date-response-class.ts +0 -42
- package/models/set-tenant-setting-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-data-report-request-dto.ts +0 -67
- package/models/update-data-report-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/dist/models/{alert-class.js → batch-delete-response-class.js} +0 -0
- /package/dist/models/{alert-history-class.js → delete-response-class.js} +0 -0
- /package/dist/models/{channel-response-class.js → disable-users-response-class.js} +0 -0
- /package/dist/models/{compare-tariffs-response-class.js → enable-users-response-class.js} +0 -0
- /package/dist/models/{create-alert-response-class.js → get-organization-response-class.js} +0 -0
- /package/dist/models/{create-dashboard-response-class.js → invite-org-request-dto.js} +0 -0
- /package/dist/models/{create-data-report-request-dto.js → invite-users-response-class.js} +0 -0
- /package/dist/models/{create-data-report-response-class.js → list-org-invitations-response-class.js} +0 -0
- /package/dist/models/{create-report-response-class.js → list-organizations-response-class.js} +0 -0
- /package/dist/models/{create-scenario-analysis-response-class.js → org-invitation-class.js} +0 -0
- /package/dist/models/{dashboard-class.js → org-invitation-response-class.js} +0 -0
- /package/dist/models/{data-report-class.js → organization-class.js} +0 -0
- /package/dist/models/{data-report-filter-class.js → update-organization-request-dto-rest.js} +0 -0
- /package/dist/models/{data-report-filter-dto.js → update-organization-response-class.js} +0 -0
|
@@ -12,18 +12,27 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
15
|
+
import { InviteOrgRequestDto } from '../models';
|
|
16
|
+
import { ListOrgInvitationsResponseClass } from '../models';
|
|
17
|
+
import { OrgInvitationResponseClass } from '../models';
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* InviteOrganizationsApi - axios parameter creator
|
|
20
20
|
* @export
|
|
21
21
|
*/
|
|
22
|
-
export declare const
|
|
22
|
+
export declare const InviteOrganizationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
|
-
* @summary
|
|
26
|
-
* @param {
|
|
24
|
+
* This sends an email to invite an organization.
|
|
25
|
+
* @summary Invite an organization
|
|
26
|
+
* @param {InviteOrgRequestDto} inviteOrgRequestDto
|
|
27
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
28
|
+
* @param {*} [options] Override http request option.
|
|
29
|
+
* @throws {RequiredError}
|
|
30
|
+
*/
|
|
31
|
+
inviteOrg: (inviteOrgRequestDto: InviteOrgRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
+
/**
|
|
33
|
+
* Returns a list of org invitations you have previously created. The org invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
34
|
+
* @summary List org invitations
|
|
35
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
27
36
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
28
37
|
* @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.
|
|
29
38
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -33,27 +42,26 @@ export declare const UserSubscriptionApiAxiosParamCreator: (configuration?: Conf
|
|
|
33
42
|
* @param {*} [options] Override http request option.
|
|
34
43
|
* @throws {RequiredError}
|
|
35
44
|
*/
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @param {string} entity
|
|
40
|
-
* @param {number} entityId
|
|
41
|
-
* @param {ManageSubscriptionRequestDto} manageSubscriptionRequestDto
|
|
42
|
-
* @param {string} [authorization] Bearer Token
|
|
43
|
-
* @param {*} [options] Override http request option.
|
|
44
|
-
* @throws {RequiredError}
|
|
45
|
-
*/
|
|
46
|
-
manageSubscription: (entity: string, entityId: number, manageSubscriptionRequestDto: ManageSubscriptionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
|
+
listOrgInvitations: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
46
|
};
|
|
48
47
|
/**
|
|
49
|
-
*
|
|
48
|
+
* InviteOrganizationsApi - functional programming interface
|
|
50
49
|
* @export
|
|
51
50
|
*/
|
|
52
|
-
export declare const
|
|
51
|
+
export declare const InviteOrganizationsApiFp: (configuration?: Configuration) => {
|
|
53
52
|
/**
|
|
54
|
-
*
|
|
55
|
-
* @summary
|
|
56
|
-
* @param {
|
|
53
|
+
* This sends an email to invite an organization.
|
|
54
|
+
* @summary Invite an organization
|
|
55
|
+
* @param {InviteOrgRequestDto} inviteOrgRequestDto
|
|
56
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
57
|
+
* @param {*} [options] Override http request option.
|
|
58
|
+
* @throws {RequiredError}
|
|
59
|
+
*/
|
|
60
|
+
inviteOrg(inviteOrgRequestDto: InviteOrgRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrgInvitationResponseClass>>;
|
|
61
|
+
/**
|
|
62
|
+
* Returns a list of org invitations you have previously created. The org invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
63
|
+
* @summary List org invitations
|
|
64
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
57
65
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
58
66
|
* @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.
|
|
59
67
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -63,27 +71,26 @@ export declare const UserSubscriptionApiFp: (configuration?: Configuration) => {
|
|
|
63
71
|
* @param {*} [options] Override http request option.
|
|
64
72
|
* @throws {RequiredError}
|
|
65
73
|
*/
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* @param {string} entity
|
|
70
|
-
* @param {number} entityId
|
|
71
|
-
* @param {ManageSubscriptionRequestDto} manageSubscriptionRequestDto
|
|
72
|
-
* @param {string} [authorization] Bearer Token
|
|
73
|
-
* @param {*} [options] Override http request option.
|
|
74
|
-
* @throws {RequiredError}
|
|
75
|
-
*/
|
|
76
|
-
manageSubscription(entity: string, entityId: number, manageSubscriptionRequestDto: ManageSubscriptionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManageSubscriptionResponseClass>>;
|
|
74
|
+
listOrgInvitations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListOrgInvitationsResponseClass>>;
|
|
77
75
|
};
|
|
78
76
|
/**
|
|
79
|
-
*
|
|
77
|
+
* InviteOrganizationsApi - factory interface
|
|
80
78
|
* @export
|
|
81
79
|
*/
|
|
82
|
-
export declare const
|
|
80
|
+
export declare const InviteOrganizationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
83
81
|
/**
|
|
84
|
-
*
|
|
85
|
-
* @summary
|
|
86
|
-
* @param {
|
|
82
|
+
* This sends an email to invite an organization.
|
|
83
|
+
* @summary Invite an organization
|
|
84
|
+
* @param {InviteOrgRequestDto} inviteOrgRequestDto
|
|
85
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
86
|
+
* @param {*} [options] Override http request option.
|
|
87
|
+
* @throws {RequiredError}
|
|
88
|
+
*/
|
|
89
|
+
inviteOrg(inviteOrgRequestDto: InviteOrgRequestDto, authorization?: string, options?: any): AxiosPromise<OrgInvitationResponseClass>;
|
|
90
|
+
/**
|
|
91
|
+
* Returns a list of org invitations you have previously created. The org invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
92
|
+
* @summary List org invitations
|
|
93
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
87
94
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
88
95
|
* @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.
|
|
89
96
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -93,120 +100,99 @@ export declare const UserSubscriptionApiFactory: (configuration?: Configuration,
|
|
|
93
100
|
* @param {*} [options] Override http request option.
|
|
94
101
|
* @throws {RequiredError}
|
|
95
102
|
*/
|
|
96
|
-
|
|
103
|
+
listOrgInvitations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListOrgInvitationsResponseClass>;
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* Request parameters for inviteOrg operation in InviteOrganizationsApi.
|
|
107
|
+
* @export
|
|
108
|
+
* @interface InviteOrganizationsApiInviteOrgRequest
|
|
109
|
+
*/
|
|
110
|
+
export interface InviteOrganizationsApiInviteOrgRequest {
|
|
97
111
|
/**
|
|
98
112
|
*
|
|
99
|
-
* @
|
|
100
|
-
* @
|
|
101
|
-
* @param {ManageSubscriptionRequestDto} manageSubscriptionRequestDto
|
|
102
|
-
* @param {string} [authorization] Bearer Token
|
|
103
|
-
* @param {*} [options] Override http request option.
|
|
104
|
-
* @throws {RequiredError}
|
|
113
|
+
* @type {InviteOrgRequestDto}
|
|
114
|
+
* @memberof InviteOrganizationsApiInviteOrg
|
|
105
115
|
*/
|
|
106
|
-
|
|
107
|
-
|
|
116
|
+
readonly inviteOrgRequestDto: InviteOrgRequestDto;
|
|
117
|
+
/**
|
|
118
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof InviteOrganizationsApiInviteOrg
|
|
121
|
+
*/
|
|
122
|
+
readonly authorization?: string;
|
|
123
|
+
}
|
|
108
124
|
/**
|
|
109
|
-
* Request parameters for
|
|
125
|
+
* Request parameters for listOrgInvitations operation in InviteOrganizationsApi.
|
|
110
126
|
* @export
|
|
111
|
-
* @interface
|
|
127
|
+
* @interface InviteOrganizationsApiListOrgInvitationsRequest
|
|
112
128
|
*/
|
|
113
|
-
export interface
|
|
129
|
+
export interface InviteOrganizationsApiListOrgInvitationsRequest {
|
|
114
130
|
/**
|
|
115
|
-
* Bearer Token
|
|
131
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
116
132
|
* @type {string}
|
|
117
|
-
* @memberof
|
|
133
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
118
134
|
*/
|
|
119
135
|
readonly authorization?: string;
|
|
120
136
|
/**
|
|
121
137
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
122
138
|
* @type {any}
|
|
123
|
-
* @memberof
|
|
139
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
124
140
|
*/
|
|
125
141
|
readonly pageSize?: any;
|
|
126
142
|
/**
|
|
127
143
|
* 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.
|
|
128
144
|
* @type {any}
|
|
129
|
-
* @memberof
|
|
145
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
130
146
|
*/
|
|
131
147
|
readonly pageToken?: any;
|
|
132
148
|
/**
|
|
133
149
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
134
150
|
* @type {any}
|
|
135
|
-
* @memberof
|
|
151
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
136
152
|
*/
|
|
137
153
|
readonly filter?: any;
|
|
138
154
|
/**
|
|
139
155
|
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
140
156
|
* @type {any}
|
|
141
|
-
* @memberof
|
|
157
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
142
158
|
*/
|
|
143
159
|
readonly search?: any;
|
|
144
160
|
/**
|
|
145
161
|
* 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.
|
|
146
162
|
* @type {any}
|
|
147
|
-
* @memberof
|
|
163
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
148
164
|
*/
|
|
149
165
|
readonly order?: any;
|
|
150
166
|
/**
|
|
151
167
|
* 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
168
|
* @type {any}
|
|
153
|
-
* @memberof
|
|
169
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
154
170
|
*/
|
|
155
171
|
readonly expand?: any;
|
|
156
172
|
}
|
|
157
173
|
/**
|
|
158
|
-
*
|
|
159
|
-
* @export
|
|
160
|
-
* @interface UserSubscriptionApiManageSubscriptionRequest
|
|
161
|
-
*/
|
|
162
|
-
export interface UserSubscriptionApiManageSubscriptionRequest {
|
|
163
|
-
/**
|
|
164
|
-
*
|
|
165
|
-
* @type {string}
|
|
166
|
-
* @memberof UserSubscriptionApiManageSubscription
|
|
167
|
-
*/
|
|
168
|
-
readonly entity: string;
|
|
169
|
-
/**
|
|
170
|
-
*
|
|
171
|
-
* @type {number}
|
|
172
|
-
* @memberof UserSubscriptionApiManageSubscription
|
|
173
|
-
*/
|
|
174
|
-
readonly entityId: number;
|
|
175
|
-
/**
|
|
176
|
-
*
|
|
177
|
-
* @type {ManageSubscriptionRequestDto}
|
|
178
|
-
* @memberof UserSubscriptionApiManageSubscription
|
|
179
|
-
*/
|
|
180
|
-
readonly manageSubscriptionRequestDto: ManageSubscriptionRequestDto;
|
|
181
|
-
/**
|
|
182
|
-
* Bearer Token
|
|
183
|
-
* @type {string}
|
|
184
|
-
* @memberof UserSubscriptionApiManageSubscription
|
|
185
|
-
*/
|
|
186
|
-
readonly authorization?: string;
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* UserSubscriptionApi - object-oriented interface
|
|
174
|
+
* InviteOrganizationsApi - object-oriented interface
|
|
190
175
|
* @export
|
|
191
|
-
* @class
|
|
176
|
+
* @class InviteOrganizationsApi
|
|
192
177
|
* @extends {BaseAPI}
|
|
193
178
|
*/
|
|
194
|
-
export declare class
|
|
179
|
+
export declare class InviteOrganizationsApi extends BaseAPI {
|
|
195
180
|
/**
|
|
196
|
-
*
|
|
197
|
-
* @summary
|
|
198
|
-
* @param {
|
|
181
|
+
* This sends an email to invite an organization.
|
|
182
|
+
* @summary Invite an organization
|
|
183
|
+
* @param {InviteOrganizationsApiInviteOrgRequest} requestParameters Request parameters.
|
|
199
184
|
* @param {*} [options] Override http request option.
|
|
200
185
|
* @throws {RequiredError}
|
|
201
|
-
* @memberof
|
|
186
|
+
* @memberof InviteOrganizationsApi
|
|
202
187
|
*/
|
|
203
|
-
|
|
188
|
+
inviteOrg(requestParameters: InviteOrganizationsApiInviteOrgRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrgInvitationResponseClass, any>>;
|
|
204
189
|
/**
|
|
205
|
-
*
|
|
206
|
-
* @
|
|
190
|
+
* Returns a list of org invitations you have previously created. The org invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
191
|
+
* @summary List org invitations
|
|
192
|
+
* @param {InviteOrganizationsApiListOrgInvitationsRequest} requestParameters Request parameters.
|
|
207
193
|
* @param {*} [options] Override http request option.
|
|
208
194
|
* @throws {RequiredError}
|
|
209
|
-
* @memberof
|
|
195
|
+
* @memberof InviteOrganizationsApi
|
|
210
196
|
*/
|
|
211
|
-
|
|
197
|
+
listOrgInvitations(requestParameters?: InviteOrganizationsApiListOrgInvitationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListOrgInvitationsResponseClass, any>>;
|
|
212
198
|
}
|