@saritasa/crm-delmar-core-sdk 0.0.95 → 0.0.97

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 (47) hide show
  1. package/README.md +2 -2
  2. package/api/api.d.ts +4 -1
  3. package/api/branches-api.serviceInterface.d.ts +2 -2
  4. package/api/export-users-api.service.d.ts +103 -0
  5. package/api/export-users-api.serviceInterface.d.ts +72 -0
  6. package/esm2022/api/api.mjs +5 -1
  7. package/esm2022/api/branches-api.service.mjs +7 -7
  8. package/esm2022/api/branches-api.serviceInterface.mjs +1 -1
  9. package/esm2022/api/export-users-api.service.mjs +409 -0
  10. package/esm2022/api/export-users-api.serviceInterface.mjs +2 -0
  11. package/esm2022/model/export-job.dto.mjs +2 -0
  12. package/esm2022/model/export-progress.dto.mjs +2 -0
  13. package/esm2022/model/export-status-enum.dto.mjs +21 -0
  14. package/esm2022/model/export-users-cancel-create-error-response400.dto.mjs +2 -0
  15. package/esm2022/model/export-users-list-error-response400.dto.mjs +2 -0
  16. package/esm2022/model/export-users-retrieve-error-response400.dto.mjs +2 -0
  17. package/esm2022/model/export-users-start-create-error-response400.dto.mjs +2 -0
  18. package/esm2022/model/export-users-start-create-error.dto.mjs +2 -0
  19. package/esm2022/model/export-users-start-create-file-format-error-component.dto.mjs +20 -0
  20. package/esm2022/model/export-users-start-create-non-field-errors-error-component.dto.mjs +19 -0
  21. package/esm2022/model/export-users-start-create-validation-error.dto.mjs +2 -0
  22. package/esm2022/model/file-format-enum.dto.mjs +18 -0
  23. package/esm2022/model/models.mjs +17 -1
  24. package/esm2022/model/paginated-export-job-list.dto.mjs +2 -0
  25. package/esm2022/model/progress-info.dto.mjs +11 -0
  26. package/esm2022/model/state-enum.dto.mjs +24 -0
  27. package/esm2022/model/user-resource-create-export-job-request.dto.mjs +2 -0
  28. package/fesm2022/saritasa-crm-delmar-core-sdk.mjs +520 -7
  29. package/fesm2022/saritasa-crm-delmar-core-sdk.mjs.map +1 -1
  30. package/model/export-job.dto.d.ts +27 -0
  31. package/model/export-progress.dto.d.ts +18 -0
  32. package/model/export-status-enum.dto.d.ts +19 -0
  33. package/model/export-users-cancel-create-error-response400.dto.d.ts +15 -0
  34. package/model/export-users-list-error-response400.dto.d.ts +15 -0
  35. package/model/export-users-retrieve-error-response400.dto.d.ts +15 -0
  36. package/model/export-users-start-create-error-response400.dto.d.ts +16 -0
  37. package/model/export-users-start-create-error.dto.d.ts +16 -0
  38. package/model/export-users-start-create-file-format-error-component.dto.d.ts +28 -0
  39. package/model/export-users-start-create-non-field-errors-error-component.dto.d.ts +27 -0
  40. package/model/export-users-start-create-validation-error.dto.d.ts +15 -0
  41. package/model/file-format-enum.dto.d.ts +16 -0
  42. package/model/models.d.ts +16 -0
  43. package/model/paginated-export-job-list.dto.d.ts +16 -0
  44. package/model/progress-info.dto.d.ts +16 -0
  45. package/model/state-enum.dto.d.ts +22 -0
  46. package/model/user-resource-create-export-job-request.dto.d.ts +16 -0
  47. package/package.json +2 -2
@@ -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
+ import { ExportStatusEnumDto } from "./export-status-enum.dto";
11
+ import { ExportProgressDto } from "./export-progress.dto";
12
+ /**
13
+ * Serializer to show information about export job.
14
+ */
15
+ export interface ExportJobDto {
16
+ readonly id: number;
17
+ /**
18
+ * File that contain exported data
19
+ */
20
+ data_file: string;
21
+ progress: ExportProgressDto;
22
+ readonly export_started: string | null;
23
+ readonly export_finished: string | null;
24
+ readonly created: string;
25
+ readonly modified: string;
26
+ export_status?: ExportStatusEnumDto;
27
+ }
@@ -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 { StateEnumDto } from "./state-enum.dto";
11
+ import { ProgressInfoDto } from "./progress-info.dto";
12
+ /**
13
+ * Serializer to show ExportJob progress.
14
+ */
15
+ export interface ExportProgressDto {
16
+ info: ProgressInfoDto;
17
+ state: StateEnumDto;
18
+ }
@@ -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
+ * * `CREATED` - Created * `EXPORTING` - Exporting * `EXPORT_ERROR` - Export Error * `EXPORTED` - Exported * `CANCELLED` - Cancelled
12
+ */
13
+ export declare enum ExportStatusEnumDto {
14
+ Created = "CREATED",
15
+ Exporting = "EXPORTING",
16
+ ExportError = "EXPORT_ERROR",
17
+ Exported = "EXPORTED",
18
+ Cancelled = "CANCELLED"
19
+ }
@@ -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 ExportUsersCancelCreateErrorResponse400Dto
13
+ * @export
14
+ */
15
+ export type ExportUsersCancelCreateErrorResponse400Dto = ParseErrorResponseDto;
@@ -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 ExportUsersListErrorResponse400Dto
13
+ * @export
14
+ */
15
+ export type ExportUsersListErrorResponse400Dto = ParseErrorResponseDto;
@@ -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 ExportUsersRetrieveErrorResponse400Dto
13
+ * @export
14
+ */
15
+ export type ExportUsersRetrieveErrorResponse400Dto = ParseErrorResponseDto;
@@ -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 { ExportUsersStartCreateValidationErrorDto } from "./export-users-start-create-validation-error.dto";
12
+ /**
13
+ * @type ExportUsersStartCreateErrorResponse400Dto
14
+ * @export
15
+ */
16
+ export type ExportUsersStartCreateErrorResponse400Dto = ExportUsersStartCreateValidationErrorDto | ParseErrorResponseDto;
@@ -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 { ExportUsersStartCreateNonFieldErrorsErrorComponentDto } from "./export-users-start-create-non-field-errors-error-component.dto";
11
+ import { ExportUsersStartCreateFileFormatErrorComponentDto } from "./export-users-start-create-file-format-error-component.dto";
12
+ /**
13
+ * @type ExportUsersStartCreateErrorDto
14
+ * @export
15
+ */
16
+ export type ExportUsersStartCreateErrorDto = ExportUsersStartCreateFileFormatErrorComponentDto | ExportUsersStartCreateNonFieldErrorsErrorComponentDto;
@@ -0,0 +1,28 @@
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 ExportUsersStartCreateFileFormatErrorComponentDto {
11
+ /**
12
+ * * `file_format` - file_format
13
+ */
14
+ attr: ExportUsersStartCreateFileFormatErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `invalid_choice` - invalid_choice * `null` - null * `required` - required
17
+ */
18
+ code: ExportUsersStartCreateFileFormatErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum ExportUsersStartCreateFileFormatErrorComponentDtoAttrEnum {
22
+ FileFormat = "file_format"
23
+ }
24
+ export declare enum ExportUsersStartCreateFileFormatErrorComponentDtoCodeEnum {
25
+ InvalidChoice = "invalid_choice",
26
+ Null = "null",
27
+ Required = "required"
28
+ }
@@ -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 ExportUsersStartCreateNonFieldErrorsErrorComponentDto {
11
+ /**
12
+ * * `non_field_errors` - non_field_errors
13
+ */
14
+ attr: ExportUsersStartCreateNonFieldErrorsErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `invalid` - invalid * `null` - null
17
+ */
18
+ code: ExportUsersStartCreateNonFieldErrorsErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum ExportUsersStartCreateNonFieldErrorsErrorComponentDtoAttrEnum {
22
+ NonFieldErrors = "non_field_errors"
23
+ }
24
+ export declare enum ExportUsersStartCreateNonFieldErrorsErrorComponentDtoCodeEnum {
25
+ Invalid = "invalid",
26
+ Null = "null"
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 { ExportUsersStartCreateErrorDto } from "./export-users-start-create-error.dto";
11
+ import { ValidationErrorEnumDto } from "./validation-error-enum.dto";
12
+ export interface ExportUsersStartCreateValidationErrorDto {
13
+ type: ValidationErrorEnumDto;
14
+ errors: Array<ExportUsersStartCreateErrorDto>;
15
+ }
@@ -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
+ /**
11
+ * * `csv` - csv * `xlsx` - xlsx
12
+ */
13
+ export declare enum FileFormatEnumDto {
14
+ Csv = "csv",
15
+ Xlsx = "xlsx"
16
+ }
package/model/models.d.ts CHANGED
@@ -170,6 +170,18 @@ export * from "./error-response405.dto";
170
170
  export * from "./error-response406.dto";
171
171
  export * from "./error-response415.dto";
172
172
  export * from "./error-response500.dto";
173
+ export * from "./export-job.dto";
174
+ export * from "./export-progress.dto";
175
+ export * from "./export-status-enum.dto";
176
+ export * from "./export-users-cancel-create-error-response400.dto";
177
+ export * from "./export-users-list-error-response400.dto";
178
+ export * from "./export-users-retrieve-error-response400.dto";
179
+ export * from "./export-users-start-create-error.dto";
180
+ export * from "./export-users-start-create-error-response400.dto";
181
+ export * from "./export-users-start-create-file-format-error-component.dto";
182
+ export * from "./export-users-start-create-non-field-errors-error-component.dto";
183
+ export * from "./export-users-start-create-validation-error.dto";
184
+ export * from "./file-format-enum.dto";
173
185
  export * from "./jira-client-create-project-create-error.dto";
174
186
  export * from "./jira-client-create-project-create-error-response400.dto";
175
187
  export * from "./jira-client-create-project-create-instance-error-component.dto";
@@ -320,6 +332,7 @@ export * from "./paginated-branch-list.dto";
320
332
  export * from "./paginated-branch-period-list.dto";
321
333
  export * from "./paginated-branch-user-stats-list.dto";
322
334
  export * from "./paginated-department-list.dto";
335
+ export * from "./paginated-export-job-list.dto";
323
336
  export * from "./paginated-jira-instance-list.dto";
324
337
  export * from "./paginated-job-list.dto";
325
338
  export * from "./paginated-location-list.dto";
@@ -376,6 +389,7 @@ export * from "./profile-update-slack-id-error-component.dto";
376
389
  export * from "./profile-update-timezone-error-component.dto";
377
390
  export * from "./profile-update-updated-by-error-component.dto";
378
391
  export * from "./profile-update-validation-error.dto";
392
+ export * from "./progress-info.dto";
379
393
  export * from "./project.dto";
380
394
  export * from "./project-priorities-list-color-error-component.dto";
381
395
  export * from "./project-priorities-list-color-in-error-component.dto";
@@ -502,6 +516,7 @@ export * from "./sso-start-create-error-response400.dto";
502
516
  export * from "./sso-start-create-non-field-errors-error-component.dto";
503
517
  export * from "./sso-start-create-redirect-uri-error-component.dto";
504
518
  export * from "./sso-start-create-validation-error.dto";
519
+ export * from "./state-enum.dto";
505
520
  export * from "./task.dto";
506
521
  export * from "./task-statuses.dto";
507
522
  export * from "./tasks-list-assignee-error-component.dto";
@@ -678,6 +693,7 @@ export * from "./user-periods-update-type-error-component.dto";
678
693
  export * from "./user-periods-update-user-error-component.dto";
679
694
  export * from "./user-periods-update-validation-error.dto";
680
695
  export * from "./user-request.dto";
696
+ export * from "./user-resource-create-export-job-request.dto";
681
697
  export * from "./user-score.dto";
682
698
  export * from "./user-score-request.dto";
683
699
  export * from "./user-scores-create-comment-error-component.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 { ExportJobDto } from "./export-job.dto";
11
+ export interface PaginatedExportJobListDto {
12
+ count: number;
13
+ results: Array<ExportJobDto>;
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
+ /**
11
+ * Serializer to show progress info, like how much is done.
12
+ */
13
+ export interface ProgressInfoDto {
14
+ current: number;
15
+ total: number;
16
+ }
@@ -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
+ /**
11
+ * * `CREATED` - CREATED * `EXPORTING` - EXPORTING * `EXPORT_ERROR` - EXPORT_ERROR * `EXPORTED` - EXPORTED * `CANCELLED` - CANCELLED * `PENDING` - PENDING * `STARTED` - STARTED * `SUCCESS` - SUCCESS
12
+ */
13
+ export declare enum StateEnumDto {
14
+ Created = "CREATED",
15
+ Exporting = "EXPORTING",
16
+ ExportError = "EXPORT_ERROR",
17
+ Exported = "EXPORTED",
18
+ Cancelled = "CANCELLED",
19
+ Pending = "PENDING",
20
+ Started = "STARTED",
21
+ Success = "SUCCESS"
22
+ }
@@ -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 { FileFormatEnumDto } from "./file-format-enum.dto";
11
+ /**
12
+ * Serializer to start export job.
13
+ */
14
+ export interface UserResourceCreateExportJobRequestDto {
15
+ file_format: FileFormatEnumDto;
16
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@saritasa/crm-delmar-core-sdk",
3
- "version": "0.0.95",
4
- "description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.0.73)",
3
+ "version": "0.0.97",
4
+ "description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.0.74)",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
7
7
  "type": "git",