@saritasa/crm-delmar-core-sdk 0.0.98 → 0.0.100

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.
Files changed (29) hide show
  1. package/README.md +2 -2
  2. package/api/export-users-api.serviceInterface.d.ts +2 -0
  3. package/api/notifications-api.service.d.ts +22 -1
  4. package/api/notifications-api.serviceInterface.d.ts +9 -0
  5. package/esm2022/api/export-users-api.service.mjs +9 -1
  6. package/esm2022/api/export-users-api.serviceInterface.mjs +1 -1
  7. package/esm2022/api/notifications-api.service.mjs +58 -1
  8. package/esm2022/api/notifications-api.serviceInterface.mjs +1 -1
  9. package/esm2022/model/file-format-enum.dto.mjs +3 -2
  10. package/esm2022/model/models.mjs +3 -1
  11. package/esm2022/model/notification.dto.mjs +1 -1
  12. package/esm2022/model/notifications-destroy-error-response400.dto.mjs +2 -0
  13. package/esm2022/model/notify-data-department.dto.mjs +11 -0
  14. package/esm2022/model/notify-data-notification-payload.dto.mjs +1 -1
  15. package/esm2022/model/notify-data-user-period-payload.dto.mjs +1 -1
  16. package/esm2022/model/notify-data-user-period.dto.mjs +1 -1
  17. package/esm2022/model/notify-data-user.dto.mjs +1 -10
  18. package/fesm2022/saritasa-crm-delmar-core-sdk.mjs +67 -1
  19. package/fesm2022/saritasa-crm-delmar-core-sdk.mjs.map +1 -1
  20. package/model/file-format-enum.dto.d.ts +2 -1
  21. package/model/models.d.ts +2 -0
  22. package/model/notification.dto.d.ts +1 -0
  23. package/model/notifications-destroy-error-response400.dto.d.ts +15 -0
  24. package/model/notify-data-department.dto.d.ts +19 -0
  25. package/model/notify-data-notification-payload.dto.d.ts +1 -0
  26. package/model/notify-data-user-period-payload.dto.d.ts +1 -0
  27. package/model/notify-data-user-period.dto.d.ts +1 -1
  28. package/model/notify-data-user.dto.d.ts +2 -0
  29. package/package.json +2 -2
@@ -8,9 +8,10 @@
8
8
  * Do not edit the class manually.
9
9
  */
10
10
  /**
11
- * * `csv` - csv * `xlsx` - xlsx
11
+ * * `csv` - csv * `xls` - xls * `xlsx` - xlsx
12
12
  */
13
13
  export declare enum FileFormatEnumDto {
14
14
  Csv = "csv",
15
+ Xls = "xls",
15
16
  Xlsx = "xlsx"
16
17
  }
package/model/models.d.ts CHANGED
@@ -304,6 +304,7 @@ export * from "./notification-data.dto";
304
304
  export * from "./notification.dto";
305
305
  export * from "./notification-type-enum.dto";
306
306
  export * from "./notifications-delete-all-destroy-error-response400.dto";
307
+ export * from "./notifications-destroy-error-response400.dto";
307
308
  export * from "./notifications-list-created-gt-error-component.dto";
308
309
  export * from "./notifications-list-created-gte-error-component.dto";
309
310
  export * from "./notifications-list-created-lt-error-component.dto";
@@ -322,6 +323,7 @@ export * from "./notifications-list-validation-error.dto";
322
323
  export * from "./notifications-read-create-error-response400.dto";
323
324
  export * from "./notifications-retrieve-error-response400.dto";
324
325
  export * from "./notifications-unread-create-error-response400.dto";
326
+ export * from "./notify-data-department.dto";
325
327
  export * from "./notify-data-notification-payload.dto";
326
328
  export * from "./notify-data-user.dto";
327
329
  export * from "./notify-data-user-period.dto";
@@ -19,4 +19,5 @@ export interface NotificationDto {
19
19
  type: NotificationTypeEnumDto;
20
20
  readonly data_payload: NotificationDataDto;
21
21
  is_read?: boolean;
22
+ object_id?: number | null;
22
23
  }
@@ -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 { ParseErrorResponseDto } from "./parse-error-response.dto";
11
+ /**
12
+ * @type NotificationsDestroyErrorResponse400Dto
13
+ * @export
14
+ */
15
+ export type NotificationsDestroyErrorResponse400Dto = ParseErrorResponseDto;
@@ -0,0 +1,19 @@
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
+ * Representation of Department
12
+ */
13
+ export interface NotifyDataDepartmentDto {
14
+ id: number;
15
+ created: string;
16
+ modified: string;
17
+ name: string;
18
+ color: string;
19
+ }
@@ -14,4 +14,5 @@ import { NotifyDataUserDto } from "./notify-data-user.dto";
14
14
  export interface NotifyDataNotificationPayloadDto {
15
15
  triggered_by: NotifyDataUserDto | null;
16
16
  serializer_type?: string;
17
+ is_fallback?: boolean;
17
18
  }
@@ -16,4 +16,5 @@ export interface NotifyDataUserPeriodPayloadDto {
16
16
  triggered_by: NotifyDataUserDto | null;
17
17
  user_period: NotifyDataUserPeriodDto;
18
18
  serializer_type?: string;
19
+ is_fallback?: boolean;
19
20
  }
@@ -15,7 +15,7 @@ import { UserPeriodStatusEnumDto } from "./user-period-status-enum.dto";
15
15
  * Representation of UserPeriod
16
16
  */
17
17
  export interface NotifyDataUserPeriodDto {
18
- id: number | null;
18
+ id: number;
19
19
  created: string;
20
20
  modified: string;
21
21
  user: NotifyDataUserDto;
@@ -7,6 +7,7 @@
7
7
  * https://openapi-generator.tech
8
8
  * Do not edit the class manually.
9
9
  */
10
+ import { NotifyDataDepartmentDto } from "./notify-data-department.dto";
10
11
  /**
11
12
  * Representation of User
12
13
  */
@@ -19,6 +20,7 @@ export interface NotifyDataUserDto {
19
20
  last_name: string;
20
21
  email: string;
21
22
  avatar: string;
23
+ department: NotifyDataDepartmentDto;
22
24
  department_id: number;
23
25
  branch_id: number;
24
26
  work_type_id: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@saritasa/crm-delmar-core-sdk",
3
- "version": "0.0.98",
4
- "description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.0.75)",
3
+ "version": "0.0.100",
4
+ "description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.0.77)",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
7
7
  "type": "git",