@saritasa/crm-delmar-core-sdk 0.0.211 → 0.0.212
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/user-periods-api.service.d.ts +23 -1
- package/api/user-periods-api.serviceInterface.d.ts +10 -0
- package/esm2022/api/user-periods-api.service.mjs +40 -1
- package/esm2022/api/user-periods-api.serviceInterface.mjs +1 -1
- package/esm2022/model/models.mjs +9 -1
- package/esm2022/model/user-period-for-stats.dto.mjs +2 -0
- package/esm2022/model/user-period-statistic.dto.mjs +2 -0
- package/esm2022/model/user-period-total-by-type.dto.mjs +11 -0
- package/esm2022/model/user-period-year-data.dto.mjs +2 -0
- package/esm2022/model/user-periods-stats-retrieve-error-response400.dto.mjs +2 -0
- package/esm2022/model/user-periods-stats-retrieve-error.dto.mjs +2 -0
- package/esm2022/model/user-periods-stats-retrieve-user-error-component.dto.mjs +18 -0
- package/esm2022/model/user-periods-stats-retrieve-validation-error.dto.mjs +2 -0
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs +68 -1
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs.map +1 -1
- package/model/models.d.ts +8 -0
- package/model/user-period-for-stats.dto.d.ts +25 -0
- package/model/user-period-statistic.dto.d.ts +18 -0
- package/model/user-period-total-by-type.dto.d.ts +20 -0
- package/model/user-period-year-data.dto.d.ts +20 -0
- package/model/user-periods-stats-retrieve-error-response400.dto.d.ts +16 -0
- package/model/user-periods-stats-retrieve-error.dto.d.ts +15 -0
- package/model/user-periods-stats-retrieve-user-error-component.dto.d.ts +26 -0
- package/model/user-periods-stats-retrieve-validation-error.dto.d.ts +15 -0
- package/package.json +2 -2
package/model/models.d.ts
CHANGED
|
@@ -1332,13 +1332,17 @@ export * from "./user-logins-update-non-field-errors-error-component.dto";
|
|
|
1332
1332
|
export * from "./user-logins-update-role-error-component.dto";
|
|
1333
1333
|
export * from "./user-logins-update-validation-error.dto";
|
|
1334
1334
|
export * from "./user-period.dto";
|
|
1335
|
+
export * from "./user-period-for-stats.dto";
|
|
1335
1336
|
export * from "./user-period-payload.dto";
|
|
1336
1337
|
export * from "./user-period-request.dto";
|
|
1337
1338
|
export * from "./user-period-resource-create-export-job-request.dto";
|
|
1338
1339
|
export * from "./user-period-review-request-request.dto";
|
|
1339
1340
|
export * from "./user-period-review-request-status-enum.dto";
|
|
1341
|
+
export * from "./user-period-statistic.dto";
|
|
1340
1342
|
export * from "./user-period-status-enum.dto";
|
|
1343
|
+
export * from "./user-period-total-by-type.dto";
|
|
1341
1344
|
export * from "./user-period-type-enum.dto";
|
|
1345
|
+
export * from "./user-period-year-data.dto";
|
|
1342
1346
|
export * from "./user-periods-create-description-error-component.dto";
|
|
1343
1347
|
export * from "./user-periods-create-error.dto";
|
|
1344
1348
|
export * from "./user-periods-create-error-response400.dto";
|
|
@@ -1376,6 +1380,10 @@ export * from "./user-periods-review-request-create-error-response400.dto";
|
|
|
1376
1380
|
export * from "./user-periods-review-request-create-non-field-errors-error-component.dto";
|
|
1377
1381
|
export * from "./user-periods-review-request-create-status-error-component.dto";
|
|
1378
1382
|
export * from "./user-periods-review-request-create-validation-error.dto";
|
|
1383
|
+
export * from "./user-periods-stats-retrieve-error.dto";
|
|
1384
|
+
export * from "./user-periods-stats-retrieve-error-response400.dto";
|
|
1385
|
+
export * from "./user-periods-stats-retrieve-user-error-component.dto";
|
|
1386
|
+
export * from "./user-periods-stats-retrieve-validation-error.dto";
|
|
1379
1387
|
export * from "./user-periods-update-description-error-component.dto";
|
|
1380
1388
|
export * from "./user-periods-update-error.dto";
|
|
1381
1389
|
export * from "./user-periods-update-error-response400.dto";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delmar Api
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { DateRangeFieldDto } from "./date-range-field.dto";
|
|
11
|
+
import { UserPeriodTypeEnumDto } from "./user-period-type-enum.dto";
|
|
12
|
+
import { SimpleUserPeriodApproverDto } from "./simple-user-period-approver.dto";
|
|
13
|
+
import { UserPeriodStatusEnumDto } from "./user-period-status-enum.dto";
|
|
14
|
+
/**
|
|
15
|
+
* Serializer class for UserPeriod model. Contains less information for user period stats API.
|
|
16
|
+
*/
|
|
17
|
+
export interface UserPeriodForStatsDto {
|
|
18
|
+
readonly id: number;
|
|
19
|
+
readonly created: string;
|
|
20
|
+
readonly modified: string;
|
|
21
|
+
type: UserPeriodTypeEnumDto;
|
|
22
|
+
status: UserPeriodStatusEnumDto;
|
|
23
|
+
period: DateRangeFieldDto;
|
|
24
|
+
readonly approvers_data: Array<SimpleUserPeriodApproverDto>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delmar Api
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { UserPeriodYearDataDto } from "./user-period-year-data.dto";
|
|
11
|
+
import { UserPeriodTotalByTypeDto } from "./user-period-total-by-type.dto";
|
|
12
|
+
/**
|
|
13
|
+
* Serializer class for UserPeriod statistic API.
|
|
14
|
+
*/
|
|
15
|
+
export interface UserPeriodStatisticDto {
|
|
16
|
+
readonly stats: UserPeriodTotalByTypeDto;
|
|
17
|
+
readonly years_stats: Array<UserPeriodYearDataDto>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delmar Api
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Serializer to represent count of user period grouped by type ones.
|
|
12
|
+
*/
|
|
13
|
+
export interface UserPeriodTotalByTypeDto {
|
|
14
|
+
readonly vacation_count: number;
|
|
15
|
+
readonly compensation_count: number;
|
|
16
|
+
readonly sick_count: number;
|
|
17
|
+
readonly personal_holiday_count: number;
|
|
18
|
+
readonly personal_workday_count: number;
|
|
19
|
+
readonly zeroing_count: number;
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delmar Api
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { UserPeriodForStatsDto } from "./user-period-for-stats.dto";
|
|
11
|
+
/**
|
|
12
|
+
* Serializer to present user periods and count ones by type.
|
|
13
|
+
*/
|
|
14
|
+
export interface UserPeriodYearDataDto {
|
|
15
|
+
readonly year: number;
|
|
16
|
+
readonly vacation_days_accumulated: number;
|
|
17
|
+
readonly vacation_days_spent: number;
|
|
18
|
+
readonly vacation_days_left: number;
|
|
19
|
+
readonly user_periods: Array<UserPeriodForStatsDto>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delmar Api
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { ParseErrorResponseDto } from "./parse-error-response.dto";
|
|
11
|
+
import { UserPeriodsStatsRetrieveValidationErrorDto } from "./user-periods-stats-retrieve-validation-error.dto";
|
|
12
|
+
/**
|
|
13
|
+
* @type UserPeriodsStatsRetrieveErrorResponse400Dto
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export type UserPeriodsStatsRetrieveErrorResponse400Dto = ParseErrorResponseDto | UserPeriodsStatsRetrieveValidationErrorDto;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delmar Api
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { UserPeriodsStatsRetrieveUserErrorComponentDto } from "./user-periods-stats-retrieve-user-error-component.dto";
|
|
11
|
+
/**
|
|
12
|
+
* @type UserPeriodsStatsRetrieveErrorDto
|
|
13
|
+
* @export
|
|
14
|
+
*/
|
|
15
|
+
export type UserPeriodsStatsRetrieveErrorDto = UserPeriodsStatsRetrieveUserErrorComponentDto;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delmar Api
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
export interface UserPeriodsStatsRetrieveUserErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `user` - user
|
|
13
|
+
*/
|
|
14
|
+
attr: UserPeriodsStatsRetrieveUserErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `invalid_choice` - invalid_choice
|
|
17
|
+
*/
|
|
18
|
+
code: UserPeriodsStatsRetrieveUserErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum UserPeriodsStatsRetrieveUserErrorComponentDtoAttrEnum {
|
|
22
|
+
User = "user"
|
|
23
|
+
}
|
|
24
|
+
export declare enum UserPeriodsStatsRetrieveUserErrorComponentDtoCodeEnum {
|
|
25
|
+
InvalidChoice = "invalid_choice"
|
|
26
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delmar Api
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { UserPeriodsStatsRetrieveErrorDto } from "./user-periods-stats-retrieve-error.dto";
|
|
11
|
+
import { ValidationErrorEnumDto } from "./validation-error-enum.dto";
|
|
12
|
+
export interface UserPeriodsStatsRetrieveValidationErrorDto {
|
|
13
|
+
type: ValidationErrorEnumDto;
|
|
14
|
+
errors: Array<UserPeriodsStatsRetrieveErrorDto>;
|
|
15
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saritasa/crm-delmar-core-sdk",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.0.
|
|
3
|
+
"version": "0.0.212",
|
|
4
|
+
"description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.0.118)",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|