@aldiokta/protocgen 1.1.66 → 1.1.67
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
CHANGED
|
@@ -320,6 +320,28 @@ function deserialize_RequestRegisterVendorResponse(buffer_arg) {
|
|
|
320
320
|
return prisca_v1_core_auth_auth_pb.RequestRegisterVendorResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
321
321
|
}
|
|
322
322
|
|
|
323
|
+
function serialize_RetryPendingActivationRequest(arg) {
|
|
324
|
+
if (!(arg instanceof prisca_v1_core_auth_auth_pb.RetryPendingActivationRequest)) {
|
|
325
|
+
throw new Error('Expected argument of type RetryPendingActivationRequest');
|
|
326
|
+
}
|
|
327
|
+
return Buffer.from(arg.serializeBinary());
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
function deserialize_RetryPendingActivationRequest(buffer_arg) {
|
|
331
|
+
return prisca_v1_core_auth_auth_pb.RetryPendingActivationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
function serialize_RetryPendingActivationResponse(arg) {
|
|
335
|
+
if (!(arg instanceof prisca_v1_core_auth_auth_pb.RetryPendingActivationResponse)) {
|
|
336
|
+
throw new Error('Expected argument of type RetryPendingActivationResponse');
|
|
337
|
+
}
|
|
338
|
+
return Buffer.from(arg.serializeBinary());
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
function deserialize_RetryPendingActivationResponse(buffer_arg) {
|
|
342
|
+
return prisca_v1_core_auth_auth_pb.RetryPendingActivationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
343
|
+
}
|
|
344
|
+
|
|
323
345
|
function serialize_RevokeRefreshTokenRequest(arg) {
|
|
324
346
|
if (!(arg instanceof prisca_v1_core_auth_auth_pb.RevokeRefreshTokenRequest)) {
|
|
325
347
|
throw new Error('Expected argument of type RevokeRefreshTokenRequest');
|
|
@@ -533,6 +555,20 @@ deactivateUser: {
|
|
|
533
555
|
responseSerialize: serialize_UserResponse,
|
|
534
556
|
responseDeserialize: deserialize_UserResponse,
|
|
535
557
|
},
|
|
558
|
+
// PRISCA-97 AC-13: dipanggil scheduler (tanpa JWT) — sapu user yang
|
|
559
|
+
// inactive karena pre-flight kuota gagal jaringan, coba ulang, aktifkan
|
|
560
|
+
// yang 200. Lintas-tenant.
|
|
561
|
+
retryPendingUserActivationForScheduler: {
|
|
562
|
+
path: '/AuthService/RetryPendingUserActivationForScheduler',
|
|
563
|
+
requestStream: false,
|
|
564
|
+
responseStream: false,
|
|
565
|
+
requestType: prisca_v1_core_auth_auth_pb.RetryPendingActivationRequest,
|
|
566
|
+
responseType: prisca_v1_core_auth_auth_pb.RetryPendingActivationResponse,
|
|
567
|
+
requestSerialize: serialize_RetryPendingActivationRequest,
|
|
568
|
+
requestDeserialize: deserialize_RetryPendingActivationRequest,
|
|
569
|
+
responseSerialize: serialize_RetryPendingActivationResponse,
|
|
570
|
+
responseDeserialize: deserialize_RetryPendingActivationResponse,
|
|
571
|
+
},
|
|
536
572
|
verifyAuthorization: {
|
|
537
573
|
path: '/AuthService/VerifyAuthorization',
|
|
538
574
|
requestStream: false,
|
|
@@ -53,6 +53,8 @@ goog.exportSymbol('proto.RequestForgotPasswordReq', null, global);
|
|
|
53
53
|
goog.exportSymbol('proto.RequestForgotResponse', null, global);
|
|
54
54
|
goog.exportSymbol('proto.RequestRegisterVendorReq', null, global);
|
|
55
55
|
goog.exportSymbol('proto.RequestRegisterVendorResponse', null, global);
|
|
56
|
+
goog.exportSymbol('proto.RetryPendingActivationRequest', null, global);
|
|
57
|
+
goog.exportSymbol('proto.RetryPendingActivationResponse', null, global);
|
|
56
58
|
goog.exportSymbol('proto.RevokeRefreshTokenRequest', null, global);
|
|
57
59
|
goog.exportSymbol('proto.RevokeRefreshTokenResponse', null, global);
|
|
58
60
|
goog.exportSymbol('proto.SetUserStatusRequest', null, global);
|
|
@@ -628,6 +630,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
628
630
|
*/
|
|
629
631
|
proto.SetUserStatusRequest.displayName = 'proto.SetUserStatusRequest';
|
|
630
632
|
}
|
|
633
|
+
/**
|
|
634
|
+
* Generated by JsPbCodeGenerator.
|
|
635
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
636
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
637
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
638
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
639
|
+
* valid.
|
|
640
|
+
* @extends {jspb.Message}
|
|
641
|
+
* @constructor
|
|
642
|
+
*/
|
|
643
|
+
proto.RetryPendingActivationRequest = function(opt_data) {
|
|
644
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
645
|
+
};
|
|
646
|
+
goog.inherits(proto.RetryPendingActivationRequest, jspb.Message);
|
|
647
|
+
if (goog.DEBUG && !COMPILED) {
|
|
648
|
+
/**
|
|
649
|
+
* @public
|
|
650
|
+
* @override
|
|
651
|
+
*/
|
|
652
|
+
proto.RetryPendingActivationRequest.displayName = 'proto.RetryPendingActivationRequest';
|
|
653
|
+
}
|
|
654
|
+
/**
|
|
655
|
+
* Generated by JsPbCodeGenerator.
|
|
656
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
657
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
658
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
659
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
660
|
+
* valid.
|
|
661
|
+
* @extends {jspb.Message}
|
|
662
|
+
* @constructor
|
|
663
|
+
*/
|
|
664
|
+
proto.RetryPendingActivationResponse = function(opt_data) {
|
|
665
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
666
|
+
};
|
|
667
|
+
goog.inherits(proto.RetryPendingActivationResponse, jspb.Message);
|
|
668
|
+
if (goog.DEBUG && !COMPILED) {
|
|
669
|
+
/**
|
|
670
|
+
* @public
|
|
671
|
+
* @override
|
|
672
|
+
*/
|
|
673
|
+
proto.RetryPendingActivationResponse.displayName = 'proto.RetryPendingActivationResponse';
|
|
674
|
+
}
|
|
631
675
|
/**
|
|
632
676
|
* Generated by JsPbCodeGenerator.
|
|
633
677
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5630,6 +5674,348 @@ proto.SetUserStatusRequest.prototype.setReferencesId = function(value) {
|
|
|
5630
5674
|
|
|
5631
5675
|
|
|
5632
5676
|
|
|
5677
|
+
|
|
5678
|
+
|
|
5679
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5680
|
+
/**
|
|
5681
|
+
* Creates an object representation of this proto.
|
|
5682
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5683
|
+
* Optional fields that are not set will be set to undefined.
|
|
5684
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5685
|
+
* For the list of reserved names please see:
|
|
5686
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5687
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5688
|
+
* JSPB instance for transitional soy proto support:
|
|
5689
|
+
* http://goto/soy-param-migration
|
|
5690
|
+
* @return {!Object}
|
|
5691
|
+
*/
|
|
5692
|
+
proto.RetryPendingActivationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
5693
|
+
return proto.RetryPendingActivationRequest.toObject(opt_includeInstance, this);
|
|
5694
|
+
};
|
|
5695
|
+
|
|
5696
|
+
|
|
5697
|
+
/**
|
|
5698
|
+
* Static version of the {@see toObject} method.
|
|
5699
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5700
|
+
* the JSPB instance for transitional soy proto support:
|
|
5701
|
+
* http://goto/soy-param-migration
|
|
5702
|
+
* @param {!proto.RetryPendingActivationRequest} msg The msg instance to transform.
|
|
5703
|
+
* @return {!Object}
|
|
5704
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5705
|
+
*/
|
|
5706
|
+
proto.RetryPendingActivationRequest.toObject = function(includeInstance, msg) {
|
|
5707
|
+
var f, obj = {
|
|
5708
|
+
|
|
5709
|
+
};
|
|
5710
|
+
|
|
5711
|
+
if (includeInstance) {
|
|
5712
|
+
obj.$jspbMessageInstance = msg;
|
|
5713
|
+
}
|
|
5714
|
+
return obj;
|
|
5715
|
+
};
|
|
5716
|
+
}
|
|
5717
|
+
|
|
5718
|
+
|
|
5719
|
+
/**
|
|
5720
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5721
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5722
|
+
* @return {!proto.RetryPendingActivationRequest}
|
|
5723
|
+
*/
|
|
5724
|
+
proto.RetryPendingActivationRequest.deserializeBinary = function(bytes) {
|
|
5725
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5726
|
+
var msg = new proto.RetryPendingActivationRequest;
|
|
5727
|
+
return proto.RetryPendingActivationRequest.deserializeBinaryFromReader(msg, reader);
|
|
5728
|
+
};
|
|
5729
|
+
|
|
5730
|
+
|
|
5731
|
+
/**
|
|
5732
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5733
|
+
* given reader into the given message object.
|
|
5734
|
+
* @param {!proto.RetryPendingActivationRequest} msg The message object to deserialize into.
|
|
5735
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5736
|
+
* @return {!proto.RetryPendingActivationRequest}
|
|
5737
|
+
*/
|
|
5738
|
+
proto.RetryPendingActivationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5739
|
+
while (reader.nextField()) {
|
|
5740
|
+
if (reader.isEndGroup()) {
|
|
5741
|
+
break;
|
|
5742
|
+
}
|
|
5743
|
+
var field = reader.getFieldNumber();
|
|
5744
|
+
switch (field) {
|
|
5745
|
+
default:
|
|
5746
|
+
reader.skipField();
|
|
5747
|
+
break;
|
|
5748
|
+
}
|
|
5749
|
+
}
|
|
5750
|
+
return msg;
|
|
5751
|
+
};
|
|
5752
|
+
|
|
5753
|
+
|
|
5754
|
+
/**
|
|
5755
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5756
|
+
* @return {!Uint8Array}
|
|
5757
|
+
*/
|
|
5758
|
+
proto.RetryPendingActivationRequest.prototype.serializeBinary = function() {
|
|
5759
|
+
var writer = new jspb.BinaryWriter();
|
|
5760
|
+
proto.RetryPendingActivationRequest.serializeBinaryToWriter(this, writer);
|
|
5761
|
+
return writer.getResultBuffer();
|
|
5762
|
+
};
|
|
5763
|
+
|
|
5764
|
+
|
|
5765
|
+
/**
|
|
5766
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5767
|
+
* format), writing to the given BinaryWriter.
|
|
5768
|
+
* @param {!proto.RetryPendingActivationRequest} message
|
|
5769
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5770
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5771
|
+
*/
|
|
5772
|
+
proto.RetryPendingActivationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5773
|
+
var f = undefined;
|
|
5774
|
+
};
|
|
5775
|
+
|
|
5776
|
+
|
|
5777
|
+
|
|
5778
|
+
|
|
5779
|
+
|
|
5780
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5781
|
+
/**
|
|
5782
|
+
* Creates an object representation of this proto.
|
|
5783
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5784
|
+
* Optional fields that are not set will be set to undefined.
|
|
5785
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5786
|
+
* For the list of reserved names please see:
|
|
5787
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5788
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5789
|
+
* JSPB instance for transitional soy proto support:
|
|
5790
|
+
* http://goto/soy-param-migration
|
|
5791
|
+
* @return {!Object}
|
|
5792
|
+
*/
|
|
5793
|
+
proto.RetryPendingActivationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
5794
|
+
return proto.RetryPendingActivationResponse.toObject(opt_includeInstance, this);
|
|
5795
|
+
};
|
|
5796
|
+
|
|
5797
|
+
|
|
5798
|
+
/**
|
|
5799
|
+
* Static version of the {@see toObject} method.
|
|
5800
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5801
|
+
* the JSPB instance for transitional soy proto support:
|
|
5802
|
+
* http://goto/soy-param-migration
|
|
5803
|
+
* @param {!proto.RetryPendingActivationResponse} msg The msg instance to transform.
|
|
5804
|
+
* @return {!Object}
|
|
5805
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5806
|
+
*/
|
|
5807
|
+
proto.RetryPendingActivationResponse.toObject = function(includeInstance, msg) {
|
|
5808
|
+
var f, obj = {
|
|
5809
|
+
activated: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
5810
|
+
stillPending: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
5811
|
+
quotaExceeded: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
5812
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
5813
|
+
};
|
|
5814
|
+
|
|
5815
|
+
if (includeInstance) {
|
|
5816
|
+
obj.$jspbMessageInstance = msg;
|
|
5817
|
+
}
|
|
5818
|
+
return obj;
|
|
5819
|
+
};
|
|
5820
|
+
}
|
|
5821
|
+
|
|
5822
|
+
|
|
5823
|
+
/**
|
|
5824
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5825
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5826
|
+
* @return {!proto.RetryPendingActivationResponse}
|
|
5827
|
+
*/
|
|
5828
|
+
proto.RetryPendingActivationResponse.deserializeBinary = function(bytes) {
|
|
5829
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5830
|
+
var msg = new proto.RetryPendingActivationResponse;
|
|
5831
|
+
return proto.RetryPendingActivationResponse.deserializeBinaryFromReader(msg, reader);
|
|
5832
|
+
};
|
|
5833
|
+
|
|
5834
|
+
|
|
5835
|
+
/**
|
|
5836
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5837
|
+
* given reader into the given message object.
|
|
5838
|
+
* @param {!proto.RetryPendingActivationResponse} msg The message object to deserialize into.
|
|
5839
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5840
|
+
* @return {!proto.RetryPendingActivationResponse}
|
|
5841
|
+
*/
|
|
5842
|
+
proto.RetryPendingActivationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
5843
|
+
while (reader.nextField()) {
|
|
5844
|
+
if (reader.isEndGroup()) {
|
|
5845
|
+
break;
|
|
5846
|
+
}
|
|
5847
|
+
var field = reader.getFieldNumber();
|
|
5848
|
+
switch (field) {
|
|
5849
|
+
case 1:
|
|
5850
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
5851
|
+
msg.setActivated(value);
|
|
5852
|
+
break;
|
|
5853
|
+
case 2:
|
|
5854
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
5855
|
+
msg.setStillPending(value);
|
|
5856
|
+
break;
|
|
5857
|
+
case 3:
|
|
5858
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
5859
|
+
msg.setQuotaExceeded(value);
|
|
5860
|
+
break;
|
|
5861
|
+
case 99:
|
|
5862
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
5863
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
5864
|
+
msg.setMeta(value);
|
|
5865
|
+
break;
|
|
5866
|
+
default:
|
|
5867
|
+
reader.skipField();
|
|
5868
|
+
break;
|
|
5869
|
+
}
|
|
5870
|
+
}
|
|
5871
|
+
return msg;
|
|
5872
|
+
};
|
|
5873
|
+
|
|
5874
|
+
|
|
5875
|
+
/**
|
|
5876
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5877
|
+
* @return {!Uint8Array}
|
|
5878
|
+
*/
|
|
5879
|
+
proto.RetryPendingActivationResponse.prototype.serializeBinary = function() {
|
|
5880
|
+
var writer = new jspb.BinaryWriter();
|
|
5881
|
+
proto.RetryPendingActivationResponse.serializeBinaryToWriter(this, writer);
|
|
5882
|
+
return writer.getResultBuffer();
|
|
5883
|
+
};
|
|
5884
|
+
|
|
5885
|
+
|
|
5886
|
+
/**
|
|
5887
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5888
|
+
* format), writing to the given BinaryWriter.
|
|
5889
|
+
* @param {!proto.RetryPendingActivationResponse} message
|
|
5890
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5891
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5892
|
+
*/
|
|
5893
|
+
proto.RetryPendingActivationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
5894
|
+
var f = undefined;
|
|
5895
|
+
f = message.getActivated();
|
|
5896
|
+
if (f !== 0) {
|
|
5897
|
+
writer.writeInt64(
|
|
5898
|
+
1,
|
|
5899
|
+
f
|
|
5900
|
+
);
|
|
5901
|
+
}
|
|
5902
|
+
f = message.getStillPending();
|
|
5903
|
+
if (f !== 0) {
|
|
5904
|
+
writer.writeInt64(
|
|
5905
|
+
2,
|
|
5906
|
+
f
|
|
5907
|
+
);
|
|
5908
|
+
}
|
|
5909
|
+
f = message.getQuotaExceeded();
|
|
5910
|
+
if (f !== 0) {
|
|
5911
|
+
writer.writeInt64(
|
|
5912
|
+
3,
|
|
5913
|
+
f
|
|
5914
|
+
);
|
|
5915
|
+
}
|
|
5916
|
+
f = message.getMeta();
|
|
5917
|
+
if (f != null) {
|
|
5918
|
+
writer.writeMessage(
|
|
5919
|
+
99,
|
|
5920
|
+
f,
|
|
5921
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
5922
|
+
);
|
|
5923
|
+
}
|
|
5924
|
+
};
|
|
5925
|
+
|
|
5926
|
+
|
|
5927
|
+
/**
|
|
5928
|
+
* optional int64 activated = 1;
|
|
5929
|
+
* @return {number}
|
|
5930
|
+
*/
|
|
5931
|
+
proto.RetryPendingActivationResponse.prototype.getActivated = function() {
|
|
5932
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
5933
|
+
};
|
|
5934
|
+
|
|
5935
|
+
|
|
5936
|
+
/**
|
|
5937
|
+
* @param {number} value
|
|
5938
|
+
* @return {!proto.RetryPendingActivationResponse} returns this
|
|
5939
|
+
*/
|
|
5940
|
+
proto.RetryPendingActivationResponse.prototype.setActivated = function(value) {
|
|
5941
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
5942
|
+
};
|
|
5943
|
+
|
|
5944
|
+
|
|
5945
|
+
/**
|
|
5946
|
+
* optional int64 still_pending = 2;
|
|
5947
|
+
* @return {number}
|
|
5948
|
+
*/
|
|
5949
|
+
proto.RetryPendingActivationResponse.prototype.getStillPending = function() {
|
|
5950
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
5951
|
+
};
|
|
5952
|
+
|
|
5953
|
+
|
|
5954
|
+
/**
|
|
5955
|
+
* @param {number} value
|
|
5956
|
+
* @return {!proto.RetryPendingActivationResponse} returns this
|
|
5957
|
+
*/
|
|
5958
|
+
proto.RetryPendingActivationResponse.prototype.setStillPending = function(value) {
|
|
5959
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
5960
|
+
};
|
|
5961
|
+
|
|
5962
|
+
|
|
5963
|
+
/**
|
|
5964
|
+
* optional int64 quota_exceeded = 3;
|
|
5965
|
+
* @return {number}
|
|
5966
|
+
*/
|
|
5967
|
+
proto.RetryPendingActivationResponse.prototype.getQuotaExceeded = function() {
|
|
5968
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
5969
|
+
};
|
|
5970
|
+
|
|
5971
|
+
|
|
5972
|
+
/**
|
|
5973
|
+
* @param {number} value
|
|
5974
|
+
* @return {!proto.RetryPendingActivationResponse} returns this
|
|
5975
|
+
*/
|
|
5976
|
+
proto.RetryPendingActivationResponse.prototype.setQuotaExceeded = function(value) {
|
|
5977
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
5978
|
+
};
|
|
5979
|
+
|
|
5980
|
+
|
|
5981
|
+
/**
|
|
5982
|
+
* optional prisca.v1.global.meta.Meta meta = 99;
|
|
5983
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
5984
|
+
*/
|
|
5985
|
+
proto.RetryPendingActivationResponse.prototype.getMeta = function() {
|
|
5986
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
5987
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 99));
|
|
5988
|
+
};
|
|
5989
|
+
|
|
5990
|
+
|
|
5991
|
+
/**
|
|
5992
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
5993
|
+
* @return {!proto.RetryPendingActivationResponse} returns this
|
|
5994
|
+
*/
|
|
5995
|
+
proto.RetryPendingActivationResponse.prototype.setMeta = function(value) {
|
|
5996
|
+
return jspb.Message.setWrapperField(this, 99, value);
|
|
5997
|
+
};
|
|
5998
|
+
|
|
5999
|
+
|
|
6000
|
+
/**
|
|
6001
|
+
* Clears the message field making it undefined.
|
|
6002
|
+
* @return {!proto.RetryPendingActivationResponse} returns this
|
|
6003
|
+
*/
|
|
6004
|
+
proto.RetryPendingActivationResponse.prototype.clearMeta = function() {
|
|
6005
|
+
return this.setMeta(undefined);
|
|
6006
|
+
};
|
|
6007
|
+
|
|
6008
|
+
|
|
6009
|
+
/**
|
|
6010
|
+
* Returns whether this field is set.
|
|
6011
|
+
* @return {boolean}
|
|
6012
|
+
*/
|
|
6013
|
+
proto.RetryPendingActivationResponse.prototype.hasMeta = function() {
|
|
6014
|
+
return jspb.Message.getField(this, 99) != null;
|
|
6015
|
+
};
|
|
6016
|
+
|
|
6017
|
+
|
|
6018
|
+
|
|
5633
6019
|
/**
|
|
5634
6020
|
* List of repeated fields within this message type.
|
|
5635
6021
|
* @private {!Array<number>}
|
|
@@ -3750,7 +3750,9 @@ proto.CreateEmployeeResponse.prototype.toObject = function(opt_includeInstance)
|
|
|
3750
3750
|
proto.CreateEmployeeResponse.toObject = function(includeInstance, msg) {
|
|
3751
3751
|
var f, obj = {
|
|
3752
3752
|
employee: (f = msg.getEmployee()) && proto.BaseEmployee.toObject(includeInstance, f),
|
|
3753
|
-
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
3753
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f),
|
|
3754
|
+
userStatus: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3755
|
+
userStatusReason: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
3754
3756
|
};
|
|
3755
3757
|
|
|
3756
3758
|
if (includeInstance) {
|
|
@@ -3797,6 +3799,14 @@ proto.CreateEmployeeResponse.deserializeBinaryFromReader = function(msg, reader)
|
|
|
3797
3799
|
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
3798
3800
|
msg.setMeta(value);
|
|
3799
3801
|
break;
|
|
3802
|
+
case 3:
|
|
3803
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3804
|
+
msg.setUserStatus(value);
|
|
3805
|
+
break;
|
|
3806
|
+
case 4:
|
|
3807
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3808
|
+
msg.setUserStatusReason(value);
|
|
3809
|
+
break;
|
|
3800
3810
|
default:
|
|
3801
3811
|
reader.skipField();
|
|
3802
3812
|
break;
|
|
@@ -3842,6 +3852,20 @@ proto.CreateEmployeeResponse.serializeBinaryToWriter = function(message, writer)
|
|
|
3842
3852
|
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
3843
3853
|
);
|
|
3844
3854
|
}
|
|
3855
|
+
f = message.getUserStatus();
|
|
3856
|
+
if (f.length > 0) {
|
|
3857
|
+
writer.writeString(
|
|
3858
|
+
3,
|
|
3859
|
+
f
|
|
3860
|
+
);
|
|
3861
|
+
}
|
|
3862
|
+
f = message.getUserStatusReason();
|
|
3863
|
+
if (f.length > 0) {
|
|
3864
|
+
writer.writeString(
|
|
3865
|
+
4,
|
|
3866
|
+
f
|
|
3867
|
+
);
|
|
3868
|
+
}
|
|
3845
3869
|
};
|
|
3846
3870
|
|
|
3847
3871
|
|
|
@@ -3919,6 +3943,42 @@ proto.CreateEmployeeResponse.prototype.hasMeta = function() {
|
|
|
3919
3943
|
};
|
|
3920
3944
|
|
|
3921
3945
|
|
|
3946
|
+
/**
|
|
3947
|
+
* optional string user_status = 3;
|
|
3948
|
+
* @return {string}
|
|
3949
|
+
*/
|
|
3950
|
+
proto.CreateEmployeeResponse.prototype.getUserStatus = function() {
|
|
3951
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3952
|
+
};
|
|
3953
|
+
|
|
3954
|
+
|
|
3955
|
+
/**
|
|
3956
|
+
* @param {string} value
|
|
3957
|
+
* @return {!proto.CreateEmployeeResponse} returns this
|
|
3958
|
+
*/
|
|
3959
|
+
proto.CreateEmployeeResponse.prototype.setUserStatus = function(value) {
|
|
3960
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
3961
|
+
};
|
|
3962
|
+
|
|
3963
|
+
|
|
3964
|
+
/**
|
|
3965
|
+
* optional string user_status_reason = 4;
|
|
3966
|
+
* @return {string}
|
|
3967
|
+
*/
|
|
3968
|
+
proto.CreateEmployeeResponse.prototype.getUserStatusReason = function() {
|
|
3969
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
3970
|
+
};
|
|
3971
|
+
|
|
3972
|
+
|
|
3973
|
+
/**
|
|
3974
|
+
* @param {string} value
|
|
3975
|
+
* @return {!proto.CreateEmployeeResponse} returns this
|
|
3976
|
+
*/
|
|
3977
|
+
proto.CreateEmployeeResponse.prototype.setUserStatusReason = function(value) {
|
|
3978
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
3979
|
+
};
|
|
3980
|
+
|
|
3981
|
+
|
|
3922
3982
|
|
|
3923
3983
|
/**
|
|
3924
3984
|
* List of repeated fields within this message type.
|