@dailydotdev/schema 0.3.19 → 0.3.21
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/bragi/pipelines_connect.cjs +1 -1
- package/dist/bragi/pipelines_connect.d.cts +34 -1
- package/dist/bragi/pipelines_connect.d.ts +34 -1
- package/dist/bragi/pipelines_connect.js +1 -1
- package/dist/bragi/pipelines_pb.cjs +1 -1
- package/dist/bragi/pipelines_pb.d.cts +457 -3
- package/dist/bragi/pipelines_pb.d.ts +457 -3
- package/dist/bragi/pipelines_pb.js +1 -1
- package/dist/bragi/proxy_pb.cjs +1 -1
- package/dist/bragi/proxy_pb.d.cts +8 -1
- package/dist/bragi/proxy_pb.d.ts +8 -1
- package/dist/bragi/proxy_pb.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -5
- package/dist/index.d.ts +1 -5
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/gondul/application-services_connect.cjs +0 -1
- package/dist/gondul/application-services_connect.d.cts +0 -29
- package/dist/gondul/application-services_connect.d.ts +0 -29
- package/dist/gondul/application-services_connect.js +0 -1
- package/dist/gondul/candidates_pb.cjs +0 -1
- package/dist/gondul/candidates_pb.d.cts +0 -122
- package/dist/gondul/candidates_pb.d.ts +0 -122
- package/dist/gondul/candidates_pb.js +0 -1
- package/dist/gondul/opportunity-service_connect.cjs +0 -1
- package/dist/gondul/opportunity-service_connect.d.cts +0 -26
- package/dist/gondul/opportunity-service_connect.d.ts +0 -26
- package/dist/gondul/opportunity-service_connect.js +0 -1
- package/dist/gondul/opportunity-service_pb.cjs +0 -1
- package/dist/gondul/opportunity-service_pb.d.cts +0 -54
- package/dist/gondul/opportunity-service_pb.d.ts +0 -54
- package/dist/gondul/opportunity-service_pb.js +0 -1
|
@@ -28,6 +28,131 @@ declare enum ContentFormat {
|
|
|
28
28
|
*/
|
|
29
29
|
HTML = 2
|
|
30
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* How directly a tag describes the material. Classification confidence remains
|
|
33
|
+
* independent: a highly confident incidental mention should still be omitted.
|
|
34
|
+
*
|
|
35
|
+
* @generated from enum bragi.pipelines.TagRole
|
|
36
|
+
*/
|
|
37
|
+
declare enum TagRole {
|
|
38
|
+
/**
|
|
39
|
+
* @generated from enum value: TAG_ROLE_UNSPECIFIED = 0;
|
|
40
|
+
*/
|
|
41
|
+
UNSPECIFIED = 0,
|
|
42
|
+
/**
|
|
43
|
+
* A direct user-interest match for the material
|
|
44
|
+
*
|
|
45
|
+
* @generated from enum value: TAG_ROLE_CENTRAL = 1;
|
|
46
|
+
*/
|
|
47
|
+
CENTRAL = 1,
|
|
48
|
+
/**
|
|
49
|
+
* Important context, but not the material's main subject
|
|
50
|
+
*
|
|
51
|
+
* @generated from enum value: TAG_ROLE_SUPPORTING = 2;
|
|
52
|
+
*/
|
|
53
|
+
SUPPORTING = 2
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Whether seniority contains a completed per-tag judgment. UNSPECIFIED is the
|
|
57
|
+
* legacy producer state; UNKNOWN is an explicit judgment that the material does
|
|
58
|
+
* not support a meaningful reader-expertise estimate.
|
|
59
|
+
*
|
|
60
|
+
* @generated from enum bragi.pipelines.TagSeniorityStatus
|
|
61
|
+
*/
|
|
62
|
+
declare enum TagSeniorityStatus {
|
|
63
|
+
/**
|
|
64
|
+
* @generated from enum value: TAG_SENIORITY_STATUS_UNSPECIFIED = 0;
|
|
65
|
+
*/
|
|
66
|
+
UNSPECIFIED = 0,
|
|
67
|
+
/**
|
|
68
|
+
* @generated from enum value: TAG_SENIORITY_STATUS_KNOWN = 1;
|
|
69
|
+
*/
|
|
70
|
+
KNOWN = 1,
|
|
71
|
+
/**
|
|
72
|
+
* @generated from enum value: TAG_SENIORITY_STATUS_UNKNOWN = 2;
|
|
73
|
+
*/
|
|
74
|
+
UNKNOWN = 2
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* The single primary need the material serves. The legacy string intent field on
|
|
78
|
+
* PostDimensionsV2 remains populated for consumers pinned to an older schema.
|
|
79
|
+
*
|
|
80
|
+
* @generated from enum bragi.pipelines.ContentIntent
|
|
81
|
+
*/
|
|
82
|
+
declare enum ContentIntent {
|
|
83
|
+
/**
|
|
84
|
+
* @generated from enum value: CONTENT_INTENT_UNSPECIFIED = 0;
|
|
85
|
+
*/
|
|
86
|
+
UNSPECIFIED = 0,
|
|
87
|
+
/**
|
|
88
|
+
* @generated from enum value: CONTENT_INTENT_LEARNING = 1;
|
|
89
|
+
*/
|
|
90
|
+
LEARNING = 1,
|
|
91
|
+
/**
|
|
92
|
+
* @generated from enum value: CONTENT_INTENT_SOLVING = 2;
|
|
93
|
+
*/
|
|
94
|
+
SOLVING = 2,
|
|
95
|
+
/**
|
|
96
|
+
* @generated from enum value: CONTENT_INTENT_INFORMING = 3;
|
|
97
|
+
*/
|
|
98
|
+
INFORMING = 3,
|
|
99
|
+
/**
|
|
100
|
+
* @generated from enum value: CONTENT_INTENT_DECIDING = 4;
|
|
101
|
+
*/
|
|
102
|
+
DECIDING = 4,
|
|
103
|
+
/**
|
|
104
|
+
* @generated from enum value: CONTENT_INTENT_PROMOTING = 5;
|
|
105
|
+
*/
|
|
106
|
+
PROMOTING = 5,
|
|
107
|
+
/**
|
|
108
|
+
* @generated from enum value: CONTENT_INTENT_DISCUSSING = 6;
|
|
109
|
+
*/
|
|
110
|
+
DISCUSSING = 6
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Whether the material delivers enough value for its primary intent. UNCERTAIN
|
|
114
|
+
* is a completed model judgment; it is not a transport or assessment failure.
|
|
115
|
+
*
|
|
116
|
+
* @generated from enum bragi.pipelines.ValueDelivery
|
|
117
|
+
*/
|
|
118
|
+
declare enum ValueDelivery {
|
|
119
|
+
/**
|
|
120
|
+
* @generated from enum value: VALUE_DELIVERY_UNSPECIFIED = 0;
|
|
121
|
+
*/
|
|
122
|
+
UNSPECIFIED = 0,
|
|
123
|
+
/**
|
|
124
|
+
* @generated from enum value: VALUE_DELIVERY_SUFFICIENT = 1;
|
|
125
|
+
*/
|
|
126
|
+
SUFFICIENT = 1,
|
|
127
|
+
/**
|
|
128
|
+
* @generated from enum value: VALUE_DELIVERY_INSUFFICIENT = 2;
|
|
129
|
+
*/
|
|
130
|
+
INSUFFICIENT = 2,
|
|
131
|
+
/**
|
|
132
|
+
* @generated from enum value: VALUE_DELIVERY_UNCERTAIN = 3;
|
|
133
|
+
*/
|
|
134
|
+
UNCERTAIN = 3
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Availability of the assessment itself. UNAVAILABLE is distinct from a
|
|
138
|
+
* successful assessment whose value_delivery judgment is UNCERTAIN.
|
|
139
|
+
*
|
|
140
|
+
* @generated from enum bragi.pipelines.AssessmentStatus
|
|
141
|
+
*/
|
|
142
|
+
declare enum AssessmentStatus {
|
|
143
|
+
/**
|
|
144
|
+
* @generated from enum value: ASSESSMENT_STATUS_UNSPECIFIED = 0;
|
|
145
|
+
*/
|
|
146
|
+
UNSPECIFIED = 0,
|
|
147
|
+
/**
|
|
148
|
+
* @generated from enum value: ASSESSMENT_STATUS_SUCCESS = 1;
|
|
149
|
+
*/
|
|
150
|
+
SUCCESS = 1,
|
|
151
|
+
/**
|
|
152
|
+
* @generated from enum value: ASSESSMENT_STATUS_UNAVAILABLE = 2;
|
|
153
|
+
*/
|
|
154
|
+
UNAVAILABLE = 2
|
|
155
|
+
}
|
|
31
156
|
/**
|
|
32
157
|
* @generated from enum bragi.pipelines.ContextBuildingStrategy
|
|
33
158
|
*/
|
|
@@ -652,7 +777,7 @@ declare class PostDimensionsV2 extends Message<PostDimensionsV2> {
|
|
|
652
777
|
*/
|
|
653
778
|
specificity: string;
|
|
654
779
|
/**
|
|
655
|
-
*
|
|
780
|
+
* Legacy purpose: learning, solving, informing, deciding, promoting, discussing
|
|
656
781
|
*
|
|
657
782
|
* @generated from field: string intent = 8;
|
|
658
783
|
*/
|
|
@@ -719,6 +844,20 @@ declare class PostDimensionsV2 extends Message<PostDimensionsV2> {
|
|
|
719
844
|
* @generated from field: string change_type = 17;
|
|
720
845
|
*/
|
|
721
846
|
changeType: string;
|
|
847
|
+
/**
|
|
848
|
+
* none | release | deprecation | breaking | security | displacement | gotcha
|
|
849
|
+
*
|
|
850
|
+
* Enum form of the single primary purpose
|
|
851
|
+
*
|
|
852
|
+
* @generated from field: bragi.pipelines.ContentIntent primary_intent = 18;
|
|
853
|
+
*/
|
|
854
|
+
primaryIntent: ContentIntent;
|
|
855
|
+
/**
|
|
856
|
+
* Purpose-aware assessment of delivered value
|
|
857
|
+
*
|
|
858
|
+
* @generated from field: bragi.pipelines.ValueDelivery value_delivery = 19;
|
|
859
|
+
*/
|
|
860
|
+
valueDelivery: ValueDelivery;
|
|
722
861
|
constructor(data?: PartialMessage<PostDimensionsV2>);
|
|
723
862
|
static readonly runtime: typeof proto3;
|
|
724
863
|
static readonly typeName = "bragi.pipelines.PostDimensionsV2";
|
|
@@ -777,6 +916,18 @@ declare class EnrichResponseV2 extends Message<EnrichResponseV2> {
|
|
|
777
916
|
* @generated from field: bragi.pipelines.PostDimensionsV2 dims = 3;
|
|
778
917
|
*/
|
|
779
918
|
dims?: PostDimensionsV2;
|
|
919
|
+
/**
|
|
920
|
+
* Stable version of the enrichment instructions
|
|
921
|
+
*
|
|
922
|
+
* @generated from field: string prompt_version = 4;
|
|
923
|
+
*/
|
|
924
|
+
promptVersion: string;
|
|
925
|
+
/**
|
|
926
|
+
* SUCCESS for a completed response
|
|
927
|
+
*
|
|
928
|
+
* @generated from field: bragi.pipelines.AssessmentStatus assessment_status = 5;
|
|
929
|
+
*/
|
|
930
|
+
assessmentStatus: AssessmentStatus;
|
|
780
931
|
constructor(data?: PartialMessage<EnrichResponseV2>);
|
|
781
932
|
static readonly runtime: typeof proto3;
|
|
782
933
|
static readonly typeName = "bragi.pipelines.EnrichResponseV2";
|
|
@@ -1666,11 +1817,23 @@ declare class Tag extends Message<Tag> {
|
|
|
1666
1817
|
*/
|
|
1667
1818
|
confidence: number;
|
|
1668
1819
|
/**
|
|
1669
|
-
*
|
|
1820
|
+
* Reader expertise [0..1]
|
|
1670
1821
|
*
|
|
1671
1822
|
* @generated from field: float seniority = 4;
|
|
1672
1823
|
*/
|
|
1673
1824
|
seniority: number;
|
|
1825
|
+
/**
|
|
1826
|
+
* Central or supporting role in this material
|
|
1827
|
+
*
|
|
1828
|
+
* @generated from field: bragi.pipelines.TagRole role = 5;
|
|
1829
|
+
*/
|
|
1830
|
+
role: TagRole;
|
|
1831
|
+
/**
|
|
1832
|
+
* Presence semantics for seniority
|
|
1833
|
+
*
|
|
1834
|
+
* @generated from field: bragi.pipelines.TagSeniorityStatus seniority_status = 6;
|
|
1835
|
+
*/
|
|
1836
|
+
seniorityStatus: TagSeniorityStatus;
|
|
1674
1837
|
constructor(data?: PartialMessage<Tag>);
|
|
1675
1838
|
static readonly runtime: typeof proto3;
|
|
1676
1839
|
static readonly typeName = "bragi.pipelines.Tag";
|
|
@@ -4941,5 +5104,296 @@ declare class ExtractToolFactsResponse extends Message<ExtractToolFactsResponse>
|
|
|
4941
5104
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExtractToolFactsResponse;
|
|
4942
5105
|
static equals(a: ExtractToolFactsResponse | PlainMessage<ExtractToolFactsResponse> | undefined, b: ExtractToolFactsResponse | PlainMessage<ExtractToolFactsResponse> | undefined): boolean;
|
|
4943
5106
|
}
|
|
5107
|
+
/**
|
|
5108
|
+
* A user profile to screen for spam at signup or profile update
|
|
5109
|
+
*
|
|
5110
|
+
* @generated from message bragi.pipelines.ClassifyUserSpamRequest
|
|
5111
|
+
*/
|
|
5112
|
+
declare class ClassifyUserSpamRequest extends Message<ClassifyUserSpamRequest> {
|
|
5113
|
+
/**
|
|
5114
|
+
* Username
|
|
5115
|
+
*
|
|
5116
|
+
* @generated from field: string username = 1;
|
|
5117
|
+
*/
|
|
5118
|
+
username: string;
|
|
5119
|
+
/**
|
|
5120
|
+
* Display name
|
|
5121
|
+
*
|
|
5122
|
+
* @generated from field: optional string name = 2;
|
|
5123
|
+
*/
|
|
5124
|
+
name?: string;
|
|
5125
|
+
/**
|
|
5126
|
+
* Profile bio
|
|
5127
|
+
*
|
|
5128
|
+
* @generated from field: optional string bio = 3;
|
|
5129
|
+
*/
|
|
5130
|
+
bio?: string;
|
|
5131
|
+
/**
|
|
5132
|
+
* Profile website link
|
|
5133
|
+
*
|
|
5134
|
+
* @generated from field: optional string portfolio = 4;
|
|
5135
|
+
*/
|
|
5136
|
+
portfolio?: string;
|
|
5137
|
+
/**
|
|
5138
|
+
* ISO country code of the signup IP (GeoIP), not self-reported
|
|
5139
|
+
*
|
|
5140
|
+
* @generated from field: optional string country = 5;
|
|
5141
|
+
*/
|
|
5142
|
+
country?: string;
|
|
5143
|
+
/**
|
|
5144
|
+
* City of the signup IP (GeoIP)
|
|
5145
|
+
*
|
|
5146
|
+
* @generated from field: optional string city = 6;
|
|
5147
|
+
*/
|
|
5148
|
+
city?: string;
|
|
5149
|
+
constructor(data?: PartialMessage<ClassifyUserSpamRequest>);
|
|
5150
|
+
static readonly runtime: typeof proto3;
|
|
5151
|
+
static readonly typeName = "bragi.pipelines.ClassifyUserSpamRequest";
|
|
5152
|
+
static readonly fields: FieldList;
|
|
5153
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyUserSpamRequest;
|
|
5154
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyUserSpamRequest;
|
|
5155
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyUserSpamRequest;
|
|
5156
|
+
static equals(a: ClassifyUserSpamRequest | PlainMessage<ClassifyUserSpamRequest> | undefined, b: ClassifyUserSpamRequest | PlainMessage<ClassifyUserSpamRequest> | undefined): boolean;
|
|
5157
|
+
}
|
|
5158
|
+
/**
|
|
5159
|
+
* @generated from message bragi.pipelines.ClassifyUserSpamResponse
|
|
5160
|
+
*/
|
|
5161
|
+
declare class ClassifyUserSpamResponse extends Message<ClassifyUserSpamResponse> {
|
|
5162
|
+
/**
|
|
5163
|
+
* Operation id
|
|
5164
|
+
*
|
|
5165
|
+
* @generated from field: string id = 1;
|
|
5166
|
+
*/
|
|
5167
|
+
id: string;
|
|
5168
|
+
/**
|
|
5169
|
+
* True when the profile should be shadow banned
|
|
5170
|
+
*
|
|
5171
|
+
* @generated from field: bool is_spam = 2;
|
|
5172
|
+
*/
|
|
5173
|
+
isSpam: boolean;
|
|
5174
|
+
/**
|
|
5175
|
+
* Ranking signal in [0..1] for logging and threshold tuning; is_spam is the decision
|
|
5176
|
+
*
|
|
5177
|
+
* @generated from field: float spam_probability = 3;
|
|
5178
|
+
*/
|
|
5179
|
+
spamProbability: number;
|
|
5180
|
+
/**
|
|
5181
|
+
* Most likely purpose: genuine_person, business_marketing, illicit_promo, seo_squat, unclear
|
|
5182
|
+
*
|
|
5183
|
+
* @generated from field: string category = 4;
|
|
5184
|
+
*/
|
|
5185
|
+
category: string;
|
|
5186
|
+
constructor(data?: PartialMessage<ClassifyUserSpamResponse>);
|
|
5187
|
+
static readonly runtime: typeof proto3;
|
|
5188
|
+
static readonly typeName = "bragi.pipelines.ClassifyUserSpamResponse";
|
|
5189
|
+
static readonly fields: FieldList;
|
|
5190
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyUserSpamResponse;
|
|
5191
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyUserSpamResponse;
|
|
5192
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyUserSpamResponse;
|
|
5193
|
+
static equals(a: ClassifyUserSpamResponse | PlainMessage<ClassifyUserSpamResponse> | undefined, b: ClassifyUserSpamResponse | PlainMessage<ClassifyUserSpamResponse> | undefined): boolean;
|
|
5194
|
+
}
|
|
5195
|
+
/**
|
|
5196
|
+
* The author of a post or comment, as context for spam classification
|
|
5197
|
+
*
|
|
5198
|
+
* @generated from message bragi.pipelines.SpamAuthor
|
|
5199
|
+
*/
|
|
5200
|
+
declare class SpamAuthor extends Message<SpamAuthor> {
|
|
5201
|
+
/**
|
|
5202
|
+
* Username
|
|
5203
|
+
*
|
|
5204
|
+
* @generated from field: string username = 1;
|
|
5205
|
+
*/
|
|
5206
|
+
username: string;
|
|
5207
|
+
/**
|
|
5208
|
+
* Display name
|
|
5209
|
+
*
|
|
5210
|
+
* @generated from field: optional string name = 2;
|
|
5211
|
+
*/
|
|
5212
|
+
name?: string;
|
|
5213
|
+
/**
|
|
5214
|
+
* Profile bio
|
|
5215
|
+
*
|
|
5216
|
+
* @generated from field: optional string bio = 3;
|
|
5217
|
+
*/
|
|
5218
|
+
bio?: string;
|
|
5219
|
+
constructor(data?: PartialMessage<SpamAuthor>);
|
|
5220
|
+
static readonly runtime: typeof proto3;
|
|
5221
|
+
static readonly typeName = "bragi.pipelines.SpamAuthor";
|
|
5222
|
+
static readonly fields: FieldList;
|
|
5223
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SpamAuthor;
|
|
5224
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SpamAuthor;
|
|
5225
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SpamAuthor;
|
|
5226
|
+
static equals(a: SpamAuthor | PlainMessage<SpamAuthor> | undefined, b: SpamAuthor | PlainMessage<SpamAuthor> | undefined): boolean;
|
|
5227
|
+
}
|
|
5228
|
+
/**
|
|
5229
|
+
* A user-written post to screen for spam at creation or edit
|
|
5230
|
+
*
|
|
5231
|
+
* @generated from message bragi.pipelines.ClassifyPostSpamRequest
|
|
5232
|
+
*/
|
|
5233
|
+
declare class ClassifyPostSpamRequest extends Message<ClassifyPostSpamRequest> {
|
|
5234
|
+
/**
|
|
5235
|
+
* Post title; for a share, the author's commentary
|
|
5236
|
+
*
|
|
5237
|
+
* @generated from field: optional string title = 1;
|
|
5238
|
+
*/
|
|
5239
|
+
title?: string;
|
|
5240
|
+
/**
|
|
5241
|
+
* Post body in markdown (freeform posts)
|
|
5242
|
+
*
|
|
5243
|
+
* @generated from field: optional string content = 2;
|
|
5244
|
+
*/
|
|
5245
|
+
content?: string;
|
|
5246
|
+
/**
|
|
5247
|
+
* URL of the shared link (share posts)
|
|
5248
|
+
*
|
|
5249
|
+
* @generated from field: optional string shared_url = 3;
|
|
5250
|
+
*/
|
|
5251
|
+
sharedUrl?: string;
|
|
5252
|
+
/**
|
|
5253
|
+
* Title of the shared link (share posts)
|
|
5254
|
+
*
|
|
5255
|
+
* @generated from field: optional string shared_title = 4;
|
|
5256
|
+
*/
|
|
5257
|
+
sharedTitle?: string;
|
|
5258
|
+
/**
|
|
5259
|
+
* Squad the post was published in; unset when published on the author's own profile
|
|
5260
|
+
*
|
|
5261
|
+
* @generated from field: optional string squad_name = 5;
|
|
5262
|
+
*/
|
|
5263
|
+
squadName?: string;
|
|
5264
|
+
/**
|
|
5265
|
+
* Who published the post
|
|
5266
|
+
*
|
|
5267
|
+
* @generated from field: bragi.pipelines.SpamAuthor author = 6;
|
|
5268
|
+
*/
|
|
5269
|
+
author?: SpamAuthor;
|
|
5270
|
+
constructor(data?: PartialMessage<ClassifyPostSpamRequest>);
|
|
5271
|
+
static readonly runtime: typeof proto3;
|
|
5272
|
+
static readonly typeName = "bragi.pipelines.ClassifyPostSpamRequest";
|
|
5273
|
+
static readonly fields: FieldList;
|
|
5274
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyPostSpamRequest;
|
|
5275
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyPostSpamRequest;
|
|
5276
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyPostSpamRequest;
|
|
5277
|
+
static equals(a: ClassifyPostSpamRequest | PlainMessage<ClassifyPostSpamRequest> | undefined, b: ClassifyPostSpamRequest | PlainMessage<ClassifyPostSpamRequest> | undefined): boolean;
|
|
5278
|
+
}
|
|
5279
|
+
/**
|
|
5280
|
+
* @generated from message bragi.pipelines.ClassifyPostSpamResponse
|
|
5281
|
+
*/
|
|
5282
|
+
declare class ClassifyPostSpamResponse extends Message<ClassifyPostSpamResponse> {
|
|
5283
|
+
/**
|
|
5284
|
+
* Operation id
|
|
5285
|
+
*
|
|
5286
|
+
* @generated from field: string id = 1;
|
|
5287
|
+
*/
|
|
5288
|
+
id: string;
|
|
5289
|
+
/**
|
|
5290
|
+
* True when the post should be hidden
|
|
5291
|
+
*
|
|
5292
|
+
* @generated from field: bool is_spam = 2;
|
|
5293
|
+
*/
|
|
5294
|
+
isSpam: boolean;
|
|
5295
|
+
/**
|
|
5296
|
+
* Ranking signal in [0..1] for logging and threshold tuning; is_spam is the decision
|
|
5297
|
+
*
|
|
5298
|
+
* @generated from field: float spam_probability = 3;
|
|
5299
|
+
*/
|
|
5300
|
+
spamProbability: number;
|
|
5301
|
+
/**
|
|
5302
|
+
* Most likely purpose: knowledge_sharing, developer_project, personal, business_marketing, seo_content, illicit_promo, unclear
|
|
5303
|
+
*
|
|
5304
|
+
* @generated from field: string category = 4;
|
|
5305
|
+
*/
|
|
5306
|
+
category: string;
|
|
5307
|
+
constructor(data?: PartialMessage<ClassifyPostSpamResponse>);
|
|
5308
|
+
static readonly runtime: typeof proto3;
|
|
5309
|
+
static readonly typeName = "bragi.pipelines.ClassifyPostSpamResponse";
|
|
5310
|
+
static readonly fields: FieldList;
|
|
5311
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyPostSpamResponse;
|
|
5312
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyPostSpamResponse;
|
|
5313
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyPostSpamResponse;
|
|
5314
|
+
static equals(a: ClassifyPostSpamResponse | PlainMessage<ClassifyPostSpamResponse> | undefined, b: ClassifyPostSpamResponse | PlainMessage<ClassifyPostSpamResponse> | undefined): boolean;
|
|
5315
|
+
}
|
|
5316
|
+
/**
|
|
5317
|
+
* A comment to screen for spam at creation or edit
|
|
5318
|
+
*
|
|
5319
|
+
* @generated from message bragi.pipelines.ClassifyCommentSpamRequest
|
|
5320
|
+
*/
|
|
5321
|
+
declare class ClassifyCommentSpamRequest extends Message<ClassifyCommentSpamRequest> {
|
|
5322
|
+
/**
|
|
5323
|
+
* Comment body in markdown
|
|
5324
|
+
*
|
|
5325
|
+
* @generated from field: string content = 1;
|
|
5326
|
+
*/
|
|
5327
|
+
content: string;
|
|
5328
|
+
/**
|
|
5329
|
+
* Title of the post being commented on (for a share, the shared link's title)
|
|
5330
|
+
*
|
|
5331
|
+
* @generated from field: optional string post_title = 2;
|
|
5332
|
+
*/
|
|
5333
|
+
postTitle?: string;
|
|
5334
|
+
/**
|
|
5335
|
+
* The comment being replied to, if any
|
|
5336
|
+
*
|
|
5337
|
+
* @generated from field: optional string parent_content = 3;
|
|
5338
|
+
*/
|
|
5339
|
+
parentContent?: string;
|
|
5340
|
+
/**
|
|
5341
|
+
* True when the commenter also wrote the post
|
|
5342
|
+
*
|
|
5343
|
+
* @generated from field: bool is_post_author = 4;
|
|
5344
|
+
*/
|
|
5345
|
+
isPostAuthor: boolean;
|
|
5346
|
+
/**
|
|
5347
|
+
* Who wrote the comment
|
|
5348
|
+
*
|
|
5349
|
+
* @generated from field: bragi.pipelines.SpamAuthor author = 5;
|
|
5350
|
+
*/
|
|
5351
|
+
author?: SpamAuthor;
|
|
5352
|
+
constructor(data?: PartialMessage<ClassifyCommentSpamRequest>);
|
|
5353
|
+
static readonly runtime: typeof proto3;
|
|
5354
|
+
static readonly typeName = "bragi.pipelines.ClassifyCommentSpamRequest";
|
|
5355
|
+
static readonly fields: FieldList;
|
|
5356
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyCommentSpamRequest;
|
|
5357
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyCommentSpamRequest;
|
|
5358
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyCommentSpamRequest;
|
|
5359
|
+
static equals(a: ClassifyCommentSpamRequest | PlainMessage<ClassifyCommentSpamRequest> | undefined, b: ClassifyCommentSpamRequest | PlainMessage<ClassifyCommentSpamRequest> | undefined): boolean;
|
|
5360
|
+
}
|
|
5361
|
+
/**
|
|
5362
|
+
* @generated from message bragi.pipelines.ClassifyCommentSpamResponse
|
|
5363
|
+
*/
|
|
5364
|
+
declare class ClassifyCommentSpamResponse extends Message<ClassifyCommentSpamResponse> {
|
|
5365
|
+
/**
|
|
5366
|
+
* Operation id
|
|
5367
|
+
*
|
|
5368
|
+
* @generated from field: string id = 1;
|
|
5369
|
+
*/
|
|
5370
|
+
id: string;
|
|
5371
|
+
/**
|
|
5372
|
+
* True when the comment should be hidden
|
|
5373
|
+
*
|
|
5374
|
+
* @generated from field: bool is_spam = 2;
|
|
5375
|
+
*/
|
|
5376
|
+
isSpam: boolean;
|
|
5377
|
+
/**
|
|
5378
|
+
* Ranking signal in [0..1] for logging and threshold tuning; is_spam is the decision
|
|
5379
|
+
*
|
|
5380
|
+
* @generated from field: float spam_probability = 3;
|
|
5381
|
+
*/
|
|
5382
|
+
spamProbability: number;
|
|
5383
|
+
/**
|
|
5384
|
+
* Most likely purpose: discussion, resource_share, reaction, promotion, link_drop, illicit_promo, unclear
|
|
5385
|
+
*
|
|
5386
|
+
* @generated from field: string category = 4;
|
|
5387
|
+
*/
|
|
5388
|
+
category: string;
|
|
5389
|
+
constructor(data?: PartialMessage<ClassifyCommentSpamResponse>);
|
|
5390
|
+
static readonly runtime: typeof proto3;
|
|
5391
|
+
static readonly typeName = "bragi.pipelines.ClassifyCommentSpamResponse";
|
|
5392
|
+
static readonly fields: FieldList;
|
|
5393
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClassifyCommentSpamResponse;
|
|
5394
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClassifyCommentSpamResponse;
|
|
5395
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClassifyCommentSpamResponse;
|
|
5396
|
+
static equals(a: ClassifyCommentSpamResponse | PlainMessage<ClassifyCommentSpamResponse> | undefined, b: ClassifyCommentSpamResponse | PlainMessage<ClassifyCommentSpamResponse> | undefined): boolean;
|
|
5397
|
+
}
|
|
4944
5398
|
|
|
4945
|
-
export { ActivityItem, AggregateMemoryRequest, AlternativeTitleRequest, AlternativeTitleResponse, AnalyzeImageRequest, AnalyzeImageResponse, Applicant, ApplicationEval, ApplicationScreeningRequest, ApplicationScreeningResponse, AudienceFitRequest, AudienceFitResponse, BriefResponse, CandidateReasoningRequest, CandidateReasoningResponse, ChannelHighlightCandidateItem, ChannelHighlightCurrentItem, ChannelHighlightResultItem, ChannelHighlightSignificance, Claim, ClaimChangeType, ClaimDirectness, ClaimEntityKind, ClassifyGearRequest, ClassifyGearResponse, ClassifyRejectionFeedbackRequest, ClassifyRejectionFeedbackResponse, ClassifyUserFeedbackRequest, ClassifyUserFeedbackResponse, ClickbaitProbabilityRequest, ClickbaitProbabilityResponse, ClusterReconciliationRequest, ClusterReconciliationResponse, CollectionContent, CollectionPostInput, CommunityTakeBreakdown, CommunityTakeComment, CommunityTakeDiscussion, CommunityTakeLean, CommunityTakeRequest, CommunityTakeResponse, CommunityTakeSource, ContentFormat, ContextBuildingStrategy, EnrichRequest, EnrichResponse, EnrichResponseV2, EntitySentimentClassification, EvaluateChannelHighlightsRequest, EvaluateChannelHighlightsResponse, ExtractClaimsRequest, ExtractClaimsResponse, ExtractToolFactsRequest, ExtractToolFactsResponse, ExtractedProfileTag, FeedbackCategory, FeedbackClassification, FeedbackPlatform, FeedbackSentiment, FeedbackUrgency, FilterSearchRequest, FilterSearchResponse, FindCompanyNewsRequest, FindCompanyNewsResponse, FindContactActivityRequest, FindContactActivityResponse, FindJobVacanciesRequest, FindJobVacanciesResponse, GearCategory, GenerateCollectionRequest, GenerateCollectionResponse, GenerateRecruiterEmailRequest, GenerateRecruiterEmailResponse, GenerateTagsResponse, GitHubProfileTagsRequest, GitHubProfileTagsResponse, GuessWhoQuizPersona, GuessWhoQuizQAPair, GuessWhoQuizQuestion, GuessWhoQuizRequest, GuessWhoQuizResponse, IsPageInCacheRequest, IsPageInCacheResponse, JobPostDimensions, JobPostEnrichRequest, JobPostEnrichResponse, JobVacancy, MemoryRequest, MemoryResponse, MultipleSearchQueriesResponse, NewsItem, NextPersonaQuizQuestionRequest, NextPersonaQuizQuestionResponse, OnboardingProfileTagsRequest, OnboardingProfileTagsResponse, ParseCVRequest, ParseCVResponse, ParseError, ParseFeedbackRequest, ParseFeedbackResponse, ParseOpportunityRequest, ParseOpportunityResponse, PersonaQuizOption, PersonaQuizQAPair, PersonaQuizQuestion, PersonaQuizRevealRequest, PersonaQuizRevealResponse, PersonaQuizRevealText, PersonalizedBriefingRequest, PostDimensions, PostDimensionsV2, PostQuestion, ProcessIsolatedRequest, ProcessStoriesResponse, RecruiterOpportunity, RejectionFeedbackClassification, RejectionReason, RejectionReasonDetail, ResolveOrganizationRequest, ResolveOrganizationResponse, ScrapedPage, ScreeningQuestionsRequest, ScreeningQuestionsResponse, SearchAnswerRequest, SearchPromptRequest, SearchPromptResponse, SearchPromptV2Request, SearchQueryRequest, SearchQueryResponse, SentimentAnalysisRequest, SentimentAnalysisResponse, SentimentLabel, SimpleParseCVRequest, SimpleParseCVResponse, SmartPromptRequest, StoryAnalysisRequest, StoryDeduplicationRequest, StoryDeduplicationResponse, Tag, TagSeniorityRequest, TagSeniorityResponse, ToolFactItem, TopicalDigest, TopicalDigestItem, TopicalDigestPost, TopicalDigestRequest, ValidateCollectionCoherenceRequest, ValidateCollectionCoherenceResponse, WarmIntroRequest, WarmIntroResponse };
|
|
5399
|
+
export { ActivityItem, AggregateMemoryRequest, AlternativeTitleRequest, AlternativeTitleResponse, AnalyzeImageRequest, AnalyzeImageResponse, Applicant, ApplicationEval, ApplicationScreeningRequest, ApplicationScreeningResponse, AssessmentStatus, AudienceFitRequest, AudienceFitResponse, BriefResponse, CandidateReasoningRequest, CandidateReasoningResponse, ChannelHighlightCandidateItem, ChannelHighlightCurrentItem, ChannelHighlightResultItem, ChannelHighlightSignificance, Claim, ClaimChangeType, ClaimDirectness, ClaimEntityKind, ClassifyCommentSpamRequest, ClassifyCommentSpamResponse, ClassifyGearRequest, ClassifyGearResponse, ClassifyPostSpamRequest, ClassifyPostSpamResponse, ClassifyRejectionFeedbackRequest, ClassifyRejectionFeedbackResponse, ClassifyUserFeedbackRequest, ClassifyUserFeedbackResponse, ClassifyUserSpamRequest, ClassifyUserSpamResponse, ClickbaitProbabilityRequest, ClickbaitProbabilityResponse, ClusterReconciliationRequest, ClusterReconciliationResponse, CollectionContent, CollectionPostInput, CommunityTakeBreakdown, CommunityTakeComment, CommunityTakeDiscussion, CommunityTakeLean, CommunityTakeRequest, CommunityTakeResponse, CommunityTakeSource, ContentFormat, ContentIntent, ContextBuildingStrategy, EnrichRequest, EnrichResponse, EnrichResponseV2, EntitySentimentClassification, EvaluateChannelHighlightsRequest, EvaluateChannelHighlightsResponse, ExtractClaimsRequest, ExtractClaimsResponse, ExtractToolFactsRequest, ExtractToolFactsResponse, ExtractedProfileTag, FeedbackCategory, FeedbackClassification, FeedbackPlatform, FeedbackSentiment, FeedbackUrgency, FilterSearchRequest, FilterSearchResponse, FindCompanyNewsRequest, FindCompanyNewsResponse, FindContactActivityRequest, FindContactActivityResponse, FindJobVacanciesRequest, FindJobVacanciesResponse, GearCategory, GenerateCollectionRequest, GenerateCollectionResponse, GenerateRecruiterEmailRequest, GenerateRecruiterEmailResponse, GenerateTagsResponse, GitHubProfileTagsRequest, GitHubProfileTagsResponse, GuessWhoQuizPersona, GuessWhoQuizQAPair, GuessWhoQuizQuestion, GuessWhoQuizRequest, GuessWhoQuizResponse, IsPageInCacheRequest, IsPageInCacheResponse, JobPostDimensions, JobPostEnrichRequest, JobPostEnrichResponse, JobVacancy, MemoryRequest, MemoryResponse, MultipleSearchQueriesResponse, NewsItem, NextPersonaQuizQuestionRequest, NextPersonaQuizQuestionResponse, OnboardingProfileTagsRequest, OnboardingProfileTagsResponse, ParseCVRequest, ParseCVResponse, ParseError, ParseFeedbackRequest, ParseFeedbackResponse, ParseOpportunityRequest, ParseOpportunityResponse, PersonaQuizOption, PersonaQuizQAPair, PersonaQuizQuestion, PersonaQuizRevealRequest, PersonaQuizRevealResponse, PersonaQuizRevealText, PersonalizedBriefingRequest, PostDimensions, PostDimensionsV2, PostQuestion, ProcessIsolatedRequest, ProcessStoriesResponse, RecruiterOpportunity, RejectionFeedbackClassification, RejectionReason, RejectionReasonDetail, ResolveOrganizationRequest, ResolveOrganizationResponse, ScrapedPage, ScreeningQuestionsRequest, ScreeningQuestionsResponse, SearchAnswerRequest, SearchPromptRequest, SearchPromptResponse, SearchPromptV2Request, SearchQueryRequest, SearchQueryResponse, SentimentAnalysisRequest, SentimentAnalysisResponse, SentimentLabel, SimpleParseCVRequest, SimpleParseCVResponse, SmartPromptRequest, SpamAuthor, StoryAnalysisRequest, StoryDeduplicationRequest, StoryDeduplicationResponse, Tag, TagRole, TagSeniorityRequest, TagSeniorityResponse, TagSeniorityStatus, ToolFactItem, TopicalDigest, TopicalDigestItem, TopicalDigestPost, TopicalDigestRequest, ValidateCollectionCoherenceRequest, ValidateCollectionCoherenceResponse, ValueDelivery, WarmIntroRequest, WarmIntroResponse };
|