@streamlayer/sl-eslib 5.189.1 → 5.190.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.
- package/package.json +1 -1
- package/streamlayer/interactive/interactive.common_pb.d.ts +113 -0
- package/streamlayer/interactive/interactive.common_pb.js +8 -1
- package/streamlayer/interactive/library/interactive.library-Library_connectquery.d.ts +38 -0
- package/streamlayer/interactive/library/interactive.library-Library_connectquery.js +45 -0
- package/streamlayer/interactive/library/interactive.library_pb.d.ts +756 -0
- package/streamlayer/interactive/library/interactive.library_pb.js +200 -0
- package/streamlayer/interactive/question/interactive.questions_pb.d.ts +5 -0
- package/streamlayer/interactive/question/interactive.questions_pb.js +1 -1
|
@@ -0,0 +1,756 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file streamlayer/interactive/library/interactive.library.proto (package streamlayer.interactive.library, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
import type { BypassNotifications, Pagination, Question, QuestionType, Sort, Template } from "../interactive.common_pb.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file streamlayer/interactive/library/interactive.library.proto.
|
|
11
|
+
*/
|
|
12
|
+
export declare const file_streamlayer_interactive_library_interactive_library: GenFile;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* @generated from message streamlayer.interactive.library.CreateRequest
|
|
16
|
+
*/
|
|
17
|
+
export declare type CreateRequest = Message<"streamlayer.interactive.library.CreateRequest"> & {
|
|
18
|
+
/**
|
|
19
|
+
* @generated from field: string organization_id = 1;
|
|
20
|
+
*/
|
|
21
|
+
organizationId: string;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: streamlayer.interactive.Template data = 2;
|
|
25
|
+
*/
|
|
26
|
+
data?: Template;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: streamlayer.interactive.BypassNotifications bypass_notifications = 3;
|
|
30
|
+
*/
|
|
31
|
+
bypassNotifications?: BypassNotifications;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message streamlayer.interactive.library.CreateRequest.
|
|
36
|
+
* Use `create(CreateRequestSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export declare const CreateRequestSchema: GenMessage<CreateRequest>;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @generated from message streamlayer.interactive.library.CreateResponse
|
|
42
|
+
*/
|
|
43
|
+
export declare type CreateResponse = Message<"streamlayer.interactive.library.CreateResponse"> & {
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: streamlayer.interactive.library.CreateResponse.CreateResponseData data = 1;
|
|
46
|
+
*/
|
|
47
|
+
data?: CreateResponse_CreateResponseData;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message streamlayer.interactive.library.CreateResponse.
|
|
52
|
+
* Use `create(CreateResponseSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
export declare const CreateResponseSchema: GenMessage<CreateResponse>;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @generated from message streamlayer.interactive.library.CreateResponse.CreateResponseData
|
|
58
|
+
*/
|
|
59
|
+
export declare type CreateResponse_CreateResponseData = Message<"streamlayer.interactive.library.CreateResponse.CreateResponseData"> & {
|
|
60
|
+
/**
|
|
61
|
+
* @generated from field: string id = 1;
|
|
62
|
+
*/
|
|
63
|
+
id: string;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: string type = 2;
|
|
67
|
+
*/
|
|
68
|
+
type: string;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @generated from field: streamlayer.interactive.Template attributes = 3;
|
|
72
|
+
*/
|
|
73
|
+
attributes?: Template;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Describes the message streamlayer.interactive.library.CreateResponse.CreateResponseData.
|
|
78
|
+
* Use `create(CreateResponse_CreateResponseDataSchema)` to create a new message.
|
|
79
|
+
*/
|
|
80
|
+
export declare const CreateResponse_CreateResponseDataSchema: GenMessage<CreateResponse_CreateResponseData>;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* @generated from message streamlayer.interactive.library.DeleteRequest
|
|
84
|
+
*/
|
|
85
|
+
export declare type DeleteRequest = Message<"streamlayer.interactive.library.DeleteRequest"> & {
|
|
86
|
+
/**
|
|
87
|
+
* @generated from field: string id = 1;
|
|
88
|
+
*/
|
|
89
|
+
id: string;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @generated from field: repeated string ids = 2;
|
|
93
|
+
*/
|
|
94
|
+
ids: string[];
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @generated from field: string organization_id = 3;
|
|
98
|
+
*/
|
|
99
|
+
organizationId: string;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* permanent: if supplied the template will be deleted permanently,
|
|
103
|
+
* e.g. it will not be available in a list of recently deleted items (see "show_deleted" in ListRequestFilter)
|
|
104
|
+
*
|
|
105
|
+
* @generated from field: bool permanent = 4;
|
|
106
|
+
*/
|
|
107
|
+
permanent: boolean;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Describes the message streamlayer.interactive.library.DeleteRequest.
|
|
112
|
+
* Use `create(DeleteRequestSchema)` to create a new message.
|
|
113
|
+
*/
|
|
114
|
+
export declare const DeleteRequestSchema: GenMessage<DeleteRequest>;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* @generated from message streamlayer.interactive.library.DeleteResponse
|
|
118
|
+
*/
|
|
119
|
+
export declare type DeleteResponse = Message<"streamlayer.interactive.library.DeleteResponse"> & {
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Describes the message streamlayer.interactive.library.DeleteResponse.
|
|
124
|
+
* Use `create(DeleteResponseSchema)` to create a new message.
|
|
125
|
+
*/
|
|
126
|
+
export declare const DeleteResponseSchema: GenMessage<DeleteResponse>;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* @generated from message streamlayer.interactive.library.RestoreRequest
|
|
130
|
+
*/
|
|
131
|
+
export declare type RestoreRequest = Message<"streamlayer.interactive.library.RestoreRequest"> & {
|
|
132
|
+
/**
|
|
133
|
+
* @generated from field: string id = 1;
|
|
134
|
+
*/
|
|
135
|
+
id: string;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* @generated from field: string organization_id = 2;
|
|
139
|
+
*/
|
|
140
|
+
organizationId: string;
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Describes the message streamlayer.interactive.library.RestoreRequest.
|
|
145
|
+
* Use `create(RestoreRequestSchema)` to create a new message.
|
|
146
|
+
*/
|
|
147
|
+
export declare const RestoreRequestSchema: GenMessage<RestoreRequest>;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* @generated from message streamlayer.interactive.library.RestoreResponse
|
|
151
|
+
*/
|
|
152
|
+
export declare type RestoreResponse = Message<"streamlayer.interactive.library.RestoreResponse"> & {
|
|
153
|
+
/**
|
|
154
|
+
* @generated from field: streamlayer.interactive.library.RestoreResponse.RestoreResponseData data = 1;
|
|
155
|
+
*/
|
|
156
|
+
data?: RestoreResponse_RestoreResponseData;
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Describes the message streamlayer.interactive.library.RestoreResponse.
|
|
161
|
+
* Use `create(RestoreResponseSchema)` to create a new message.
|
|
162
|
+
*/
|
|
163
|
+
export declare const RestoreResponseSchema: GenMessage<RestoreResponse>;
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* @generated from message streamlayer.interactive.library.RestoreResponse.RestoreResponseData
|
|
167
|
+
*/
|
|
168
|
+
export declare type RestoreResponse_RestoreResponseData = Message<"streamlayer.interactive.library.RestoreResponse.RestoreResponseData"> & {
|
|
169
|
+
/**
|
|
170
|
+
* @generated from field: string id = 1;
|
|
171
|
+
*/
|
|
172
|
+
id: string;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* @generated from field: string type = 2;
|
|
176
|
+
*/
|
|
177
|
+
type: string;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* @generated from field: streamlayer.interactive.Template attributes = 3;
|
|
181
|
+
*/
|
|
182
|
+
attributes?: Template;
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Describes the message streamlayer.interactive.library.RestoreResponse.RestoreResponseData.
|
|
187
|
+
* Use `create(RestoreResponse_RestoreResponseDataSchema)` to create a new message.
|
|
188
|
+
*/
|
|
189
|
+
export declare const RestoreResponse_RestoreResponseDataSchema: GenMessage<RestoreResponse_RestoreResponseData>;
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* @generated from message streamlayer.interactive.library.UpdateRequest
|
|
193
|
+
*/
|
|
194
|
+
export declare type UpdateRequest = Message<"streamlayer.interactive.library.UpdateRequest"> & {
|
|
195
|
+
/**
|
|
196
|
+
* @generated from field: string id = 1;
|
|
197
|
+
*/
|
|
198
|
+
id: string;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* @generated from field: string organization_id = 2;
|
|
202
|
+
*/
|
|
203
|
+
organizationId: string;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* @generated from field: streamlayer.interactive.Template data = 3;
|
|
207
|
+
*/
|
|
208
|
+
data?: Template;
|
|
209
|
+
};
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Describes the message streamlayer.interactive.library.UpdateRequest.
|
|
213
|
+
* Use `create(UpdateRequestSchema)` to create a new message.
|
|
214
|
+
*/
|
|
215
|
+
export declare const UpdateRequestSchema: GenMessage<UpdateRequest>;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* @generated from message streamlayer.interactive.library.UpdateResponse
|
|
219
|
+
*/
|
|
220
|
+
export declare type UpdateResponse = Message<"streamlayer.interactive.library.UpdateResponse"> & {
|
|
221
|
+
/**
|
|
222
|
+
* @generated from field: streamlayer.interactive.library.UpdateResponse.UpdateResponseData data = 1;
|
|
223
|
+
*/
|
|
224
|
+
data?: UpdateResponse_UpdateResponseData;
|
|
225
|
+
};
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Describes the message streamlayer.interactive.library.UpdateResponse.
|
|
229
|
+
* Use `create(UpdateResponseSchema)` to create a new message.
|
|
230
|
+
*/
|
|
231
|
+
export declare const UpdateResponseSchema: GenMessage<UpdateResponse>;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* @generated from message streamlayer.interactive.library.UpdateResponse.UpdateResponseData
|
|
235
|
+
*/
|
|
236
|
+
export declare type UpdateResponse_UpdateResponseData = Message<"streamlayer.interactive.library.UpdateResponse.UpdateResponseData"> & {
|
|
237
|
+
/**
|
|
238
|
+
* @generated from field: string id = 1;
|
|
239
|
+
*/
|
|
240
|
+
id: string;
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* @generated from field: string type = 2;
|
|
244
|
+
*/
|
|
245
|
+
type: string;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* @generated from field: streamlayer.interactive.Template attributes = 3;
|
|
249
|
+
*/
|
|
250
|
+
attributes?: Template;
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* Describes the message streamlayer.interactive.library.UpdateResponse.UpdateResponseData.
|
|
255
|
+
* Use `create(UpdateResponse_UpdateResponseDataSchema)` to create a new message.
|
|
256
|
+
*/
|
|
257
|
+
export declare const UpdateResponse_UpdateResponseDataSchema: GenMessage<UpdateResponse_UpdateResponseData>;
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* @generated from message streamlayer.interactive.library.ListRequest
|
|
261
|
+
*/
|
|
262
|
+
export declare type ListRequest = Message<"streamlayer.interactive.library.ListRequest"> & {
|
|
263
|
+
/**
|
|
264
|
+
* @generated from field: streamlayer.interactive.library.ListRequest.ListRequestFilter filter = 1;
|
|
265
|
+
*/
|
|
266
|
+
filter?: ListRequest_ListRequestFilter;
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* @generated from field: streamlayer.interactive.Pagination pagination = 2;
|
|
270
|
+
*/
|
|
271
|
+
pagination?: Pagination;
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* @generated from field: streamlayer.interactive.Sort sort = 3;
|
|
275
|
+
*/
|
|
276
|
+
sort?: Sort;
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* @generated from field: string organization_id = 4;
|
|
280
|
+
*/
|
|
281
|
+
organizationId: string;
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* @generated from field: string cursor = 5;
|
|
285
|
+
*/
|
|
286
|
+
cursor: string;
|
|
287
|
+
};
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* Describes the message streamlayer.interactive.library.ListRequest.
|
|
291
|
+
* Use `create(ListRequestSchema)` to create a new message.
|
|
292
|
+
*/
|
|
293
|
+
export declare const ListRequestSchema: GenMessage<ListRequest>;
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* @generated from message streamlayer.interactive.library.ListRequest.ListRequestFilter
|
|
297
|
+
*/
|
|
298
|
+
export declare type ListRequest_ListRequestFilter = Message<"streamlayer.interactive.library.ListRequest.ListRequestFilter"> & {
|
|
299
|
+
/**
|
|
300
|
+
* @generated from field: repeated streamlayer.interactive.QuestionType types = 1;
|
|
301
|
+
*/
|
|
302
|
+
types: QuestionType[];
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* template ids
|
|
306
|
+
*
|
|
307
|
+
* @generated from field: repeated string ids = 2;
|
|
308
|
+
*/
|
|
309
|
+
ids: string[];
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* show_deleted: if supplied the method returns only recently deleted items
|
|
313
|
+
*
|
|
314
|
+
* @generated from field: bool show_deleted = 3;
|
|
315
|
+
*/
|
|
316
|
+
showDeleted: boolean;
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* partial tag text
|
|
320
|
+
*
|
|
321
|
+
* @generated from field: string tag_match = 4;
|
|
322
|
+
*/
|
|
323
|
+
tagMatch: string;
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* exact tag filters
|
|
327
|
+
*
|
|
328
|
+
* @generated from field: repeated string tag_ids = 5;
|
|
329
|
+
*/
|
|
330
|
+
tagIds: string[];
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* unified partial case insensitive free-text search
|
|
334
|
+
* across: template.name (custom name), options.promotion:
|
|
335
|
+
* sponsor.name (advertiser), ad_campaigns.campaign_name
|
|
336
|
+
* banner.body/title, subject, etc.
|
|
337
|
+
*
|
|
338
|
+
* @generated from field: string search_text = 6;
|
|
339
|
+
*/
|
|
340
|
+
searchText: string;
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* @generated from field: repeated streamlayer.interactive.library.TemplateUIType ui_types = 7;
|
|
344
|
+
*/
|
|
345
|
+
uiTypes: TemplateUIType[];
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* Describes the message streamlayer.interactive.library.ListRequest.ListRequestFilter.
|
|
350
|
+
* Use `create(ListRequest_ListRequestFilterSchema)` to create a new message.
|
|
351
|
+
*/
|
|
352
|
+
export declare const ListRequest_ListRequestFilterSchema: GenMessage<ListRequest_ListRequestFilter>;
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* @generated from message streamlayer.interactive.library.ListResponse
|
|
356
|
+
*/
|
|
357
|
+
export declare type ListResponse = Message<"streamlayer.interactive.library.ListResponse"> & {
|
|
358
|
+
/**
|
|
359
|
+
* @generated from field: streamlayer.interactive.library.ListResponse.ListResponseMetadata meta = 1;
|
|
360
|
+
*/
|
|
361
|
+
meta?: ListResponse_ListResponseMetadata;
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* @generated from field: repeated streamlayer.interactive.library.ListResponse.ListResponseData data = 2;
|
|
365
|
+
*/
|
|
366
|
+
data: ListResponse_ListResponseData[];
|
|
367
|
+
};
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* Describes the message streamlayer.interactive.library.ListResponse.
|
|
371
|
+
* Use `create(ListResponseSchema)` to create a new message.
|
|
372
|
+
*/
|
|
373
|
+
export declare const ListResponseSchema: GenMessage<ListResponse>;
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* @generated from message streamlayer.interactive.library.ListResponse.ListResponseMetadata
|
|
377
|
+
*/
|
|
378
|
+
export declare type ListResponse_ListResponseMetadata = Message<"streamlayer.interactive.library.ListResponse.ListResponseMetadata"> & {
|
|
379
|
+
/**
|
|
380
|
+
* @generated from field: int32 total = 1;
|
|
381
|
+
*/
|
|
382
|
+
total: number;
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* @generated from field: int32 page = 2;
|
|
386
|
+
*/
|
|
387
|
+
page: number;
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* @generated from field: int32 page_size = 3;
|
|
391
|
+
*/
|
|
392
|
+
pageSize: number;
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* @generated from field: string cursor = 4;
|
|
396
|
+
*/
|
|
397
|
+
cursor: string;
|
|
398
|
+
};
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* Describes the message streamlayer.interactive.library.ListResponse.ListResponseMetadata.
|
|
402
|
+
* Use `create(ListResponse_ListResponseMetadataSchema)` to create a new message.
|
|
403
|
+
*/
|
|
404
|
+
export declare const ListResponse_ListResponseMetadataSchema: GenMessage<ListResponse_ListResponseMetadata>;
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* @generated from message streamlayer.interactive.library.ListResponse.ListResponseData
|
|
408
|
+
*/
|
|
409
|
+
export declare type ListResponse_ListResponseData = Message<"streamlayer.interactive.library.ListResponse.ListResponseData"> & {
|
|
410
|
+
/**
|
|
411
|
+
* @generated from field: string id = 1;
|
|
412
|
+
*/
|
|
413
|
+
id: string;
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* @generated from field: string type = 2;
|
|
417
|
+
*/
|
|
418
|
+
type: string;
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* @generated from field: streamlayer.interactive.Template attributes = 3;
|
|
422
|
+
*/
|
|
423
|
+
attributes?: Template;
|
|
424
|
+
};
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* Describes the message streamlayer.interactive.library.ListResponse.ListResponseData.
|
|
428
|
+
* Use `create(ListResponse_ListResponseDataSchema)` to create a new message.
|
|
429
|
+
*/
|
|
430
|
+
export declare const ListResponse_ListResponseDataSchema: GenMessage<ListResponse_ListResponseData>;
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* @generated from message streamlayer.interactive.library.AddToEventsRequest
|
|
434
|
+
*/
|
|
435
|
+
export declare type AddToEventsRequest = Message<"streamlayer.interactive.library.AddToEventsRequest"> & {
|
|
436
|
+
/**
|
|
437
|
+
* @generated from field: string organization_id = 1;
|
|
438
|
+
*/
|
|
439
|
+
organizationId: string;
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* @generated from field: repeated string template_ids = 2;
|
|
443
|
+
*/
|
|
444
|
+
templateIds: string[];
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* @generated from field: repeated string event_ids = 3;
|
|
448
|
+
*/
|
|
449
|
+
eventIds: string[];
|
|
450
|
+
};
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* Describes the message streamlayer.interactive.library.AddToEventsRequest.
|
|
454
|
+
* Use `create(AddToEventsRequestSchema)` to create a new message.
|
|
455
|
+
*/
|
|
456
|
+
export declare const AddToEventsRequestSchema: GenMessage<AddToEventsRequest>;
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* @generated from message streamlayer.interactive.library.AddToEventsResponse
|
|
460
|
+
*/
|
|
461
|
+
export declare type AddToEventsResponse = Message<"streamlayer.interactive.library.AddToEventsResponse"> & {
|
|
462
|
+
/**
|
|
463
|
+
* @generated from field: uint32 total = 1;
|
|
464
|
+
*/
|
|
465
|
+
total: number;
|
|
466
|
+
};
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* Describes the message streamlayer.interactive.library.AddToEventsResponse.
|
|
470
|
+
* Use `create(AddToEventsResponseSchema)` to create a new message.
|
|
471
|
+
*/
|
|
472
|
+
export declare const AddToEventsResponseSchema: GenMessage<AddToEventsResponse>;
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* @generated from message streamlayer.interactive.library.DetachFromQuestionRequest
|
|
476
|
+
*/
|
|
477
|
+
export declare type DetachFromQuestionRequest = Message<"streamlayer.interactive.library.DetachFromQuestionRequest"> & {
|
|
478
|
+
/**
|
|
479
|
+
* @generated from field: string organization_id = 1;
|
|
480
|
+
*/
|
|
481
|
+
organizationId: string;
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* @generated from field: string template_id = 2;
|
|
485
|
+
*/
|
|
486
|
+
templateId: string;
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* @generated from field: string question_id = 3;
|
|
490
|
+
*/
|
|
491
|
+
questionId: string;
|
|
492
|
+
};
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* Describes the message streamlayer.interactive.library.DetachFromQuestionRequest.
|
|
496
|
+
* Use `create(DetachFromQuestionRequestSchema)` to create a new message.
|
|
497
|
+
*/
|
|
498
|
+
export declare const DetachFromQuestionRequestSchema: GenMessage<DetachFromQuestionRequest>;
|
|
499
|
+
|
|
500
|
+
/**
|
|
501
|
+
* @generated from message streamlayer.interactive.library.DetachFromQuestionResponse
|
|
502
|
+
*/
|
|
503
|
+
export declare type DetachFromQuestionResponse = Message<"streamlayer.interactive.library.DetachFromQuestionResponse"> & {
|
|
504
|
+
/**
|
|
505
|
+
* @generated from field: streamlayer.interactive.library.DetachFromQuestionResponse.DetachFromQuestionResponseData data = 1;
|
|
506
|
+
*/
|
|
507
|
+
data?: DetachFromQuestionResponse_DetachFromQuestionResponseData;
|
|
508
|
+
};
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* Describes the message streamlayer.interactive.library.DetachFromQuestionResponse.
|
|
512
|
+
* Use `create(DetachFromQuestionResponseSchema)` to create a new message.
|
|
513
|
+
*/
|
|
514
|
+
export declare const DetachFromQuestionResponseSchema: GenMessage<DetachFromQuestionResponse>;
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* @generated from message streamlayer.interactive.library.DetachFromQuestionResponse.DetachFromQuestionResponseData
|
|
518
|
+
*/
|
|
519
|
+
export declare type DetachFromQuestionResponse_DetachFromQuestionResponseData = Message<"streamlayer.interactive.library.DetachFromQuestionResponse.DetachFromQuestionResponseData"> & {
|
|
520
|
+
/**
|
|
521
|
+
* @generated from field: string id = 1;
|
|
522
|
+
*/
|
|
523
|
+
id: string;
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* @generated from field: string type = 2;
|
|
527
|
+
*/
|
|
528
|
+
type: string;
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* @generated from field: streamlayer.interactive.Question attributes = 3;
|
|
532
|
+
*/
|
|
533
|
+
attributes?: Question;
|
|
534
|
+
};
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* Describes the message streamlayer.interactive.library.DetachFromQuestionResponse.DetachFromQuestionResponseData.
|
|
538
|
+
* Use `create(DetachFromQuestionResponse_DetachFromQuestionResponseDataSchema)` to create a new message.
|
|
539
|
+
*/
|
|
540
|
+
export declare const DetachFromQuestionResponse_DetachFromQuestionResponseDataSchema: GenMessage<DetachFromQuestionResponse_DetachFromQuestionResponseData>;
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* @generated from message streamlayer.interactive.library.CountByCategoryRequest
|
|
544
|
+
*/
|
|
545
|
+
export declare type CountByCategoryRequest = Message<"streamlayer.interactive.library.CountByCategoryRequest"> & {
|
|
546
|
+
/**
|
|
547
|
+
* @generated from field: string organization_id = 1;
|
|
548
|
+
*/
|
|
549
|
+
organizationId: string;
|
|
550
|
+
};
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* Describes the message streamlayer.interactive.library.CountByCategoryRequest.
|
|
554
|
+
* Use `create(CountByCategoryRequestSchema)` to create a new message.
|
|
555
|
+
*/
|
|
556
|
+
export declare const CountByCategoryRequestSchema: GenMessage<CountByCategoryRequest>;
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* @generated from message streamlayer.interactive.library.CountByCategoryResponse
|
|
560
|
+
*/
|
|
561
|
+
export declare type CountByCategoryResponse = Message<"streamlayer.interactive.library.CountByCategoryResponse"> & {
|
|
562
|
+
/**
|
|
563
|
+
* @generated from field: repeated streamlayer.interactive.library.CountByCategoryResponse.CountByCategory data = 1;
|
|
564
|
+
*/
|
|
565
|
+
data: CountByCategoryResponse_CountByCategory[];
|
|
566
|
+
};
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* Describes the message streamlayer.interactive.library.CountByCategoryResponse.
|
|
570
|
+
* Use `create(CountByCategoryResponseSchema)` to create a new message.
|
|
571
|
+
*/
|
|
572
|
+
export declare const CountByCategoryResponseSchema: GenMessage<CountByCategoryResponse>;
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* @generated from message streamlayer.interactive.library.CountByCategoryResponse.CountByCategory
|
|
576
|
+
*/
|
|
577
|
+
export declare type CountByCategoryResponse_CountByCategory = Message<"streamlayer.interactive.library.CountByCategoryResponse.CountByCategory"> & {
|
|
578
|
+
/**
|
|
579
|
+
* @generated from field: uint32 count = 1;
|
|
580
|
+
*/
|
|
581
|
+
count: number;
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* @generated from field: streamlayer.interactive.library.TemplateUIType ui_type = 2;
|
|
585
|
+
*/
|
|
586
|
+
uiType: TemplateUIType;
|
|
587
|
+
};
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* Describes the message streamlayer.interactive.library.CountByCategoryResponse.CountByCategory.
|
|
591
|
+
* Use `create(CountByCategoryResponse_CountByCategorySchema)` to create a new message.
|
|
592
|
+
*/
|
|
593
|
+
export declare const CountByCategoryResponse_CountByCategorySchema: GenMessage<CountByCategoryResponse_CountByCategory>;
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* @generated from enum streamlayer.interactive.library.TemplateUIType
|
|
597
|
+
*/
|
|
598
|
+
export enum TemplateUIType {
|
|
599
|
+
/**
|
|
600
|
+
* @generated from enum value: QUESTION_UI_TYPE_UNSET = 0;
|
|
601
|
+
*/
|
|
602
|
+
QUESTION_UI_TYPE_UNSET = 0,
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* Google AD
|
|
606
|
+
*
|
|
607
|
+
* @generated from enum value: QUESTION_UI_TYPE_GOOGLE_AD = 1;
|
|
608
|
+
*/
|
|
609
|
+
QUESTION_UI_TYPE_GOOGLE_AD = 1,
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* Standard Ad
|
|
613
|
+
*
|
|
614
|
+
* @generated from enum value: QUESTION_UI_TYPE_STANDARD_AD = 2;
|
|
615
|
+
*/
|
|
616
|
+
QUESTION_UI_TYPE_STANDARD_AD = 2,
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* Lower Third
|
|
620
|
+
*
|
|
621
|
+
* @generated from enum value: QUESTION_UI_TYPE_LOWER_THIRD = 3;
|
|
622
|
+
*/
|
|
623
|
+
QUESTION_UI_TYPE_LOWER_THIRD = 3,
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* Side-by-side
|
|
627
|
+
*
|
|
628
|
+
* @generated from enum value: QUESTION_UI_TYPE_SIDE_BY_SIDE = 4;
|
|
629
|
+
*/
|
|
630
|
+
QUESTION_UI_TYPE_SIDE_BY_SIDE = 4,
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* Picture in Picture
|
|
634
|
+
*
|
|
635
|
+
* @generated from enum value: QUESTION_UI_TYPE_PICTURE_IN_PICTURE = 5;
|
|
636
|
+
*/
|
|
637
|
+
QUESTION_UI_TYPE_PICTURE_IN_PICTURE = 5,
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* NFL Shoppable Ad
|
|
641
|
+
*
|
|
642
|
+
* @generated from enum value: QUESTION_UI_TYPE_NFL_SHOPPABLE_AD = 6;
|
|
643
|
+
*/
|
|
644
|
+
QUESTION_UI_TYPE_NFL_SHOPPABLE_AD = 6,
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
* Insight Ad
|
|
648
|
+
*
|
|
649
|
+
* @generated from enum value: QUESTION_UI_TYPE_INSIGHT_AD = 7;
|
|
650
|
+
*/
|
|
651
|
+
QUESTION_UI_TYPE_INSIGHT_AD = 7,
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* Poll Ad
|
|
655
|
+
*
|
|
656
|
+
* @generated from enum value: QUESTION_UI_TYPE_POLL_AD = 8;
|
|
657
|
+
*/
|
|
658
|
+
QUESTION_UI_TYPE_POLL_AD = 8,
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* Trivia Ad
|
|
662
|
+
*
|
|
663
|
+
* @generated from enum value: QUESTION_UI_TYPE_TRIVIA_AD = 9;
|
|
664
|
+
*/
|
|
665
|
+
QUESTION_UI_TYPE_TRIVIA_AD = 9,
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* Prediction Ad
|
|
669
|
+
*
|
|
670
|
+
* @generated from enum value: QUESTION_UI_TYPE_PREDICTION_AD = 10;
|
|
671
|
+
*/
|
|
672
|
+
QUESTION_UI_TYPE_PREDICTION_AD = 10,
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* Shoppable Ad
|
|
676
|
+
*
|
|
677
|
+
* @generated from enum value: QUESTION_UI_TYPE_SHOPPABLE_AD = 11;
|
|
678
|
+
*/
|
|
679
|
+
QUESTION_UI_TYPE_SHOPPABLE_AD = 11,
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* Describes the enum streamlayer.interactive.library.TemplateUIType.
|
|
684
|
+
*/
|
|
685
|
+
export declare const TemplateUITypeSchema: GenEnum<TemplateUIType>;
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* @generated from service streamlayer.interactive.library.Library
|
|
689
|
+
*/
|
|
690
|
+
export declare const Library: GenService<{
|
|
691
|
+
/**
|
|
692
|
+
* @generated from rpc streamlayer.interactive.library.Library.Create
|
|
693
|
+
*/
|
|
694
|
+
create: {
|
|
695
|
+
methodKind: "unary";
|
|
696
|
+
input: typeof CreateRequestSchema;
|
|
697
|
+
output: typeof CreateResponseSchema;
|
|
698
|
+
},
|
|
699
|
+
/**
|
|
700
|
+
* @generated from rpc streamlayer.interactive.library.Library.Delete
|
|
701
|
+
*/
|
|
702
|
+
delete: {
|
|
703
|
+
methodKind: "unary";
|
|
704
|
+
input: typeof DeleteRequestSchema;
|
|
705
|
+
output: typeof DeleteResponseSchema;
|
|
706
|
+
},
|
|
707
|
+
/**
|
|
708
|
+
* @generated from rpc streamlayer.interactive.library.Library.Restore
|
|
709
|
+
*/
|
|
710
|
+
restore: {
|
|
711
|
+
methodKind: "unary";
|
|
712
|
+
input: typeof RestoreRequestSchema;
|
|
713
|
+
output: typeof RestoreResponseSchema;
|
|
714
|
+
},
|
|
715
|
+
/**
|
|
716
|
+
* @generated from rpc streamlayer.interactive.library.Library.Update
|
|
717
|
+
*/
|
|
718
|
+
update: {
|
|
719
|
+
methodKind: "unary";
|
|
720
|
+
input: typeof UpdateRequestSchema;
|
|
721
|
+
output: typeof UpdateResponseSchema;
|
|
722
|
+
},
|
|
723
|
+
/**
|
|
724
|
+
* @generated from rpc streamlayer.interactive.library.Library.List
|
|
725
|
+
*/
|
|
726
|
+
list: {
|
|
727
|
+
methodKind: "unary";
|
|
728
|
+
input: typeof ListRequestSchema;
|
|
729
|
+
output: typeof ListResponseSchema;
|
|
730
|
+
},
|
|
731
|
+
/**
|
|
732
|
+
* @generated from rpc streamlayer.interactive.library.Library.AddToEvents
|
|
733
|
+
*/
|
|
734
|
+
addToEvents: {
|
|
735
|
+
methodKind: "unary";
|
|
736
|
+
input: typeof AddToEventsRequestSchema;
|
|
737
|
+
output: typeof AddToEventsResponseSchema;
|
|
738
|
+
},
|
|
739
|
+
/**
|
|
740
|
+
* @generated from rpc streamlayer.interactive.library.Library.DetachFromQuestion
|
|
741
|
+
*/
|
|
742
|
+
detachFromQuestion: {
|
|
743
|
+
methodKind: "unary";
|
|
744
|
+
input: typeof DetachFromQuestionRequestSchema;
|
|
745
|
+
output: typeof DetachFromQuestionResponseSchema;
|
|
746
|
+
},
|
|
747
|
+
/**
|
|
748
|
+
* @generated from rpc streamlayer.interactive.library.Library.CountByCategory
|
|
749
|
+
*/
|
|
750
|
+
countByCategory: {
|
|
751
|
+
methodKind: "unary";
|
|
752
|
+
input: typeof CountByCategoryRequestSchema;
|
|
753
|
+
output: typeof CountByCategoryResponseSchema;
|
|
754
|
+
},
|
|
755
|
+
}>;
|
|
756
|
+
|