@devline-smart-taxi/common 2.3.48 → 2.3.50
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.
|
@@ -11,8 +11,8 @@ service LegalDocumentService {
|
|
|
11
11
|
rpc Create (CreateLegalDocumentRequest) returns (LegalDocumentResponse);
|
|
12
12
|
rpc Update (UpdateLegalDocumentRequest) returns (LegalDocumentResponse);
|
|
13
13
|
rpc Delete (common.IdRequest) returns (common.SuccessResponseResult);
|
|
14
|
-
// Public —
|
|
15
|
-
rpc
|
|
14
|
+
// Public — type bo'yicha active hujjatni olish
|
|
15
|
+
rpc GetByType (GetByTypeRequest) returns (LegalDocumentResponse);
|
|
16
16
|
// Admin — hammasi
|
|
17
17
|
rpc GetAllAdmin (common.NoParams) returns (LegalDocumentListResponse);
|
|
18
18
|
rpc GetById (common.IdRequest) returns (LegalDocumentResponse);
|
|
@@ -27,6 +27,10 @@ message CreateLegalDocumentRequest {
|
|
|
27
27
|
string fileUrl = 3;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
message GetByTypeRequest {
|
|
31
|
+
string type = 1;
|
|
32
|
+
}
|
|
33
|
+
|
|
30
34
|
message UpdateLegalDocumentRequest {
|
|
31
35
|
string id = 1;
|
|
32
36
|
optional string title = 2;
|
|
@@ -25,6 +25,7 @@ message CreateSupportContactRequest {
|
|
|
25
25
|
string type = 1;
|
|
26
26
|
string value = 2;
|
|
27
27
|
optional string label = 3;
|
|
28
|
+
optional string iconUrl = 4;
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
message UpdateSupportContactRequest {
|
|
@@ -32,6 +33,7 @@ message UpdateSupportContactRequest {
|
|
|
32
33
|
optional string type = 2;
|
|
33
34
|
optional string value = 3;
|
|
34
35
|
optional string label = 4;
|
|
36
|
+
optional string iconUrl = 5;
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
// ==========================================
|
|
@@ -44,6 +46,7 @@ message SupportContactData {
|
|
|
44
46
|
string label = 4;
|
|
45
47
|
bool isActive = 5;
|
|
46
48
|
string createdAt = 6;
|
|
49
|
+
string iconUrl = 7;
|
|
47
50
|
}
|
|
48
51
|
|
|
49
52
|
message SupportContactResponse {
|