@sniipwebmaster/bill-service-client-grpcweb-ts 25.2.14006 → 25.2.14022
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 +30 -0
- package/dependancies/service_pb.js +192 -1
- package/package.json +1 -1
|
@@ -2696,6 +2696,24 @@ 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
|
+
|
|
2714
|
+
getAgentbilltype(): string;
|
|
2715
|
+
setAgentbilltype(value: string): ExistingBillGetResponse;
|
|
2716
|
+
|
|
2699
2717
|
serializeBinary(): Uint8Array;
|
|
2700
2718
|
toObject(includeInstance?: boolean): ExistingBillGetResponse.AsObject;
|
|
2701
2719
|
static toObject(includeInstance: boolean, msg: ExistingBillGetResponse): ExistingBillGetResponse.AsObject;
|
|
@@ -2708,6 +2726,12 @@ export namespace ExistingBillGetResponse {
|
|
|
2708
2726
|
export type AsObject = {
|
|
2709
2727
|
responsecode?: ResponseCode.AsObject,
|
|
2710
2728
|
billid: number,
|
|
2729
|
+
duplicationcode: BillDuplicationCode,
|
|
2730
|
+
agentname: string,
|
|
2731
|
+
batchname: string,
|
|
2732
|
+
agentid: number,
|
|
2733
|
+
agentbillstatus: string,
|
|
2734
|
+
agentbilltype: string,
|
|
2711
2735
|
}
|
|
2712
2736
|
}
|
|
2713
2737
|
|
|
@@ -5575,3 +5599,9 @@ export enum PayButtonBlockedReason {
|
|
|
5575
5599
|
BILL_FULLY_SCHEDULED = 6,
|
|
5576
5600
|
AGENT_BILL = 7,
|
|
5577
5601
|
}
|
|
5602
|
+
export enum BillDuplicationCode {
|
|
5603
|
+
NOT_DUPLICATED = 0,
|
|
5604
|
+
DUPLICATED = 1,
|
|
5605
|
+
SENT_IN_BATCH = 2,
|
|
5606
|
+
MANAGED_BY_AGENT = 3,
|
|
5607
|
+
}
|
|
@@ -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,13 @@ 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, ""),
|
|
23845
|
+
agentbilltype: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
23839
23846
|
};
|
|
23840
23847
|
|
|
23841
23848
|
if (includeInstance) {
|
|
@@ -23881,6 +23888,30 @@ proto.sniipbillapi.ExistingBillGetResponse.deserializeBinaryFromReader = functio
|
|
|
23881
23888
|
var value = /** @type {number} */ (reader.readInt64());
|
|
23882
23889
|
msg.setBillid(value);
|
|
23883
23890
|
break;
|
|
23891
|
+
case 3:
|
|
23892
|
+
var value = /** @type {!proto.sniipbillapi.BillDuplicationCode} */ (reader.readEnum());
|
|
23893
|
+
msg.setDuplicationcode(value);
|
|
23894
|
+
break;
|
|
23895
|
+
case 4:
|
|
23896
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23897
|
+
msg.setAgentname(value);
|
|
23898
|
+
break;
|
|
23899
|
+
case 5:
|
|
23900
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23901
|
+
msg.setBatchname(value);
|
|
23902
|
+
break;
|
|
23903
|
+
case 6:
|
|
23904
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
23905
|
+
msg.setAgentid(value);
|
|
23906
|
+
break;
|
|
23907
|
+
case 7:
|
|
23908
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23909
|
+
msg.setAgentbillstatus(value);
|
|
23910
|
+
break;
|
|
23911
|
+
case 8:
|
|
23912
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23913
|
+
msg.setAgentbilltype(value);
|
|
23914
|
+
break;
|
|
23884
23915
|
default:
|
|
23885
23916
|
reader.skipField();
|
|
23886
23917
|
break;
|
|
@@ -23925,6 +23956,48 @@ proto.sniipbillapi.ExistingBillGetResponse.serializeBinaryToWriter = function(me
|
|
|
23925
23956
|
f
|
|
23926
23957
|
);
|
|
23927
23958
|
}
|
|
23959
|
+
f = message.getDuplicationcode();
|
|
23960
|
+
if (f !== 0.0) {
|
|
23961
|
+
writer.writeEnum(
|
|
23962
|
+
3,
|
|
23963
|
+
f
|
|
23964
|
+
);
|
|
23965
|
+
}
|
|
23966
|
+
f = message.getAgentname();
|
|
23967
|
+
if (f.length > 0) {
|
|
23968
|
+
writer.writeString(
|
|
23969
|
+
4,
|
|
23970
|
+
f
|
|
23971
|
+
);
|
|
23972
|
+
}
|
|
23973
|
+
f = message.getBatchname();
|
|
23974
|
+
if (f.length > 0) {
|
|
23975
|
+
writer.writeString(
|
|
23976
|
+
5,
|
|
23977
|
+
f
|
|
23978
|
+
);
|
|
23979
|
+
}
|
|
23980
|
+
f = message.getAgentid();
|
|
23981
|
+
if (f !== 0) {
|
|
23982
|
+
writer.writeInt64(
|
|
23983
|
+
6,
|
|
23984
|
+
f
|
|
23985
|
+
);
|
|
23986
|
+
}
|
|
23987
|
+
f = message.getAgentbillstatus();
|
|
23988
|
+
if (f.length > 0) {
|
|
23989
|
+
writer.writeString(
|
|
23990
|
+
7,
|
|
23991
|
+
f
|
|
23992
|
+
);
|
|
23993
|
+
}
|
|
23994
|
+
f = message.getAgentbilltype();
|
|
23995
|
+
if (f.length > 0) {
|
|
23996
|
+
writer.writeString(
|
|
23997
|
+
8,
|
|
23998
|
+
f
|
|
23999
|
+
);
|
|
24000
|
+
}
|
|
23928
24001
|
};
|
|
23929
24002
|
|
|
23930
24003
|
|
|
@@ -23983,6 +24056,114 @@ proto.sniipbillapi.ExistingBillGetResponse.prototype.setBillid = function(value)
|
|
|
23983
24056
|
};
|
|
23984
24057
|
|
|
23985
24058
|
|
|
24059
|
+
/**
|
|
24060
|
+
* optional BillDuplicationCode duplicationCode = 3;
|
|
24061
|
+
* @return {!proto.sniipbillapi.BillDuplicationCode}
|
|
24062
|
+
*/
|
|
24063
|
+
proto.sniipbillapi.ExistingBillGetResponse.prototype.getDuplicationcode = function() {
|
|
24064
|
+
return /** @type {!proto.sniipbillapi.BillDuplicationCode} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
24065
|
+
};
|
|
24066
|
+
|
|
24067
|
+
|
|
24068
|
+
/**
|
|
24069
|
+
* @param {!proto.sniipbillapi.BillDuplicationCode} value
|
|
24070
|
+
* @return {!proto.sniipbillapi.ExistingBillGetResponse} returns this
|
|
24071
|
+
*/
|
|
24072
|
+
proto.sniipbillapi.ExistingBillGetResponse.prototype.setDuplicationcode = function(value) {
|
|
24073
|
+
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
24074
|
+
};
|
|
24075
|
+
|
|
24076
|
+
|
|
24077
|
+
/**
|
|
24078
|
+
* optional string agentName = 4;
|
|
24079
|
+
* @return {string}
|
|
24080
|
+
*/
|
|
24081
|
+
proto.sniipbillapi.ExistingBillGetResponse.prototype.getAgentname = function() {
|
|
24082
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
24083
|
+
};
|
|
24084
|
+
|
|
24085
|
+
|
|
24086
|
+
/**
|
|
24087
|
+
* @param {string} value
|
|
24088
|
+
* @return {!proto.sniipbillapi.ExistingBillGetResponse} returns this
|
|
24089
|
+
*/
|
|
24090
|
+
proto.sniipbillapi.ExistingBillGetResponse.prototype.setAgentname = function(value) {
|
|
24091
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
24092
|
+
};
|
|
24093
|
+
|
|
24094
|
+
|
|
24095
|
+
/**
|
|
24096
|
+
* optional string batchName = 5;
|
|
24097
|
+
* @return {string}
|
|
24098
|
+
*/
|
|
24099
|
+
proto.sniipbillapi.ExistingBillGetResponse.prototype.getBatchname = function() {
|
|
24100
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
24101
|
+
};
|
|
24102
|
+
|
|
24103
|
+
|
|
24104
|
+
/**
|
|
24105
|
+
* @param {string} value
|
|
24106
|
+
* @return {!proto.sniipbillapi.ExistingBillGetResponse} returns this
|
|
24107
|
+
*/
|
|
24108
|
+
proto.sniipbillapi.ExistingBillGetResponse.prototype.setBatchname = function(value) {
|
|
24109
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
24110
|
+
};
|
|
24111
|
+
|
|
24112
|
+
|
|
24113
|
+
/**
|
|
24114
|
+
* optional int64 agentId = 6;
|
|
24115
|
+
* @return {number}
|
|
24116
|
+
*/
|
|
24117
|
+
proto.sniipbillapi.ExistingBillGetResponse.prototype.getAgentid = function() {
|
|
24118
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
24119
|
+
};
|
|
24120
|
+
|
|
24121
|
+
|
|
24122
|
+
/**
|
|
24123
|
+
* @param {number} value
|
|
24124
|
+
* @return {!proto.sniipbillapi.ExistingBillGetResponse} returns this
|
|
24125
|
+
*/
|
|
24126
|
+
proto.sniipbillapi.ExistingBillGetResponse.prototype.setAgentid = function(value) {
|
|
24127
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
24128
|
+
};
|
|
24129
|
+
|
|
24130
|
+
|
|
24131
|
+
/**
|
|
24132
|
+
* optional string agentBillStatus = 7;
|
|
24133
|
+
* @return {string}
|
|
24134
|
+
*/
|
|
24135
|
+
proto.sniipbillapi.ExistingBillGetResponse.prototype.getAgentbillstatus = function() {
|
|
24136
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
24137
|
+
};
|
|
24138
|
+
|
|
24139
|
+
|
|
24140
|
+
/**
|
|
24141
|
+
* @param {string} value
|
|
24142
|
+
* @return {!proto.sniipbillapi.ExistingBillGetResponse} returns this
|
|
24143
|
+
*/
|
|
24144
|
+
proto.sniipbillapi.ExistingBillGetResponse.prototype.setAgentbillstatus = function(value) {
|
|
24145
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
24146
|
+
};
|
|
24147
|
+
|
|
24148
|
+
|
|
24149
|
+
/**
|
|
24150
|
+
* optional string agentBillType = 8;
|
|
24151
|
+
* @return {string}
|
|
24152
|
+
*/
|
|
24153
|
+
proto.sniipbillapi.ExistingBillGetResponse.prototype.getAgentbilltype = function() {
|
|
24154
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
24155
|
+
};
|
|
24156
|
+
|
|
24157
|
+
|
|
24158
|
+
/**
|
|
24159
|
+
* @param {string} value
|
|
24160
|
+
* @return {!proto.sniipbillapi.ExistingBillGetResponse} returns this
|
|
24161
|
+
*/
|
|
24162
|
+
proto.sniipbillapi.ExistingBillGetResponse.prototype.setAgentbilltype = function(value) {
|
|
24163
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
24164
|
+
};
|
|
24165
|
+
|
|
24166
|
+
|
|
23986
24167
|
|
|
23987
24168
|
|
|
23988
24169
|
|
|
@@ -45128,4 +45309,14 @@ proto.sniipbillapi.PayButtonBlockedReason = {
|
|
|
45128
45309
|
AGENT_BILL: 7
|
|
45129
45310
|
};
|
|
45130
45311
|
|
|
45312
|
+
/**
|
|
45313
|
+
* @enum {number}
|
|
45314
|
+
*/
|
|
45315
|
+
proto.sniipbillapi.BillDuplicationCode = {
|
|
45316
|
+
NOT_DUPLICATED: 0,
|
|
45317
|
+
DUPLICATED: 1,
|
|
45318
|
+
SENT_IN_BATCH: 2,
|
|
45319
|
+
MANAGED_BY_AGENT: 3
|
|
45320
|
+
};
|
|
45321
|
+
|
|
45131
45322
|
goog.object.extend(exports, proto.sniipbillapi);
|