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