@emilgroup/tenant-sdk 1.29.0 → 1.29.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/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/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.
|
|
@@ -93,7 +93,7 @@ var CustomSchemaApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* 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.
|
|
96
|
+
* 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\"
|
|
97
97
|
* @summary Create the custom-schema
|
|
98
98
|
* @param {CreateCustomSchemaRequestDto} createCustomSchemaRequestDto
|
|
99
99
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -142,7 +142,7 @@ var CustomSchemaApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
144
|
/**
|
|
145
|
-
* 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.
|
|
145
|
+
* 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\"
|
|
146
146
|
* @summary Retrieve the custom-schema
|
|
147
147
|
* @param {string} code Unique identifier for the object.
|
|
148
148
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -194,7 +194,7 @@ var CustomSchemaApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
});
|
|
195
195
|
},
|
|
196
196
|
/**
|
|
197
|
-
* 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.
|
|
197
|
+
* 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\"
|
|
198
198
|
* @summary List custom-schemas
|
|
199
199
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
200
200
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -266,7 +266,7 @@ var CustomSchemaApiAxiosParamCreator = function (configuration) {
|
|
|
266
266
|
});
|
|
267
267
|
},
|
|
268
268
|
/**
|
|
269
|
-
* Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
269
|
+
* 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\"
|
|
270
270
|
* @summary Update the custom-schema
|
|
271
271
|
* @param {string} code
|
|
272
272
|
* @param {UpdateCustomSchemaRequestDto} updateCustomSchemaRequestDto
|
|
@@ -329,7 +329,7 @@ var CustomSchemaApiFp = function (configuration) {
|
|
|
329
329
|
var localVarAxiosParamCreator = (0, exports.CustomSchemaApiAxiosParamCreator)(configuration);
|
|
330
330
|
return {
|
|
331
331
|
/**
|
|
332
|
-
* 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.
|
|
332
|
+
* 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\"
|
|
333
333
|
* @summary Create the custom-schema
|
|
334
334
|
* @param {CreateCustomSchemaRequestDto} createCustomSchemaRequestDto
|
|
335
335
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -350,7 +350,7 @@ var CustomSchemaApiFp = function (configuration) {
|
|
|
350
350
|
});
|
|
351
351
|
},
|
|
352
352
|
/**
|
|
353
|
-
* 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.
|
|
353
|
+
* 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\"
|
|
354
354
|
* @summary Retrieve the custom-schema
|
|
355
355
|
* @param {string} code Unique identifier for the object.
|
|
356
356
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -372,7 +372,7 @@ var CustomSchemaApiFp = function (configuration) {
|
|
|
372
372
|
});
|
|
373
373
|
},
|
|
374
374
|
/**
|
|
375
|
-
* 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.
|
|
375
|
+
* 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\"
|
|
376
376
|
* @summary List custom-schemas
|
|
377
377
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
378
378
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -399,7 +399,7 @@ var CustomSchemaApiFp = function (configuration) {
|
|
|
399
399
|
});
|
|
400
400
|
},
|
|
401
401
|
/**
|
|
402
|
-
* Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
402
|
+
* 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\"
|
|
403
403
|
* @summary Update the custom-schema
|
|
404
404
|
* @param {string} code
|
|
405
405
|
* @param {UpdateCustomSchemaRequestDto} updateCustomSchemaRequestDto
|
|
@@ -431,7 +431,7 @@ var CustomSchemaApiFactory = function (configuration, basePath, axios) {
|
|
|
431
431
|
var localVarFp = (0, exports.CustomSchemaApiFp)(configuration);
|
|
432
432
|
return {
|
|
433
433
|
/**
|
|
434
|
-
* 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.
|
|
434
|
+
* 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\"
|
|
435
435
|
* @summary Create the custom-schema
|
|
436
436
|
* @param {CreateCustomSchemaRequestDto} createCustomSchemaRequestDto
|
|
437
437
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -442,7 +442,7 @@ var CustomSchemaApiFactory = function (configuration, basePath, axios) {
|
|
|
442
442
|
return localVarFp.createCustomSchema(createCustomSchemaRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
443
443
|
},
|
|
444
444
|
/**
|
|
445
|
-
* 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.
|
|
445
|
+
* 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\"
|
|
446
446
|
* @summary Retrieve the custom-schema
|
|
447
447
|
* @param {string} code Unique identifier for the object.
|
|
448
448
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -454,7 +454,7 @@ var CustomSchemaApiFactory = function (configuration, basePath, axios) {
|
|
|
454
454
|
return localVarFp.getCustomSchema(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
455
455
|
},
|
|
456
456
|
/**
|
|
457
|
-
* 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.
|
|
457
|
+
* 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\"
|
|
458
458
|
* @summary List custom-schemas
|
|
459
459
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
460
460
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -471,7 +471,7 @@ var CustomSchemaApiFactory = function (configuration, basePath, axios) {
|
|
|
471
471
|
return localVarFp.listCustomSchemas(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
472
472
|
},
|
|
473
473
|
/**
|
|
474
|
-
* Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
474
|
+
* 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\"
|
|
475
475
|
* @summary Update the custom-schema
|
|
476
476
|
* @param {string} code
|
|
477
477
|
* @param {UpdateCustomSchemaRequestDto} updateCustomSchemaRequestDto
|
|
@@ -497,7 +497,7 @@ var CustomSchemaApi = /** @class */ (function (_super) {
|
|
|
497
497
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
498
498
|
}
|
|
499
499
|
/**
|
|
500
|
-
* 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.
|
|
500
|
+
* 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\"
|
|
501
501
|
* @summary Create the custom-schema
|
|
502
502
|
* @param {CustomSchemaApiCreateCustomSchemaRequest} requestParameters Request parameters.
|
|
503
503
|
* @param {*} [options] Override http request option.
|
|
@@ -509,7 +509,7 @@ var CustomSchemaApi = /** @class */ (function (_super) {
|
|
|
509
509
|
return (0, exports.CustomSchemaApiFp)(this.configuration).createCustomSchema(requestParameters.createCustomSchemaRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
510
510
|
};
|
|
511
511
|
/**
|
|
512
|
-
* 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.
|
|
512
|
+
* 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\"
|
|
513
513
|
* @summary Retrieve the custom-schema
|
|
514
514
|
* @param {CustomSchemaApiGetCustomSchemaRequest} requestParameters Request parameters.
|
|
515
515
|
* @param {*} [options] Override http request option.
|
|
@@ -521,7 +521,7 @@ var CustomSchemaApi = /** @class */ (function (_super) {
|
|
|
521
521
|
return (0, exports.CustomSchemaApiFp)(this.configuration).getCustomSchema(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
522
522
|
};
|
|
523
523
|
/**
|
|
524
|
-
* 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.
|
|
524
|
+
* 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\"
|
|
525
525
|
* @summary List custom-schemas
|
|
526
526
|
* @param {CustomSchemaApiListCustomSchemasRequest} requestParameters Request parameters.
|
|
527
527
|
* @param {*} [options] Override http request option.
|
|
@@ -534,7 +534,7 @@ var CustomSchemaApi = /** @class */ (function (_super) {
|
|
|
534
534
|
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); });
|
|
535
535
|
};
|
|
536
536
|
/**
|
|
537
|
-
* Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
537
|
+
* 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\"
|
|
538
538
|
* @summary Update the custom-schema
|
|
539
539
|
* @param {CustomSchemaApiUpdateCustomSchemaRequest} requestParameters Request parameters.
|
|
540
540
|
* @param {*} [options] Override http request option.
|