@sniipwebmaster/agent-billing-client-grpcweb-ts 23.11.727 → 23.11.749

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.
@@ -340,6 +340,49 @@ export class AgentBillingServiceAPIServiceClient {
340
340
  this.methodDescriptorDisconnectClient);
341
341
  }
342
342
 
343
+ methodDescriptorGetAgentBillsForClient = new grpcWeb.MethodDescriptor(
344
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillsForClient',
345
+ grpcWeb.MethodType.UNARY,
346
+ service_pb.GetAgentBillsForClientRequest,
347
+ service_pb.GetAgentBillsResponse,
348
+ (request: service_pb.GetAgentBillsForClientRequest) => {
349
+ return request.serializeBinary();
350
+ },
351
+ service_pb.GetAgentBillsResponse.deserializeBinary
352
+ );
353
+
354
+ getAgentBillsForClient(
355
+ request: service_pb.GetAgentBillsForClientRequest,
356
+ metadata: grpcWeb.Metadata | null): Promise<service_pb.GetAgentBillsResponse>;
357
+
358
+ getAgentBillsForClient(
359
+ request: service_pb.GetAgentBillsForClientRequest,
360
+ metadata: grpcWeb.Metadata | null,
361
+ callback: (err: grpcWeb.RpcError,
362
+ response: service_pb.GetAgentBillsResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetAgentBillsResponse>;
363
+
364
+ getAgentBillsForClient(
365
+ request: service_pb.GetAgentBillsForClientRequest,
366
+ metadata: grpcWeb.Metadata | null,
367
+ callback?: (err: grpcWeb.RpcError,
368
+ response: service_pb.GetAgentBillsResponse) => void) {
369
+ if (callback !== undefined) {
370
+ return this.client_.rpcCall(
371
+ this.hostname_ +
372
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillsForClient',
373
+ request,
374
+ metadata || {},
375
+ this.methodDescriptorGetAgentBillsForClient,
376
+ callback);
377
+ }
378
+ return this.client_.unaryCall(
379
+ this.hostname_ +
380
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillsForClient',
381
+ request,
382
+ metadata || {},
383
+ this.methodDescriptorGetAgentBillsForClient);
384
+ }
385
+
343
386
  methodDescriptorGetAssociatedAgent = new grpcWeb.MethodDescriptor(
344
387
  '/agentbillingserviceapi.AgentBillingServiceAPIService/GetAssociatedAgent',
345
388
  grpcWeb.MethodType.UNARY,
@@ -641,6 +684,92 @@ export class AgentBillingServiceAPIServiceClient {
641
684
  this.methodDescriptorGetDeliveryBatchesToPayCount);
642
685
  }
643
686
 
687
+ methodDescriptorGetUploadBatchContentsInDraft = new grpcWeb.MethodDescriptor(
688
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetUploadBatchContentsInDraft',
689
+ grpcWeb.MethodType.UNARY,
690
+ service_pb.GetUploadBatchContentsInDraftRequest,
691
+ service_pb.GetAgentBillsResponse,
692
+ (request: service_pb.GetUploadBatchContentsInDraftRequest) => {
693
+ return request.serializeBinary();
694
+ },
695
+ service_pb.GetAgentBillsResponse.deserializeBinary
696
+ );
697
+
698
+ getUploadBatchContentsInDraft(
699
+ request: service_pb.GetUploadBatchContentsInDraftRequest,
700
+ metadata: grpcWeb.Metadata | null): Promise<service_pb.GetAgentBillsResponse>;
701
+
702
+ getUploadBatchContentsInDraft(
703
+ request: service_pb.GetUploadBatchContentsInDraftRequest,
704
+ metadata: grpcWeb.Metadata | null,
705
+ callback: (err: grpcWeb.RpcError,
706
+ response: service_pb.GetAgentBillsResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetAgentBillsResponse>;
707
+
708
+ getUploadBatchContentsInDraft(
709
+ request: service_pb.GetUploadBatchContentsInDraftRequest,
710
+ metadata: grpcWeb.Metadata | null,
711
+ callback?: (err: grpcWeb.RpcError,
712
+ response: service_pb.GetAgentBillsResponse) => void) {
713
+ if (callback !== undefined) {
714
+ return this.client_.rpcCall(
715
+ this.hostname_ +
716
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetUploadBatchContentsInDraft',
717
+ request,
718
+ metadata || {},
719
+ this.methodDescriptorGetUploadBatchContentsInDraft,
720
+ callback);
721
+ }
722
+ return this.client_.unaryCall(
723
+ this.hostname_ +
724
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetUploadBatchContentsInDraft',
725
+ request,
726
+ metadata || {},
727
+ this.methodDescriptorGetUploadBatchContentsInDraft);
728
+ }
729
+
730
+ methodDescriptorGetUploadBatchesInDraft = new grpcWeb.MethodDescriptor(
731
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetUploadBatchesInDraft',
732
+ grpcWeb.MethodType.UNARY,
733
+ service_pb.GetUploadBatchesInDraftRequest,
734
+ service_pb.GetUploadBatchesResponse,
735
+ (request: service_pb.GetUploadBatchesInDraftRequest) => {
736
+ return request.serializeBinary();
737
+ },
738
+ service_pb.GetUploadBatchesResponse.deserializeBinary
739
+ );
740
+
741
+ getUploadBatchesInDraft(
742
+ request: service_pb.GetUploadBatchesInDraftRequest,
743
+ metadata: grpcWeb.Metadata | null): Promise<service_pb.GetUploadBatchesResponse>;
744
+
745
+ getUploadBatchesInDraft(
746
+ request: service_pb.GetUploadBatchesInDraftRequest,
747
+ metadata: grpcWeb.Metadata | null,
748
+ callback: (err: grpcWeb.RpcError,
749
+ response: service_pb.GetUploadBatchesResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetUploadBatchesResponse>;
750
+
751
+ getUploadBatchesInDraft(
752
+ request: service_pb.GetUploadBatchesInDraftRequest,
753
+ metadata: grpcWeb.Metadata | null,
754
+ callback?: (err: grpcWeb.RpcError,
755
+ response: service_pb.GetUploadBatchesResponse) => void) {
756
+ if (callback !== undefined) {
757
+ return this.client_.rpcCall(
758
+ this.hostname_ +
759
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetUploadBatchesInDraft',
760
+ request,
761
+ metadata || {},
762
+ this.methodDescriptorGetUploadBatchesInDraft,
763
+ callback);
764
+ }
765
+ return this.client_.unaryCall(
766
+ this.hostname_ +
767
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetUploadBatchesInDraft',
768
+ request,
769
+ metadata || {},
770
+ this.methodDescriptorGetUploadBatchesInDraft);
771
+ }
772
+
644
773
  methodDescriptorInviteAgent = new grpcWeb.MethodDescriptor(
645
774
  '/agentbillingserviceapi.AgentBillingServiceAPIService/InviteAgent',
646
775
  grpcWeb.MethodType.UNARY,
@@ -415,6 +415,86 @@ export namespace DisconnectClientRequest {
415
415
  }
416
416
  }
417
417
 
418
+ export class GetAgentBillsForClientRequest extends jspb.Message {
419
+ getClientuserid(): number;
420
+ setClientuserid(value: number): GetAgentBillsForClientRequest;
421
+
422
+ getPage(): number;
423
+ setPage(value: number): GetAgentBillsForClientRequest;
424
+
425
+ getSize(): number;
426
+ setSize(value: number): GetAgentBillsForClientRequest;
427
+
428
+ getSortby(): string;
429
+ setSortby(value: string): GetAgentBillsForClientRequest;
430
+
431
+ getSortdirection(): string;
432
+ setSortdirection(value: string): GetAgentBillsForClientRequest;
433
+
434
+ getStatus(): string;
435
+ setStatus(value: string): GetAgentBillsForClientRequest;
436
+
437
+ serializeBinary(): Uint8Array;
438
+ toObject(includeInstance?: boolean): GetAgentBillsForClientRequest.AsObject;
439
+ static toObject(includeInstance: boolean, msg: GetAgentBillsForClientRequest): GetAgentBillsForClientRequest.AsObject;
440
+ static serializeBinaryToWriter(message: GetAgentBillsForClientRequest, writer: jspb.BinaryWriter): void;
441
+ static deserializeBinary(bytes: Uint8Array): GetAgentBillsForClientRequest;
442
+ static deserializeBinaryFromReader(message: GetAgentBillsForClientRequest, reader: jspb.BinaryReader): GetAgentBillsForClientRequest;
443
+ }
444
+
445
+ export namespace GetAgentBillsForClientRequest {
446
+ export type AsObject = {
447
+ clientuserid: number,
448
+ page: number,
449
+ size: number,
450
+ sortby: string,
451
+ sortdirection: string,
452
+ status: string,
453
+ }
454
+ }
455
+
456
+ export class GetAgentBillsResponse extends jspb.Message {
457
+ getResponsecode(): ResponseCode | undefined;
458
+ setResponsecode(value?: ResponseCode): GetAgentBillsResponse;
459
+ hasResponsecode(): boolean;
460
+ clearResponsecode(): GetAgentBillsResponse;
461
+
462
+ getAgentbillsList(): Array<AgentBill>;
463
+ setAgentbillsList(value: Array<AgentBill>): GetAgentBillsResponse;
464
+ clearAgentbillsList(): GetAgentBillsResponse;
465
+ addAgentbills(value?: AgentBill, index?: number): AgentBill;
466
+
467
+ getPage(): number;
468
+ setPage(value: number): GetAgentBillsResponse;
469
+
470
+ getSize(): number;
471
+ setSize(value: number): GetAgentBillsResponse;
472
+
473
+ getTotalpages(): number;
474
+ setTotalpages(value: number): GetAgentBillsResponse;
475
+
476
+ getTotalsize(): number;
477
+ setTotalsize(value: number): GetAgentBillsResponse;
478
+
479
+ serializeBinary(): Uint8Array;
480
+ toObject(includeInstance?: boolean): GetAgentBillsResponse.AsObject;
481
+ static toObject(includeInstance: boolean, msg: GetAgentBillsResponse): GetAgentBillsResponse.AsObject;
482
+ static serializeBinaryToWriter(message: GetAgentBillsResponse, writer: jspb.BinaryWriter): void;
483
+ static deserializeBinary(bytes: Uint8Array): GetAgentBillsResponse;
484
+ static deserializeBinaryFromReader(message: GetAgentBillsResponse, reader: jspb.BinaryReader): GetAgentBillsResponse;
485
+ }
486
+
487
+ export namespace GetAgentBillsResponse {
488
+ export type AsObject = {
489
+ responsecode?: ResponseCode.AsObject,
490
+ agentbillsList: Array<AgentBill.AsObject>,
491
+ page: number,
492
+ size: number,
493
+ totalpages: number,
494
+ totalsize: number,
495
+ }
496
+ }
497
+
418
498
  export class GetAssociatedAgentRequest extends jspb.Message {
419
499
  getAgentuserid(): number;
420
500
  setAgentuserid(value: number): GetAssociatedAgentRequest;
@@ -825,6 +905,112 @@ export namespace GetDeliveryBatchesToPayRequest {
825
905
  }
826
906
  }
827
907
 
908
+ export class GetUploadBatchContentsInDraftRequest extends jspb.Message {
909
+ getPage(): number;
910
+ setPage(value: number): GetUploadBatchContentsInDraftRequest;
911
+
912
+ getSize(): number;
913
+ setSize(value: number): GetUploadBatchContentsInDraftRequest;
914
+
915
+ getSortby(): string;
916
+ setSortby(value: string): GetUploadBatchContentsInDraftRequest;
917
+
918
+ getSortdirection(): string;
919
+ setSortdirection(value: string): GetUploadBatchContentsInDraftRequest;
920
+
921
+ getUploadbatchid(): number;
922
+ setUploadbatchid(value: number): GetUploadBatchContentsInDraftRequest;
923
+
924
+ serializeBinary(): Uint8Array;
925
+ toObject(includeInstance?: boolean): GetUploadBatchContentsInDraftRequest.AsObject;
926
+ static toObject(includeInstance: boolean, msg: GetUploadBatchContentsInDraftRequest): GetUploadBatchContentsInDraftRequest.AsObject;
927
+ static serializeBinaryToWriter(message: GetUploadBatchContentsInDraftRequest, writer: jspb.BinaryWriter): void;
928
+ static deserializeBinary(bytes: Uint8Array): GetUploadBatchContentsInDraftRequest;
929
+ static deserializeBinaryFromReader(message: GetUploadBatchContentsInDraftRequest, reader: jspb.BinaryReader): GetUploadBatchContentsInDraftRequest;
930
+ }
931
+
932
+ export namespace GetUploadBatchContentsInDraftRequest {
933
+ export type AsObject = {
934
+ page: number,
935
+ size: number,
936
+ sortby: string,
937
+ sortdirection: string,
938
+ uploadbatchid: number,
939
+ }
940
+ }
941
+
942
+ export class GetUploadBatchesInDraftRequest extends jspb.Message {
943
+ getClientuserid(): number;
944
+ setClientuserid(value: number): GetUploadBatchesInDraftRequest;
945
+
946
+ getPage(): number;
947
+ setPage(value: number): GetUploadBatchesInDraftRequest;
948
+
949
+ getSize(): number;
950
+ setSize(value: number): GetUploadBatchesInDraftRequest;
951
+
952
+ getSortdirection(): string;
953
+ setSortdirection(value: string): GetUploadBatchesInDraftRequest;
954
+
955
+ serializeBinary(): Uint8Array;
956
+ toObject(includeInstance?: boolean): GetUploadBatchesInDraftRequest.AsObject;
957
+ static toObject(includeInstance: boolean, msg: GetUploadBatchesInDraftRequest): GetUploadBatchesInDraftRequest.AsObject;
958
+ static serializeBinaryToWriter(message: GetUploadBatchesInDraftRequest, writer: jspb.BinaryWriter): void;
959
+ static deserializeBinary(bytes: Uint8Array): GetUploadBatchesInDraftRequest;
960
+ static deserializeBinaryFromReader(message: GetUploadBatchesInDraftRequest, reader: jspb.BinaryReader): GetUploadBatchesInDraftRequest;
961
+ }
962
+
963
+ export namespace GetUploadBatchesInDraftRequest {
964
+ export type AsObject = {
965
+ clientuserid: number,
966
+ page: number,
967
+ size: number,
968
+ sortdirection: string,
969
+ }
970
+ }
971
+
972
+ export class GetUploadBatchesResponse extends jspb.Message {
973
+ getResponsecode(): ResponseCode | undefined;
974
+ setResponsecode(value?: ResponseCode): GetUploadBatchesResponse;
975
+ hasResponsecode(): boolean;
976
+ clearResponsecode(): GetUploadBatchesResponse;
977
+
978
+ getUploadbatchesList(): Array<UploadBatch>;
979
+ setUploadbatchesList(value: Array<UploadBatch>): GetUploadBatchesResponse;
980
+ clearUploadbatchesList(): GetUploadBatchesResponse;
981
+ addUploadbatches(value?: UploadBatch, index?: number): UploadBatch;
982
+
983
+ getPage(): number;
984
+ setPage(value: number): GetUploadBatchesResponse;
985
+
986
+ getSize(): number;
987
+ setSize(value: number): GetUploadBatchesResponse;
988
+
989
+ getTotalpages(): number;
990
+ setTotalpages(value: number): GetUploadBatchesResponse;
991
+
992
+ getTotalsize(): number;
993
+ setTotalsize(value: number): GetUploadBatchesResponse;
994
+
995
+ serializeBinary(): Uint8Array;
996
+ toObject(includeInstance?: boolean): GetUploadBatchesResponse.AsObject;
997
+ static toObject(includeInstance: boolean, msg: GetUploadBatchesResponse): GetUploadBatchesResponse.AsObject;
998
+ static serializeBinaryToWriter(message: GetUploadBatchesResponse, writer: jspb.BinaryWriter): void;
999
+ static deserializeBinary(bytes: Uint8Array): GetUploadBatchesResponse;
1000
+ static deserializeBinaryFromReader(message: GetUploadBatchesResponse, reader: jspb.BinaryReader): GetUploadBatchesResponse;
1001
+ }
1002
+
1003
+ export namespace GetUploadBatchesResponse {
1004
+ export type AsObject = {
1005
+ responsecode?: ResponseCode.AsObject,
1006
+ uploadbatchesList: Array<UploadBatch.AsObject>,
1007
+ page: number,
1008
+ size: number,
1009
+ totalpages: number,
1010
+ totalsize: number,
1011
+ }
1012
+ }
1013
+
828
1014
  export class InviteAgentRequest extends jspb.Message {
829
1015
  getAgentemail(): string;
830
1016
  setAgentemail(value: string): InviteAgentRequest;
@@ -1019,3 +1205,37 @@ export namespace ResponseCode {
1019
1205
  }
1020
1206
  }
1021
1207
 
1208
+ export class UploadBatch extends jspb.Message {
1209
+ getUploadbatchid(): number;
1210
+ setUploadbatchid(value: number): UploadBatch;
1211
+
1212
+ getName(): string;
1213
+ setName(value: string): UploadBatch;
1214
+
1215
+ getDraftbillscount(): number;
1216
+ setDraftbillscount(value: number): UploadBatch;
1217
+
1218
+ getDueamount(): number;
1219
+ setDueamount(value: number): UploadBatch;
1220
+
1221
+ getCreationtime(): string;
1222
+ setCreationtime(value: string): UploadBatch;
1223
+
1224
+ serializeBinary(): Uint8Array;
1225
+ toObject(includeInstance?: boolean): UploadBatch.AsObject;
1226
+ static toObject(includeInstance: boolean, msg: UploadBatch): UploadBatch.AsObject;
1227
+ static serializeBinaryToWriter(message: UploadBatch, writer: jspb.BinaryWriter): void;
1228
+ static deserializeBinary(bytes: Uint8Array): UploadBatch;
1229
+ static deserializeBinaryFromReader(message: UploadBatch, reader: jspb.BinaryReader): UploadBatch;
1230
+ }
1231
+
1232
+ export namespace UploadBatch {
1233
+ export type AsObject = {
1234
+ uploadbatchid: number,
1235
+ name: string,
1236
+ draftbillscount: number,
1237
+ dueamount: number,
1238
+ creationtime: string,
1239
+ }
1240
+ }
1241
+