@tec.pet/tecpet-sdk 0.0.31 → 0.0.32
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/changelog.md +2 -2
- package/dist/domain/pet/dto/pa.create-pet.dto.d.ts +1 -1
- package/dist/domain/pet/dto/pa.edit-pet.dto.d.ts +1 -1
- package/dist/domain/pet/dto/pa.get-pet.dto.d.ts +2 -1
- package/package.json +1 -1
- package/src/domain/pet/dto/pa.create-pet.dto.ts +2 -2
- package/src/domain/pet/dto/pa.edit-pet.dto.ts +3 -3
- package/src/domain/pet/dto/pa.get-pet.dto.ts +4 -3
package/changelog.md
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
🚀 Alterações desde v0.0.
|
|
2
|
-
-
|
|
1
|
+
🚀 Alterações desde v0.0.31:
|
|
2
|
+
- feat: Adjust on dtos of pet (253f3c1)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { BillingItemType } from "../../billingMethod/enum/billing-method-type.enum";
|
|
1
2
|
import { SpecieType } from "../../specie/enum/specie-type.enum";
|
|
2
3
|
import { GenderType } from "./pa.get-pet.dto";
|
|
3
|
-
import { BillingItemType } from "../../billingMethod/enum/billing-method-type.enum";
|
|
4
4
|
export declare class PaEditPetInput {
|
|
5
5
|
name?: string;
|
|
6
6
|
specieId?: string;
|
|
@@ -5,7 +5,7 @@ export declare enum GenderType {
|
|
|
5
5
|
FEMALE = "FEMALE"
|
|
6
6
|
}
|
|
7
7
|
export interface PaPetResponse {
|
|
8
|
-
id: number;
|
|
8
|
+
id: number | string;
|
|
9
9
|
name: string;
|
|
10
10
|
specieId: string;
|
|
11
11
|
specieType: SpecieTypeEnum;
|
|
@@ -14,6 +14,7 @@ export interface PaPetResponse {
|
|
|
14
14
|
breedId: number;
|
|
15
15
|
breedName: string;
|
|
16
16
|
genre: GenderType;
|
|
17
|
+
weigth: number;
|
|
17
18
|
hair: BillingItemType;
|
|
18
19
|
size: BillingItemType;
|
|
19
20
|
birthDate: string;
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { BillingItemType } from "../../billingMethod/enum/billing-method-type.enum";
|
|
2
|
+
import { GenderType } from "./pa.get-pet.dto";
|
|
3
3
|
|
|
4
4
|
export interface PaCreatePetInput {
|
|
5
5
|
clientId: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { BillingItemType } from "../../billingMethod/enum/billing-method-type.enum";
|
|
2
|
+
import { SpecieType } from "../../specie/enum/specie-type.enum";
|
|
3
|
+
import { GenderType } from "./pa.get-pet.dto";
|
|
4
4
|
|
|
5
5
|
export class PaEditPetInput {
|
|
6
6
|
name?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {BillingItemType} from "../../billingMethod";
|
|
2
|
-
import {SpecieType, SpecieTypeEnum} from "../../specie/enum/specie-type.enum";
|
|
1
|
+
import { BillingItemType } from "../../billingMethod";
|
|
2
|
+
import { SpecieType, SpecieTypeEnum } from "../../specie/enum/specie-type.enum";
|
|
3
3
|
|
|
4
4
|
export enum GenderType {
|
|
5
5
|
MALE = 'MALE',
|
|
@@ -7,7 +7,7 @@ export enum GenderType {
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
export interface PaPetResponse {
|
|
10
|
-
id: number;
|
|
10
|
+
id: number | string;
|
|
11
11
|
name: string;
|
|
12
12
|
specieId: string;
|
|
13
13
|
specieType: SpecieTypeEnum;
|
|
@@ -16,6 +16,7 @@ export interface PaPetResponse {
|
|
|
16
16
|
breedId: number;
|
|
17
17
|
breedName: string;
|
|
18
18
|
genre: GenderType;
|
|
19
|
+
weigth: number;
|
|
19
20
|
hair: BillingItemType;
|
|
20
21
|
size: BillingItemType;
|
|
21
22
|
birthDate: string;
|