@sniipwebmaster/bill-service-client-grpcweb-ts 25.2.14006 → 25.2.14014
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/dependancies/service_pb.d.ts +26 -0
- package/dependancies/service_pb.js +162 -1
- package/package.json +1 -1
|
@@ -2696,6 +2696,21 @@ export class ExistingBillGetResponse extends jspb.Message {
|
|
|
2696
2696
|
getBillid(): number;
|
|
2697
2697
|
setBillid(value: number): ExistingBillGetResponse;
|
|
2698
2698
|
|
|
2699
|
+
getDuplicationcode(): BillDuplicationCode;
|
|
2700
|
+
setDuplicationcode(value: BillDuplicationCode): ExistingBillGetResponse;
|
|
2701
|
+
|
|
2702
|
+
getAgentname(): string;
|
|
2703
|
+
setAgentname(value: string): ExistingBillGetResponse;
|
|
2704
|
+
|
|
2705
|
+
getBatchname(): string;
|
|
2706
|
+
setBatchname(value: string): ExistingBillGetResponse;
|
|
2707
|
+
|
|
2708
|
+
getAgentid(): number;
|
|
2709
|
+
setAgentid(value: number): ExistingBillGetResponse;
|
|
2710
|
+
|
|
2711
|
+
getAgentbillstatus(): string;
|
|
2712
|
+
setAgentbillstatus(value: string): ExistingBillGetResponse;
|
|
2713
|
+
|
|
2699
2714
|
serializeBinary(): Uint8Array;
|
|
2700
2715
|
toObject(includeInstance?: boolean): ExistingBillGetResponse.AsObject;
|
|
2701
2716
|
static toObject(includeInstance: boolean, msg: ExistingBillGetResponse): ExistingBillGetResponse.AsObject;
|
|
@@ -2708,6 +2723,11 @@ export namespace ExistingBillGetResponse {
|
|
|
2708
2723
|
export type AsObject = {
|
|
2709
2724
|
responsecode?: ResponseCode.AsObject,
|
|
2710
2725
|
billid: number,
|
|
2726
|
+
duplicationcode: BillDuplicationCode,
|
|
2727
|
+
agentname: string,
|
|
2728
|
+
batchname: string,
|
|
2729
|
+
agentid: number,
|
|
2730
|
+
agentbillstatus: string,
|
|
2711
2731
|
}
|
|
2712
2732
|
}
|
|
2713
2733
|
|
|
@@ -5575,3 +5595,9 @@ export enum PayButtonBlockedReason {
|
|
|
5575
5595
|
BILL_FULLY_SCHEDULED = 6,
|
|
5576
5596
|
AGENT_BILL = 7,
|
|
5577
5597
|
}
|
|
5598
|
+
export enum BillDuplicationCode {
|
|
5599
|
+
NOT_DUPLICATED = 0,
|
|
5600
|
+
DUPLICATED = 1,
|
|
5601
|
+
SENT_IN_BATCH = 2,
|
|
5602
|
+
MANAGED_BY_AGENT = 3,
|
|
5603
|
+
}
|
|
@@ -44,6 +44,7 @@ goog.exportSymbol('proto.sniipbillapi.BillDetail.BillDetailMarkPaymentAs', null,
|
|
|
44
44
|
goog.exportSymbol('proto.sniipbillapi.BillDetails', null, global);
|
|
45
45
|
goog.exportSymbol('proto.sniipbillapi.BillDetailsResponse', null, global);
|
|
46
46
|
goog.exportSymbol('proto.sniipbillapi.BillDueSoonRequest', null, global);
|
|
47
|
+
goog.exportSymbol('proto.sniipbillapi.BillDuplicationCode', null, global);
|
|
47
48
|
goog.exportSymbol('proto.sniipbillapi.BillEmailShareRequest', null, global);
|
|
48
49
|
goog.exportSymbol('proto.sniipbillapi.BillLockedResponse', null, global);
|
|
49
50
|
goog.exportSymbol('proto.sniipbillapi.BillPayment', null, global);
|
|
@@ -23835,7 +23836,12 @@ proto.sniipbillapi.ExistingBillGetResponse.prototype.toObject = function(opt_inc
|
|
|
23835
23836
|
proto.sniipbillapi.ExistingBillGetResponse.toObject = function(includeInstance, msg) {
|
|
23836
23837
|
var f, obj = {
|
|
23837
23838
|
responsecode: (f = msg.getResponsecode()) && proto.sniipbillapi.ResponseCode.toObject(includeInstance, f),
|
|
23838
|
-
billid: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
23839
|
+
billid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
23840
|
+
duplicationcode: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
23841
|
+
agentname: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
23842
|
+
batchname: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
23843
|
+
agentid: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
23844
|
+
agentbillstatus: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
23839
23845
|
};
|
|
23840
23846
|
|
|
23841
23847
|
if (includeInstance) {
|
|
@@ -23881,6 +23887,26 @@ proto.sniipbillapi.ExistingBillGetResponse.deserializeBinaryFromReader = functio
|
|
|
23881
23887
|
var value = /** @type {number} */ (reader.readInt64());
|
|
23882
23888
|
msg.setBillid(value);
|
|
23883
23889
|
break;
|
|
23890
|
+
case 3:
|
|
23891
|
+
var value = /** @type {!proto.sniipbillapi.BillDuplicationCode} */ (reader.readEnum());
|
|
23892
|
+
msg.setDuplicationcode(value);
|
|
23893
|
+
break;
|
|
23894
|
+
case 4:
|
|
23895
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23896
|
+
msg.setAgentname(value);
|
|
23897
|
+
break;
|
|
23898
|
+
case 5:
|
|
23899
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23900
|
+
msg.setBatchname(value);
|
|
23901
|
+
break;
|
|
23902
|
+
case 6:
|
|
23903
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
23904
|
+
msg.setAgentid(value);
|
|
23905
|
+
break;
|
|
23906
|
+
case 7:
|
|
23907
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23908
|
+
msg.setAgentbillstatus(value);
|
|
23909
|
+
break;
|
|
23884
23910
|
default:
|
|
23885
23911
|
reader.skipField();
|
|
23886
23912
|
break;
|
|
@@ -23925,6 +23951,41 @@ proto.sniipbillapi.ExistingBillGetResponse.serializeBinaryToWriter = function(me
|
|
|
23925
23951
|
f
|
|
23926
23952
|
);
|
|
23927
23953
|
}
|
|
23954
|
+
f = message.getDuplicationcode();
|
|
23955
|
+
if (f !== 0.0) {
|
|
23956
|
+
writer.writeEnum(
|
|
23957
|
+
3,
|
|
23958
|
+
f
|
|
23959
|
+
);
|
|
23960
|
+
}
|
|
23961
|
+
f = message.getAgentname();
|
|
23962
|
+
if (f.length > 0) {
|
|
23963
|
+
writer.writeString(
|
|
23964
|
+
4,
|
|
23965
|
+
f
|
|
23966
|
+
);
|
|
23967
|
+
}
|
|
23968
|
+
f = message.getBatchname();
|
|
23969
|
+
if (f.length > 0) {
|
|
23970
|
+
writer.writeString(
|
|
23971
|
+
5,
|
|
23972
|
+
f
|
|
23973
|
+
);
|
|
23974
|
+
}
|
|
23975
|
+
f = message.getAgentid();
|
|
23976
|
+
if (f !== 0) {
|
|
23977
|
+
writer.writeInt64(
|
|
23978
|
+
6,
|
|
23979
|
+
f
|
|
23980
|
+
);
|
|
23981
|
+
}
|
|
23982
|
+
f = message.getAgentbillstatus();
|
|
23983
|
+
if (f.length > 0) {
|
|
23984
|
+
writer.writeString(
|
|
23985
|
+
7,
|
|
23986
|
+
f
|
|
23987
|
+
);
|
|
23988
|
+
}
|
|
23928
23989
|
};
|
|
23929
23990
|
|
|
23930
23991
|
|
|
@@ -23983,6 +24044,96 @@ proto.sniipbillapi.ExistingBillGetResponse.prototype.setBillid = function(value)
|
|
|
23983
24044
|
};
|
|
23984
24045
|
|
|
23985
24046
|
|
|
24047
|
+
/**
|
|
24048
|
+
* optional BillDuplicationCode duplicationCode = 3;
|
|
24049
|
+
* @return {!proto.sniipbillapi.BillDuplicationCode}
|
|
24050
|
+
*/
|
|
24051
|
+
proto.sniipbillapi.ExistingBillGetResponse.prototype.getDuplicationcode = function() {
|
|
24052
|
+
return /** @type {!proto.sniipbillapi.BillDuplicationCode} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
24053
|
+
};
|
|
24054
|
+
|
|
24055
|
+
|
|
24056
|
+
/**
|
|
24057
|
+
* @param {!proto.sniipbillapi.BillDuplicationCode} value
|
|
24058
|
+
* @return {!proto.sniipbillapi.ExistingBillGetResponse} returns this
|
|
24059
|
+
*/
|
|
24060
|
+
proto.sniipbillapi.ExistingBillGetResponse.prototype.setDuplicationcode = function(value) {
|
|
24061
|
+
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
24062
|
+
};
|
|
24063
|
+
|
|
24064
|
+
|
|
24065
|
+
/**
|
|
24066
|
+
* optional string agentName = 4;
|
|
24067
|
+
* @return {string}
|
|
24068
|
+
*/
|
|
24069
|
+
proto.sniipbillapi.ExistingBillGetResponse.prototype.getAgentname = function() {
|
|
24070
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
24071
|
+
};
|
|
24072
|
+
|
|
24073
|
+
|
|
24074
|
+
/**
|
|
24075
|
+
* @param {string} value
|
|
24076
|
+
* @return {!proto.sniipbillapi.ExistingBillGetResponse} returns this
|
|
24077
|
+
*/
|
|
24078
|
+
proto.sniipbillapi.ExistingBillGetResponse.prototype.setAgentname = function(value) {
|
|
24079
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
24080
|
+
};
|
|
24081
|
+
|
|
24082
|
+
|
|
24083
|
+
/**
|
|
24084
|
+
* optional string batchName = 5;
|
|
24085
|
+
* @return {string}
|
|
24086
|
+
*/
|
|
24087
|
+
proto.sniipbillapi.ExistingBillGetResponse.prototype.getBatchname = function() {
|
|
24088
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
24089
|
+
};
|
|
24090
|
+
|
|
24091
|
+
|
|
24092
|
+
/**
|
|
24093
|
+
* @param {string} value
|
|
24094
|
+
* @return {!proto.sniipbillapi.ExistingBillGetResponse} returns this
|
|
24095
|
+
*/
|
|
24096
|
+
proto.sniipbillapi.ExistingBillGetResponse.prototype.setBatchname = function(value) {
|
|
24097
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
24098
|
+
};
|
|
24099
|
+
|
|
24100
|
+
|
|
24101
|
+
/**
|
|
24102
|
+
* optional int64 agentId = 6;
|
|
24103
|
+
* @return {number}
|
|
24104
|
+
*/
|
|
24105
|
+
proto.sniipbillapi.ExistingBillGetResponse.prototype.getAgentid = function() {
|
|
24106
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
24107
|
+
};
|
|
24108
|
+
|
|
24109
|
+
|
|
24110
|
+
/**
|
|
24111
|
+
* @param {number} value
|
|
24112
|
+
* @return {!proto.sniipbillapi.ExistingBillGetResponse} returns this
|
|
24113
|
+
*/
|
|
24114
|
+
proto.sniipbillapi.ExistingBillGetResponse.prototype.setAgentid = function(value) {
|
|
24115
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
24116
|
+
};
|
|
24117
|
+
|
|
24118
|
+
|
|
24119
|
+
/**
|
|
24120
|
+
* optional string agentBillStatus = 7;
|
|
24121
|
+
* @return {string}
|
|
24122
|
+
*/
|
|
24123
|
+
proto.sniipbillapi.ExistingBillGetResponse.prototype.getAgentbillstatus = function() {
|
|
24124
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
24125
|
+
};
|
|
24126
|
+
|
|
24127
|
+
|
|
24128
|
+
/**
|
|
24129
|
+
* @param {string} value
|
|
24130
|
+
* @return {!proto.sniipbillapi.ExistingBillGetResponse} returns this
|
|
24131
|
+
*/
|
|
24132
|
+
proto.sniipbillapi.ExistingBillGetResponse.prototype.setAgentbillstatus = function(value) {
|
|
24133
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
24134
|
+
};
|
|
24135
|
+
|
|
24136
|
+
|
|
23986
24137
|
|
|
23987
24138
|
|
|
23988
24139
|
|
|
@@ -45128,4 +45279,14 @@ proto.sniipbillapi.PayButtonBlockedReason = {
|
|
|
45128
45279
|
AGENT_BILL: 7
|
|
45129
45280
|
};
|
|
45130
45281
|
|
|
45282
|
+
/**
|
|
45283
|
+
* @enum {number}
|
|
45284
|
+
*/
|
|
45285
|
+
proto.sniipbillapi.BillDuplicationCode = {
|
|
45286
|
+
NOT_DUPLICATED: 0,
|
|
45287
|
+
DUPLICATED: 1,
|
|
45288
|
+
SENT_IN_BATCH: 2,
|
|
45289
|
+
MANAGED_BY_AGENT: 3
|
|
45290
|
+
};
|
|
45291
|
+
|
|
45131
45292
|
goog.object.extend(exports, proto.sniipbillapi);
|