@togatherlabs/event-sdk 1.0.53 → 1.0.54
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/gen/ts/admin/v1/admin_account_created_pb.d.ts +48 -0
- package/gen/ts/admin/v1/admin_account_created_pb.js +19 -0
- package/gen/ts/admin/v1/admin_email_verification_requested_pb.d.ts +48 -0
- package/gen/ts/admin/v1/admin_email_verification_requested_pb.js +19 -0
- package/gen/ts/admin/v1/index.d.ts +2 -0
- package/gen/ts/admin/v1/index.js +2 -0
- package/gen/ts/common/v1/event_envelop_pb.d.ts +48 -0
- package/gen/ts/common/v1/event_envelop_pb.js +19 -0
- package/gen/ts/common/v1/index.d.ts +1 -0
- package/gen/ts/common/v1/index.js +1 -0
- package/gen/ts/experience/v1/category_pb.d.ts +43 -0
- package/gen/ts/experience/v1/category_pb.js +19 -0
- package/gen/ts/experience/v1/experience_created_pb.d.ts +262 -0
- package/gen/ts/experience/v1/experience_created_pb.js +47 -0
- package/gen/ts/experience/v1/index.d.ts +3 -0
- package/gen/ts/experience/v1/index.js +3 -0
- package/gen/ts/experience/v1/tag_pb.d.ts +53 -0
- package/gen/ts/experience/v1/tag_pb.js +19 -0
- package/gen/ts/feed/v1/index.d.ts +1 -0
- package/gen/ts/feed/v1/index.js +1 -0
- package/gen/ts/feed/v1/recommendation_feedback_pb.d.ts +454 -0
- package/gen/ts/feed/v1/recommendation_feedback_pb.js +133 -0
- package/gen/ts/index.d.ts +6 -0
- package/gen/ts/index.js +6 -0
- package/gen/ts/partner/v1/index.d.ts +4 -0
- package/gen/ts/partner/v1/index.js +4 -0
- package/gen/ts/partner/v1/parter_account_created_pb.d.ts +43 -0
- package/gen/ts/partner/v1/parter_account_created_pb.js +19 -0
- package/gen/ts/partner/v1/partner_application_rejected_pb.d.ts +68 -0
- package/gen/ts/partner/v1/partner_application_rejected_pb.js +20 -0
- package/gen/ts/partner/v1/partner_emai_verification_requested_pb.d.ts +48 -0
- package/gen/ts/partner/v1/partner_emai_verification_requested_pb.js +19 -0
- package/gen/ts/partner/v1/partner_profile_created_pb.d.ts +340 -0
- package/gen/ts/partner/v1/partner_profile_created_pb.js +71 -0
- package/gen/ts/user/v1/index.d.ts +4 -0
- package/gen/ts/user/v1/index.js +4 -0
- package/gen/ts/user/v1/user_account_created_pb.d.ts +43 -0
- package/gen/ts/user/v1/user_account_created_pb.js +19 -0
- package/gen/ts/user/v1/user_email_verification_requested_pb.d.ts +48 -0
- package/gen/ts/user/v1/user_email_verification_requested_pb.js +19 -0
- package/gen/ts/user/v1/user_forgot_password_pb.d.ts +43 -0
- package/gen/ts/user/v1/user_forgot_password_pb.js +19 -0
- package/gen/ts/user/v1/user_profile_created_pb.d.ts +296 -0
- package/gen/ts/user/v1/user_profile_created_pb.js +76 -0
- package/package.json +1 -1
|
@@ -0,0 +1,454 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=js+dts,import_extension=none"
|
|
2
|
+
// @generated from file feed/v1/recommendation_feedback.proto (package feed.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file feed/v1/recommendation_feedback.proto.
|
|
10
|
+
*/
|
|
11
|
+
export declare const file_feed_v1_recommendation_feedback: GenFile;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @generated from message feed.v1.DeviceContext
|
|
15
|
+
*/
|
|
16
|
+
export declare type DeviceContext = Message<"feed.v1.DeviceContext"> & {
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: feed.v1.Platform platform = 1;
|
|
19
|
+
*/
|
|
20
|
+
platform: Platform;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @generated from field: string app_version = 2;
|
|
24
|
+
*/
|
|
25
|
+
appVersion: string;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* @generated from field: int32 screen_width = 3;
|
|
29
|
+
*/
|
|
30
|
+
screenWidth: number;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* @generated from field: int32 screen_height = 4;
|
|
34
|
+
*/
|
|
35
|
+
screenHeight: number;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Describes the message feed.v1.DeviceContext.
|
|
40
|
+
* Use `create(DeviceContextSchema)` to create a new message.
|
|
41
|
+
*/
|
|
42
|
+
export declare const DeviceContextSchema: GenMessage<DeviceContext>;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @generated from message feed.v1.ImpressionData
|
|
46
|
+
*/
|
|
47
|
+
export declare type ImpressionData = Message<"feed.v1.ImpressionData"> & {
|
|
48
|
+
/**
|
|
49
|
+
* @generated from field: float visibility_threshold = 1;
|
|
50
|
+
*/
|
|
51
|
+
visibilityThreshold: number;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: feed.v1.ViewportPosition viewport_position = 2;
|
|
55
|
+
*/
|
|
56
|
+
viewportPosition: ViewportPosition;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Describes the message feed.v1.ImpressionData.
|
|
61
|
+
* Use `create(ImpressionDataSchema)` to create a new message.
|
|
62
|
+
*/
|
|
63
|
+
export declare const ImpressionDataSchema: GenMessage<ImpressionData>;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* @generated from message feed.v1.ClickData
|
|
67
|
+
*/
|
|
68
|
+
export declare type ClickData = Message<"feed.v1.ClickData"> & {
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: feed.v1.ClickTarget click_target = 1;
|
|
71
|
+
*/
|
|
72
|
+
clickTarget: ClickTarget;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Describes the message feed.v1.ClickData.
|
|
77
|
+
* Use `create(ClickDataSchema)` to create a new message.
|
|
78
|
+
*/
|
|
79
|
+
export declare const ClickDataSchema: GenMessage<ClickData>;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* @generated from message feed.v1.ViewData
|
|
83
|
+
*/
|
|
84
|
+
export declare type ViewData = Message<"feed.v1.ViewData"> & {
|
|
85
|
+
/**
|
|
86
|
+
* @generated from field: int32 dwell_time_ms = 1;
|
|
87
|
+
*/
|
|
88
|
+
dwellTimeMs: number;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @generated from field: int32 view_number = 2;
|
|
92
|
+
*/
|
|
93
|
+
viewNumber: number;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* @generated from field: bool is_revisit = 3;
|
|
97
|
+
*/
|
|
98
|
+
isRevisit: boolean;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* @generated from field: int32 scroll_depth_percent = 4;
|
|
102
|
+
*/
|
|
103
|
+
scrollDepthPercent: number;
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Describes the message feed.v1.ViewData.
|
|
108
|
+
* Use `create(ViewDataSchema)` to create a new message.
|
|
109
|
+
*/
|
|
110
|
+
export declare const ViewDataSchema: GenMessage<ViewData>;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @generated from message feed.v1.ActionData
|
|
114
|
+
*/
|
|
115
|
+
export declare type ActionData = Message<"feed.v1.ActionData"> & {
|
|
116
|
+
/**
|
|
117
|
+
* @generated from field: feed.v1.ActionType action_type = 1;
|
|
118
|
+
*/
|
|
119
|
+
actionType: ActionType;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* @generated from field: int32 time_since_impression_ms = 2;
|
|
123
|
+
*/
|
|
124
|
+
timeSinceImpressionMs: number;
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Describes the message feed.v1.ActionData.
|
|
129
|
+
* Use `create(ActionDataSchema)` to create a new message.
|
|
130
|
+
*/
|
|
131
|
+
export declare const ActionDataSchema: GenMessage<ActionData>;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @generated from message feed.v1.NegativeData
|
|
135
|
+
*/
|
|
136
|
+
export declare type NegativeData = Message<"feed.v1.NegativeData"> & {
|
|
137
|
+
/**
|
|
138
|
+
* @generated from field: feed.v1.NegativeActionType action_type = 1;
|
|
139
|
+
*/
|
|
140
|
+
actionType: NegativeActionType;
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Describes the message feed.v1.NegativeData.
|
|
145
|
+
* Use `create(NegativeDataSchema)` to create a new message.
|
|
146
|
+
*/
|
|
147
|
+
export declare const NegativeDataSchema: GenMessage<NegativeData>;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* @generated from message feed.v1.RecommendationFeedback
|
|
151
|
+
*/
|
|
152
|
+
export declare type RecommendationFeedback = Message<"feed.v1.RecommendationFeedback"> & {
|
|
153
|
+
/**
|
|
154
|
+
* @generated from field: string session_id = 1;
|
|
155
|
+
*/
|
|
156
|
+
sessionId: string;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* @generated from field: string user_id = 2;
|
|
160
|
+
*/
|
|
161
|
+
userId: string;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* @generated from field: int64 client_timestamp = 3;
|
|
165
|
+
*/
|
|
166
|
+
clientTimestamp: bigint;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* @generated from field: feed.v1.DeviceContext device_context = 4;
|
|
170
|
+
*/
|
|
171
|
+
deviceContext?: DeviceContext;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* @generated from field: feed.v1.EventType event_type = 5;
|
|
175
|
+
*/
|
|
176
|
+
eventType: EventType;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* @generated from field: string event_id = 6;
|
|
180
|
+
*/
|
|
181
|
+
eventId: string;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* @generated from field: string request_id = 7;
|
|
185
|
+
*/
|
|
186
|
+
requestId: string;
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* @generated from field: string model_version = 8;
|
|
190
|
+
*/
|
|
191
|
+
modelVersion: string;
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* @generated from field: int64 timestamp = 9;
|
|
195
|
+
*/
|
|
196
|
+
timestamp: bigint;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* @generated from field: int32 position = 10;
|
|
200
|
+
*/
|
|
201
|
+
position: number;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* @generated from field: int32 absolute_position = 11;
|
|
205
|
+
*/
|
|
206
|
+
absolutePosition: number;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* @generated from oneof feed.v1.RecommendationFeedback.data
|
|
210
|
+
*/
|
|
211
|
+
data: {
|
|
212
|
+
/**
|
|
213
|
+
* @generated from field: feed.v1.ImpressionData impression_data = 12;
|
|
214
|
+
*/
|
|
215
|
+
value: ImpressionData;
|
|
216
|
+
case: "impressionData";
|
|
217
|
+
} | {
|
|
218
|
+
/**
|
|
219
|
+
* @generated from field: feed.v1.ClickData click_data = 13;
|
|
220
|
+
*/
|
|
221
|
+
value: ClickData;
|
|
222
|
+
case: "clickData";
|
|
223
|
+
} | {
|
|
224
|
+
/**
|
|
225
|
+
* @generated from field: feed.v1.ViewData view_data = 14;
|
|
226
|
+
*/
|
|
227
|
+
value: ViewData;
|
|
228
|
+
case: "viewData";
|
|
229
|
+
} | {
|
|
230
|
+
/**
|
|
231
|
+
* @generated from field: feed.v1.ActionData action_data = 15;
|
|
232
|
+
*/
|
|
233
|
+
value: ActionData;
|
|
234
|
+
case: "actionData";
|
|
235
|
+
} | {
|
|
236
|
+
/**
|
|
237
|
+
* @generated from field: feed.v1.NegativeData negative_data = 16;
|
|
238
|
+
*/
|
|
239
|
+
value: NegativeData;
|
|
240
|
+
case: "negativeData";
|
|
241
|
+
} | { case: undefined; value?: undefined };
|
|
242
|
+
};
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Describes the message feed.v1.RecommendationFeedback.
|
|
246
|
+
* Use `create(RecommendationFeedbackSchema)` to create a new message.
|
|
247
|
+
*/
|
|
248
|
+
export declare const RecommendationFeedbackSchema: GenMessage<RecommendationFeedback>;
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* @generated from enum feed.v1.Platform
|
|
252
|
+
*/
|
|
253
|
+
export enum Platform {
|
|
254
|
+
/**
|
|
255
|
+
* @generated from enum value: PLATFORM_UNSPECIFIED = 0;
|
|
256
|
+
*/
|
|
257
|
+
UNSPECIFIED = 0,
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* @generated from enum value: PLATFORM_IOS = 1;
|
|
261
|
+
*/
|
|
262
|
+
IOS = 1,
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* @generated from enum value: PLATFORM_ANDROID = 2;
|
|
266
|
+
*/
|
|
267
|
+
ANDROID = 2,
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* @generated from enum value: PLATFORM_WEB = 3;
|
|
271
|
+
*/
|
|
272
|
+
WEB = 3,
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Describes the enum feed.v1.Platform.
|
|
277
|
+
*/
|
|
278
|
+
export declare const PlatformSchema: GenEnum<Platform>;
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* @generated from enum feed.v1.ViewportPosition
|
|
282
|
+
*/
|
|
283
|
+
export enum ViewportPosition {
|
|
284
|
+
/**
|
|
285
|
+
* @generated from enum value: VIEWPORT_POSITION_UNSPECIFIED = 0;
|
|
286
|
+
*/
|
|
287
|
+
UNSPECIFIED = 0,
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* @generated from enum value: VIEWPORT_POSITION_TOP = 1;
|
|
291
|
+
*/
|
|
292
|
+
TOP = 1,
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* @generated from enum value: VIEWPORT_POSITION_MIDDLE = 2;
|
|
296
|
+
*/
|
|
297
|
+
MIDDLE = 2,
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* @generated from enum value: VIEWPORT_POSITION_BOTTOM = 3;
|
|
301
|
+
*/
|
|
302
|
+
BOTTOM = 3,
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* @generated from enum value: VIEWPORT_POSITION_BELOW_FOLD = 4;
|
|
306
|
+
*/
|
|
307
|
+
BELOW_FOLD = 4,
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Describes the enum feed.v1.ViewportPosition.
|
|
312
|
+
*/
|
|
313
|
+
export declare const ViewportPositionSchema: GenEnum<ViewportPosition>;
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* @generated from enum feed.v1.ClickTarget
|
|
317
|
+
*/
|
|
318
|
+
export enum ClickTarget {
|
|
319
|
+
/**
|
|
320
|
+
* @generated from enum value: CLICK_TARGET_UNSPECIFIED = 0;
|
|
321
|
+
*/
|
|
322
|
+
UNSPECIFIED = 0,
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* @generated from enum value: CLICK_TARGET_CARD = 1;
|
|
326
|
+
*/
|
|
327
|
+
CARD = 1,
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* @generated from enum value: CLICK_TARGET_TITLE = 2;
|
|
331
|
+
*/
|
|
332
|
+
TITLE = 2,
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* @generated from enum value: CLICK_TARGET_IMAGE = 3;
|
|
336
|
+
*/
|
|
337
|
+
IMAGE = 3,
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* @generated from enum value: CLICK_TARGET_CTA_BUTTON = 4;
|
|
341
|
+
*/
|
|
342
|
+
CTA_BUTTON = 4,
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* Describes the enum feed.v1.ClickTarget.
|
|
347
|
+
*/
|
|
348
|
+
export declare const ClickTargetSchema: GenEnum<ClickTarget>;
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* @generated from enum feed.v1.ActionType
|
|
352
|
+
*/
|
|
353
|
+
export enum ActionType {
|
|
354
|
+
/**
|
|
355
|
+
* @generated from enum value: ACTION_TYPE_UNSPECIFIED = 0;
|
|
356
|
+
*/
|
|
357
|
+
UNSPECIFIED = 0,
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* @generated from enum value: ACTION_TYPE_REGISTER = 1;
|
|
361
|
+
*/
|
|
362
|
+
REGISTER = 1,
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* @generated from enum value: ACTION_TYPE_BOOKMARK = 2;
|
|
366
|
+
*/
|
|
367
|
+
BOOKMARK = 2,
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* @generated from enum value: ACTION_TYPE_SHARE = 3;
|
|
371
|
+
*/
|
|
372
|
+
SHARE = 3,
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* @generated from enum value: ACTION_TYPE_INTERESTED = 4;
|
|
376
|
+
*/
|
|
377
|
+
INTERESTED = 4,
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* Describes the enum feed.v1.ActionType.
|
|
382
|
+
*/
|
|
383
|
+
export declare const ActionTypeSchema: GenEnum<ActionType>;
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* @generated from enum feed.v1.NegativeActionType
|
|
387
|
+
*/
|
|
388
|
+
export enum NegativeActionType {
|
|
389
|
+
/**
|
|
390
|
+
* @generated from enum value: NEGATIVE_ACTION_TYPE_UNSPECIFIED = 0;
|
|
391
|
+
*/
|
|
392
|
+
UNSPECIFIED = 0,
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* @generated from enum value: NEGATIVE_ACTION_TYPE_HIDE = 1;
|
|
396
|
+
*/
|
|
397
|
+
HIDE = 1,
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* @generated from enum value: NEGATIVE_ACTION_TYPE_NOT_INTERESTED = 2;
|
|
401
|
+
*/
|
|
402
|
+
NOT_INTERESTED = 2,
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* @generated from enum value: NEGATIVE_ACTION_TYPE_REPORT = 3;
|
|
406
|
+
*/
|
|
407
|
+
REPORT = 3,
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* Describes the enum feed.v1.NegativeActionType.
|
|
412
|
+
*/
|
|
413
|
+
export declare const NegativeActionTypeSchema: GenEnum<NegativeActionType>;
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* @generated from enum feed.v1.EventType
|
|
417
|
+
*/
|
|
418
|
+
export enum EventType {
|
|
419
|
+
/**
|
|
420
|
+
* @generated from enum value: EVENT_TYPE_UNSPECIFIED = 0;
|
|
421
|
+
*/
|
|
422
|
+
UNSPECIFIED = 0,
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* @generated from enum value: EVENT_TYPE_IMPRESSION = 1;
|
|
426
|
+
*/
|
|
427
|
+
IMPRESSION = 1,
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* @generated from enum value: EVENT_TYPE_CLICK = 2;
|
|
431
|
+
*/
|
|
432
|
+
CLICK = 2,
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* @generated from enum value: EVENT_TYPE_VIEW = 3;
|
|
436
|
+
*/
|
|
437
|
+
VIEW = 3,
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* @generated from enum value: EVENT_TYPE_ACTION = 4;
|
|
441
|
+
*/
|
|
442
|
+
ACTION = 4,
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* @generated from enum value: EVENT_TYPE_NEGATIVE = 5;
|
|
446
|
+
*/
|
|
447
|
+
NEGATIVE = 5,
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* Describes the enum feed.v1.EventType.
|
|
452
|
+
*/
|
|
453
|
+
export declare const EventTypeSchema: GenEnum<EventType>;
|
|
454
|
+
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=js+dts,import_extension=none"
|
|
2
|
+
// @generated from file feed/v1/recommendation_feedback.proto (package feed.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file feed/v1/recommendation_feedback.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_feed_v1_recommendation_feedback = /*@__PURE__*/
|
|
11
|
+
fileDesc("CiVmZWVkL3YxL3JlY29tbWVuZGF0aW9uX2ZlZWRiYWNrLnByb3RvEgdmZWVkLnYxInYKDURldmljZUNvbnRleHQSIwoIcGxhdGZvcm0YASABKA4yES5mZWVkLnYxLlBsYXRmb3JtEhMKC2FwcF92ZXJzaW9uGAIgASgJEhQKDHNjcmVlbl93aWR0aBgDIAEoBRIVCg1zY3JlZW5faGVpZ2h0GAQgASgFImQKDkltcHJlc3Npb25EYXRhEhwKFHZpc2liaWxpdHlfdGhyZXNob2xkGAEgASgCEjQKEXZpZXdwb3J0X3Bvc2l0aW9uGAIgASgOMhkuZmVlZC52MS5WaWV3cG9ydFBvc2l0aW9uIjcKCUNsaWNrRGF0YRIqCgxjbGlja190YXJnZXQYASABKA4yFC5mZWVkLnYxLkNsaWNrVGFyZ2V0ImgKCFZpZXdEYXRhEhUKDWR3ZWxsX3RpbWVfbXMYASABKAUSEwoLdmlld19udW1iZXIYAiABKAUSEgoKaXNfcmV2aXNpdBgDIAEoCBIcChRzY3JvbGxfZGVwdGhfcGVyY2VudBgEIAEoBSJYCgpBY3Rpb25E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2tQcm90b1ABogIDRlhYqgIHRmVlZC5WMcoCB0ZlZWRcVjHiAhNGZWVkXFYxXEdQQk1ldGFkYXRh6gIIRmVlZDo6VjFiBnByb3RvMw");
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message feed.v1.DeviceContext.
|
|
15
|
+
* Use `create(DeviceContextSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export const DeviceContextSchema = /*@__PURE__*/
|
|
18
|
+
messageDesc(file_feed_v1_recommendation_feedback, 0);
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message feed.v1.ImpressionData.
|
|
22
|
+
* Use `create(ImpressionDataSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const ImpressionDataSchema = /*@__PURE__*/
|
|
25
|
+
messageDesc(file_feed_v1_recommendation_feedback, 1);
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message feed.v1.ClickData.
|
|
29
|
+
* Use `create(ClickDataSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export const ClickDataSchema = /*@__PURE__*/
|
|
32
|
+
messageDesc(file_feed_v1_recommendation_feedback, 2);
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message feed.v1.ViewData.
|
|
36
|
+
* Use `create(ViewDataSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export const ViewDataSchema = /*@__PURE__*/
|
|
39
|
+
messageDesc(file_feed_v1_recommendation_feedback, 3);
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message feed.v1.ActionData.
|
|
43
|
+
* Use `create(ActionDataSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export const ActionDataSchema = /*@__PURE__*/
|
|
46
|
+
messageDesc(file_feed_v1_recommendation_feedback, 4);
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Describes the message feed.v1.NegativeData.
|
|
50
|
+
* Use `create(NegativeDataSchema)` to create a new message.
|
|
51
|
+
*/
|
|
52
|
+
export const NegativeDataSchema = /*@__PURE__*/
|
|
53
|
+
messageDesc(file_feed_v1_recommendation_feedback, 5);
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Describes the message feed.v1.RecommendationFeedback.
|
|
57
|
+
* Use `create(RecommendationFeedbackSchema)` to create a new message.
|
|
58
|
+
*/
|
|
59
|
+
export const RecommendationFeedbackSchema = /*@__PURE__*/
|
|
60
|
+
messageDesc(file_feed_v1_recommendation_feedback, 6);
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Describes the enum feed.v1.Platform.
|
|
64
|
+
*/
|
|
65
|
+
export const PlatformSchema = /*@__PURE__*/
|
|
66
|
+
enumDesc(file_feed_v1_recommendation_feedback, 0);
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @generated from enum feed.v1.Platform
|
|
70
|
+
*/
|
|
71
|
+
export const Platform = /*@__PURE__*/
|
|
72
|
+
tsEnum(PlatformSchema);
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Describes the enum feed.v1.ViewportPosition.
|
|
76
|
+
*/
|
|
77
|
+
export const ViewportPositionSchema = /*@__PURE__*/
|
|
78
|
+
enumDesc(file_feed_v1_recommendation_feedback, 1);
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @generated from enum feed.v1.ViewportPosition
|
|
82
|
+
*/
|
|
83
|
+
export const ViewportPosition = /*@__PURE__*/
|
|
84
|
+
tsEnum(ViewportPositionSchema);
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Describes the enum feed.v1.ClickTarget.
|
|
88
|
+
*/
|
|
89
|
+
export const ClickTargetSchema = /*@__PURE__*/
|
|
90
|
+
enumDesc(file_feed_v1_recommendation_feedback, 2);
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* @generated from enum feed.v1.ClickTarget
|
|
94
|
+
*/
|
|
95
|
+
export const ClickTarget = /*@__PURE__*/
|
|
96
|
+
tsEnum(ClickTargetSchema);
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Describes the enum feed.v1.ActionType.
|
|
100
|
+
*/
|
|
101
|
+
export const ActionTypeSchema = /*@__PURE__*/
|
|
102
|
+
enumDesc(file_feed_v1_recommendation_feedback, 3);
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* @generated from enum feed.v1.ActionType
|
|
106
|
+
*/
|
|
107
|
+
export const ActionType = /*@__PURE__*/
|
|
108
|
+
tsEnum(ActionTypeSchema);
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Describes the enum feed.v1.NegativeActionType.
|
|
112
|
+
*/
|
|
113
|
+
export const NegativeActionTypeSchema = /*@__PURE__*/
|
|
114
|
+
enumDesc(file_feed_v1_recommendation_feedback, 4);
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* @generated from enum feed.v1.NegativeActionType
|
|
118
|
+
*/
|
|
119
|
+
export const NegativeActionType = /*@__PURE__*/
|
|
120
|
+
tsEnum(NegativeActionTypeSchema);
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Describes the enum feed.v1.EventType.
|
|
124
|
+
*/
|
|
125
|
+
export const EventTypeSchema = /*@__PURE__*/
|
|
126
|
+
enumDesc(file_feed_v1_recommendation_feedback, 5);
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* @generated from enum feed.v1.EventType
|
|
130
|
+
*/
|
|
131
|
+
export const EventType = /*@__PURE__*/
|
|
132
|
+
tsEnum(EventTypeSchema);
|
|
133
|
+
|
package/gen/ts/index.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=js+dts,import_extension=none"
|
|
2
|
+
// @generated from file partner/v1/parter_account_created.proto (package partner.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file partner/v1/parter_account_created.proto.
|
|
10
|
+
*/
|
|
11
|
+
export declare const file_partner_v1_parter_account_created: GenFile;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @generated from message partner.v1.PartnerAccountCreatedPayload
|
|
15
|
+
*/
|
|
16
|
+
export declare type PartnerAccountCreatedPayload = Message<"partner.v1.PartnerAccountCreatedPayload"> & {
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: string id = 10;
|
|
19
|
+
*/
|
|
20
|
+
id: string;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @generated from field: string email = 11;
|
|
24
|
+
*/
|
|
25
|
+
email: string;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* @generated from field: string name = 12;
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* @generated from field: int64 created_at = 14;
|
|
34
|
+
*/
|
|
35
|
+
createdAt: bigint;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Describes the message partner.v1.PartnerAccountCreatedPayload.
|
|
40
|
+
* Use `create(PartnerAccountCreatedPayloadSchema)` to create a new message.
|
|
41
|
+
*/
|
|
42
|
+
export declare const PartnerAccountCreatedPayloadSchema: GenMessage<PartnerAccountCreatedPayload>;
|
|
43
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=js+dts,import_extension=none"
|
|
2
|
+
// @generated from file partner/v1/parter_account_created.proto (package partner.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file partner/v1/parter_account_created.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_partner_v1_parter_account_created = /*@__PURE__*/
|
|
11
|
+
fileDesc("CidwYXJ0bmVyL3YxL3BhcnRlcl9hY2NvdW50X2NyZWF0ZWQucHJvdG8SCnBhcnRuZXIudjEiWwocUGFydG5lckFjY291bnRDcmVhdGVkUGF5bG9hZBIKCgJpZBgKIAEoCRINCgVlbWFpbBgLIAEoCRIMCgRuYW1lGAwgASgJEhIKCmNyZWF0ZWRfYXQYDiABKANCdAoOY29tLnBhcnRuZXIudjFCGVBhcnRlckFjY291bnRDcmVhdGVkUHJvdG9QAaICA1BYWKoCClBhcnRuZXIuVjHKAgpQYXJ0bmVyXFYx4gIWUGFydG5lclxWMVxHUEJNZXRhZGF0YeoCC1BhcnRuZXI6OlYxYgZwcm90bzM");
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message partner.v1.PartnerAccountCreatedPayload.
|
|
15
|
+
* Use `create(PartnerAccountCreatedPayloadSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export const PartnerAccountCreatedPayloadSchema = /*@__PURE__*/
|
|
18
|
+
messageDesc(file_partner_v1_parter_account_created, 0);
|
|
19
|
+
|