@saritasa/crm-delmar-core-sdk 0.1.10 → 0.1.11

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/model/models.d.ts CHANGED
@@ -926,6 +926,8 @@ export * from "./notifications-list-type-in-error-component.dto";
926
926
  export * from "./notifications-list-validation-error.dto";
927
927
  export * from "./notify-data-department.dto";
928
928
  export * from "./notify-data-user.dto";
929
+ export * from "./notify-data-user-period-approver.dto";
930
+ export * from "./notify-data-user-period-approver-with-period.dto";
929
931
  export * from "./notify-data-user-period.dto";
930
932
  export * from "./notify-data-user-score.dto";
931
933
  export * from "./open-id-code-exchange-request.dto";
@@ -1611,6 +1613,7 @@ export * from "./user-logins-update-is-staff-error-component.dto";
1611
1613
  export * from "./user-logins-update-non-field-errors-error-component.dto";
1612
1614
  export * from "./user-logins-update-role-error-component.dto";
1613
1615
  export * from "./user-logins-update-validation-error.dto";
1616
+ export * from "./user-period-approver-payload.dto";
1614
1617
  export * from "./user-period.dto";
1615
1618
  export * from "./user-period-for-stats.dto";
1616
1619
  export * from "./user-period-payload.dto";
@@ -8,10 +8,11 @@
8
8
  * Do not edit the class manually.
9
9
  */
10
10
  import { UserPeriodPayloadDto } from "./user-period-payload.dto";
11
+ import { UserPeriodApproverPayloadDto } from "./user-period-approver-payload.dto";
11
12
  import { NotificationPayloadDto } from "./notification-payload.dto";
12
13
  import { UserScorePayloadDto } from "./user-score-payload.dto";
13
14
  /**
14
15
  * @type NotificationDataDto
15
16
  * @export
16
17
  */
17
- export type NotificationDataDto = NotificationPayloadDto | UserPeriodPayloadDto | UserScorePayloadDto;
18
+ export type NotificationDataDto = NotificationPayloadDto | UserPeriodApproverPayloadDto | UserPeriodPayloadDto | UserScorePayloadDto;
@@ -8,7 +8,7 @@
8
8
  * Do not edit the class manually.
9
9
  */
10
10
  /**
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 * `vacation_approval_reminder` - Vacation approval reminder * `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 * `vacation_approval_reminder` - Vacation approval reminder * `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 * `user_period_approver_approved` - Approver approved user period
12
12
  */
13
13
  export declare enum NotificationTypeEnumDto {
14
14
  NewUserScore = "new_user_score",
@@ -27,5 +27,6 @@ export declare enum NotificationTypeEnumDto {
27
27
  UpdatedPersonalWorkday = "updated_personal_workday",
28
28
  DeletedSick = "deleted_sick",
29
29
  DeletedPersonalHoliday = "deleted_personal_holiday",
30
- DeletedPersonalWorkday = "deleted_personal_workday"
30
+ DeletedPersonalWorkday = "deleted_personal_workday",
31
+ UserPeriodApproverApproved = "user_period_approver_approved"
31
32
  }
@@ -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
+ import { NotifyDataUserDto } from "./notify-data-user.dto";
11
+ import { NotifyDataUserPeriodDto } from "./notify-data-user-period.dto";
12
+ import { UserPeriodStatusEnumDto } from "./user-period-status-enum.dto";
13
+ /**
14
+ * Representation of UserPeriodApproverWithPeriod
15
+ */
16
+ export interface NotifyDataUserPeriodApproverWithPeriodDto {
17
+ id: number;
18
+ created: string;
19
+ modified: string;
20
+ approver: NotifyDataUserDto;
21
+ status: UserPeriodStatusEnumDto;
22
+ status_updated: string | null;
23
+ comment: string;
24
+ user_period: NotifyDataUserPeriodDto;
25
+ approver_avatar_url?: string;
26
+ }
@@ -0,0 +1,24 @@
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
+ import { UserPeriodStatusEnumDto } from "./user-period-status-enum.dto";
12
+ /**
13
+ * Representation of UserPeriodApprover
14
+ */
15
+ export interface NotifyDataUserPeriodApproverDto {
16
+ id: number;
17
+ created: string;
18
+ modified: string;
19
+ approver: NotifyDataUserDto;
20
+ status: UserPeriodStatusEnumDto;
21
+ status_updated: string | null;
22
+ comment: string;
23
+ approver_avatar_url?: string;
24
+ }
@@ -8,6 +8,7 @@
8
8
  * Do not edit the class manually.
9
9
  */
10
10
  import { DateRangeFieldDto } from "./date-range-field.dto";
11
+ import { NotifyDataUserPeriodApproverDto } from "./notify-data-user-period-approver.dto";
11
12
  import { UserPeriodTypeEnumDto } from "./user-period-type-enum.dto";
12
13
  import { NotifyDataUserDto } from "./notify-data-user.dto";
13
14
  import { UserPeriodStatusEnumDto } from "./user-period-status-enum.dto";
@@ -25,4 +26,5 @@ export interface NotifyDataUserPeriodDto {
25
26
  type: UserPeriodTypeEnumDto;
26
27
  file: string;
27
28
  description: string;
29
+ approvers: Array<NotifyDataUserPeriodApproverDto>;
28
30
  }
@@ -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 { NotifyDataUserPeriodApproverWithPeriodDto } from "./notify-data-user-period-approver-with-period.dto";
11
+ import { NotifyDataUserDto } from "./notify-data-user.dto";
12
+ /**
13
+ * Representation of UserPeriodApproverPayload
14
+ */
15
+ export interface UserPeriodApproverPayloadDto {
16
+ triggered_by: NotifyDataUserDto | null;
17
+ user_period_approver: NotifyDataUserPeriodApproverWithPeriodDto;
18
+ serializer_type?: string;
19
+ is_fallback?: boolean;
20
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saritasa/crm-delmar-core-sdk",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.1.12)",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {