@emilgroup/tenant-sdk-node 1.28.1-beta.1 → 1.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +0 -1
- package/README.md +2 -2
- package/api/custom-schema-api.ts +40 -40
- package/api/dashboard-api.ts +76 -76
- 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 +76 -76
- package/dist/api/dashboard-api.js +57 -57
- 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/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/dist/models/invite-class.d.ts +12 -12
- package/dist/models/list-org-invitations-response-class.d.ts +12 -0
- package/dist/models/list-organizations-response-class.d.ts +12 -0
- package/dist/models/user-class.d.ts +8 -8
- package/models/index.ts +0 -1
- package/models/invite-class.ts +12 -12
- package/models/list-org-invitations-response-class.ts +12 -0
- package/models/list-organizations-response-class.ts +12 -0
- package/models/user-class.ts +8 -8
- package/package.json +1 -1
- package/dist/models/create-tenant-db-config-request-dto.d.ts +0 -30
- package/dist/models/create-tenant-db-config-request-dto.js +0 -15
- package/models/create-tenant-db-config-request-dto.ts +0 -36
package/.openapi-generator/FILES
CHANGED
|
@@ -35,7 +35,6 @@ models/create-dashboard-request-dto.ts
|
|
|
35
35
|
models/create-dashboard-response-class.ts
|
|
36
36
|
models/create-data-report-request-dto.ts
|
|
37
37
|
models/create-data-report-response-class.ts
|
|
38
|
-
models/create-tenant-db-config-request-dto.ts
|
|
39
38
|
models/create-tenant-request-dto.ts
|
|
40
39
|
models/custom-field-dto.ts
|
|
41
40
|
models/custom-schema-class.ts
|
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.
|
|
20
|
+
npm install @emilgroup/tenant-sdk-node@1.29.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/tenant-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/tenant-sdk-node@1.29.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `UsersApi`.
|
package/api/custom-schema-api.ts
CHANGED
|
@@ -143,17 +143,17 @@ export const CustomSchemaApiAxiosParamCreator = function (configuration?: Config
|
|
|
143
143
|
* 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\"
|
|
144
144
|
* @summary List custom-schemas
|
|
145
145
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
146
|
-
* @param {
|
|
147
|
-
* @param {
|
|
148
|
-
* @param {
|
|
149
|
-
* @param {
|
|
150
|
-
* @param {
|
|
151
|
-
* @param {
|
|
152
|
-
* @param {
|
|
146
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
147
|
+
* @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.
|
|
148
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
149
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
150
|
+
* @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.
|
|
151
|
+
* @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.
|
|
152
|
+
* @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.
|
|
153
153
|
* @param {*} [options] Override http request option.
|
|
154
154
|
* @throws {RequiredError}
|
|
155
155
|
*/
|
|
156
|
-
listCustomSchemas: async (authorization?: string, pageSize?:
|
|
156
|
+
listCustomSchemas: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
157
157
|
const localVarPath = `/tenantservice/v1/custom-schemas`;
|
|
158
158
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
159
159
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -305,17 +305,17 @@ export const CustomSchemaApiFp = function(configuration?: Configuration) {
|
|
|
305
305
|
* 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\"
|
|
306
306
|
* @summary List custom-schemas
|
|
307
307
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
308
|
-
* @param {
|
|
309
|
-
* @param {
|
|
310
|
-
* @param {
|
|
311
|
-
* @param {
|
|
312
|
-
* @param {
|
|
313
|
-
* @param {
|
|
314
|
-
* @param {
|
|
308
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
309
|
+
* @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.
|
|
310
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
311
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
312
|
+
* @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.
|
|
313
|
+
* @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.
|
|
314
|
+
* @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.
|
|
315
315
|
* @param {*} [options] Override http request option.
|
|
316
316
|
* @throws {RequiredError}
|
|
317
317
|
*/
|
|
318
|
-
async listCustomSchemas(authorization?: string, pageSize?:
|
|
318
|
+
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>> {
|
|
319
319
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listCustomSchemas(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
320
320
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
321
321
|
},
|
|
@@ -369,17 +369,17 @@ export const CustomSchemaApiFactory = function (configuration?: Configuration, b
|
|
|
369
369
|
* 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\"
|
|
370
370
|
* @summary List custom-schemas
|
|
371
371
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
372
|
-
* @param {
|
|
373
|
-
* @param {
|
|
374
|
-
* @param {
|
|
375
|
-
* @param {
|
|
376
|
-
* @param {
|
|
377
|
-
* @param {
|
|
378
|
-
* @param {
|
|
372
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
373
|
+
* @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.
|
|
374
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
375
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
376
|
+
* @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.
|
|
377
|
+
* @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.
|
|
378
|
+
* @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.
|
|
379
379
|
* @param {*} [options] Override http request option.
|
|
380
380
|
* @throws {RequiredError}
|
|
381
381
|
*/
|
|
382
|
-
listCustomSchemas(authorization?: string, pageSize?:
|
|
382
|
+
listCustomSchemas(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCustomSchemasResponseClass> {
|
|
383
383
|
return localVarFp.listCustomSchemas(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
384
384
|
},
|
|
385
385
|
/**
|
|
@@ -461,52 +461,52 @@ export interface CustomSchemaApiListCustomSchemasRequest {
|
|
|
461
461
|
|
|
462
462
|
/**
|
|
463
463
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
464
|
-
* @type {
|
|
464
|
+
* @type {number}
|
|
465
465
|
* @memberof CustomSchemaApiListCustomSchemas
|
|
466
466
|
*/
|
|
467
|
-
readonly pageSize?:
|
|
467
|
+
readonly pageSize?: number
|
|
468
468
|
|
|
469
469
|
/**
|
|
470
|
-
* 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,
|
|
471
|
-
* @type {
|
|
470
|
+
* 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.
|
|
471
|
+
* @type {string}
|
|
472
472
|
* @memberof CustomSchemaApiListCustomSchemas
|
|
473
473
|
*/
|
|
474
|
-
readonly pageToken?:
|
|
474
|
+
readonly pageToken?: string
|
|
475
475
|
|
|
476
476
|
/**
|
|
477
477
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
478
|
-
* @type {
|
|
478
|
+
* @type {string}
|
|
479
479
|
* @memberof CustomSchemaApiListCustomSchemas
|
|
480
480
|
*/
|
|
481
|
-
readonly filter?:
|
|
481
|
+
readonly filter?: string
|
|
482
482
|
|
|
483
483
|
/**
|
|
484
484
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
485
|
-
* @type {
|
|
485
|
+
* @type {string}
|
|
486
486
|
* @memberof CustomSchemaApiListCustomSchemas
|
|
487
487
|
*/
|
|
488
|
-
readonly search?:
|
|
488
|
+
readonly search?: string
|
|
489
489
|
|
|
490
490
|
/**
|
|
491
491
|
* 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.
|
|
492
|
-
* @type {
|
|
492
|
+
* @type {string}
|
|
493
493
|
* @memberof CustomSchemaApiListCustomSchemas
|
|
494
494
|
*/
|
|
495
|
-
readonly order?:
|
|
495
|
+
readonly order?: string
|
|
496
496
|
|
|
497
497
|
/**
|
|
498
|
-
* 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
|
-
* @type {
|
|
498
|
+
* 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.
|
|
499
|
+
* @type {string}
|
|
500
500
|
* @memberof CustomSchemaApiListCustomSchemas
|
|
501
501
|
*/
|
|
502
|
-
readonly expand?:
|
|
502
|
+
readonly expand?: string
|
|
503
503
|
|
|
504
504
|
/**
|
|
505
505
|
* 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.
|
|
506
|
-
* @type {
|
|
506
|
+
* @type {string}
|
|
507
507
|
* @memberof CustomSchemaApiListCustomSchemas
|
|
508
508
|
*/
|
|
509
|
-
readonly filters?:
|
|
509
|
+
readonly filters?: string
|
|
510
510
|
}
|
|
511
511
|
|
|
512
512
|
/**
|