@saritasa/crm-delmar-core-sdk 0.0.146 → 0.0.148
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/notifications-api.serviceInterface.d.ts +1 -1
- package/esm2022/api/notifications-api.serviceInterface.mjs +1 -1
- package/esm2022/model/models.mjs +3 -1
- package/esm2022/model/notification-data.dto.mjs +1 -1
- package/esm2022/model/notification-type-enum.dto.mjs +4 -2
- package/esm2022/model/notify-data-user-score.dto.mjs +2 -0
- package/esm2022/model/user-score-payload.dto.mjs +2 -0
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs +3 -1
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs.map +1 -1
- package/model/models.d.ts +2 -0
- package/model/notification-data.dto.d.ts +2 -1
- package/model/notification-type-enum.dto.d.ts +3 -1
- package/model/notify-data-user-score.dto.d.ts +22 -0
- package/model/user-score-payload.dto.d.ts +20 -0
- package/package.json +2 -2
package/model/models.d.ts
CHANGED
|
@@ -545,6 +545,7 @@ export * from "./notifications-unread-create-error-response400.dto";
|
|
|
545
545
|
export * from "./notify-data-department.dto";
|
|
546
546
|
export * from "./notify-data-user.dto";
|
|
547
547
|
export * from "./notify-data-user-period.dto";
|
|
548
|
+
export * from "./notify-data-user-score.dto";
|
|
548
549
|
export * from "./open-id-code-exchange-request.dto";
|
|
549
550
|
export * from "./open-id-redirect.dto";
|
|
550
551
|
export * from "./paginated-branch-list.dto";
|
|
@@ -956,6 +957,7 @@ export * from "./user-periods-update-validation-error.dto";
|
|
|
956
957
|
export * from "./user-request.dto";
|
|
957
958
|
export * from "./user-resource-create-export-job-request.dto";
|
|
958
959
|
export * from "./user-score.dto";
|
|
960
|
+
export * from "./user-score-payload.dto";
|
|
959
961
|
export * from "./user-score-request.dto";
|
|
960
962
|
export * from "./user-scores-create-comment-error-component.dto";
|
|
961
963
|
export * from "./user-scores-create-error.dto";
|
|
@@ -9,8 +9,9 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import { UserPeriodPayloadDto } from "./user-period-payload.dto";
|
|
11
11
|
import { NotificationPayloadDto } from "./notification-payload.dto";
|
|
12
|
+
import { UserScorePayloadDto } from "./user-score-payload.dto";
|
|
12
13
|
/**
|
|
13
14
|
* @type NotificationDataDto
|
|
14
15
|
* @export
|
|
15
16
|
*/
|
|
16
|
-
export type NotificationDataDto = NotificationPayloadDto | UserPeriodPayloadDto;
|
|
17
|
+
export type NotificationDataDto = NotificationPayloadDto | UserPeriodPayloadDto | UserScorePayloadDto;
|
|
@@ -8,9 +8,11 @@
|
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
|
-
* * `new_vacation` - New vacation * `updated_vacation` - Updated vacation * `vacation_approved` - Vacation approved * `vacation_rejected` - Vacation rejected * `new_sick` - New sick * `new_personal_holiday` - New personal holiday * `new_personal_workday` - New personal workday * `new_compensation` - New compensation * `updated_sick` - Updated sick * `updated_personal_holiday` - Updated personal holiday * `updated_personal_workday` - Updated personal workday * `deleted_sick` - Deleted sick * `deleted_personal_holiday` - Deleted personal holiday * `deleted_personal_workday` - Deleted personal workday
|
|
11
|
+
* * `new_user_score` - New user score * `new_user_score_for_supervisee` - New user score for supervisee * `new_vacation` - New vacation * `updated_vacation` - Updated vacation * `vacation_approved` - Vacation approved * `vacation_rejected` - Vacation rejected * `new_sick` - New sick * `new_personal_holiday` - New personal holiday * `new_personal_workday` - New personal workday * `new_compensation` - New compensation * `updated_sick` - Updated sick * `updated_personal_holiday` - Updated personal holiday * `updated_personal_workday` - Updated personal workday * `deleted_sick` - Deleted sick * `deleted_personal_holiday` - Deleted personal holiday * `deleted_personal_workday` - Deleted personal workday
|
|
12
12
|
*/
|
|
13
13
|
export declare enum NotificationTypeEnumDto {
|
|
14
|
+
NewUserScore = "new_user_score",
|
|
15
|
+
NewUserScoreForSupervisee = "new_user_score_for_supervisee",
|
|
14
16
|
NewVacation = "new_vacation",
|
|
15
17
|
UpdatedVacation = "updated_vacation",
|
|
16
18
|
VacationApproved = "vacation_approved",
|
|
@@ -0,0 +1,22 @@
|
|
|
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 { NotifyDataUserDto } from "./notify-data-user.dto";
|
|
11
|
+
/**
|
|
12
|
+
* Representation of UserScore
|
|
13
|
+
*/
|
|
14
|
+
export interface NotifyDataUserScoreDto {
|
|
15
|
+
id: number;
|
|
16
|
+
created: string;
|
|
17
|
+
modified: string;
|
|
18
|
+
receiver: NotifyDataUserDto;
|
|
19
|
+
created_by: NotifyDataUserDto;
|
|
20
|
+
score: number;
|
|
21
|
+
comment: string;
|
|
22
|
+
}
|
|
@@ -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 { NotifyDataUserScoreDto } from "./notify-data-user-score.dto";
|
|
11
|
+
import { NotifyDataUserDto } from "./notify-data-user.dto";
|
|
12
|
+
/**
|
|
13
|
+
* Representation of UserScorePayload
|
|
14
|
+
*/
|
|
15
|
+
export interface UserScorePayloadDto {
|
|
16
|
+
triggered_by: NotifyDataUserDto | null;
|
|
17
|
+
user_score: NotifyDataUserScoreDto;
|
|
18
|
+
serializer_type?: string;
|
|
19
|
+
is_fallback?: boolean;
|
|
20
|
+
}
|
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.148",
|
|
4
|
+
"description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.0.89)",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|