jr-common-micro 1.1.107 → 1.1.108
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/proto/micro/v1/education/education_messages_nest.d.ts +2 -0
- package/dist/proto/micro/v1/education/education_messages_pb.d.ts +2 -0
- package/dist/proto/micro/v1/education/education_messages_pb.js +4 -0
- package/package.json +1 -1
- package/proto/micro/v1/education/education_messages.proto +7 -0
|
@@ -591,6 +591,8 @@ export declare class ReferralDetailsDto extends Message<ReferralDetailsDto> {
|
|
|
591
591
|
export declare class ReferralDetails extends Message<ReferralDetails> {
|
|
592
592
|
uid: string;
|
|
593
593
|
status: string;
|
|
594
|
+
apiRefusals: number;
|
|
595
|
+
nextCheckAt: string;
|
|
594
596
|
constructor(data?: PartialMessage<ReferralDetails>);
|
|
595
597
|
static readonly runtime: typeof proto3;
|
|
596
598
|
static readonly typeName = "micro.v1.education.ReferralDetails";
|
|
@@ -1223,6 +1223,8 @@ exports.ReferralDetailsDto = ReferralDetailsDto;
|
|
|
1223
1223
|
class ReferralDetails extends protobuf_1.Message {
|
|
1224
1224
|
uid = "";
|
|
1225
1225
|
status = "";
|
|
1226
|
+
apiRefusals = 0;
|
|
1227
|
+
nextCheckAt = "";
|
|
1226
1228
|
constructor(data) {
|
|
1227
1229
|
super();
|
|
1228
1230
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -1232,6 +1234,8 @@ class ReferralDetails extends protobuf_1.Message {
|
|
|
1232
1234
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1233
1235
|
{ no: 1, name: "uid", kind: "scalar", T: 9 },
|
|
1234
1236
|
{ no: 2, name: "status", kind: "scalar", T: 9 },
|
|
1237
|
+
{ no: 3, name: "api_refusals", kind: "scalar", T: 5 },
|
|
1238
|
+
{ no: 4, name: "next_check_at", kind: "scalar", T: 9 },
|
|
1235
1239
|
]);
|
|
1236
1240
|
static fromBinary(bytes, options) {
|
|
1237
1241
|
return new ReferralDetails().fromBinary(bytes, options);
|
package/package.json
CHANGED
|
@@ -292,6 +292,13 @@ message ReferralDetailsDto {
|
|
|
292
292
|
message ReferralDetails {
|
|
293
293
|
string uid = 1;
|
|
294
294
|
string status = 2;
|
|
295
|
+
// A pending UID the exchange's affiliate API looked up and did not find
|
|
296
|
+
// among our referrals: how many times in a row (0 = never, also when the
|
|
297
|
+
// exchange has no API check). Reset when the person sends a UID again.
|
|
298
|
+
int32 api_refusals = 3;
|
|
299
|
+
// When the API looks again (RFC 3339 UTC); empty once it has stopped
|
|
300
|
+
// (after the fifth "not ours") or when no check is due.
|
|
301
|
+
string next_check_at = 4;
|
|
295
302
|
}
|
|
296
303
|
|
|
297
304
|
message StoreLastWatchedVideoRequest {
|