saga-proto-contracts 1.0.13 → 1.0.15
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.
|
@@ -10,7 +10,6 @@ export declare enum ReservationStatus {
|
|
|
10
10
|
export interface ReserveRequest {
|
|
11
11
|
items: ReserveItem[];
|
|
12
12
|
orderId: string;
|
|
13
|
-
idempotencyKey: string;
|
|
14
13
|
}
|
|
15
14
|
export interface ReserveResponse {
|
|
16
15
|
reservationId: string;
|
|
@@ -18,14 +17,12 @@ export interface ReserveResponse {
|
|
|
18
17
|
}
|
|
19
18
|
export interface CommitRequest {
|
|
20
19
|
orderId: string;
|
|
21
|
-
idempotencyKey: string;
|
|
22
20
|
}
|
|
23
21
|
export interface CommitResponse {
|
|
24
22
|
status: ReservationStatus;
|
|
25
23
|
}
|
|
26
24
|
export interface ReleaseRequest {
|
|
27
25
|
orderId: string;
|
|
28
|
-
idempotencyKey: string;
|
|
29
26
|
}
|
|
30
27
|
export interface ReleaseResponse {
|
|
31
28
|
status: ReservationStatus;
|
package/package.json
CHANGED
|
@@ -11,7 +11,6 @@ service InventoryService {
|
|
|
11
11
|
message ReserveRequest {
|
|
12
12
|
repeated ReserveItem items = 1;
|
|
13
13
|
string order_id = 2;
|
|
14
|
-
string idempotency_key = 3;
|
|
15
14
|
}
|
|
16
15
|
|
|
17
16
|
message ReserveResponse {
|
|
@@ -21,7 +20,6 @@ message ReserveResponse {
|
|
|
21
20
|
|
|
22
21
|
message CommitRequest {
|
|
23
22
|
string order_id = 1;
|
|
24
|
-
string idempotency_key = 2;
|
|
25
23
|
}
|
|
26
24
|
|
|
27
25
|
message CommitResponse {
|
|
@@ -30,7 +28,6 @@ message CommitResponse {
|
|
|
30
28
|
|
|
31
29
|
message ReleaseRequest {
|
|
32
30
|
string order_id = 1;
|
|
33
|
-
string idempotency_key = 2;
|
|
34
31
|
}
|
|
35
32
|
|
|
36
33
|
message ReleaseResponse {
|