@saritasa/crm-delmar-core-sdk 0.0.124 → 0.0.126
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/api.d.ts +7 -1
- package/api/client-notes-api.service.d.ts +61 -0
- package/api/client-notes-api.serviceInterface.d.ts +43 -0
- package/api/project-notes-api.service.d.ts +61 -0
- package/api/project-notes-api.serviceInterface.d.ts +43 -0
- package/api/roles-api.serviceInterface.d.ts +1 -1
- package/esm2022/api/api.mjs +9 -1
- package/esm2022/api/client-notes-api.service.mjs +241 -0
- package/esm2022/api/client-notes-api.serviceInterface.mjs +2 -0
- package/esm2022/api/project-notes-api.service.mjs +241 -0
- package/esm2022/api/project-notes-api.serviceInterface.mjs +2 -0
- package/esm2022/api/roles-api.serviceInterface.mjs +1 -1
- package/esm2022/model/client-note.dto.mjs +2 -0
- package/esm2022/model/client-notes-list-client-error-component.dto.mjs +18 -0
- package/esm2022/model/client-notes-list-client-in-error-component.dto.mjs +18 -0
- package/esm2022/model/client-notes-list-error-response400.dto.mjs +2 -0
- package/esm2022/model/client-notes-list-error.dto.mjs +2 -0
- package/esm2022/model/client-notes-list-id-error-component.dto.mjs +19 -0
- package/esm2022/model/client-notes-list-id-in-error-component.dto.mjs +19 -0
- package/esm2022/model/client-notes-list-validation-error.dto.mjs +2 -0
- package/esm2022/model/client-notes-retrieve-error-response400.dto.mjs +2 -0
- package/esm2022/model/client-project-note-file.dto.mjs +11 -0
- package/esm2022/model/group-enum.dto.mjs +19 -0
- package/esm2022/model/models.mjs +23 -2
- package/esm2022/model/paginated-client-note-list.dto.mjs +2 -0
- package/esm2022/model/paginated-project-note-list.dto.mjs +2 -0
- package/esm2022/model/permission-data-request.dto.mjs +1 -1
- package/esm2022/model/permission-data.dto.mjs +1 -1
- package/esm2022/model/permission-enum.dto.mjs +3 -2
- package/esm2022/model/project-note.dto.mjs +2 -0
- package/esm2022/model/project-notes-list-error-response400.dto.mjs +2 -0
- package/esm2022/model/project-notes-list-error.dto.mjs +2 -0
- package/esm2022/model/project-notes-list-id-error-component.dto.mjs +19 -0
- package/esm2022/model/project-notes-list-id-in-error-component.dto.mjs +19 -0
- package/esm2022/model/project-notes-list-project-error-component.dto.mjs +18 -0
- package/esm2022/model/project-notes-list-project-in-error-component.dto.mjs +18 -0
- package/esm2022/model/project-notes-list-validation-error.dto.mjs +2 -0
- package/esm2022/model/project-notes-retrieve-error-response400.dto.mjs +2 -0
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs +676 -50
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs.map +1 -1
- package/model/client-note.dto.d.ts +30 -0
- package/model/client-notes-list-client-error-component.dto.d.ts +26 -0
- package/model/client-notes-list-client-in-error-component.dto.d.ts +26 -0
- package/model/client-notes-list-error-response400.dto.d.ts +16 -0
- package/model/client-notes-list-error.dto.d.ts +18 -0
- package/model/client-notes-list-id-error-component.dto.d.ts +27 -0
- package/model/client-notes-list-id-in-error-component.dto.d.ts +27 -0
- package/model/client-notes-list-validation-error.dto.d.ts +15 -0
- package/model/client-notes-retrieve-error-response400.dto.d.ts +15 -0
- package/model/client-project-note-file.dto.d.ts +18 -0
- package/model/{permission-group-enum.dto.d.ts → group-enum.dto.d.ts} +4 -3
- package/model/models.d.ts +22 -1
- package/model/paginated-client-note-list.dto.d.ts +16 -0
- package/model/paginated-project-note-list.dto.d.ts +16 -0
- package/model/permission-data-request.dto.d.ts +2 -2
- package/model/permission-data.dto.d.ts +2 -2
- package/model/permission-enum.dto.d.ts +3 -2
- package/model/project-note.dto.d.ts +30 -0
- package/model/project-notes-list-error-response400.dto.d.ts +16 -0
- package/model/project-notes-list-error.dto.d.ts +18 -0
- package/model/project-notes-list-id-error-component.dto.d.ts +27 -0
- package/model/project-notes-list-id-in-error-component.dto.d.ts +27 -0
- package/model/project-notes-list-project-error-component.dto.d.ts +26 -0
- package/model/project-notes-list-project-in-error-component.dto.d.ts +26 -0
- package/model/project-notes-list-validation-error.dto.d.ts +15 -0
- package/model/project-notes-retrieve-error-response400.dto.d.ts +15 -0
- package/package.json +2 -2
- package/esm2022/model/permission-group-enum.dto.mjs +0 -18
|
@@ -0,0 +1,30 @@
|
|
|
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 { SimpleUserDto } from "./simple-user.dto";
|
|
11
|
+
import { ClientProjectNoteFileDto } from "./client-project-note-file.dto";
|
|
12
|
+
import { SimpleClientDto } from "./simple-client.dto";
|
|
13
|
+
/**
|
|
14
|
+
* Serializer for client\'s notes.
|
|
15
|
+
*/
|
|
16
|
+
export interface ClientNoteDto {
|
|
17
|
+
readonly id: number;
|
|
18
|
+
readonly created: string;
|
|
19
|
+
readonly modified: string;
|
|
20
|
+
title: string;
|
|
21
|
+
description: string;
|
|
22
|
+
files: Array<number>;
|
|
23
|
+
readonly files_data: Array<ClientProjectNoteFileDto>;
|
|
24
|
+
readonly created_by: number | null;
|
|
25
|
+
readonly created_by_data: SimpleUserDto;
|
|
26
|
+
readonly updated_by: number | null;
|
|
27
|
+
readonly updated_by_data: SimpleUserDto;
|
|
28
|
+
readonly client_data: SimpleClientDto;
|
|
29
|
+
client?: number | null;
|
|
30
|
+
}
|
|
@@ -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 ClientNotesListClientErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `client` - client
|
|
13
|
+
*/
|
|
14
|
+
attr: ClientNotesListClientErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `invalid_choice` - invalid_choice
|
|
17
|
+
*/
|
|
18
|
+
code: ClientNotesListClientErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum ClientNotesListClientErrorComponentDtoAttrEnum {
|
|
22
|
+
Client = "client"
|
|
23
|
+
}
|
|
24
|
+
export declare enum ClientNotesListClientErrorComponentDtoCodeEnum {
|
|
25
|
+
InvalidChoice = "invalid_choice"
|
|
26
|
+
}
|
|
@@ -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 ClientNotesListClientInErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `client__in` - client__in
|
|
13
|
+
*/
|
|
14
|
+
attr: ClientNotesListClientInErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `invalid_choice` - invalid_choice
|
|
17
|
+
*/
|
|
18
|
+
code: ClientNotesListClientInErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum ClientNotesListClientInErrorComponentDtoAttrEnum {
|
|
22
|
+
ClientIn = "client__in"
|
|
23
|
+
}
|
|
24
|
+
export declare enum ClientNotesListClientInErrorComponentDtoCodeEnum {
|
|
25
|
+
InvalidChoice = "invalid_choice"
|
|
26
|
+
}
|
|
@@ -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 { ClientNotesListValidationErrorDto } from "./client-notes-list-validation-error.dto";
|
|
12
|
+
/**
|
|
13
|
+
* @type ClientNotesListErrorResponse400Dto
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export type ClientNotesListErrorResponse400Dto = ClientNotesListValidationErrorDto | ParseErrorResponseDto;
|
|
@@ -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 { ClientNotesListClientErrorComponentDto } from "./client-notes-list-client-error-component.dto";
|
|
11
|
+
import { ClientNotesListIdErrorComponentDto } from "./client-notes-list-id-error-component.dto";
|
|
12
|
+
import { ClientNotesListIdInErrorComponentDto } from "./client-notes-list-id-in-error-component.dto";
|
|
13
|
+
import { ClientNotesListClientInErrorComponentDto } from "./client-notes-list-client-in-error-component.dto";
|
|
14
|
+
/**
|
|
15
|
+
* @type ClientNotesListErrorDto
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export type ClientNotesListErrorDto = ClientNotesListClientErrorComponentDto | ClientNotesListClientInErrorComponentDto | ClientNotesListIdErrorComponentDto | ClientNotesListIdInErrorComponentDto;
|
|
@@ -0,0 +1,27 @@
|
|
|
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 ClientNotesListIdErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `id` - id
|
|
13
|
+
*/
|
|
14
|
+
attr: ClientNotesListIdErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `invalid` - invalid * `max_value` - max_value
|
|
17
|
+
*/
|
|
18
|
+
code: ClientNotesListIdErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum ClientNotesListIdErrorComponentDtoAttrEnum {
|
|
22
|
+
Id = "id"
|
|
23
|
+
}
|
|
24
|
+
export declare enum ClientNotesListIdErrorComponentDtoCodeEnum {
|
|
25
|
+
Invalid = "invalid",
|
|
26
|
+
MaxValue = "max_value"
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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 ClientNotesListIdInErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `id__in` - id__in
|
|
13
|
+
*/
|
|
14
|
+
attr: ClientNotesListIdInErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `invalid` - invalid * `max_value` - max_value
|
|
17
|
+
*/
|
|
18
|
+
code: ClientNotesListIdInErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum ClientNotesListIdInErrorComponentDtoAttrEnum {
|
|
22
|
+
IdIn = "id__in"
|
|
23
|
+
}
|
|
24
|
+
export declare enum ClientNotesListIdInErrorComponentDtoCodeEnum {
|
|
25
|
+
Invalid = "invalid",
|
|
26
|
+
MaxValue = "max_value"
|
|
27
|
+
}
|
|
@@ -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 { ValidationErrorEnumDto } from "./validation-error-enum.dto";
|
|
11
|
+
import { ClientNotesListErrorDto } from "./client-notes-list-error.dto";
|
|
12
|
+
export interface ClientNotesListValidationErrorDto {
|
|
13
|
+
type: ValidationErrorEnumDto;
|
|
14
|
+
errors: Array<ClientNotesListErrorDto>;
|
|
15
|
+
}
|
|
@@ -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 ClientNotesRetrieveErrorResponse400Dto
|
|
13
|
+
* @export
|
|
14
|
+
*/
|
|
15
|
+
export type ClientNotesRetrieveErrorResponse400Dto = ParseErrorResponseDto;
|
|
@@ -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
|
+
/**
|
|
11
|
+
* Serializer for ClientProjectNoteFile model.
|
|
12
|
+
*/
|
|
13
|
+
export interface ClientProjectNoteFileDto {
|
|
14
|
+
readonly id: number;
|
|
15
|
+
readonly created: string;
|
|
16
|
+
readonly modified: string;
|
|
17
|
+
file: string;
|
|
18
|
+
}
|
|
@@ -8,9 +8,10 @@
|
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
|
-
* * `calendar` - calendar * `people` - people
|
|
11
|
+
* * `calendar` - calendar * `people` - people * `project` - project
|
|
12
12
|
*/
|
|
13
|
-
export declare enum
|
|
13
|
+
export declare enum GroupEnumDto {
|
|
14
14
|
Calendar = "calendar",
|
|
15
|
-
People = "people"
|
|
15
|
+
People = "people",
|
|
16
|
+
Project = "project"
|
|
16
17
|
}
|
package/model/models.d.ts
CHANGED
|
@@ -92,6 +92,16 @@ export * from "./branches-users-stats-list-validation-error.dto";
|
|
|
92
92
|
export * from "./client.dto";
|
|
93
93
|
export * from "./client-error-enum.dto";
|
|
94
94
|
export * from "./client-month-stats.dto";
|
|
95
|
+
export * from "./client-note.dto";
|
|
96
|
+
export * from "./client-notes-list-client-error-component.dto";
|
|
97
|
+
export * from "./client-notes-list-client-in-error-component.dto";
|
|
98
|
+
export * from "./client-notes-list-error.dto";
|
|
99
|
+
export * from "./client-notes-list-error-response400.dto";
|
|
100
|
+
export * from "./client-notes-list-id-error-component.dto";
|
|
101
|
+
export * from "./client-notes-list-id-in-error-component.dto";
|
|
102
|
+
export * from "./client-notes-list-validation-error.dto";
|
|
103
|
+
export * from "./client-notes-retrieve-error-response400.dto";
|
|
104
|
+
export * from "./client-project-note-file.dto";
|
|
95
105
|
export * from "./client-stats.dto";
|
|
96
106
|
export * from "./client-status-enum.dto";
|
|
97
107
|
export * from "./clients-list-account-manager-error-component.dto";
|
|
@@ -364,6 +374,7 @@ export * from "./export-users-start-create-file-format-error-component.dto";
|
|
|
364
374
|
export * from "./export-users-start-create-non-field-errors-error-component.dto";
|
|
365
375
|
export * from "./export-users-start-create-validation-error.dto";
|
|
366
376
|
export * from "./file-format-enum.dto";
|
|
377
|
+
export * from "./group-enum.dto";
|
|
367
378
|
export * from "./jira-client-create-project-create-error.dto";
|
|
368
379
|
export * from "./jira-client-create-project-create-error-response400.dto";
|
|
369
380
|
export * from "./jira-client-create-project-create-instance-error-component.dto";
|
|
@@ -515,6 +526,7 @@ export * from "./paginated-branch-list.dto";
|
|
|
515
526
|
export * from "./paginated-branch-period-list.dto";
|
|
516
527
|
export * from "./paginated-branch-user-stats-list.dto";
|
|
517
528
|
export * from "./paginated-client-list.dto";
|
|
529
|
+
export * from "./paginated-client-note-list.dto";
|
|
518
530
|
export * from "./paginated-department-list.dto";
|
|
519
531
|
export * from "./paginated-dismissal-reason-list.dto";
|
|
520
532
|
export * from "./paginated-export-job-list.dto";
|
|
@@ -523,6 +535,7 @@ export * from "./paginated-job-list.dto";
|
|
|
523
535
|
export * from "./paginated-location-list.dto";
|
|
524
536
|
export * from "./paginated-notification-list.dto";
|
|
525
537
|
export * from "./paginated-project-list.dto";
|
|
538
|
+
export * from "./paginated-project-note-list.dto";
|
|
526
539
|
export * from "./paginated-project-serializer-with-month-stats-list.dto";
|
|
527
540
|
export * from "./paginated-project-serializer-with-stats-list.dto";
|
|
528
541
|
export * from "./paginated-role-list.dto";
|
|
@@ -548,7 +561,6 @@ export * from "./permission-data.dto";
|
|
|
548
561
|
export * from "./permission-data-list-error-response400.dto";
|
|
549
562
|
export * from "./permission-data-request.dto";
|
|
550
563
|
export * from "./permission-enum.dto";
|
|
551
|
-
export * from "./permission-group-enum.dto";
|
|
552
564
|
export * from "./priority-enum.dto";
|
|
553
565
|
export * from "./production-chart.dto";
|
|
554
566
|
export * from "./production-chart-point.dto";
|
|
@@ -577,6 +589,15 @@ export * from "./profile-update-updated-by-error-component.dto";
|
|
|
577
589
|
export * from "./profile-update-validation-error.dto";
|
|
578
590
|
export * from "./progress-info.dto";
|
|
579
591
|
export * from "./project.dto";
|
|
592
|
+
export * from "./project-note.dto";
|
|
593
|
+
export * from "./project-notes-list-error.dto";
|
|
594
|
+
export * from "./project-notes-list-error-response400.dto";
|
|
595
|
+
export * from "./project-notes-list-id-error-component.dto";
|
|
596
|
+
export * from "./project-notes-list-id-in-error-component.dto";
|
|
597
|
+
export * from "./project-notes-list-project-error-component.dto";
|
|
598
|
+
export * from "./project-notes-list-project-in-error-component.dto";
|
|
599
|
+
export * from "./project-notes-list-validation-error.dto";
|
|
600
|
+
export * from "./project-notes-retrieve-error-response400.dto";
|
|
580
601
|
export * from "./project-priorities-list-color-error-component.dto";
|
|
581
602
|
export * from "./project-priorities-list-color-in-error-component.dto";
|
|
582
603
|
export * from "./project-priorities-list-error.dto";
|
|
@@ -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 { ClientNoteDto } from "./client-note.dto";
|
|
11
|
+
export interface PaginatedClientNoteListDto {
|
|
12
|
+
count: number;
|
|
13
|
+
results: Array<ClientNoteDto>;
|
|
14
|
+
next?: string | null;
|
|
15
|
+
previous?: string | null;
|
|
16
|
+
}
|
|
@@ -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 { ProjectNoteDto } from "./project-note.dto";
|
|
11
|
+
export interface PaginatedProjectNoteListDto {
|
|
12
|
+
count: number;
|
|
13
|
+
results: Array<ProjectNoteDto>;
|
|
14
|
+
next?: string | null;
|
|
15
|
+
previous?: string | null;
|
|
16
|
+
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* https://openapi-generator.tech
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
|
-
import {
|
|
10
|
+
import { GroupEnumDto } from "./group-enum.dto";
|
|
11
11
|
import { PermissionEnumDto } from "./permission-enum.dto";
|
|
12
12
|
/**
|
|
13
13
|
* Serializer for PermissionData.
|
|
@@ -16,5 +16,5 @@ export interface PermissionDataRequestDto {
|
|
|
16
16
|
name: PermissionEnumDto;
|
|
17
17
|
readable_name: string;
|
|
18
18
|
description: string;
|
|
19
|
-
group:
|
|
19
|
+
group: GroupEnumDto;
|
|
20
20
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* https://openapi-generator.tech
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
|
-
import {
|
|
10
|
+
import { GroupEnumDto } from "./group-enum.dto";
|
|
11
11
|
import { PermissionEnumDto } from "./permission-enum.dto";
|
|
12
12
|
/**
|
|
13
13
|
* Serializer for PermissionData.
|
|
@@ -16,5 +16,5 @@ export interface PermissionDataDto {
|
|
|
16
16
|
name: PermissionEnumDto;
|
|
17
17
|
readable_name: string;
|
|
18
18
|
description: string;
|
|
19
|
-
group:
|
|
19
|
+
group: GroupEnumDto;
|
|
20
20
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
|
-
* * `manage_branch_periods` - Manage branch periods * `vacation_request` - Vacation request * `create_update_pto_user_periods` - Create and update PTO user periods * `delete_pto_user_periods` - Delete PTO user periods * `approve_reject_vacations` - Approve and reject vacations * `delete_vacations` - Delete vacations * `manage_users` - Manage users
|
|
11
|
+
* * `manage_branch_periods` - Manage branch periods * `vacation_request` - Vacation request * `create_update_pto_user_periods` - Create and update PTO user periods * `delete_pto_user_periods` - Delete PTO user periods * `approve_reject_vacations` - Approve and reject vacations * `delete_vacations` - Delete vacations * `manage_users` - Manage users * `manage_clients` - Manage clients
|
|
12
12
|
*/
|
|
13
13
|
export declare enum PermissionEnumDto {
|
|
14
14
|
ManageBranchPeriods = "manage_branch_periods",
|
|
@@ -17,5 +17,6 @@ export declare enum PermissionEnumDto {
|
|
|
17
17
|
DeletePtoUserPeriods = "delete_pto_user_periods",
|
|
18
18
|
ApproveRejectVacations = "approve_reject_vacations",
|
|
19
19
|
DeleteVacations = "delete_vacations",
|
|
20
|
-
ManageUsers = "manage_users"
|
|
20
|
+
ManageUsers = "manage_users",
|
|
21
|
+
ManageClients = "manage_clients"
|
|
21
22
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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 { SimpleUserDto } from "./simple-user.dto";
|
|
11
|
+
import { ClientProjectNoteFileDto } from "./client-project-note-file.dto";
|
|
12
|
+
import { SimpleProjectDto } from "./simple-project.dto";
|
|
13
|
+
/**
|
|
14
|
+
* Serializer for project\'s notes.
|
|
15
|
+
*/
|
|
16
|
+
export interface ProjectNoteDto {
|
|
17
|
+
readonly id: number;
|
|
18
|
+
readonly created: string;
|
|
19
|
+
readonly modified: string;
|
|
20
|
+
title: string;
|
|
21
|
+
description: string;
|
|
22
|
+
files: Array<number>;
|
|
23
|
+
readonly files_data: Array<ClientProjectNoteFileDto>;
|
|
24
|
+
readonly created_by: number | null;
|
|
25
|
+
readonly created_by_data: SimpleUserDto;
|
|
26
|
+
readonly updated_by: number | null;
|
|
27
|
+
readonly updated_by_data: SimpleUserDto;
|
|
28
|
+
readonly project_data: SimpleProjectDto;
|
|
29
|
+
project?: number | null;
|
|
30
|
+
}
|
|
@@ -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 { ProjectNotesListValidationErrorDto } from "./project-notes-list-validation-error.dto";
|
|
12
|
+
/**
|
|
13
|
+
* @type ProjectNotesListErrorResponse400Dto
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export type ProjectNotesListErrorResponse400Dto = ParseErrorResponseDto | ProjectNotesListValidationErrorDto;
|
|
@@ -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 { ProjectNotesListIdInErrorComponentDto } from "./project-notes-list-id-in-error-component.dto";
|
|
11
|
+
import { ProjectNotesListIdErrorComponentDto } from "./project-notes-list-id-error-component.dto";
|
|
12
|
+
import { ProjectNotesListProjectErrorComponentDto } from "./project-notes-list-project-error-component.dto";
|
|
13
|
+
import { ProjectNotesListProjectInErrorComponentDto } from "./project-notes-list-project-in-error-component.dto";
|
|
14
|
+
/**
|
|
15
|
+
* @type ProjectNotesListErrorDto
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export type ProjectNotesListErrorDto = ProjectNotesListIdErrorComponentDto | ProjectNotesListIdInErrorComponentDto | ProjectNotesListProjectErrorComponentDto | ProjectNotesListProjectInErrorComponentDto;
|
|
@@ -0,0 +1,27 @@
|
|
|
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 ProjectNotesListIdErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `id` - id
|
|
13
|
+
*/
|
|
14
|
+
attr: ProjectNotesListIdErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `invalid` - invalid * `max_value` - max_value
|
|
17
|
+
*/
|
|
18
|
+
code: ProjectNotesListIdErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum ProjectNotesListIdErrorComponentDtoAttrEnum {
|
|
22
|
+
Id = "id"
|
|
23
|
+
}
|
|
24
|
+
export declare enum ProjectNotesListIdErrorComponentDtoCodeEnum {
|
|
25
|
+
Invalid = "invalid",
|
|
26
|
+
MaxValue = "max_value"
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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 ProjectNotesListIdInErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `id__in` - id__in
|
|
13
|
+
*/
|
|
14
|
+
attr: ProjectNotesListIdInErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `invalid` - invalid * `max_value` - max_value
|
|
17
|
+
*/
|
|
18
|
+
code: ProjectNotesListIdInErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum ProjectNotesListIdInErrorComponentDtoAttrEnum {
|
|
22
|
+
IdIn = "id__in"
|
|
23
|
+
}
|
|
24
|
+
export declare enum ProjectNotesListIdInErrorComponentDtoCodeEnum {
|
|
25
|
+
Invalid = "invalid",
|
|
26
|
+
MaxValue = "max_value"
|
|
27
|
+
}
|
|
@@ -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 ProjectNotesListProjectErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `project` - project
|
|
13
|
+
*/
|
|
14
|
+
attr: ProjectNotesListProjectErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `invalid_choice` - invalid_choice
|
|
17
|
+
*/
|
|
18
|
+
code: ProjectNotesListProjectErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum ProjectNotesListProjectErrorComponentDtoAttrEnum {
|
|
22
|
+
Project = "project"
|
|
23
|
+
}
|
|
24
|
+
export declare enum ProjectNotesListProjectErrorComponentDtoCodeEnum {
|
|
25
|
+
InvalidChoice = "invalid_choice"
|
|
26
|
+
}
|
|
@@ -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 ProjectNotesListProjectInErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `project__in` - project__in
|
|
13
|
+
*/
|
|
14
|
+
attr: ProjectNotesListProjectInErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `invalid_choice` - invalid_choice
|
|
17
|
+
*/
|
|
18
|
+
code: ProjectNotesListProjectInErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum ProjectNotesListProjectInErrorComponentDtoAttrEnum {
|
|
22
|
+
ProjectIn = "project__in"
|
|
23
|
+
}
|
|
24
|
+
export declare enum ProjectNotesListProjectInErrorComponentDtoCodeEnum {
|
|
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 { ValidationErrorEnumDto } from "./validation-error-enum.dto";
|
|
11
|
+
import { ProjectNotesListErrorDto } from "./project-notes-list-error.dto";
|
|
12
|
+
export interface ProjectNotesListValidationErrorDto {
|
|
13
|
+
type: ValidationErrorEnumDto;
|
|
14
|
+
errors: Array<ProjectNotesListErrorDto>;
|
|
15
|
+
}
|
|
@@ -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 ProjectNotesRetrieveErrorResponse400Dto
|
|
13
|
+
* @export
|
|
14
|
+
*/
|
|
15
|
+
export type ProjectNotesRetrieveErrorResponse400Dto = ParseErrorResponseDto;
|
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.126",
|
|
4
|
+
"description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.0.82)",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
* * `calendar` - calendar * `people` - people
|
|
12
|
-
*/
|
|
13
|
-
export var PermissionGroupEnumDto;
|
|
14
|
-
(function (PermissionGroupEnumDto) {
|
|
15
|
-
PermissionGroupEnumDto["Calendar"] = "calendar";
|
|
16
|
-
PermissionGroupEnumDto["People"] = "people";
|
|
17
|
-
})(PermissionGroupEnumDto || (PermissionGroupEnumDto = {}));
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVybWlzc2lvbi1ncm91cC1lbnVtLmR0by5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL21vZGVsL3Blcm1pc3Npb24tZ3JvdXAtZW51bS5kdG8udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7O0dBUUc7QUFFSDs7R0FFRztBQUNILE1BQU0sQ0FBTixJQUFZLHNCQUdYO0FBSEQsV0FBWSxzQkFBc0I7SUFDaEMsK0NBQXFCLENBQUE7SUFDckIsMkNBQWlCLENBQUE7QUFDbkIsQ0FBQyxFQUhXLHNCQUFzQixLQUF0QixzQkFBc0IsUUFHakMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIERlbG1hciBBcGlcbiAqXG4gKlxuICpcbiAqIE5PVEU6IFRoaXMgY2xhc3MgaXMgYXV0byBnZW5lcmF0ZWQgYnkgT3BlbkFQSSBHZW5lcmF0b3IgKGh0dHBzOi8vb3BlbmFwaS1nZW5lcmF0b3IudGVjaCkuXG4gKiBodHRwczovL29wZW5hcGktZ2VuZXJhdG9yLnRlY2hcbiAqIERvIG5vdCBlZGl0IHRoZSBjbGFzcyBtYW51YWxseS5cbiAqL1xuXG4vKipcbiAqICogYGNhbGVuZGFyYCAtIGNhbGVuZGFyICogYHBlb3BsZWAgLSBwZW9wbGVcbiAqL1xuZXhwb3J0IGVudW0gUGVybWlzc2lvbkdyb3VwRW51bUR0byB7XG4gIENhbGVuZGFyID0gXCJjYWxlbmRhclwiLFxuICBQZW9wbGUgPSBcInBlb3BsZVwiLFxufVxuIl19
|