@emilgroup/tenant-sdk-node 1.28.0 → 1.28.1-beta.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 +3 -0
- package/README.md +2 -2
- package/api/custom-schema-api.ts +16 -16
- package/api/dashboard-api.ts +338 -39
- package/api/dashboard-group-api.ts +20 -20
- package/api/data-report-api.ts +16 -16
- package/api/data-report-executor-api.ts +4 -4
- package/api/delete-organization-invitations-api.ts +4 -4
- package/api/invite-organizations-api.ts +4 -4
- package/api/invite-users-api.ts +16 -16
- package/api/list-organization-invitations-api.ts +4 -4
- package/api/organizations-api.ts +12 -12
- package/api/re-invite-an-organization-api.ts +4 -4
- package/api/roles-api.ts +4 -4
- package/api/settings-api.ts +4 -4
- package/api/users-api.ts +28 -28
- package/base.ts +1 -1
- package/common.ts +2 -2
- package/configuration.ts +9 -0
- package/dist/api/custom-schema-api.d.ts +16 -16
- package/dist/api/custom-schema-api.js +16 -16
- package/dist/api/dashboard-api.d.ts +189 -34
- package/dist/api/dashboard-api.js +300 -34
- package/dist/api/dashboard-group-api.d.ts +20 -20
- package/dist/api/dashboard-group-api.js +20 -20
- package/dist/api/data-report-api.d.ts +16 -16
- package/dist/api/data-report-api.js +16 -16
- package/dist/api/data-report-executor-api.d.ts +4 -4
- package/dist/api/data-report-executor-api.js +4 -4
- package/dist/api/delete-organization-invitations-api.d.ts +4 -4
- package/dist/api/delete-organization-invitations-api.js +4 -4
- package/dist/api/invite-organizations-api.d.ts +4 -4
- package/dist/api/invite-organizations-api.js +4 -4
- package/dist/api/invite-users-api.d.ts +16 -16
- package/dist/api/invite-users-api.js +16 -16
- package/dist/api/list-organization-invitations-api.d.ts +4 -4
- package/dist/api/list-organization-invitations-api.js +4 -4
- package/dist/api/organizations-api.d.ts +12 -12
- package/dist/api/organizations-api.js +12 -12
- package/dist/api/re-invite-an-organization-api.d.ts +4 -4
- package/dist/api/re-invite-an-organization-api.js +4 -4
- package/dist/api/roles-api.d.ts +4 -4
- package/dist/api/roles-api.js +4 -4
- package/dist/api/settings-api.d.ts +4 -4
- package/dist/api/settings-api.js +4 -4
- package/dist/api/users-api.d.ts +28 -28
- package/dist/api/users-api.js +28 -28
- package/dist/base.js +1 -1
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +6 -0
- package/dist/configuration.js +8 -0
- package/dist/models/create-tenant-db-config-request-dto.d.ts +30 -0
- package/dist/models/create-tenant-db-config-request-dto.js +15 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/invite-class.d.ts +12 -12
- package/dist/models/publish-dashboard-request-dto.d.ts +34 -0
- package/dist/models/publish-dashboard-request-dto.js +19 -0
- package/dist/models/revert-analysis-request-dto.d.ts +34 -0
- package/dist/models/revert-analysis-request-dto.js +19 -0
- package/dist/models/user-class.d.ts +8 -8
- package/models/create-tenant-db-config-request-dto.ts +36 -0
- package/models/index.ts +3 -0
- package/models/invite-class.ts +12 -12
- package/models/publish-dashboard-request-dto.ts +43 -0
- package/models/revert-analysis-request-dto.ts +43 -0
- package/models/user-class.ts +8 -8
- package/package.json +1 -1
|
@@ -24,7 +24,7 @@ import { UpdateCustomSchemaResponseClass } from '../models';
|
|
|
24
24
|
*/
|
|
25
25
|
export declare const CustomSchemaApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26
26
|
/**
|
|
27
|
-
* This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema.
|
|
27
|
+
* This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema. **Required Permissions** \"tenant-management.custom-schemas.create\"
|
|
28
28
|
* @summary Create the custom-schema
|
|
29
29
|
* @param {CreateCustomSchemaRequestDto} createCustomSchemaRequestDto
|
|
30
30
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -33,7 +33,7 @@ export declare const CustomSchemaApiAxiosParamCreator: (configuration?: Configur
|
|
|
33
33
|
*/
|
|
34
34
|
createCustomSchema: (createCustomSchemaRequestDto: CreateCustomSchemaRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
35
|
/**
|
|
36
|
-
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information.
|
|
36
|
+
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information. **Required Permissions** \"tenant-management.custom-schemas.view\"
|
|
37
37
|
* @summary Retrieve the custom-schema
|
|
38
38
|
* @param {string} code Unique identifier for the object.
|
|
39
39
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -43,7 +43,7 @@ export declare const CustomSchemaApiAxiosParamCreator: (configuration?: Configur
|
|
|
43
43
|
*/
|
|
44
44
|
getCustomSchema: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
45
|
/**
|
|
46
|
-
* 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.
|
|
46
|
+
* 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\"
|
|
47
47
|
* @summary List custom-schemas
|
|
48
48
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
49
49
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -58,7 +58,7 @@ export declare const CustomSchemaApiAxiosParamCreator: (configuration?: Configur
|
|
|
58
58
|
*/
|
|
59
59
|
listCustomSchemas: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
60
60
|
/**
|
|
61
|
-
* Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
61
|
+
* Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"tenant-management.custom-schemas.update\"
|
|
62
62
|
* @summary Update the custom-schema
|
|
63
63
|
* @param {string} code
|
|
64
64
|
* @param {UpdateCustomSchemaRequestDto} updateCustomSchemaRequestDto
|
|
@@ -74,7 +74,7 @@ export declare const CustomSchemaApiAxiosParamCreator: (configuration?: Configur
|
|
|
74
74
|
*/
|
|
75
75
|
export declare const CustomSchemaApiFp: (configuration?: Configuration) => {
|
|
76
76
|
/**
|
|
77
|
-
* This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema.
|
|
77
|
+
* This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema. **Required Permissions** \"tenant-management.custom-schemas.create\"
|
|
78
78
|
* @summary Create the custom-schema
|
|
79
79
|
* @param {CreateCustomSchemaRequestDto} createCustomSchemaRequestDto
|
|
80
80
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -83,7 +83,7 @@ export declare const CustomSchemaApiFp: (configuration?: Configuration) => {
|
|
|
83
83
|
*/
|
|
84
84
|
createCustomSchema(createCustomSchemaRequestDto: CreateCustomSchemaRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCustomSchemaResponseClass>>;
|
|
85
85
|
/**
|
|
86
|
-
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information.
|
|
86
|
+
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information. **Required Permissions** \"tenant-management.custom-schemas.view\"
|
|
87
87
|
* @summary Retrieve the custom-schema
|
|
88
88
|
* @param {string} code Unique identifier for the object.
|
|
89
89
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -93,7 +93,7 @@ export declare const CustomSchemaApiFp: (configuration?: Configuration) => {
|
|
|
93
93
|
*/
|
|
94
94
|
getCustomSchema(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomSchemaResponseClass>>;
|
|
95
95
|
/**
|
|
96
|
-
* 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.
|
|
96
|
+
* 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\"
|
|
97
97
|
* @summary List custom-schemas
|
|
98
98
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
99
99
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -108,7 +108,7 @@ export declare const CustomSchemaApiFp: (configuration?: Configuration) => {
|
|
|
108
108
|
*/
|
|
109
109
|
listCustomSchemas(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCustomSchemasResponseClass>>;
|
|
110
110
|
/**
|
|
111
|
-
* Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
111
|
+
* Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"tenant-management.custom-schemas.update\"
|
|
112
112
|
* @summary Update the custom-schema
|
|
113
113
|
* @param {string} code
|
|
114
114
|
* @param {UpdateCustomSchemaRequestDto} updateCustomSchemaRequestDto
|
|
@@ -124,7 +124,7 @@ export declare const CustomSchemaApiFp: (configuration?: Configuration) => {
|
|
|
124
124
|
*/
|
|
125
125
|
export declare const CustomSchemaApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
126
126
|
/**
|
|
127
|
-
* This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema.
|
|
127
|
+
* This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema. **Required Permissions** \"tenant-management.custom-schemas.create\"
|
|
128
128
|
* @summary Create the custom-schema
|
|
129
129
|
* @param {CreateCustomSchemaRequestDto} createCustomSchemaRequestDto
|
|
130
130
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -133,7 +133,7 @@ export declare const CustomSchemaApiFactory: (configuration?: Configuration, bas
|
|
|
133
133
|
*/
|
|
134
134
|
createCustomSchema(createCustomSchemaRequestDto: CreateCustomSchemaRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCustomSchemaResponseClass>;
|
|
135
135
|
/**
|
|
136
|
-
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information.
|
|
136
|
+
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information. **Required Permissions** \"tenant-management.custom-schemas.view\"
|
|
137
137
|
* @summary Retrieve the custom-schema
|
|
138
138
|
* @param {string} code Unique identifier for the object.
|
|
139
139
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -143,7 +143,7 @@ export declare const CustomSchemaApiFactory: (configuration?: Configuration, bas
|
|
|
143
143
|
*/
|
|
144
144
|
getCustomSchema(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetCustomSchemaResponseClass>;
|
|
145
145
|
/**
|
|
146
|
-
* 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.
|
|
146
|
+
* 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\"
|
|
147
147
|
* @summary List custom-schemas
|
|
148
148
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
149
149
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -158,7 +158,7 @@ export declare const CustomSchemaApiFactory: (configuration?: Configuration, bas
|
|
|
158
158
|
*/
|
|
159
159
|
listCustomSchemas(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListCustomSchemasResponseClass>;
|
|
160
160
|
/**
|
|
161
|
-
* Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
161
|
+
* Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"tenant-management.custom-schemas.update\"
|
|
162
162
|
* @summary Update the custom-schema
|
|
163
163
|
* @param {string} code
|
|
164
164
|
* @param {UpdateCustomSchemaRequestDto} updateCustomSchemaRequestDto
|
|
@@ -300,7 +300,7 @@ export interface CustomSchemaApiUpdateCustomSchemaRequest {
|
|
|
300
300
|
*/
|
|
301
301
|
export declare class CustomSchemaApi extends BaseAPI {
|
|
302
302
|
/**
|
|
303
|
-
* This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema.
|
|
303
|
+
* This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema. **Required Permissions** \"tenant-management.custom-schemas.create\"
|
|
304
304
|
* @summary Create the custom-schema
|
|
305
305
|
* @param {CustomSchemaApiCreateCustomSchemaRequest} requestParameters Request parameters.
|
|
306
306
|
* @param {*} [options] Override http request option.
|
|
@@ -309,7 +309,7 @@ export declare class CustomSchemaApi extends BaseAPI {
|
|
|
309
309
|
*/
|
|
310
310
|
createCustomSchema(requestParameters: CustomSchemaApiCreateCustomSchemaRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCustomSchemaResponseClass, any>>;
|
|
311
311
|
/**
|
|
312
|
-
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information.
|
|
312
|
+
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information. **Required Permissions** \"tenant-management.custom-schemas.view\"
|
|
313
313
|
* @summary Retrieve the custom-schema
|
|
314
314
|
* @param {CustomSchemaApiGetCustomSchemaRequest} requestParameters Request parameters.
|
|
315
315
|
* @param {*} [options] Override http request option.
|
|
@@ -318,7 +318,7 @@ export declare class CustomSchemaApi extends BaseAPI {
|
|
|
318
318
|
*/
|
|
319
319
|
getCustomSchema(requestParameters: CustomSchemaApiGetCustomSchemaRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCustomSchemaResponseClass, any>>;
|
|
320
320
|
/**
|
|
321
|
-
* 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.
|
|
321
|
+
* 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\"
|
|
322
322
|
* @summary List custom-schemas
|
|
323
323
|
* @param {CustomSchemaApiListCustomSchemasRequest} requestParameters Request parameters.
|
|
324
324
|
* @param {*} [options] Override http request option.
|
|
@@ -327,7 +327,7 @@ export declare class CustomSchemaApi extends BaseAPI {
|
|
|
327
327
|
*/
|
|
328
328
|
listCustomSchemas(requestParameters?: CustomSchemaApiListCustomSchemasRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCustomSchemasResponseClass, any>>;
|
|
329
329
|
/**
|
|
330
|
-
* Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
330
|
+
* Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"tenant-management.custom-schemas.update\"
|
|
331
331
|
* @summary Update the custom-schema
|
|
332
332
|
* @param {CustomSchemaApiUpdateCustomSchemaRequest} requestParameters Request parameters.
|
|
333
333
|
* @param {*} [options] Override http request option.
|
|
@@ -97,7 +97,7 @@ var CustomSchemaApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
* This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema.
|
|
100
|
+
* This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema. **Required Permissions** \"tenant-management.custom-schemas.create\"
|
|
101
101
|
* @summary Create the custom-schema
|
|
102
102
|
* @param {CreateCustomSchemaRequestDto} createCustomSchemaRequestDto
|
|
103
103
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -146,7 +146,7 @@ var CustomSchemaApiAxiosParamCreator = function (configuration) {
|
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
148
|
/**
|
|
149
|
-
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information.
|
|
149
|
+
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information. **Required Permissions** \"tenant-management.custom-schemas.view\"
|
|
150
150
|
* @summary Retrieve the custom-schema
|
|
151
151
|
* @param {string} code Unique identifier for the object.
|
|
152
152
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -198,7 +198,7 @@ var CustomSchemaApiAxiosParamCreator = function (configuration) {
|
|
|
198
198
|
});
|
|
199
199
|
},
|
|
200
200
|
/**
|
|
201
|
-
* 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.
|
|
201
|
+
* 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\"
|
|
202
202
|
* @summary List custom-schemas
|
|
203
203
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
204
204
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -270,7 +270,7 @@ var CustomSchemaApiAxiosParamCreator = function (configuration) {
|
|
|
270
270
|
});
|
|
271
271
|
},
|
|
272
272
|
/**
|
|
273
|
-
* Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
273
|
+
* Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"tenant-management.custom-schemas.update\"
|
|
274
274
|
* @summary Update the custom-schema
|
|
275
275
|
* @param {string} code
|
|
276
276
|
* @param {UpdateCustomSchemaRequestDto} updateCustomSchemaRequestDto
|
|
@@ -333,7 +333,7 @@ var CustomSchemaApiFp = function (configuration) {
|
|
|
333
333
|
var localVarAxiosParamCreator = (0, exports.CustomSchemaApiAxiosParamCreator)(configuration);
|
|
334
334
|
return {
|
|
335
335
|
/**
|
|
336
|
-
* This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema.
|
|
336
|
+
* This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema. **Required Permissions** \"tenant-management.custom-schemas.create\"
|
|
337
337
|
* @summary Create the custom-schema
|
|
338
338
|
* @param {CreateCustomSchemaRequestDto} createCustomSchemaRequestDto
|
|
339
339
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -354,7 +354,7 @@ var CustomSchemaApiFp = function (configuration) {
|
|
|
354
354
|
});
|
|
355
355
|
},
|
|
356
356
|
/**
|
|
357
|
-
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information.
|
|
357
|
+
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information. **Required Permissions** \"tenant-management.custom-schemas.view\"
|
|
358
358
|
* @summary Retrieve the custom-schema
|
|
359
359
|
* @param {string} code Unique identifier for the object.
|
|
360
360
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -376,7 +376,7 @@ var CustomSchemaApiFp = function (configuration) {
|
|
|
376
376
|
});
|
|
377
377
|
},
|
|
378
378
|
/**
|
|
379
|
-
* 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.
|
|
379
|
+
* 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\"
|
|
380
380
|
* @summary List custom-schemas
|
|
381
381
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
382
382
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -403,7 +403,7 @@ var CustomSchemaApiFp = function (configuration) {
|
|
|
403
403
|
});
|
|
404
404
|
},
|
|
405
405
|
/**
|
|
406
|
-
* Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
406
|
+
* Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"tenant-management.custom-schemas.update\"
|
|
407
407
|
* @summary Update the custom-schema
|
|
408
408
|
* @param {string} code
|
|
409
409
|
* @param {UpdateCustomSchemaRequestDto} updateCustomSchemaRequestDto
|
|
@@ -435,7 +435,7 @@ var CustomSchemaApiFactory = function (configuration, basePath, axios) {
|
|
|
435
435
|
var localVarFp = (0, exports.CustomSchemaApiFp)(configuration);
|
|
436
436
|
return {
|
|
437
437
|
/**
|
|
438
|
-
* This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema.
|
|
438
|
+
* This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema. **Required Permissions** \"tenant-management.custom-schemas.create\"
|
|
439
439
|
* @summary Create the custom-schema
|
|
440
440
|
* @param {CreateCustomSchemaRequestDto} createCustomSchemaRequestDto
|
|
441
441
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -446,7 +446,7 @@ var CustomSchemaApiFactory = function (configuration, basePath, axios) {
|
|
|
446
446
|
return localVarFp.createCustomSchema(createCustomSchemaRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
447
447
|
},
|
|
448
448
|
/**
|
|
449
|
-
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information.
|
|
449
|
+
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information. **Required Permissions** \"tenant-management.custom-schemas.view\"
|
|
450
450
|
* @summary Retrieve the custom-schema
|
|
451
451
|
* @param {string} code Unique identifier for the object.
|
|
452
452
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -458,7 +458,7 @@ var CustomSchemaApiFactory = function (configuration, basePath, axios) {
|
|
|
458
458
|
return localVarFp.getCustomSchema(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
459
459
|
},
|
|
460
460
|
/**
|
|
461
|
-
* 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.
|
|
461
|
+
* 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\"
|
|
462
462
|
* @summary List custom-schemas
|
|
463
463
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
464
464
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -475,7 +475,7 @@ var CustomSchemaApiFactory = function (configuration, basePath, axios) {
|
|
|
475
475
|
return localVarFp.listCustomSchemas(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
476
476
|
},
|
|
477
477
|
/**
|
|
478
|
-
* Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
478
|
+
* Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"tenant-management.custom-schemas.update\"
|
|
479
479
|
* @summary Update the custom-schema
|
|
480
480
|
* @param {string} code
|
|
481
481
|
* @param {UpdateCustomSchemaRequestDto} updateCustomSchemaRequestDto
|
|
@@ -501,7 +501,7 @@ var CustomSchemaApi = /** @class */ (function (_super) {
|
|
|
501
501
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
502
502
|
}
|
|
503
503
|
/**
|
|
504
|
-
* This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema.
|
|
504
|
+
* This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema. **Required Permissions** \"tenant-management.custom-schemas.create\"
|
|
505
505
|
* @summary Create the custom-schema
|
|
506
506
|
* @param {CustomSchemaApiCreateCustomSchemaRequest} requestParameters Request parameters.
|
|
507
507
|
* @param {*} [options] Override http request option.
|
|
@@ -513,7 +513,7 @@ var CustomSchemaApi = /** @class */ (function (_super) {
|
|
|
513
513
|
return (0, exports.CustomSchemaApiFp)(this.configuration).createCustomSchema(requestParameters.createCustomSchemaRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
514
514
|
};
|
|
515
515
|
/**
|
|
516
|
-
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information.
|
|
516
|
+
* Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information. **Required Permissions** \"tenant-management.custom-schemas.view\"
|
|
517
517
|
* @summary Retrieve the custom-schema
|
|
518
518
|
* @param {CustomSchemaApiGetCustomSchemaRequest} requestParameters Request parameters.
|
|
519
519
|
* @param {*} [options] Override http request option.
|
|
@@ -525,7 +525,7 @@ var CustomSchemaApi = /** @class */ (function (_super) {
|
|
|
525
525
|
return (0, exports.CustomSchemaApiFp)(this.configuration).getCustomSchema(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
526
526
|
};
|
|
527
527
|
/**
|
|
528
|
-
* 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.
|
|
528
|
+
* 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\"
|
|
529
529
|
* @summary List custom-schemas
|
|
530
530
|
* @param {CustomSchemaApiListCustomSchemasRequest} requestParameters Request parameters.
|
|
531
531
|
* @param {*} [options] Override http request option.
|
|
@@ -538,7 +538,7 @@ var CustomSchemaApi = /** @class */ (function (_super) {
|
|
|
538
538
|
return (0, exports.CustomSchemaApiFp)(this.configuration).listCustomSchemas(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
539
539
|
};
|
|
540
540
|
/**
|
|
541
|
-
* Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
541
|
+
* Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"tenant-management.custom-schemas.update\"
|
|
542
542
|
* @summary Update the custom-schema
|
|
543
543
|
* @param {CustomSchemaApiUpdateCustomSchemaRequest} requestParameters Request parameters.
|
|
544
544
|
* @param {*} [options] Override http request option.
|