Skip to content

Commit d787c93

Browse files
authored
'AUTO_GENERATED', 'REJECTED' added (#60)
1 parent b6d74b0 commit d787c93

File tree

6 files changed

+16
-8
lines changed

6 files changed

+16
-8
lines changed

functions/src/data/surcharge/get/DTO/GetSurchargesRepositoryResponse.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ import { Timestamp } from "firebase-admin/firestore";
33
export enum SurchargeStatus {
44
REPORTED = 'REPORTED',
55
CONFIRMED = 'CONFIRMED',
6-
UNKNOWN = 'UNKNOWN'
6+
UNKNOWN = 'UNKNOWN',
7+
AUTO_GENERATED = 'AUTO_GENERATED',
8+
REJECTED = 'REJECTED'
79
}
810

911
export type GetSurchargesRepositoryResponse = {

functions/src/data/surcharge/put/DTO/PutSurchargeRepositoryRequest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ export enum SurchargeStatus {
22
REPORTED = 'REPORTED',
33
CONFIRMED = 'CONFIRMED',
44
UNKNOWN = 'UNKNOWN',
5-
REJECTED = 'REJECTED',
6-
AUTO_GENERATED = 'AUTO_GENERATED'
5+
AUTO_GENERATED = 'AUTO_GENERATED',
6+
REJECTED = 'REJECTED'
77
}
88

99
export type PutSurchargeRepositoryRequest = {

functions/src/domain/place/get/place/entity/GetPlaceUsecaseResponse.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ type addressComponents = {
2020
export enum SurchargeStatus{
2121
REPORTED = 'REPORTED',
2222
CONFIRMED = 'CONFIRMED',
23-
UNKNOWN = 'UNKNOWN'
23+
UNKNOWN = 'UNKNOWN',
24+
AUTO_GENERATED = 'AUTO_GENERATED',
25+
REJECTED = 'REJECTED'
2426
}
2527

2628
export type GetPlaceUsecaseResponse = {

functions/src/domain/surcharge/get/entity/GetSurchargeUsecaseResponse.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
export enum SurchargeStatus{
22
REPORTED = 'REPORTED',
33
CONFIRMED = 'CONFIRMED',
4-
UNKNOWN = 'UNKNOWN'
4+
UNKNOWN = 'UNKNOWN',
5+
AUTO_GENERATED = 'AUTO_GENERATED',
6+
REJECTED = 'REJECTED'
57
}
68

79
export type GetSurchargeUsecaseResponse = {

functions/src/domain/surcharge/put/entity/SurchargeStatus.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ export enum SurchargeStatus {
22
REPORTED = 'REPORTED',
33
CONFIRMED = 'CONFIRMED',
44
UNKNOWN = 'UNKNOWN',
5-
REJECTED = 'REJECTED',
6-
AUTO_GENERATED = 'AUTO_GENERATED'
5+
AUTO_GENERATED = 'AUTO_GENERATED',
6+
REJECTED = 'REJECTED'
77
}
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
export enum SurchargeStatus {
22
REPORTED = 'REPORTED',
33
CONFIRMED = 'CONFIRMED',
4-
UNKNOWN = 'UNKNOWN'
4+
UNKNOWN = 'UNKNOWN',
5+
AUTO_GENERATED = 'AUTO_GENERATED',
6+
REJECTED = 'REJECTED'
57
}

0 commit comments

Comments
 (0)