byzip-v2-sdk 1.0.3 β 1.0.5
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 +0 -143
- package/dist/bug-report.dto.d.ts +91 -0
- package/dist/bug-report.dto.js +30 -0
- package/dist/housing-supply.dto.d.ts +148 -0
- package/dist/housing-supply.dto.js +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -16,98 +16,6 @@
|
|
|
16
16
|
npm install byzip-v2-sdk
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
## π μ¬μ©λ²
|
|
20
|
-
|
|
21
|
-
### κΈ°λ³Έ import
|
|
22
|
-
|
|
23
|
-
```typescript
|
|
24
|
-
import {
|
|
25
|
-
// μΈμ¦ κ΄λ ¨
|
|
26
|
-
LoginRequestDto,
|
|
27
|
-
LoginResponseDto,
|
|
28
|
-
RegisterRequestDto,
|
|
29
|
-
TokenDataDto,
|
|
30
|
-
|
|
31
|
-
// μ¬μ©μ κ΄λ ¨
|
|
32
|
-
GetMeResponseDto,
|
|
33
|
-
UpdateUserRequestDto,
|
|
34
|
-
UsersRolesEnum,
|
|
35
|
-
UsersStatusEnum,
|
|
36
|
-
|
|
37
|
-
// κ³΅ν΅ μλ΅
|
|
38
|
-
BaseResponseDto,
|
|
39
|
-
createSuccessResponse,
|
|
40
|
-
createErrorResponse,
|
|
41
|
-
} from 'byzip-v2-sdk';
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
### μ¬μ© μμ
|
|
45
|
-
|
|
46
|
-
#### π μΈμ¦ κ΄λ ¨
|
|
47
|
-
|
|
48
|
-
```typescript
|
|
49
|
-
import {
|
|
50
|
-
LoginRequestDto,
|
|
51
|
-
LoginResponseDto,
|
|
52
|
-
RegisterRequestDto,
|
|
53
|
-
} from 'byzip-v2-sdk';
|
|
54
|
-
|
|
55
|
-
// λ‘κ·ΈμΈ μμ²
|
|
56
|
-
const loginRequest: LoginRequestDto = {
|
|
57
|
-
userId: 'user123',
|
|
58
|
-
password: 'password123!',
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
// νμκ°μ
μμ²
|
|
62
|
-
const registerRequest: RegisterRequestDto = {
|
|
63
|
-
userId: 'newuser',
|
|
64
|
-
name: 'νκΈΈλ',
|
|
65
|
-
email: 'user@example.com',
|
|
66
|
-
password: 'password123!',
|
|
67
|
-
confirmPassword: 'password123!',
|
|
68
|
-
phoneNumber: '010-1234-5678', // μ νμ¬ν
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
// λ‘κ·ΈμΈ μλ΅ μ²λ¦¬
|
|
72
|
-
const handleLoginResponse = (response: LoginResponseDto) => {
|
|
73
|
-
if (response.success) {
|
|
74
|
-
console.log('λ‘κ·ΈμΈ μ±κ³΅:', response.data.accessToken);
|
|
75
|
-
console.log('λ©μμ§:', response.message);
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
#### π€ μ¬μ©μ νλ‘ν κ΄λ ¨
|
|
81
|
-
|
|
82
|
-
```typescript
|
|
83
|
-
import {
|
|
84
|
-
GetMeResponseDto,
|
|
85
|
-
UpdateUserRequestDto,
|
|
86
|
-
UsersGenderEnum,
|
|
87
|
-
UsersRolesEnum,
|
|
88
|
-
} from 'byzip-v2-sdk';
|
|
89
|
-
|
|
90
|
-
// νλ‘ν μ‘°ν μλ΅ μ²λ¦¬
|
|
91
|
-
const handleProfileResponse = (response: GetMeResponseDto) => {
|
|
92
|
-
const { data } = response;
|
|
93
|
-
console.log('μ¬μ©μ ID:', data.userId);
|
|
94
|
-
console.log('μ΄λ¦:', data.name);
|
|
95
|
-
console.log('μν :', data.role);
|
|
96
|
-
console.log('μν:', data.status);
|
|
97
|
-
console.log('μ΄λ©μΌ μΈμ¦:', data.emailVerified);
|
|
98
|
-
};
|
|
99
|
-
|
|
100
|
-
// νλ‘ν μ
λ°μ΄νΈ μμ²
|
|
101
|
-
const updateRequest: UpdateUserRequestDto = {
|
|
102
|
-
name: 'νκΈΈλ',
|
|
103
|
-
email: 'newemail@example.com',
|
|
104
|
-
phoneNumber: '010-9876-5432',
|
|
105
|
-
birthDate: '1990-01-01',
|
|
106
|
-
gender: UsersGenderEnum.MALE,
|
|
107
|
-
role: UsersRolesEnum.USER,
|
|
108
|
-
};
|
|
109
|
-
```
|
|
110
|
-
|
|
111
19
|
#### π κ³΅ν΅ μλ΅ μ²λ¦¬
|
|
112
20
|
|
|
113
21
|
```typescript
|
|
@@ -136,55 +44,6 @@ const handleResponse = <T>(response: BaseResponseDto<T>) => {
|
|
|
136
44
|
};
|
|
137
45
|
```
|
|
138
46
|
|
|
139
|
-
## π νμ
μ μ
|
|
140
|
-
|
|
141
|
-
### π μΈμ¦ κ΄λ ¨ (Auth)
|
|
142
|
-
|
|
143
|
-
| νμ
| μ€λͺ
|
|
|
144
|
-
| ------------------------- | ---------------- |
|
|
145
|
-
| `LoginRequestDto` | λ‘κ·ΈμΈ μμ² |
|
|
146
|
-
| `LoginResponseDto` | λ‘κ·ΈμΈ μλ΅ |
|
|
147
|
-
| `RegisterRequestDto` | νμκ°μ
μμ² |
|
|
148
|
-
| `RegisterResponseDto` | νμκ°μ
μλ΅ |
|
|
149
|
-
| `TokenDataDto` | ν ν° λ°μ΄ν° |
|
|
150
|
-
| `RefreshTokenRequestDto` | ν ν° κ°±μ μμ² |
|
|
151
|
-
| `RefreshTokenResponseDto` | ν ν° κ°±μ μλ΅ |
|
|
152
|
-
| `LogoutResponseDto` | λ‘κ·Έμμ μλ΅ |
|
|
153
|
-
| `DeleteUserRequestDto` | μ¬μ©μ μμ μμ² |
|
|
154
|
-
| `DeleteUserResponseDto` | μ¬μ©μ μμ μλ΅ |
|
|
155
|
-
|
|
156
|
-
### π€ μ¬μ©μ κ΄λ ¨ (User)
|
|
157
|
-
|
|
158
|
-
| νμ
| μ€λͺ
|
|
|
159
|
-
| --------------------------- | --------------------- |
|
|
160
|
-
| `UsersModelDto` | μ¬μ©μ λͺ¨λΈ |
|
|
161
|
-
| `GetMeResponseDto` | λ΄ μ 보 μ‘°ν μλ΅ |
|
|
162
|
-
| `GetMeDataDto` | λ΄ μ 보 λ°μ΄ν° |
|
|
163
|
-
| `UpdateUserRequestDto` | μ¬μ©μ μ 보 μμ μμ² |
|
|
164
|
-
| `UpdateUserResponseDto` | μ¬μ©μ μ 보 μμ μλ΅ |
|
|
165
|
-
| `GetAllUsersResponseDto` | λͺ¨λ μ¬μ©μ μ‘°ν μλ΅ |
|
|
166
|
-
| `UserSummaryDto` | μ¬μ©μ μμ½ μ 보 |
|
|
167
|
-
| `ChangePasswordRequestDto` | λΉλ°λ²νΈ λ³κ²½ μμ² |
|
|
168
|
-
| `ChangePasswordResponseDto` | λΉλ°λ²νΈ λ³κ²½ μλ΅ |
|
|
169
|
-
| `DeleteAccountRequestDto` | κ³μ μμ μμ² |
|
|
170
|
-
| `DeleteAccountResponseDto` | κ³μ μμ μλ΅ |
|
|
171
|
-
|
|
172
|
-
### π μ΄κ±°ν (Enums)
|
|
173
|
-
|
|
174
|
-
| μ΄κ±°ν | κ° |
|
|
175
|
-
| ----------------- | --------------------------------------------------------- |
|
|
176
|
-
| `UsersRolesEnum` | `ADMIN`, `USER` |
|
|
177
|
-
| `UsersStatusEnum` | `ACTIVE`, `INACTIVE`, `SUSPENDED`, `PENDING_VERIFICATION` |
|
|
178
|
-
| `UsersGenderEnum` | `MALE`, `FEMALE`, `OTHER` |
|
|
179
|
-
|
|
180
|
-
### π¦ κ³΅ν΅ (Common)
|
|
181
|
-
|
|
182
|
-
| νμ
| μ€λͺ
|
|
|
183
|
-
| ---------------------------- | ------------------- |
|
|
184
|
-
| `BaseResponseDto<T>` | κΈ°λ³Έ API μλ΅ κ΅¬μ‘° |
|
|
185
|
-
| `createSuccessResponse<T>()` | μ±κ³΅ μλ΅ μμ± ν¨μ |
|
|
186
|
-
| `createErrorResponse<T>()` | μλ¬ μλ΅ μμ± ν¨μ |
|
|
187
|
-
|
|
188
47
|
## π€ μλ λ°°ν¬
|
|
189
48
|
|
|
190
49
|
μ΄ ν¨ν€μ§λ λ°±μλ μ μ₯μμ νμ
νμΌ(`src/types/`)μ΄ λ³κ²½λ λλ§λ€ GitHub Actionsλ₯Ό ν΅ν΄ μλμΌλ‘ μ
λ°μ΄νΈλμ΄ NPMμ λ°°ν¬λ©λλ€.
|
|
@@ -226,8 +85,6 @@ ISC
|
|
|
226
85
|
|
|
227
86
|
## π λ³κ²½ λ‘κ·Έ
|
|
228
87
|
|
|
229
|
-
### v1.0.2
|
|
230
|
-
|
|
231
88
|
- β
λͺ¨λ DTO ν΄λμ€λ₯Ό μΈν°νμ΄μ€λ‘ λ³ν
|
|
232
89
|
- β
λ°νμ μμ‘΄μ± μ κ±° (`@nestjs/swagger` μ κ±°)
|
|
233
90
|
- β
νμ
μμ μ± ν₯μ
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
export declare enum BugReportStatus {
|
|
2
|
+
OPEN = "open",
|
|
3
|
+
IN_PROGRESS = "in_progress",
|
|
4
|
+
RESOLVED = "resolved",
|
|
5
|
+
CLOSED = "closed"
|
|
6
|
+
}
|
|
7
|
+
export declare enum BugReportSeverity {
|
|
8
|
+
LOW = "low",
|
|
9
|
+
MEDIUM = "medium",
|
|
10
|
+
HIGH = "high",
|
|
11
|
+
CRITICAL = "critical"
|
|
12
|
+
}
|
|
13
|
+
export declare enum BugReportErrorType {
|
|
14
|
+
UNKNOWN = "unknown",
|
|
15
|
+
CLIENT_ERROR = "client_error",
|
|
16
|
+
SERVER_ERROR = "server_error",
|
|
17
|
+
NETWORK_ERROR = "network_error",
|
|
18
|
+
RUNTIME_ERROR = "runtime_error",
|
|
19
|
+
VALIDATION_ERROR = "validation_error",
|
|
20
|
+
SYNTAX_ERROR = "syntax_error",
|
|
21
|
+
REFERENCE_ERROR = "reference_error",
|
|
22
|
+
TYPE_ERROR = "type_error"
|
|
23
|
+
}
|
|
24
|
+
export interface CreateBugReportDto {
|
|
25
|
+
title: string;
|
|
26
|
+
description: string;
|
|
27
|
+
errorMessage?: string;
|
|
28
|
+
errorStack?: string;
|
|
29
|
+
errorType?: BugReportErrorType;
|
|
30
|
+
errorCode?: string;
|
|
31
|
+
url?: string;
|
|
32
|
+
userAgent?: string;
|
|
33
|
+
severity?: BugReportSeverity;
|
|
34
|
+
userId?: string;
|
|
35
|
+
assigneeId?: string;
|
|
36
|
+
metadata?: Record<string, any>;
|
|
37
|
+
}
|
|
38
|
+
export interface UpdateBugReportDto {
|
|
39
|
+
title?: string;
|
|
40
|
+
description?: string;
|
|
41
|
+
status?: BugReportStatus;
|
|
42
|
+
severity?: BugReportSeverity;
|
|
43
|
+
errorMessage?: string;
|
|
44
|
+
errorStack?: string;
|
|
45
|
+
errorType?: BugReportErrorType;
|
|
46
|
+
errorCode?: string;
|
|
47
|
+
assigneeId?: string;
|
|
48
|
+
metadata?: Record<string, any>;
|
|
49
|
+
}
|
|
50
|
+
export interface BugReportDataDto {
|
|
51
|
+
id: number;
|
|
52
|
+
title: string;
|
|
53
|
+
description: string;
|
|
54
|
+
errorMessage?: string;
|
|
55
|
+
errorStack?: string;
|
|
56
|
+
errorType: BugReportErrorType;
|
|
57
|
+
errorCode?: string;
|
|
58
|
+
url?: string;
|
|
59
|
+
userAgent?: string;
|
|
60
|
+
status: BugReportStatus;
|
|
61
|
+
severity: BugReportSeverity;
|
|
62
|
+
userId?: string;
|
|
63
|
+
assigneeId?: string;
|
|
64
|
+
metadata?: Record<string, any>;
|
|
65
|
+
createdAt: Date;
|
|
66
|
+
updatedAt: Date;
|
|
67
|
+
}
|
|
68
|
+
export interface GetBugReportResponseDto {
|
|
69
|
+
success: boolean;
|
|
70
|
+
message: string;
|
|
71
|
+
data: BugReportDataDto;
|
|
72
|
+
}
|
|
73
|
+
export interface GetBugReportsResponseDto {
|
|
74
|
+
success: boolean;
|
|
75
|
+
message: string;
|
|
76
|
+
data: BugReportDataDto[];
|
|
77
|
+
}
|
|
78
|
+
export interface CreateBugReportResponseDto {
|
|
79
|
+
success: boolean;
|
|
80
|
+
message: string;
|
|
81
|
+
data: BugReportDataDto;
|
|
82
|
+
}
|
|
83
|
+
export interface UpdateBugReportResponseDto {
|
|
84
|
+
success: boolean;
|
|
85
|
+
message: string;
|
|
86
|
+
data: BugReportDataDto;
|
|
87
|
+
}
|
|
88
|
+
export interface DeleteBugReportResponseDto {
|
|
89
|
+
success: boolean;
|
|
90
|
+
message: string;
|
|
91
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// λ²κ·Έ 리ν¬νΈ κ΄λ ¨ νμ
μ μ
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.BugReportErrorType = exports.BugReportSeverity = exports.BugReportStatus = void 0;
|
|
5
|
+
var BugReportStatus;
|
|
6
|
+
(function (BugReportStatus) {
|
|
7
|
+
BugReportStatus["OPEN"] = "open";
|
|
8
|
+
BugReportStatus["IN_PROGRESS"] = "in_progress";
|
|
9
|
+
BugReportStatus["RESOLVED"] = "resolved";
|
|
10
|
+
BugReportStatus["CLOSED"] = "closed";
|
|
11
|
+
})(BugReportStatus || (exports.BugReportStatus = BugReportStatus = {}));
|
|
12
|
+
var BugReportSeverity;
|
|
13
|
+
(function (BugReportSeverity) {
|
|
14
|
+
BugReportSeverity["LOW"] = "low";
|
|
15
|
+
BugReportSeverity["MEDIUM"] = "medium";
|
|
16
|
+
BugReportSeverity["HIGH"] = "high";
|
|
17
|
+
BugReportSeverity["CRITICAL"] = "critical";
|
|
18
|
+
})(BugReportSeverity || (exports.BugReportSeverity = BugReportSeverity = {}));
|
|
19
|
+
var BugReportErrorType;
|
|
20
|
+
(function (BugReportErrorType) {
|
|
21
|
+
BugReportErrorType["UNKNOWN"] = "unknown";
|
|
22
|
+
BugReportErrorType["CLIENT_ERROR"] = "client_error";
|
|
23
|
+
BugReportErrorType["SERVER_ERROR"] = "server_error";
|
|
24
|
+
BugReportErrorType["NETWORK_ERROR"] = "network_error";
|
|
25
|
+
BugReportErrorType["RUNTIME_ERROR"] = "runtime_error";
|
|
26
|
+
BugReportErrorType["VALIDATION_ERROR"] = "validation_error";
|
|
27
|
+
BugReportErrorType["SYNTAX_ERROR"] = "syntax_error";
|
|
28
|
+
BugReportErrorType["REFERENCE_ERROR"] = "reference_error";
|
|
29
|
+
BugReportErrorType["TYPE_ERROR"] = "type_error";
|
|
30
|
+
})(BugReportErrorType || (exports.BugReportErrorType = BugReportErrorType = {}));
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
export interface CreateHousingSupplyDto {
|
|
2
|
+
houseManageNo?: string;
|
|
3
|
+
pblancNo: string;
|
|
4
|
+
houseName?: string;
|
|
5
|
+
houseSecd?: string;
|
|
6
|
+
houseSecdNm?: string;
|
|
7
|
+
houseDtlSecd?: string;
|
|
8
|
+
houseDtlSecdNm?: string;
|
|
9
|
+
rentSecd?: string;
|
|
10
|
+
rentSecdNm?: string;
|
|
11
|
+
subscrptAreaCode?: string;
|
|
12
|
+
subscrptAreaCodeNm?: string;
|
|
13
|
+
hssplyZip?: string;
|
|
14
|
+
hssplyAdres?: string;
|
|
15
|
+
latitude?: number;
|
|
16
|
+
longitude?: number;
|
|
17
|
+
totSuplyHshldco?: number;
|
|
18
|
+
rcritPblancDe?: string;
|
|
19
|
+
rceptBgnde?: string;
|
|
20
|
+
rceptEndde?: string;
|
|
21
|
+
spsplyRceptBgnde?: string;
|
|
22
|
+
spsplyRceptEndde?: string;
|
|
23
|
+
przwnerPresnatnDe?: string;
|
|
24
|
+
cntrctCnclsBgnde?: string;
|
|
25
|
+
cntrctCnclsEndde?: string;
|
|
26
|
+
mvnPrearngeYm?: string;
|
|
27
|
+
hmpgAdres?: string;
|
|
28
|
+
pblancUrl?: string;
|
|
29
|
+
mdhsTelno?: string;
|
|
30
|
+
cnstrctEntrpsNm?: string;
|
|
31
|
+
bsnsMbyNm?: string;
|
|
32
|
+
nsprcNm?: string;
|
|
33
|
+
specltRdnEarthAt?: string;
|
|
34
|
+
mdatTrgetAreaSecd?: string;
|
|
35
|
+
parcprcUlsAt?: string;
|
|
36
|
+
imprmnBsnsAt?: string;
|
|
37
|
+
publicHouseEarthAt?: string;
|
|
38
|
+
lrsclBldlndAt?: string;
|
|
39
|
+
nplnPrvoprPublicHouseAt?: string;
|
|
40
|
+
publicHouseSpclwApplcAt?: string;
|
|
41
|
+
}
|
|
42
|
+
export interface UpdateHousingSupplyDto {
|
|
43
|
+
houseName?: string;
|
|
44
|
+
subscrptAreaCodeNm?: string;
|
|
45
|
+
hssplyAdres?: string;
|
|
46
|
+
latitude?: number;
|
|
47
|
+
longitude?: number;
|
|
48
|
+
totSuplyHshldco?: number;
|
|
49
|
+
rcritPblancDe?: string;
|
|
50
|
+
rceptBgnde?: string;
|
|
51
|
+
rceptEndde?: string;
|
|
52
|
+
mdhsTelno?: string;
|
|
53
|
+
}
|
|
54
|
+
export interface GetHousingSuppliesQueryDto {
|
|
55
|
+
search?: string;
|
|
56
|
+
houseSecd?: string;
|
|
57
|
+
houseSecdNm?: string;
|
|
58
|
+
houseDtlSecd?: string;
|
|
59
|
+
rentSecd?: string;
|
|
60
|
+
subscrptAreaCodeNm?: string;
|
|
61
|
+
rcritPblancDeFrom?: string;
|
|
62
|
+
rcritPblancDeTo?: string;
|
|
63
|
+
rceptBgndeFrom?: string;
|
|
64
|
+
rceptBgndeTo?: string;
|
|
65
|
+
parcprcUlsAt?: string;
|
|
66
|
+
specltRdnEarthAt?: string;
|
|
67
|
+
page?: number;
|
|
68
|
+
limit?: number;
|
|
69
|
+
sortBy?: string;
|
|
70
|
+
sortOrder?: 'ASC' | 'DESC';
|
|
71
|
+
}
|
|
72
|
+
export interface PaginationMetaDto {
|
|
73
|
+
page: number;
|
|
74
|
+
limit: number;
|
|
75
|
+
total: number;
|
|
76
|
+
totalPages: number;
|
|
77
|
+
itemCount: number;
|
|
78
|
+
}
|
|
79
|
+
export interface HousingSupplyDataDto {
|
|
80
|
+
id: number;
|
|
81
|
+
houseManageNo?: string;
|
|
82
|
+
pblancNo?: string;
|
|
83
|
+
houseName?: string;
|
|
84
|
+
houseSecd?: string;
|
|
85
|
+
houseSecdNm?: string;
|
|
86
|
+
houseDtlSecd?: string;
|
|
87
|
+
houseDtlSecdNm?: string;
|
|
88
|
+
rentSecd?: string;
|
|
89
|
+
rentSecdNm?: string;
|
|
90
|
+
subscrptAreaCode?: string;
|
|
91
|
+
subscrptAreaCodeNm?: string;
|
|
92
|
+
hssplyZip?: string;
|
|
93
|
+
hssplyAdres?: string;
|
|
94
|
+
latitude?: number;
|
|
95
|
+
longitude?: number;
|
|
96
|
+
totSuplyHshldco?: number;
|
|
97
|
+
rcritPblancDe?: Date;
|
|
98
|
+
rceptBgnde?: Date;
|
|
99
|
+
rceptEndde?: Date;
|
|
100
|
+
spsplyRceptBgnde?: Date;
|
|
101
|
+
spsplyRceptEndde?: Date;
|
|
102
|
+
przwnerPresnatnDe?: Date;
|
|
103
|
+
cntrctCnclsBgnde?: Date;
|
|
104
|
+
cntrctCnclsEndde?: Date;
|
|
105
|
+
mvnPrearngeYm?: Date;
|
|
106
|
+
hmpgAdres?: string;
|
|
107
|
+
pblancUrl?: string;
|
|
108
|
+
mdhsTelno?: string;
|
|
109
|
+
cnstrctEntrpsNm?: string;
|
|
110
|
+
bsnsMbyNm?: string;
|
|
111
|
+
nsprcNm?: string;
|
|
112
|
+
specltRdnEarthAt?: string;
|
|
113
|
+
mdatTrgetAreaSecd?: string;
|
|
114
|
+
parcprcUlsAt?: string;
|
|
115
|
+
imprmnBsnsAt?: string;
|
|
116
|
+
publicHouseEarthAt?: string;
|
|
117
|
+
lrsclBldlndAt?: string;
|
|
118
|
+
nplnPrvoprPublicHouseAt?: string;
|
|
119
|
+
publicHouseSpclwApplcAt?: string;
|
|
120
|
+
collectedAt: Date;
|
|
121
|
+
createdAt: Date;
|
|
122
|
+
updatedAt: Date;
|
|
123
|
+
}
|
|
124
|
+
export interface GetHousingSupplyResponseDto {
|
|
125
|
+
success: boolean;
|
|
126
|
+
message: string;
|
|
127
|
+
data: HousingSupplyDataDto;
|
|
128
|
+
}
|
|
129
|
+
export interface GetHousingSuppliesResponseDto {
|
|
130
|
+
success: boolean;
|
|
131
|
+
message: string;
|
|
132
|
+
data: HousingSupplyDataDto[];
|
|
133
|
+
meta: PaginationMetaDto;
|
|
134
|
+
}
|
|
135
|
+
export interface CreateHousingSupplyResponseDto {
|
|
136
|
+
success: boolean;
|
|
137
|
+
message: string;
|
|
138
|
+
data: HousingSupplyDataDto;
|
|
139
|
+
}
|
|
140
|
+
export interface UpdateHousingSupplyResponseDto {
|
|
141
|
+
success: boolean;
|
|
142
|
+
message: string;
|
|
143
|
+
data: HousingSupplyDataDto;
|
|
144
|
+
}
|
|
145
|
+
export interface DeleteHousingSupplyResponseDto {
|
|
146
|
+
success: boolean;
|
|
147
|
+
message: string;
|
|
148
|
+
}
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -20,6 +20,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
21
|
__exportStar(require("./auth.const"), exports);
|
|
22
22
|
__exportStar(require("./auth.dto"), exports);
|
|
23
|
+
__exportStar(require("./bug-report.dto"), exports);
|
|
24
|
+
__exportStar(require("./housing-supply.dto"), exports);
|
|
23
25
|
__exportStar(require("./jwt.types"), exports);
|
|
24
26
|
__exportStar(require("./response.dto"), exports);
|
|
25
27
|
__exportStar(require("./response.helpers"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "byzip-v2-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -8,8 +8,7 @@
|
|
|
8
8
|
],
|
|
9
9
|
"scripts": {
|
|
10
10
|
"build": "tsc",
|
|
11
|
-
"prepublishOnly": "npm run build"
|
|
12
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
11
|
+
"prepublishOnly": "npm run build"
|
|
13
12
|
},
|
|
14
13
|
"keywords": [
|
|
15
14
|
"byzip",
|