@candesk/contracts 6.59.0 → 6.60.0

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.
@@ -53,6 +53,7 @@ export interface Review {
53
53
  publishedAt?: string | undefined;
54
54
  createdAt: string;
55
55
  updatedAt: string;
56
+ submittedAt?: string | undefined;
56
57
  }
57
58
  export interface Comment {
58
59
  id: string;
@@ -186,6 +187,7 @@ export interface ListPendingReviewsResponse {
186
187
  }
187
188
  export interface ApproveReviewRequest {
188
189
  id: string;
190
+ submittedAt: string;
189
191
  }
190
192
  export interface ApproveReviewResponse {
191
193
  review: Review | undefined;
@@ -193,6 +195,7 @@ export interface ApproveReviewResponse {
193
195
  export interface RejectReviewRequest {
194
196
  id: string;
195
197
  reason: RejectionReason;
198
+ submittedAt: string;
196
199
  }
197
200
  export interface RejectReviewResponse {
198
201
  review: Review | undefined;
@@ -54,6 +54,7 @@ export interface Review {
54
54
  publishedAt?: string | undefined;
55
55
  createdAt: string;
56
56
  updatedAt: string;
57
+ submittedAt?: string | undefined;
57
58
  }
58
59
  export interface Comment {
59
60
  id: string;
@@ -187,6 +188,7 @@ export interface ListPendingReviewsResponse {
187
188
  }
188
189
  export interface ApproveReviewRequest {
189
190
  id: string;
191
+ submittedAt: string;
190
192
  }
191
193
  export interface ApproveReviewResponse {
192
194
  review: Review | undefined;
@@ -194,6 +196,7 @@ export interface ApproveReviewResponse {
194
196
  export interface RejectReviewRequest {
195
197
  id: string;
196
198
  reason: RejectionReason;
199
+ submittedAt: string;
197
200
  }
198
201
  export interface RejectReviewResponse {
199
202
  review: Review | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@candesk/contracts",
3
- "version": "6.59.0",
3
+ "version": "6.60.0",
4
4
  "description": "Protobuf contracts for CanDesk microservices",
5
5
  "author": {
6
6
  "name": "Alexander Schulz",
@@ -81,6 +81,7 @@ message Review {
81
81
  optional string published_at = 10;
82
82
  string created_at = 11;
83
83
  string updated_at = 12;
84
+ optional string submitted_at = 13;
84
85
  }
85
86
 
86
87
  message Comment {
@@ -243,6 +244,7 @@ message ListPendingReviewsResponse {
243
244
 
244
245
  message ApproveReviewRequest {
245
246
  string id = 1;
247
+ string submitted_at = 2;
246
248
  }
247
249
 
248
250
  message ApproveReviewResponse {
@@ -252,6 +254,7 @@ message ApproveReviewResponse {
252
254
  message RejectReviewRequest {
253
255
  string id = 1;
254
256
  RejectionReason reason = 2;
257
+ string submitted_at = 3;
255
258
  }
256
259
 
257
260
  message RejectReviewResponse {