@sniipwebmaster/agent-billing-client-grpcweb-ts 23.13.977 → 23.13.1000
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/ServiceServiceClientPb.ts +173 -0
- package/dependancies/service_pb.d.ts +114 -11
- package/dependancies/service_pb.js +1013 -172
- package/package.json +1 -1
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
import * as grpcWeb from 'grpc-web';
|
|
19
19
|
|
|
20
20
|
import * as service_pb from './service_pb';
|
|
21
|
+
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
|
21
22
|
|
|
22
23
|
|
|
23
24
|
export class AgentBillingServiceAPIServiceClient {
|
|
@@ -684,6 +685,49 @@ export class AgentBillingServiceAPIServiceClient {
|
|
|
684
685
|
this.methodDescriptorGetAgentBillsForClient);
|
|
685
686
|
}
|
|
686
687
|
|
|
688
|
+
methodDescriptorGetAgentConnectionCategoryCounts = new grpcWeb.MethodDescriptor(
|
|
689
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentConnectionCategoryCounts',
|
|
690
|
+
grpcWeb.MethodType.UNARY,
|
|
691
|
+
google_protobuf_empty_pb.Empty,
|
|
692
|
+
service_pb.GetAgentConnectionCategoryCountsResponse,
|
|
693
|
+
(request: google_protobuf_empty_pb.Empty) => {
|
|
694
|
+
return request.serializeBinary();
|
|
695
|
+
},
|
|
696
|
+
service_pb.GetAgentConnectionCategoryCountsResponse.deserializeBinary
|
|
697
|
+
);
|
|
698
|
+
|
|
699
|
+
getAgentConnectionCategoryCounts(
|
|
700
|
+
request: google_protobuf_empty_pb.Empty,
|
|
701
|
+
metadata: grpcWeb.Metadata | null): Promise<service_pb.GetAgentConnectionCategoryCountsResponse>;
|
|
702
|
+
|
|
703
|
+
getAgentConnectionCategoryCounts(
|
|
704
|
+
request: google_protobuf_empty_pb.Empty,
|
|
705
|
+
metadata: grpcWeb.Metadata | null,
|
|
706
|
+
callback: (err: grpcWeb.RpcError,
|
|
707
|
+
response: service_pb.GetAgentConnectionCategoryCountsResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetAgentConnectionCategoryCountsResponse>;
|
|
708
|
+
|
|
709
|
+
getAgentConnectionCategoryCounts(
|
|
710
|
+
request: google_protobuf_empty_pb.Empty,
|
|
711
|
+
metadata: grpcWeb.Metadata | null,
|
|
712
|
+
callback?: (err: grpcWeb.RpcError,
|
|
713
|
+
response: service_pb.GetAgentConnectionCategoryCountsResponse) => void) {
|
|
714
|
+
if (callback !== undefined) {
|
|
715
|
+
return this.client_.rpcCall(
|
|
716
|
+
this.hostname_ +
|
|
717
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentConnectionCategoryCounts',
|
|
718
|
+
request,
|
|
719
|
+
metadata || {},
|
|
720
|
+
this.methodDescriptorGetAgentConnectionCategoryCounts,
|
|
721
|
+
callback);
|
|
722
|
+
}
|
|
723
|
+
return this.client_.unaryCall(
|
|
724
|
+
this.hostname_ +
|
|
725
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentConnectionCategoryCounts',
|
|
726
|
+
request,
|
|
727
|
+
metadata || {},
|
|
728
|
+
this.methodDescriptorGetAgentConnectionCategoryCounts);
|
|
729
|
+
}
|
|
730
|
+
|
|
687
731
|
methodDescriptorGetAssociatedAgent = new grpcWeb.MethodDescriptor(
|
|
688
732
|
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetAssociatedAgent',
|
|
689
733
|
grpcWeb.MethodType.UNARY,
|
|
@@ -856,6 +900,49 @@ export class AgentBillingServiceAPIServiceClient {
|
|
|
856
900
|
this.methodDescriptorGetAssociatedClients);
|
|
857
901
|
}
|
|
858
902
|
|
|
903
|
+
methodDescriptorGetConnectedClients = new grpcWeb.MethodDescriptor(
|
|
904
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetConnectedClients',
|
|
905
|
+
grpcWeb.MethodType.UNARY,
|
|
906
|
+
service_pb.GetConnectedClientsRequest,
|
|
907
|
+
service_pb.GetAssociatedClientsResponse,
|
|
908
|
+
(request: service_pb.GetConnectedClientsRequest) => {
|
|
909
|
+
return request.serializeBinary();
|
|
910
|
+
},
|
|
911
|
+
service_pb.GetAssociatedClientsResponse.deserializeBinary
|
|
912
|
+
);
|
|
913
|
+
|
|
914
|
+
getConnectedClients(
|
|
915
|
+
request: service_pb.GetConnectedClientsRequest,
|
|
916
|
+
metadata: grpcWeb.Metadata | null): Promise<service_pb.GetAssociatedClientsResponse>;
|
|
917
|
+
|
|
918
|
+
getConnectedClients(
|
|
919
|
+
request: service_pb.GetConnectedClientsRequest,
|
|
920
|
+
metadata: grpcWeb.Metadata | null,
|
|
921
|
+
callback: (err: grpcWeb.RpcError,
|
|
922
|
+
response: service_pb.GetAssociatedClientsResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetAssociatedClientsResponse>;
|
|
923
|
+
|
|
924
|
+
getConnectedClients(
|
|
925
|
+
request: service_pb.GetConnectedClientsRequest,
|
|
926
|
+
metadata: grpcWeb.Metadata | null,
|
|
927
|
+
callback?: (err: grpcWeb.RpcError,
|
|
928
|
+
response: service_pb.GetAssociatedClientsResponse) => void) {
|
|
929
|
+
if (callback !== undefined) {
|
|
930
|
+
return this.client_.rpcCall(
|
|
931
|
+
this.hostname_ +
|
|
932
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetConnectedClients',
|
|
933
|
+
request,
|
|
934
|
+
metadata || {},
|
|
935
|
+
this.methodDescriptorGetConnectedClients,
|
|
936
|
+
callback);
|
|
937
|
+
}
|
|
938
|
+
return this.client_.unaryCall(
|
|
939
|
+
this.hostname_ +
|
|
940
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetConnectedClients',
|
|
941
|
+
request,
|
|
942
|
+
metadata || {},
|
|
943
|
+
this.methodDescriptorGetConnectedClients);
|
|
944
|
+
}
|
|
945
|
+
|
|
859
946
|
methodDescriptorGetDeliveryBatchContentsToPay = new grpcWeb.MethodDescriptor(
|
|
860
947
|
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchContentsToPay',
|
|
861
948
|
grpcWeb.MethodType.UNARY,
|
|
@@ -1071,6 +1158,92 @@ export class AgentBillingServiceAPIServiceClient {
|
|
|
1071
1158
|
this.methodDescriptorGetDeliveryBatchesToPayOfClient);
|
|
1072
1159
|
}
|
|
1073
1160
|
|
|
1161
|
+
methodDescriptorGetDisconnectedClients = new grpcWeb.MethodDescriptor(
|
|
1162
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetDisconnectedClients',
|
|
1163
|
+
grpcWeb.MethodType.UNARY,
|
|
1164
|
+
service_pb.GetDisconnectedClientsRequest,
|
|
1165
|
+
service_pb.GetAssociatedClientsResponse,
|
|
1166
|
+
(request: service_pb.GetDisconnectedClientsRequest) => {
|
|
1167
|
+
return request.serializeBinary();
|
|
1168
|
+
},
|
|
1169
|
+
service_pb.GetAssociatedClientsResponse.deserializeBinary
|
|
1170
|
+
);
|
|
1171
|
+
|
|
1172
|
+
getDisconnectedClients(
|
|
1173
|
+
request: service_pb.GetDisconnectedClientsRequest,
|
|
1174
|
+
metadata: grpcWeb.Metadata | null): Promise<service_pb.GetAssociatedClientsResponse>;
|
|
1175
|
+
|
|
1176
|
+
getDisconnectedClients(
|
|
1177
|
+
request: service_pb.GetDisconnectedClientsRequest,
|
|
1178
|
+
metadata: grpcWeb.Metadata | null,
|
|
1179
|
+
callback: (err: grpcWeb.RpcError,
|
|
1180
|
+
response: service_pb.GetAssociatedClientsResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetAssociatedClientsResponse>;
|
|
1181
|
+
|
|
1182
|
+
getDisconnectedClients(
|
|
1183
|
+
request: service_pb.GetDisconnectedClientsRequest,
|
|
1184
|
+
metadata: grpcWeb.Metadata | null,
|
|
1185
|
+
callback?: (err: grpcWeb.RpcError,
|
|
1186
|
+
response: service_pb.GetAssociatedClientsResponse) => void) {
|
|
1187
|
+
if (callback !== undefined) {
|
|
1188
|
+
return this.client_.rpcCall(
|
|
1189
|
+
this.hostname_ +
|
|
1190
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetDisconnectedClients',
|
|
1191
|
+
request,
|
|
1192
|
+
metadata || {},
|
|
1193
|
+
this.methodDescriptorGetDisconnectedClients,
|
|
1194
|
+
callback);
|
|
1195
|
+
}
|
|
1196
|
+
return this.client_.unaryCall(
|
|
1197
|
+
this.hostname_ +
|
|
1198
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetDisconnectedClients',
|
|
1199
|
+
request,
|
|
1200
|
+
metadata || {},
|
|
1201
|
+
this.methodDescriptorGetDisconnectedClients);
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
methodDescriptorGetPendingClients = new grpcWeb.MethodDescriptor(
|
|
1205
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetPendingClients',
|
|
1206
|
+
grpcWeb.MethodType.UNARY,
|
|
1207
|
+
service_pb.GetPendingClientsRequest,
|
|
1208
|
+
service_pb.GetAssociatedClientsResponse,
|
|
1209
|
+
(request: service_pb.GetPendingClientsRequest) => {
|
|
1210
|
+
return request.serializeBinary();
|
|
1211
|
+
},
|
|
1212
|
+
service_pb.GetAssociatedClientsResponse.deserializeBinary
|
|
1213
|
+
);
|
|
1214
|
+
|
|
1215
|
+
getPendingClients(
|
|
1216
|
+
request: service_pb.GetPendingClientsRequest,
|
|
1217
|
+
metadata: grpcWeb.Metadata | null): Promise<service_pb.GetAssociatedClientsResponse>;
|
|
1218
|
+
|
|
1219
|
+
getPendingClients(
|
|
1220
|
+
request: service_pb.GetPendingClientsRequest,
|
|
1221
|
+
metadata: grpcWeb.Metadata | null,
|
|
1222
|
+
callback: (err: grpcWeb.RpcError,
|
|
1223
|
+
response: service_pb.GetAssociatedClientsResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetAssociatedClientsResponse>;
|
|
1224
|
+
|
|
1225
|
+
getPendingClients(
|
|
1226
|
+
request: service_pb.GetPendingClientsRequest,
|
|
1227
|
+
metadata: grpcWeb.Metadata | null,
|
|
1228
|
+
callback?: (err: grpcWeb.RpcError,
|
|
1229
|
+
response: service_pb.GetAssociatedClientsResponse) => void) {
|
|
1230
|
+
if (callback !== undefined) {
|
|
1231
|
+
return this.client_.rpcCall(
|
|
1232
|
+
this.hostname_ +
|
|
1233
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetPendingClients',
|
|
1234
|
+
request,
|
|
1235
|
+
metadata || {},
|
|
1236
|
+
this.methodDescriptorGetPendingClients,
|
|
1237
|
+
callback);
|
|
1238
|
+
}
|
|
1239
|
+
return this.client_.unaryCall(
|
|
1240
|
+
this.hostname_ +
|
|
1241
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetPendingClients',
|
|
1242
|
+
request,
|
|
1243
|
+
metadata || {},
|
|
1244
|
+
this.methodDescriptorGetPendingClients);
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1074
1247
|
methodDescriptorGetUploadBatchContentsInDraft = new grpcWeb.MethodDescriptor(
|
|
1075
1248
|
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetUploadBatchContentsInDraft',
|
|
1076
1249
|
grpcWeb.MethodType.UNARY,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as jspb from 'google-protobuf'
|
|
2
2
|
|
|
3
3
|
import * as google_api_annotations_pb from './google/api/annotations_pb';
|
|
4
|
+
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
export class Agent extends jspb.Message {
|
|
@@ -295,14 +296,8 @@ export class Client extends jspb.Message {
|
|
|
295
296
|
getAbn(): string;
|
|
296
297
|
setAbn(value: string): Client;
|
|
297
298
|
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
getBillscount(): number;
|
|
302
|
-
setBillscount(value: number): Client;
|
|
303
|
-
|
|
304
|
-
getBillstotalamount(): number;
|
|
305
|
-
setBillstotalamount(value: number): Client;
|
|
299
|
+
getAbnentityname(): string;
|
|
300
|
+
setAbnentityname(value: string): Client;
|
|
306
301
|
|
|
307
302
|
serializeBinary(): Uint8Array;
|
|
308
303
|
toObject(includeInstance?: boolean): Client.AsObject;
|
|
@@ -323,9 +318,7 @@ export namespace Client {
|
|
|
323
318
|
imageurl: string,
|
|
324
319
|
iscustomimage: boolean,
|
|
325
320
|
abn: string,
|
|
326
|
-
|
|
327
|
-
billscount: number,
|
|
328
|
-
billstotalamount: number,
|
|
321
|
+
abnentityname: string,
|
|
329
322
|
}
|
|
330
323
|
}
|
|
331
324
|
|
|
@@ -909,6 +902,38 @@ export namespace GetAgentBillsResponse {
|
|
|
909
902
|
}
|
|
910
903
|
}
|
|
911
904
|
|
|
905
|
+
export class GetAgentConnectionCategoryCountsResponse extends jspb.Message {
|
|
906
|
+
getResponsecode(): ResponseCode | undefined;
|
|
907
|
+
setResponsecode(value?: ResponseCode): GetAgentConnectionCategoryCountsResponse;
|
|
908
|
+
hasResponsecode(): boolean;
|
|
909
|
+
clearResponsecode(): GetAgentConnectionCategoryCountsResponse;
|
|
910
|
+
|
|
911
|
+
getActivecount(): number;
|
|
912
|
+
setActivecount(value: number): GetAgentConnectionCategoryCountsResponse;
|
|
913
|
+
|
|
914
|
+
getInactivecount(): number;
|
|
915
|
+
setInactivecount(value: number): GetAgentConnectionCategoryCountsResponse;
|
|
916
|
+
|
|
917
|
+
getPendingrequestcount(): number;
|
|
918
|
+
setPendingrequestcount(value: number): GetAgentConnectionCategoryCountsResponse;
|
|
919
|
+
|
|
920
|
+
serializeBinary(): Uint8Array;
|
|
921
|
+
toObject(includeInstance?: boolean): GetAgentConnectionCategoryCountsResponse.AsObject;
|
|
922
|
+
static toObject(includeInstance: boolean, msg: GetAgentConnectionCategoryCountsResponse): GetAgentConnectionCategoryCountsResponse.AsObject;
|
|
923
|
+
static serializeBinaryToWriter(message: GetAgentConnectionCategoryCountsResponse, writer: jspb.BinaryWriter): void;
|
|
924
|
+
static deserializeBinary(bytes: Uint8Array): GetAgentConnectionCategoryCountsResponse;
|
|
925
|
+
static deserializeBinaryFromReader(message: GetAgentConnectionCategoryCountsResponse, reader: jspb.BinaryReader): GetAgentConnectionCategoryCountsResponse;
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
export namespace GetAgentConnectionCategoryCountsResponse {
|
|
929
|
+
export type AsObject = {
|
|
930
|
+
responsecode?: ResponseCode.AsObject,
|
|
931
|
+
activecount: number,
|
|
932
|
+
inactivecount: number,
|
|
933
|
+
pendingrequestcount: number,
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
|
|
912
937
|
export class GetAssociatedAgentRequest extends jspb.Message {
|
|
913
938
|
getAgentuserid(): number;
|
|
914
939
|
setAgentuserid(value: number): GetAssociatedAgentRequest;
|
|
@@ -1145,6 +1170,32 @@ export namespace GetAssociatedClientsResponse {
|
|
|
1145
1170
|
}
|
|
1146
1171
|
}
|
|
1147
1172
|
|
|
1173
|
+
export class GetConnectedClientsRequest extends jspb.Message {
|
|
1174
|
+
getPage(): number;
|
|
1175
|
+
setPage(value: number): GetConnectedClientsRequest;
|
|
1176
|
+
|
|
1177
|
+
getSize(): number;
|
|
1178
|
+
setSize(value: number): GetConnectedClientsRequest;
|
|
1179
|
+
|
|
1180
|
+
getUserid(): number;
|
|
1181
|
+
setUserid(value: number): GetConnectedClientsRequest;
|
|
1182
|
+
|
|
1183
|
+
serializeBinary(): Uint8Array;
|
|
1184
|
+
toObject(includeInstance?: boolean): GetConnectedClientsRequest.AsObject;
|
|
1185
|
+
static toObject(includeInstance: boolean, msg: GetConnectedClientsRequest): GetConnectedClientsRequest.AsObject;
|
|
1186
|
+
static serializeBinaryToWriter(message: GetConnectedClientsRequest, writer: jspb.BinaryWriter): void;
|
|
1187
|
+
static deserializeBinary(bytes: Uint8Array): GetConnectedClientsRequest;
|
|
1188
|
+
static deserializeBinaryFromReader(message: GetConnectedClientsRequest, reader: jspb.BinaryReader): GetConnectedClientsRequest;
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
export namespace GetConnectedClientsRequest {
|
|
1192
|
+
export type AsObject = {
|
|
1193
|
+
page: number,
|
|
1194
|
+
size: number,
|
|
1195
|
+
userid: number,
|
|
1196
|
+
}
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1148
1199
|
export class GetDeliveryBatchContentsResponse extends jspb.Message {
|
|
1149
1200
|
getResponsecode(): ResponseCode | undefined;
|
|
1150
1201
|
setResponsecode(value?: ResponseCode): GetDeliveryBatchContentsResponse;
|
|
@@ -1363,6 +1414,58 @@ export namespace GetDeliveryBatchesToPayRequest {
|
|
|
1363
1414
|
}
|
|
1364
1415
|
}
|
|
1365
1416
|
|
|
1417
|
+
export class GetDisconnectedClientsRequest extends jspb.Message {
|
|
1418
|
+
getPage(): number;
|
|
1419
|
+
setPage(value: number): GetDisconnectedClientsRequest;
|
|
1420
|
+
|
|
1421
|
+
getSize(): number;
|
|
1422
|
+
setSize(value: number): GetDisconnectedClientsRequest;
|
|
1423
|
+
|
|
1424
|
+
getUserid(): number;
|
|
1425
|
+
setUserid(value: number): GetDisconnectedClientsRequest;
|
|
1426
|
+
|
|
1427
|
+
serializeBinary(): Uint8Array;
|
|
1428
|
+
toObject(includeInstance?: boolean): GetDisconnectedClientsRequest.AsObject;
|
|
1429
|
+
static toObject(includeInstance: boolean, msg: GetDisconnectedClientsRequest): GetDisconnectedClientsRequest.AsObject;
|
|
1430
|
+
static serializeBinaryToWriter(message: GetDisconnectedClientsRequest, writer: jspb.BinaryWriter): void;
|
|
1431
|
+
static deserializeBinary(bytes: Uint8Array): GetDisconnectedClientsRequest;
|
|
1432
|
+
static deserializeBinaryFromReader(message: GetDisconnectedClientsRequest, reader: jspb.BinaryReader): GetDisconnectedClientsRequest;
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
export namespace GetDisconnectedClientsRequest {
|
|
1436
|
+
export type AsObject = {
|
|
1437
|
+
page: number,
|
|
1438
|
+
size: number,
|
|
1439
|
+
userid: number,
|
|
1440
|
+
}
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
export class GetPendingClientsRequest extends jspb.Message {
|
|
1444
|
+
getPage(): number;
|
|
1445
|
+
setPage(value: number): GetPendingClientsRequest;
|
|
1446
|
+
|
|
1447
|
+
getSize(): number;
|
|
1448
|
+
setSize(value: number): GetPendingClientsRequest;
|
|
1449
|
+
|
|
1450
|
+
getUserid(): number;
|
|
1451
|
+
setUserid(value: number): GetPendingClientsRequest;
|
|
1452
|
+
|
|
1453
|
+
serializeBinary(): Uint8Array;
|
|
1454
|
+
toObject(includeInstance?: boolean): GetPendingClientsRequest.AsObject;
|
|
1455
|
+
static toObject(includeInstance: boolean, msg: GetPendingClientsRequest): GetPendingClientsRequest.AsObject;
|
|
1456
|
+
static serializeBinaryToWriter(message: GetPendingClientsRequest, writer: jspb.BinaryWriter): void;
|
|
1457
|
+
static deserializeBinary(bytes: Uint8Array): GetPendingClientsRequest;
|
|
1458
|
+
static deserializeBinaryFromReader(message: GetPendingClientsRequest, reader: jspb.BinaryReader): GetPendingClientsRequest;
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
export namespace GetPendingClientsRequest {
|
|
1462
|
+
export type AsObject = {
|
|
1463
|
+
page: number,
|
|
1464
|
+
size: number,
|
|
1465
|
+
userid: number,
|
|
1466
|
+
}
|
|
1467
|
+
}
|
|
1468
|
+
|
|
1366
1469
|
export class GetUploadBatchContentsInDraftRequest extends jspb.Message {
|
|
1367
1470
|
getPage(): number;
|
|
1368
1471
|
setPage(value: number): GetUploadBatchContentsInDraftRequest;
|