@emilgroup/tenant-sdk 1.29.1-beta.0 → 1.29.1-beta.2
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/README.md +2 -2
- package/api/custom-schema-api.ts +40 -40
- package/api/dashboard-api.ts +184 -87
- package/api/dashboard-group-api.ts +40 -40
- package/api/data-report-api.ts +40 -40
- package/api/invite-users-api.ts +19 -19
- package/api/list-organization-invitations-api.ts +40 -40
- package/api/organizations-api.ts +40 -40
- package/api/users-api.ts +19 -19
- package/dist/api/custom-schema-api.d.ts +40 -40
- package/dist/api/custom-schema-api.js +21 -21
- package/dist/api/dashboard-api.d.ts +133 -82
- package/dist/api/dashboard-api.js +151 -63
- package/dist/api/dashboard-group-api.d.ts +40 -40
- package/dist/api/dashboard-group-api.js +21 -21
- package/dist/api/data-report-api.d.ts +40 -40
- package/dist/api/data-report-api.js +21 -21
- package/dist/api/invite-users-api.d.ts +19 -19
- package/dist/api/invite-users-api.js +9 -9
- package/dist/api/list-organization-invitations-api.d.ts +40 -40
- package/dist/api/list-organization-invitations-api.js +21 -21
- package/dist/api/organizations-api.d.ts +40 -40
- package/dist/api/organizations-api.js +21 -21
- package/dist/api/users-api.d.ts +19 -19
- package/dist/api/users-api.js +9 -9
- package/dist/models/list-org-invitations-response-class.d.ts +12 -0
- package/dist/models/list-organizations-response-class.d.ts +12 -0
- package/models/list-org-invitations-response-class.ts +12 -0
- package/models/list-organizations-response-class.ts +12 -0
- package/package.json +1 -1
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@1.29.1-beta.
|
|
20
|
+
npm install @emilgroup/tenant-sdk@1.29.1-beta.2 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/tenant-sdk@1.29.1-beta.
|
|
24
|
+
yarn add @emilgroup/tenant-sdk@1.29.1-beta.2
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `UsersApi`.
|
package/api/custom-schema-api.ts
CHANGED
|
@@ -139,17 +139,17 @@ export const CustomSchemaApiAxiosParamCreator = function (configuration?: Config
|
|
|
139
139
|
* 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. **Required Permissions** \"tenant-management.custom-schemas.view\"
|
|
140
140
|
* @summary List custom-schemas
|
|
141
141
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
142
|
-
* @param {
|
|
143
|
-
* @param {
|
|
144
|
-
* @param {
|
|
145
|
-
* @param {
|
|
146
|
-
* @param {
|
|
147
|
-
* @param {
|
|
148
|
-
* @param {
|
|
142
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
143
|
+
* @param {string} [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.
|
|
144
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
145
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
146
|
+
* @param {string} [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.
|
|
147
|
+
* @param {string} [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.
|
|
148
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
149
149
|
* @param {*} [options] Override http request option.
|
|
150
150
|
* @throws {RequiredError}
|
|
151
151
|
*/
|
|
152
|
-
listCustomSchemas: async (authorization?: string, pageSize?:
|
|
152
|
+
listCustomSchemas: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
153
153
|
const localVarPath = `/tenantservice/v1/custom-schemas`;
|
|
154
154
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
155
155
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -301,17 +301,17 @@ export const CustomSchemaApiFp = function(configuration?: Configuration) {
|
|
|
301
301
|
* 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. **Required Permissions** \"tenant-management.custom-schemas.view\"
|
|
302
302
|
* @summary List custom-schemas
|
|
303
303
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
304
|
-
* @param {
|
|
305
|
-
* @param {
|
|
306
|
-
* @param {
|
|
307
|
-
* @param {
|
|
308
|
-
* @param {
|
|
309
|
-
* @param {
|
|
310
|
-
* @param {
|
|
304
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
305
|
+
* @param {string} [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.
|
|
306
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
307
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
308
|
+
* @param {string} [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.
|
|
309
|
+
* @param {string} [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.
|
|
310
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
311
311
|
* @param {*} [options] Override http request option.
|
|
312
312
|
* @throws {RequiredError}
|
|
313
313
|
*/
|
|
314
|
-
async listCustomSchemas(authorization?: string, pageSize?:
|
|
314
|
+
async listCustomSchemas(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCustomSchemasResponseClass>> {
|
|
315
315
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listCustomSchemas(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
316
316
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
317
317
|
},
|
|
@@ -365,17 +365,17 @@ export const CustomSchemaApiFactory = function (configuration?: Configuration, b
|
|
|
365
365
|
* 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. **Required Permissions** \"tenant-management.custom-schemas.view\"
|
|
366
366
|
* @summary List custom-schemas
|
|
367
367
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
368
|
-
* @param {
|
|
369
|
-
* @param {
|
|
370
|
-
* @param {
|
|
371
|
-
* @param {
|
|
372
|
-
* @param {
|
|
373
|
-
* @param {
|
|
374
|
-
* @param {
|
|
368
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
369
|
+
* @param {string} [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.
|
|
370
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
371
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
372
|
+
* @param {string} [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.
|
|
373
|
+
* @param {string} [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.
|
|
374
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
375
375
|
* @param {*} [options] Override http request option.
|
|
376
376
|
* @throws {RequiredError}
|
|
377
377
|
*/
|
|
378
|
-
listCustomSchemas(authorization?: string, pageSize?:
|
|
378
|
+
listCustomSchemas(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCustomSchemasResponseClass> {
|
|
379
379
|
return localVarFp.listCustomSchemas(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
380
380
|
},
|
|
381
381
|
/**
|
|
@@ -457,52 +457,52 @@ export interface CustomSchemaApiListCustomSchemasRequest {
|
|
|
457
457
|
|
|
458
458
|
/**
|
|
459
459
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
460
|
-
* @type {
|
|
460
|
+
* @type {number}
|
|
461
461
|
* @memberof CustomSchemaApiListCustomSchemas
|
|
462
462
|
*/
|
|
463
|
-
readonly pageSize?:
|
|
463
|
+
readonly pageSize?: number
|
|
464
464
|
|
|
465
465
|
/**
|
|
466
|
-
* 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,
|
|
467
|
-
* @type {
|
|
466
|
+
* 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.
|
|
467
|
+
* @type {string}
|
|
468
468
|
* @memberof CustomSchemaApiListCustomSchemas
|
|
469
469
|
*/
|
|
470
|
-
readonly pageToken?:
|
|
470
|
+
readonly pageToken?: string
|
|
471
471
|
|
|
472
472
|
/**
|
|
473
473
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
474
|
-
* @type {
|
|
474
|
+
* @type {string}
|
|
475
475
|
* @memberof CustomSchemaApiListCustomSchemas
|
|
476
476
|
*/
|
|
477
|
-
readonly filter?:
|
|
477
|
+
readonly filter?: string
|
|
478
478
|
|
|
479
479
|
/**
|
|
480
480
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
481
|
-
* @type {
|
|
481
|
+
* @type {string}
|
|
482
482
|
* @memberof CustomSchemaApiListCustomSchemas
|
|
483
483
|
*/
|
|
484
|
-
readonly search?:
|
|
484
|
+
readonly search?: string
|
|
485
485
|
|
|
486
486
|
/**
|
|
487
487
|
* 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.
|
|
488
|
-
* @type {
|
|
488
|
+
* @type {string}
|
|
489
489
|
* @memberof CustomSchemaApiListCustomSchemas
|
|
490
490
|
*/
|
|
491
|
-
readonly order?:
|
|
491
|
+
readonly order?: string
|
|
492
492
|
|
|
493
493
|
/**
|
|
494
|
-
* 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
|
|
495
|
-
* @type {
|
|
494
|
+
* 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.
|
|
495
|
+
* @type {string}
|
|
496
496
|
* @memberof CustomSchemaApiListCustomSchemas
|
|
497
497
|
*/
|
|
498
|
-
readonly expand?:
|
|
498
|
+
readonly expand?: string
|
|
499
499
|
|
|
500
500
|
/**
|
|
501
501
|
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
502
|
-
* @type {
|
|
502
|
+
* @type {string}
|
|
503
503
|
* @memberof CustomSchemaApiListCustomSchemas
|
|
504
504
|
*/
|
|
505
|
-
readonly filters?:
|
|
505
|
+
readonly filters?: string
|
|
506
506
|
}
|
|
507
507
|
|
|
508
508
|
/**
|