@saritasa/crm-delmar-core-sdk 0.0.299 → 0.1.1
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/user-periods-api.service.d.ts +4 -3
- package/api/user-periods-api.serviceInterface.d.ts +4 -2
- package/api/users-api.service.d.ts +23 -1
- package/api/users-api.serviceInterface.d.ts +10 -0
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs +90 -25
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs.map +1 -1
- package/model/models.d.ts +4 -1
- package/model/user-period-request.dto.d.ts +1 -0
- package/model/user-period-update-request.dto.d.ts +20 -0
- package/model/user-period-update.dto.d.ts +31 -0
- package/model/user-periods-create-error.dto.d.ts +2 -1
- package/model/user-periods-create-extra-approver-users-error-component.dto.d.ts +30 -0
- package/model/user-periods-update-error.dto.d.ts +2 -2
- package/model/user-periods-update-extra-approver-users-error-component.dto.d.ts +30 -0
- package/package.json +2 -2
- package/model/user-periods-update-type-error-component.dto.d.ts +0 -28
package/model/models.d.ts
CHANGED
|
@@ -1574,10 +1574,13 @@ export * from "./user-period-statistic.dto";
|
|
|
1574
1574
|
export * from "./user-period-status-enum.dto";
|
|
1575
1575
|
export * from "./user-period-total-stats.dto";
|
|
1576
1576
|
export * from "./user-period-type-enum.dto";
|
|
1577
|
+
export * from "./user-period-update.dto";
|
|
1578
|
+
export * from "./user-period-update-request.dto";
|
|
1577
1579
|
export * from "./user-period-year-data.dto";
|
|
1578
1580
|
export * from "./user-periods-create-description-error-component.dto";
|
|
1579
1581
|
export * from "./user-periods-create-error.dto";
|
|
1580
1582
|
export * from "./user-periods-create-error-response400.dto";
|
|
1583
|
+
export * from "./user-periods-create-extra-approver-users-error-component.dto";
|
|
1581
1584
|
export * from "./user-periods-create-file-error-component.dto";
|
|
1582
1585
|
export * from "./user-periods-create-non-field-errors-error-component.dto";
|
|
1583
1586
|
export * from "./user-periods-create-period-end-error-component.dto";
|
|
@@ -1620,12 +1623,12 @@ export * from "./user-periods-stats-retrieve-validation-error.dto";
|
|
|
1620
1623
|
export * from "./user-periods-update-description-error-component.dto";
|
|
1621
1624
|
export * from "./user-periods-update-error.dto";
|
|
1622
1625
|
export * from "./user-periods-update-error-response400.dto";
|
|
1626
|
+
export * from "./user-periods-update-extra-approver-users-error-component.dto";
|
|
1623
1627
|
export * from "./user-periods-update-file-error-component.dto";
|
|
1624
1628
|
export * from "./user-periods-update-non-field-errors-error-component.dto";
|
|
1625
1629
|
export * from "./user-periods-update-period-end-error-component.dto";
|
|
1626
1630
|
export * from "./user-periods-update-period-non-field-errors-error-component.dto";
|
|
1627
1631
|
export * from "./user-periods-update-period-start-error-component.dto";
|
|
1628
|
-
export * from "./user-periods-update-type-error-component.dto";
|
|
1629
1632
|
export * from "./user-periods-update-user-error-component.dto";
|
|
1630
1633
|
export * from "./user-periods-update-validation-error.dto";
|
|
1631
1634
|
export * from "./user-request.dto";
|
|
@@ -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 { DateRangeFieldRequestDto } from "./date-range-field-request.dto";
|
|
11
|
+
/**
|
|
12
|
+
* Serializer to update UserPeriod.
|
|
13
|
+
*/
|
|
14
|
+
export interface UserPeriodUpdateRequestDto {
|
|
15
|
+
period: DateRangeFieldRequestDto;
|
|
16
|
+
user: number;
|
|
17
|
+
extra_approver_users: Array<number>;
|
|
18
|
+
file?: string | null;
|
|
19
|
+
description?: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { DateRangeFieldDto } from "./date-range-field.dto";
|
|
11
|
+
import { SimpleUserDto } from "./simple-user.dto";
|
|
12
|
+
import { UserPeriodTypeEnumDto } from "./user-period-type-enum.dto";
|
|
13
|
+
import { SimpleUserPeriodApproverDto } from "./simple-user-period-approver.dto";
|
|
14
|
+
import { UserPeriodStatusEnumDto } from "./user-period-status-enum.dto";
|
|
15
|
+
/**
|
|
16
|
+
* Serializer to update UserPeriod.
|
|
17
|
+
*/
|
|
18
|
+
export interface UserPeriodUpdateDto {
|
|
19
|
+
readonly id: number;
|
|
20
|
+
readonly created: string;
|
|
21
|
+
readonly modified: string;
|
|
22
|
+
period: DateRangeFieldDto;
|
|
23
|
+
user: number;
|
|
24
|
+
readonly user_data: SimpleUserDto;
|
|
25
|
+
readonly type: UserPeriodTypeEnumDto;
|
|
26
|
+
readonly status: UserPeriodStatusEnumDto;
|
|
27
|
+
readonly status_updated: string | null;
|
|
28
|
+
readonly approvers_data: Array<SimpleUserPeriodApproverDto>;
|
|
29
|
+
file?: string | null;
|
|
30
|
+
description?: string;
|
|
31
|
+
}
|
|
@@ -13,10 +13,11 @@ import { UserPeriodsCreateFileErrorComponentDto } from "./user-periods-create-fi
|
|
|
13
13
|
import { UserPeriodsCreatePeriodEndErrorComponentDto } from "./user-periods-create-period-end-error-component.dto";
|
|
14
14
|
import { UserPeriodsCreateDescriptionErrorComponentDto } from "./user-periods-create-description-error-component.dto";
|
|
15
15
|
import { UserPeriodsCreatePeriodStartErrorComponentDto } from "./user-periods-create-period-start-error-component.dto";
|
|
16
|
+
import { UserPeriodsCreateExtraApproverUsersErrorComponentDto } from "./user-periods-create-extra-approver-users-error-component.dto";
|
|
16
17
|
import { UserPeriodsCreatePeriodNonFieldErrorsErrorComponentDto } from "./user-periods-create-period-non-field-errors-error-component.dto";
|
|
17
18
|
import { UserPeriodsCreateUserErrorComponentDto } from "./user-periods-create-user-error-component.dto";
|
|
18
19
|
/**
|
|
19
20
|
* @type UserPeriodsCreateErrorDto
|
|
20
21
|
* @export
|
|
21
22
|
*/
|
|
22
|
-
export type UserPeriodsCreateErrorDto = UserPeriodsCreateDescriptionErrorComponentDto | UserPeriodsCreateFileErrorComponentDto | UserPeriodsCreateNonFieldErrorsErrorComponentDto | UserPeriodsCreatePeriodEndErrorComponentDto | UserPeriodsCreatePeriodNonFieldErrorsErrorComponentDto | UserPeriodsCreatePeriodStartErrorComponentDto | UserPeriodsCreateTypeErrorComponentDto | UserPeriodsCreateUserErrorComponentDto;
|
|
23
|
+
export type UserPeriodsCreateErrorDto = UserPeriodsCreateDescriptionErrorComponentDto | UserPeriodsCreateExtraApproverUsersErrorComponentDto | UserPeriodsCreateFileErrorComponentDto | UserPeriodsCreateNonFieldErrorsErrorComponentDto | UserPeriodsCreatePeriodEndErrorComponentDto | UserPeriodsCreatePeriodNonFieldErrorsErrorComponentDto | UserPeriodsCreatePeriodStartErrorComponentDto | UserPeriodsCreateTypeErrorComponentDto | UserPeriodsCreateUserErrorComponentDto;
|
|
@@ -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
|
+
export interface UserPeriodsCreateExtraApproverUsersErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `extra_approver_users` - extra_approver_users
|
|
13
|
+
*/
|
|
14
|
+
attr: UserPeriodsCreateExtraApproverUsersErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `not_a_list` - not_a_list * `null` - null * `required` - required
|
|
17
|
+
*/
|
|
18
|
+
code: UserPeriodsCreateExtraApproverUsersErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum UserPeriodsCreateExtraApproverUsersErrorComponentDtoAttrEnum {
|
|
22
|
+
ExtraApproverUsers = "extra_approver_users"
|
|
23
|
+
}
|
|
24
|
+
export declare enum UserPeriodsCreateExtraApproverUsersErrorComponentDtoCodeEnum {
|
|
25
|
+
DoesNotExist = "does_not_exist",
|
|
26
|
+
IncorrectType = "incorrect_type",
|
|
27
|
+
NotAList = "not_a_list",
|
|
28
|
+
Null = "null",
|
|
29
|
+
Required = "required"
|
|
30
|
+
}
|
|
@@ -7,16 +7,16 @@
|
|
|
7
7
|
* https://openapi-generator.tech
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
|
+
import { UserPeriodsUpdateExtraApproverUsersErrorComponentDto } from "./user-periods-update-extra-approver-users-error-component.dto";
|
|
10
11
|
import { UserPeriodsUpdatePeriodNonFieldErrorsErrorComponentDto } from "./user-periods-update-period-non-field-errors-error-component.dto";
|
|
11
12
|
import { UserPeriodsUpdateFileErrorComponentDto } from "./user-periods-update-file-error-component.dto";
|
|
12
13
|
import { UserPeriodsUpdateNonFieldErrorsErrorComponentDto } from "./user-periods-update-non-field-errors-error-component.dto";
|
|
13
14
|
import { UserPeriodsUpdatePeriodStartErrorComponentDto } from "./user-periods-update-period-start-error-component.dto";
|
|
14
15
|
import { UserPeriodsUpdatePeriodEndErrorComponentDto } from "./user-periods-update-period-end-error-component.dto";
|
|
15
16
|
import { UserPeriodsUpdateDescriptionErrorComponentDto } from "./user-periods-update-description-error-component.dto";
|
|
16
|
-
import { UserPeriodsUpdateTypeErrorComponentDto } from "./user-periods-update-type-error-component.dto";
|
|
17
17
|
import { UserPeriodsUpdateUserErrorComponentDto } from "./user-periods-update-user-error-component.dto";
|
|
18
18
|
/**
|
|
19
19
|
* @type UserPeriodsUpdateErrorDto
|
|
20
20
|
* @export
|
|
21
21
|
*/
|
|
22
|
-
export type UserPeriodsUpdateErrorDto = UserPeriodsUpdateDescriptionErrorComponentDto | UserPeriodsUpdateFileErrorComponentDto | UserPeriodsUpdateNonFieldErrorsErrorComponentDto | UserPeriodsUpdatePeriodEndErrorComponentDto | UserPeriodsUpdatePeriodNonFieldErrorsErrorComponentDto | UserPeriodsUpdatePeriodStartErrorComponentDto |
|
|
22
|
+
export type UserPeriodsUpdateErrorDto = UserPeriodsUpdateDescriptionErrorComponentDto | UserPeriodsUpdateExtraApproverUsersErrorComponentDto | UserPeriodsUpdateFileErrorComponentDto | UserPeriodsUpdateNonFieldErrorsErrorComponentDto | UserPeriodsUpdatePeriodEndErrorComponentDto | UserPeriodsUpdatePeriodNonFieldErrorsErrorComponentDto | UserPeriodsUpdatePeriodStartErrorComponentDto | UserPeriodsUpdateUserErrorComponentDto;
|
|
@@ -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
|
+
export interface UserPeriodsUpdateExtraApproverUsersErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `extra_approver_users` - extra_approver_users
|
|
13
|
+
*/
|
|
14
|
+
attr: UserPeriodsUpdateExtraApproverUsersErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `not_a_list` - not_a_list * `null` - null * `required` - required
|
|
17
|
+
*/
|
|
18
|
+
code: UserPeriodsUpdateExtraApproverUsersErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum UserPeriodsUpdateExtraApproverUsersErrorComponentDtoAttrEnum {
|
|
22
|
+
ExtraApproverUsers = "extra_approver_users"
|
|
23
|
+
}
|
|
24
|
+
export declare enum UserPeriodsUpdateExtraApproverUsersErrorComponentDtoCodeEnum {
|
|
25
|
+
DoesNotExist = "does_not_exist",
|
|
26
|
+
IncorrectType = "incorrect_type",
|
|
27
|
+
NotAList = "not_a_list",
|
|
28
|
+
Null = "null",
|
|
29
|
+
Required = "required"
|
|
30
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saritasa/crm-delmar-core-sdk",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.1.6)",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -1,28 +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
|
-
export interface UserPeriodsUpdateTypeErrorComponentDto {
|
|
11
|
-
/**
|
|
12
|
-
* * `type` - type
|
|
13
|
-
*/
|
|
14
|
-
attr: UserPeriodsUpdateTypeErrorComponentDtoAttrEnum;
|
|
15
|
-
/**
|
|
16
|
-
* * `invalid_choice` - invalid_choice * `null` - null * `required` - required
|
|
17
|
-
*/
|
|
18
|
-
code: UserPeriodsUpdateTypeErrorComponentDtoCodeEnum;
|
|
19
|
-
detail: string;
|
|
20
|
-
}
|
|
21
|
-
export declare enum UserPeriodsUpdateTypeErrorComponentDtoAttrEnum {
|
|
22
|
-
Type = "type"
|
|
23
|
-
}
|
|
24
|
-
export declare enum UserPeriodsUpdateTypeErrorComponentDtoCodeEnum {
|
|
25
|
-
InvalidChoice = "invalid_choice",
|
|
26
|
-
Null = "null",
|
|
27
|
-
Required = "required"
|
|
28
|
-
}
|