@mamindom/contracts 1.0.61 → 1.0.63
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.
- package/dist/gen/banner.d.ts +51 -34
- package/dist/proto/banner.proto +64 -19
- package/gen/banner.ts +52 -30
- package/package.json +1 -1
- package/proto/banner.proto +64 -19
package/dist/gen/banner.d.ts
CHANGED
|
@@ -62,10 +62,11 @@ export interface BannerSlideResponse {
|
|
|
62
62
|
subtitle: {
|
|
63
63
|
[key: string]: string;
|
|
64
64
|
};
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
65
|
+
buttons: BannerSlideButton[];
|
|
66
|
+
buttonsPosition?: ElementPosition | undefined;
|
|
67
|
+
links: BannerSlideLink[];
|
|
68
|
+
linksPosition?: ElementPosition | undefined;
|
|
69
|
+
linksLayout?: string | undefined;
|
|
69
70
|
styling: string;
|
|
70
71
|
sortOrder: number;
|
|
71
72
|
}
|
|
@@ -77,10 +78,6 @@ export interface BannerSlideResponse_SubtitleEntry {
|
|
|
77
78
|
key: string;
|
|
78
79
|
value: string;
|
|
79
80
|
}
|
|
80
|
-
export interface BannerSlideResponse_ButtonTextEntry {
|
|
81
|
-
key: string;
|
|
82
|
-
value: string;
|
|
83
|
-
}
|
|
84
81
|
export interface GetBannersRequest {
|
|
85
82
|
pagination: PaginationRequest | undefined;
|
|
86
83
|
placement?: BannerPlacement | undefined;
|
|
@@ -147,10 +144,11 @@ export interface CreateBannerSlidePayload {
|
|
|
147
144
|
subtitle: {
|
|
148
145
|
[key: string]: string;
|
|
149
146
|
};
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
147
|
+
buttons: BannerSlideButton[];
|
|
148
|
+
buttonsPosition?: ElementPosition | undefined;
|
|
149
|
+
links: BannerSlideLink[];
|
|
150
|
+
linksPosition?: ElementPosition | undefined;
|
|
151
|
+
linksLayout?: string | undefined;
|
|
154
152
|
styling: string;
|
|
155
153
|
sortOrder: number;
|
|
156
154
|
}
|
|
@@ -162,10 +160,6 @@ export interface CreateBannerSlidePayload_SubtitleEntry {
|
|
|
162
160
|
key: string;
|
|
163
161
|
value: string;
|
|
164
162
|
}
|
|
165
|
-
export interface CreateBannerSlidePayload_ButtonTextEntry {
|
|
166
|
-
key: string;
|
|
167
|
-
value: string;
|
|
168
|
-
}
|
|
169
163
|
export interface CreateBannerSlideRequest {
|
|
170
164
|
bannerId: string;
|
|
171
165
|
image: string;
|
|
@@ -178,10 +172,11 @@ export interface CreateBannerSlideRequest {
|
|
|
178
172
|
subtitle: {
|
|
179
173
|
[key: string]: string;
|
|
180
174
|
};
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
175
|
+
buttons: BannerSlideButton[];
|
|
176
|
+
buttonsPosition?: ElementPosition | undefined;
|
|
177
|
+
links: BannerSlideLink[];
|
|
178
|
+
linksPosition?: ElementPosition | undefined;
|
|
179
|
+
linksLayout?: string | undefined;
|
|
185
180
|
styling: string;
|
|
186
181
|
sortOrder: number;
|
|
187
182
|
}
|
|
@@ -193,10 +188,6 @@ export interface CreateBannerSlideRequest_SubtitleEntry {
|
|
|
193
188
|
key: string;
|
|
194
189
|
value: string;
|
|
195
190
|
}
|
|
196
|
-
export interface CreateBannerSlideRequest_ButtonTextEntry {
|
|
197
|
-
key: string;
|
|
198
|
-
value: string;
|
|
199
|
-
}
|
|
200
191
|
export interface UpdateBannerSlideRequest {
|
|
201
192
|
id: string;
|
|
202
193
|
image?: string | undefined;
|
|
@@ -209,10 +200,11 @@ export interface UpdateBannerSlideRequest {
|
|
|
209
200
|
subtitle: {
|
|
210
201
|
[key: string]: string;
|
|
211
202
|
};
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
203
|
+
buttons: BannerSlideButton[];
|
|
204
|
+
buttonsPosition?: ElementPosition | undefined;
|
|
205
|
+
links: BannerSlideLink[];
|
|
206
|
+
linksPosition?: ElementPosition | undefined;
|
|
207
|
+
linksLayout?: string | undefined;
|
|
216
208
|
styling?: string | undefined;
|
|
217
209
|
sortOrder?: number | undefined;
|
|
218
210
|
}
|
|
@@ -224,10 +216,6 @@ export interface UpdateBannerSlideRequest_SubtitleEntry {
|
|
|
224
216
|
key: string;
|
|
225
217
|
value: string;
|
|
226
218
|
}
|
|
227
|
-
export interface UpdateBannerSlideRequest_ButtonTextEntry {
|
|
228
|
-
key: string;
|
|
229
|
-
value: string;
|
|
230
|
-
}
|
|
231
219
|
export interface DeleteBannerSlideRequest {
|
|
232
220
|
id: string;
|
|
233
221
|
}
|
|
@@ -255,13 +243,42 @@ export interface PublicSlideResponse {
|
|
|
255
243
|
mobileImage?: string | undefined;
|
|
256
244
|
title?: string | undefined;
|
|
257
245
|
subtitle?: string | undefined;
|
|
258
|
-
|
|
259
|
-
|
|
246
|
+
buttons: BannerSlideButton[];
|
|
247
|
+
buttonsPosition?: ElementPosition | undefined;
|
|
248
|
+
links: BannerSlideLink[];
|
|
249
|
+
linksPosition?: ElementPosition | undefined;
|
|
250
|
+
linksLayout?: string | undefined;
|
|
260
251
|
styling: string;
|
|
261
252
|
}
|
|
262
253
|
export interface GetBannersByPlacementResponse {
|
|
263
254
|
items: PublicBannerResponse[];
|
|
264
255
|
}
|
|
256
|
+
export interface ElementPosition {
|
|
257
|
+
vertical: string;
|
|
258
|
+
horizontal: string;
|
|
259
|
+
}
|
|
260
|
+
export interface BannerSlideButton {
|
|
261
|
+
text: {
|
|
262
|
+
[key: string]: string;
|
|
263
|
+
};
|
|
264
|
+
href: string;
|
|
265
|
+
variant?: string | undefined;
|
|
266
|
+
}
|
|
267
|
+
export interface BannerSlideButton_TextEntry {
|
|
268
|
+
key: string;
|
|
269
|
+
value: string;
|
|
270
|
+
}
|
|
271
|
+
export interface BannerSlideLink {
|
|
272
|
+
text: {
|
|
273
|
+
[key: string]: string;
|
|
274
|
+
};
|
|
275
|
+
href: string;
|
|
276
|
+
categoryId?: string | undefined;
|
|
277
|
+
}
|
|
278
|
+
export interface BannerSlideLink_TextEntry {
|
|
279
|
+
key: string;
|
|
280
|
+
value: string;
|
|
281
|
+
}
|
|
265
282
|
export declare const CONTENT_V1_PACKAGE_NAME = "content.v1";
|
|
266
283
|
export interface BannerServiceClient {
|
|
267
284
|
getBanners(request: GetBannersRequest): Observable<GetBannersResponse>;
|
package/dist/proto/banner.proto
CHANGED
|
@@ -70,10 +70,15 @@ message BannerSlideResponse {
|
|
|
70
70
|
optional string mobile_image_id = 5;
|
|
71
71
|
map<string, string> title = 6;
|
|
72
72
|
map<string, string> subtitle = 7;
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
|
|
74
|
+
repeated BannerSlideButton buttons = 8;
|
|
75
|
+
optional ElementPosition buttons_position = 9;
|
|
76
|
+
repeated BannerSlideLink links = 10;
|
|
77
|
+
optional ElementPosition links_position = 11;
|
|
78
|
+
optional string links_layout = 12;
|
|
79
|
+
|
|
80
|
+
string styling = 13;
|
|
81
|
+
int32 sort_order = 14;
|
|
77
82
|
}
|
|
78
83
|
|
|
79
84
|
|
|
@@ -133,10 +138,16 @@ message CreateBannerSlidePayload {
|
|
|
133
138
|
optional string mobile_image_id = 4;
|
|
134
139
|
map<string, string> title = 5;
|
|
135
140
|
map<string, string> subtitle = 6;
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
repeated BannerSlideButton buttons = 7;
|
|
144
|
+
optional ElementPosition buttons_position = 8;
|
|
145
|
+
repeated BannerSlideLink links = 9;
|
|
146
|
+
optional ElementPosition links_position = 10;
|
|
147
|
+
optional string links_layout = 11;
|
|
148
|
+
|
|
149
|
+
string styling = 12;
|
|
150
|
+
int32 sort_order = 13;
|
|
140
151
|
}
|
|
141
152
|
|
|
142
153
|
message CreateBannerSlideRequest {
|
|
@@ -147,10 +158,16 @@ message CreateBannerSlideRequest {
|
|
|
147
158
|
optional string mobile_image_id = 5;
|
|
148
159
|
map<string, string> title = 6;
|
|
149
160
|
map<string, string> subtitle = 7;
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
repeated BannerSlideButton buttons = 8;
|
|
164
|
+
optional ElementPosition buttons_position = 9;
|
|
165
|
+
repeated BannerSlideLink links = 10;
|
|
166
|
+
optional ElementPosition links_position = 11;
|
|
167
|
+
optional string links_layout = 12;
|
|
168
|
+
|
|
169
|
+
string styling = 13;
|
|
170
|
+
int32 sort_order = 14;
|
|
154
171
|
}
|
|
155
172
|
|
|
156
173
|
message UpdateBannerSlideRequest {
|
|
@@ -161,10 +178,16 @@ message UpdateBannerSlideRequest {
|
|
|
161
178
|
optional string mobile_image_id = 5;
|
|
162
179
|
map<string, string> title = 6;
|
|
163
180
|
map<string, string> subtitle = 7;
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
optional
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
repeated BannerSlideButton buttons = 8;
|
|
184
|
+
optional ElementPosition buttons_position = 9;
|
|
185
|
+
repeated BannerSlideLink links = 10;
|
|
186
|
+
optional ElementPosition links_position = 11;
|
|
187
|
+
optional string links_layout = 12;
|
|
188
|
+
|
|
189
|
+
optional string styling = 13;
|
|
190
|
+
optional int32 sort_order = 14;
|
|
168
191
|
}
|
|
169
192
|
|
|
170
193
|
message DeleteBannerSlideRequest {
|
|
@@ -200,11 +223,33 @@ message PublicSlideResponse {
|
|
|
200
223
|
optional string mobile_image = 2;
|
|
201
224
|
optional string title = 3;
|
|
202
225
|
optional string subtitle = 4;
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
226
|
+
|
|
227
|
+
repeated BannerSlideButton buttons = 5;
|
|
228
|
+
optional ElementPosition buttons_position = 6;
|
|
229
|
+
repeated BannerSlideLink links = 7;
|
|
230
|
+
optional ElementPosition links_position = 8;
|
|
231
|
+
optional string links_layout = 9;
|
|
232
|
+
|
|
233
|
+
string styling = 10;
|
|
206
234
|
}
|
|
207
235
|
|
|
208
236
|
message GetBannersByPlacementResponse {
|
|
209
237
|
repeated PublicBannerResponse items = 1;
|
|
210
238
|
}
|
|
239
|
+
|
|
240
|
+
message ElementPosition {
|
|
241
|
+
string vertical = 1;
|
|
242
|
+
string horizontal = 2;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
message BannerSlideButton {
|
|
246
|
+
map<string, string> text = 1;
|
|
247
|
+
string href = 2;
|
|
248
|
+
optional string variant = 3;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
message BannerSlideLink {
|
|
252
|
+
map<string, string> text = 1;
|
|
253
|
+
string href = 2;
|
|
254
|
+
optional string category_id = 3;
|
|
255
|
+
}
|
package/gen/banner.ts
CHANGED
|
@@ -69,8 +69,11 @@ export interface BannerSlideResponse {
|
|
|
69
69
|
mobileImageId?: string | undefined;
|
|
70
70
|
title: { [key: string]: string };
|
|
71
71
|
subtitle: { [key: string]: string };
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
buttons: BannerSlideButton[];
|
|
73
|
+
buttonsPosition?: ElementPosition | undefined;
|
|
74
|
+
links: BannerSlideLink[];
|
|
75
|
+
linksPosition?: ElementPosition | undefined;
|
|
76
|
+
linksLayout?: string | undefined;
|
|
74
77
|
styling: string;
|
|
75
78
|
sortOrder: number;
|
|
76
79
|
}
|
|
@@ -85,11 +88,6 @@ export interface BannerSlideResponse_SubtitleEntry {
|
|
|
85
88
|
value: string;
|
|
86
89
|
}
|
|
87
90
|
|
|
88
|
-
export interface BannerSlideResponse_ButtonTextEntry {
|
|
89
|
-
key: string;
|
|
90
|
-
value: string;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
91
|
export interface GetBannersRequest {
|
|
94
92
|
pagination: PaginationRequest | undefined;
|
|
95
93
|
placement?: BannerPlacement | undefined;
|
|
@@ -156,8 +154,11 @@ export interface CreateBannerSlidePayload {
|
|
|
156
154
|
mobileImageId?: string | undefined;
|
|
157
155
|
title: { [key: string]: string };
|
|
158
156
|
subtitle: { [key: string]: string };
|
|
159
|
-
|
|
160
|
-
|
|
157
|
+
buttons: BannerSlideButton[];
|
|
158
|
+
buttonsPosition?: ElementPosition | undefined;
|
|
159
|
+
links: BannerSlideLink[];
|
|
160
|
+
linksPosition?: ElementPosition | undefined;
|
|
161
|
+
linksLayout?: string | undefined;
|
|
161
162
|
styling: string;
|
|
162
163
|
sortOrder: number;
|
|
163
164
|
}
|
|
@@ -172,11 +173,6 @@ export interface CreateBannerSlidePayload_SubtitleEntry {
|
|
|
172
173
|
value: string;
|
|
173
174
|
}
|
|
174
175
|
|
|
175
|
-
export interface CreateBannerSlidePayload_ButtonTextEntry {
|
|
176
|
-
key: string;
|
|
177
|
-
value: string;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
176
|
export interface CreateBannerSlideRequest {
|
|
181
177
|
bannerId: string;
|
|
182
178
|
image: string;
|
|
@@ -185,8 +181,11 @@ export interface CreateBannerSlideRequest {
|
|
|
185
181
|
mobileImageId?: string | undefined;
|
|
186
182
|
title: { [key: string]: string };
|
|
187
183
|
subtitle: { [key: string]: string };
|
|
188
|
-
|
|
189
|
-
|
|
184
|
+
buttons: BannerSlideButton[];
|
|
185
|
+
buttonsPosition?: ElementPosition | undefined;
|
|
186
|
+
links: BannerSlideLink[];
|
|
187
|
+
linksPosition?: ElementPosition | undefined;
|
|
188
|
+
linksLayout?: string | undefined;
|
|
190
189
|
styling: string;
|
|
191
190
|
sortOrder: number;
|
|
192
191
|
}
|
|
@@ -201,11 +200,6 @@ export interface CreateBannerSlideRequest_SubtitleEntry {
|
|
|
201
200
|
value: string;
|
|
202
201
|
}
|
|
203
202
|
|
|
204
|
-
export interface CreateBannerSlideRequest_ButtonTextEntry {
|
|
205
|
-
key: string;
|
|
206
|
-
value: string;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
203
|
export interface UpdateBannerSlideRequest {
|
|
210
204
|
id: string;
|
|
211
205
|
image?: string | undefined;
|
|
@@ -214,8 +208,11 @@ export interface UpdateBannerSlideRequest {
|
|
|
214
208
|
mobileImageId?: string | undefined;
|
|
215
209
|
title: { [key: string]: string };
|
|
216
210
|
subtitle: { [key: string]: string };
|
|
217
|
-
|
|
218
|
-
|
|
211
|
+
buttons: BannerSlideButton[];
|
|
212
|
+
buttonsPosition?: ElementPosition | undefined;
|
|
213
|
+
links: BannerSlideLink[];
|
|
214
|
+
linksPosition?: ElementPosition | undefined;
|
|
215
|
+
linksLayout?: string | undefined;
|
|
219
216
|
styling?: string | undefined;
|
|
220
217
|
sortOrder?: number | undefined;
|
|
221
218
|
}
|
|
@@ -230,11 +227,6 @@ export interface UpdateBannerSlideRequest_SubtitleEntry {
|
|
|
230
227
|
value: string;
|
|
231
228
|
}
|
|
232
229
|
|
|
233
|
-
export interface UpdateBannerSlideRequest_ButtonTextEntry {
|
|
234
|
-
key: string;
|
|
235
|
-
value: string;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
230
|
export interface DeleteBannerSlideRequest {
|
|
239
231
|
id: string;
|
|
240
232
|
}
|
|
@@ -267,8 +259,11 @@ export interface PublicSlideResponse {
|
|
|
267
259
|
mobileImage?: string | undefined;
|
|
268
260
|
title?: string | undefined;
|
|
269
261
|
subtitle?: string | undefined;
|
|
270
|
-
|
|
271
|
-
|
|
262
|
+
buttons: BannerSlideButton[];
|
|
263
|
+
buttonsPosition?: ElementPosition | undefined;
|
|
264
|
+
links: BannerSlideLink[];
|
|
265
|
+
linksPosition?: ElementPosition | undefined;
|
|
266
|
+
linksLayout?: string | undefined;
|
|
272
267
|
styling: string;
|
|
273
268
|
}
|
|
274
269
|
|
|
@@ -276,6 +271,33 @@ export interface GetBannersByPlacementResponse {
|
|
|
276
271
|
items: PublicBannerResponse[];
|
|
277
272
|
}
|
|
278
273
|
|
|
274
|
+
export interface ElementPosition {
|
|
275
|
+
vertical: string;
|
|
276
|
+
horizontal: string;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export interface BannerSlideButton {
|
|
280
|
+
text: { [key: string]: string };
|
|
281
|
+
href: string;
|
|
282
|
+
variant?: string | undefined;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export interface BannerSlideButton_TextEntry {
|
|
286
|
+
key: string;
|
|
287
|
+
value: string;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
export interface BannerSlideLink {
|
|
291
|
+
text: { [key: string]: string };
|
|
292
|
+
href: string;
|
|
293
|
+
categoryId?: string | undefined;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
export interface BannerSlideLink_TextEntry {
|
|
297
|
+
key: string;
|
|
298
|
+
value: string;
|
|
299
|
+
}
|
|
300
|
+
|
|
279
301
|
export const CONTENT_V1_PACKAGE_NAME = "content.v1";
|
|
280
302
|
|
|
281
303
|
export interface BannerServiceClient {
|
package/package.json
CHANGED
package/proto/banner.proto
CHANGED
|
@@ -70,10 +70,15 @@ message BannerSlideResponse {
|
|
|
70
70
|
optional string mobile_image_id = 5;
|
|
71
71
|
map<string, string> title = 6;
|
|
72
72
|
map<string, string> subtitle = 7;
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
|
|
74
|
+
repeated BannerSlideButton buttons = 8;
|
|
75
|
+
optional ElementPosition buttons_position = 9;
|
|
76
|
+
repeated BannerSlideLink links = 10;
|
|
77
|
+
optional ElementPosition links_position = 11;
|
|
78
|
+
optional string links_layout = 12;
|
|
79
|
+
|
|
80
|
+
string styling = 13;
|
|
81
|
+
int32 sort_order = 14;
|
|
77
82
|
}
|
|
78
83
|
|
|
79
84
|
|
|
@@ -133,10 +138,16 @@ message CreateBannerSlidePayload {
|
|
|
133
138
|
optional string mobile_image_id = 4;
|
|
134
139
|
map<string, string> title = 5;
|
|
135
140
|
map<string, string> subtitle = 6;
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
repeated BannerSlideButton buttons = 7;
|
|
144
|
+
optional ElementPosition buttons_position = 8;
|
|
145
|
+
repeated BannerSlideLink links = 9;
|
|
146
|
+
optional ElementPosition links_position = 10;
|
|
147
|
+
optional string links_layout = 11;
|
|
148
|
+
|
|
149
|
+
string styling = 12;
|
|
150
|
+
int32 sort_order = 13;
|
|
140
151
|
}
|
|
141
152
|
|
|
142
153
|
message CreateBannerSlideRequest {
|
|
@@ -147,10 +158,16 @@ message CreateBannerSlideRequest {
|
|
|
147
158
|
optional string mobile_image_id = 5;
|
|
148
159
|
map<string, string> title = 6;
|
|
149
160
|
map<string, string> subtitle = 7;
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
repeated BannerSlideButton buttons = 8;
|
|
164
|
+
optional ElementPosition buttons_position = 9;
|
|
165
|
+
repeated BannerSlideLink links = 10;
|
|
166
|
+
optional ElementPosition links_position = 11;
|
|
167
|
+
optional string links_layout = 12;
|
|
168
|
+
|
|
169
|
+
string styling = 13;
|
|
170
|
+
int32 sort_order = 14;
|
|
154
171
|
}
|
|
155
172
|
|
|
156
173
|
message UpdateBannerSlideRequest {
|
|
@@ -161,10 +178,16 @@ message UpdateBannerSlideRequest {
|
|
|
161
178
|
optional string mobile_image_id = 5;
|
|
162
179
|
map<string, string> title = 6;
|
|
163
180
|
map<string, string> subtitle = 7;
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
optional
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
repeated BannerSlideButton buttons = 8;
|
|
184
|
+
optional ElementPosition buttons_position = 9;
|
|
185
|
+
repeated BannerSlideLink links = 10;
|
|
186
|
+
optional ElementPosition links_position = 11;
|
|
187
|
+
optional string links_layout = 12;
|
|
188
|
+
|
|
189
|
+
optional string styling = 13;
|
|
190
|
+
optional int32 sort_order = 14;
|
|
168
191
|
}
|
|
169
192
|
|
|
170
193
|
message DeleteBannerSlideRequest {
|
|
@@ -200,11 +223,33 @@ message PublicSlideResponse {
|
|
|
200
223
|
optional string mobile_image = 2;
|
|
201
224
|
optional string title = 3;
|
|
202
225
|
optional string subtitle = 4;
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
226
|
+
|
|
227
|
+
repeated BannerSlideButton buttons = 5;
|
|
228
|
+
optional ElementPosition buttons_position = 6;
|
|
229
|
+
repeated BannerSlideLink links = 7;
|
|
230
|
+
optional ElementPosition links_position = 8;
|
|
231
|
+
optional string links_layout = 9;
|
|
232
|
+
|
|
233
|
+
string styling = 10;
|
|
206
234
|
}
|
|
207
235
|
|
|
208
236
|
message GetBannersByPlacementResponse {
|
|
209
237
|
repeated PublicBannerResponse items = 1;
|
|
210
238
|
}
|
|
239
|
+
|
|
240
|
+
message ElementPosition {
|
|
241
|
+
string vertical = 1;
|
|
242
|
+
string horizontal = 2;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
message BannerSlideButton {
|
|
246
|
+
map<string, string> text = 1;
|
|
247
|
+
string href = 2;
|
|
248
|
+
optional string variant = 3;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
message BannerSlideLink {
|
|
252
|
+
map<string, string> text = 1;
|
|
253
|
+
string href = 2;
|
|
254
|
+
optional string category_id = 3;
|
|
255
|
+
}
|