-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathproApiV1Macro.proto
155 lines (121 loc) · 3.83 KB
/
proApiV1Macro.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
syntax = "proto3";
package rv.data;
import "proApiV1Color.proto";
import "proApiV1Identifier.proto";
message API_v1_Macro {
rv.data.API_v1_Identifier id = 1;
rv.data.API_v1_Color color = 2;
string image_type = 3;
}
message API_v1_Macro_Collection {
rv.data.API_v1_Identifier id = 1;
repeated rv.data.API_v1_Macro macros = 2;
}
message API_v1_Macro_Request {
oneof Request {
rv.data.API_v1_Macro_Request.Macros macros = 1;
rv.data.API_v1_Macro_Request.GetMacro get_macro = 2;
rv.data.API_v1_Macro_Request.PutMacro put_macro = 3;
rv.data.API_v1_Macro_Request.DeleteMacro delete_macro = 4;
rv.data.API_v1_Macro_Request.TriggerMacro trigger_macro = 5;
rv.data.API_v1_Macro_Request.MacroCollections macro_collections = 6;
rv.data.API_v1_Macro_Request.GetMacroCollection get_macro_collection = 7;
rv.data.API_v1_Macro_Request.PostMacroCollections post_macro_collections = 8;
rv.data.API_v1_Macro_Request.PutMacroCollection put_macro_collection = 9;
rv.data.API_v1_Macro_Request.DeleteMacroCollection delete_macro_collection = 10;
rv.data.API_v1_Macro_Request.MacroIcon macro_icon = 11;
rv.data.API_v1_Macro_Request.PutMacroIcon put_macro_icon = 12;
}
message Macros {
}
message GetMacro {
string id = 1;
}
message PutMacro {
string id = 1;
string name_change = 2;
rv.data.API_v1_Color color_change = 3;
string image_type_change = 4;
}
message DeleteMacro {
string id = 1;
}
message TriggerMacro {
string id = 1;
}
message MacroCollections {
}
message GetMacroCollection {
string id = 1;
}
message PostMacroCollections {
string name = 1;
}
message PutMacroCollection {
string id = 1;
rv.data.API_v1_Macro_Collection changes = 2;
}
message DeleteMacroCollection {
string id = 1;
}
message MacroIcon {
string id = 1;
}
message PutMacroIcon {
string id = 1;
string content_type = 2;
bytes icon = 3;
}
}
message API_v1_Macro_Response {
oneof Response {
rv.data.API_v1_Macro_Response.Macros macros = 1;
rv.data.API_v1_Macro_Response.GetMacro get_macro = 2;
rv.data.API_v1_Macro_Response.PutMacro put_macro = 3;
rv.data.API_v1_Macro_Response.DeleteMacro delete_macro = 4;
rv.data.API_v1_Macro_Response.TriggerMacro trigger_macro = 5;
rv.data.API_v1_Macro_Response.MacroCollections macro_collections = 6;
rv.data.API_v1_Macro_Response.GetMacroCollection get_macro_collection = 7;
rv.data.API_v1_Macro_Response.PostMacroCollections post_macro_collections = 8;
rv.data.API_v1_Macro_Response.PutMacroCollection put_macro_collection = 9;
rv.data.API_v1_Macro_Response.DeleteMacroCollection delete_macro_collection = 10;
rv.data.API_v1_Macro_Response.MacroIcon macro_icon = 11;
rv.data.API_v1_Macro_Response.PutMacroIcon put_macro_icon = 12;
}
message Macros {
repeated rv.data.API_v1_Macro macros = 1;
}
message GetMacro {
rv.data.API_v1_Macro macro = 1;
}
message PutMacro {
rv.data.API_v1_Macro macro = 1;
}
message DeleteMacro {
}
message TriggerMacro {
}
message MacroCollections {
rv.data.API_v1_Macro_Response.MacroCollections.Collections macro_collections = 1;
message Collections {
repeated rv.data.API_v1_Macro_Collection collections = 1;
}
}
message GetMacroCollection {
rv.data.API_v1_Macro_Collection macro_collection = 1;
}
message PostMacroCollections {
rv.data.API_v1_Macro_Collection macro_collection = 1;
}
message PutMacroCollection {
rv.data.API_v1_Macro_Collection macro_collection = 1;
}
message DeleteMacroCollection {
}
message MacroIcon {
string content_type = 1;
bytes icon = 2;
}
message PutMacroIcon {
}
}