@technova-tech/olive-proto-lib 3.2.3 → 3.2.4
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/business/business.js +348 -0
- package/package.json +1 -1
- package/types/business/business.d.ts +144 -0
package/business/business.js
CHANGED
|
@@ -17459,6 +17459,329 @@ var com;
|
|
|
17459
17459
|
}
|
|
17460
17460
|
}
|
|
17461
17461
|
business.OrphanMerchantsResponse = OrphanMerchantsResponse;
|
|
17462
|
+
class GetOrphanedMerchantRequest extends pb_1.Message {
|
|
17463
|
+
#one_of_decls = [];
|
|
17464
|
+
constructor(data) {
|
|
17465
|
+
super();
|
|
17466
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
17467
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
17468
|
+
if ("retryCount" in data && data.retryCount != undefined) {
|
|
17469
|
+
this.retryCount = data.retryCount;
|
|
17470
|
+
}
|
|
17471
|
+
if ("regionId" in data && data.regionId != undefined) {
|
|
17472
|
+
this.regionId = data.regionId;
|
|
17473
|
+
}
|
|
17474
|
+
if ("limit" in data && data.limit != undefined) {
|
|
17475
|
+
this.limit = data.limit;
|
|
17476
|
+
}
|
|
17477
|
+
if ("page" in data && data.page != undefined) {
|
|
17478
|
+
this.page = data.page;
|
|
17479
|
+
}
|
|
17480
|
+
if ("search" in data && data.search != undefined) {
|
|
17481
|
+
this.search = data.search;
|
|
17482
|
+
}
|
|
17483
|
+
}
|
|
17484
|
+
}
|
|
17485
|
+
get retryCount() {
|
|
17486
|
+
return pb_1.Message.getFieldWithDefault(this, 1, 0);
|
|
17487
|
+
}
|
|
17488
|
+
set retryCount(value) {
|
|
17489
|
+
pb_1.Message.setField(this, 1, value);
|
|
17490
|
+
}
|
|
17491
|
+
get regionId() {
|
|
17492
|
+
return pb_1.Message.getFieldWithDefault(this, 2, "");
|
|
17493
|
+
}
|
|
17494
|
+
set regionId(value) {
|
|
17495
|
+
pb_1.Message.setField(this, 2, value);
|
|
17496
|
+
}
|
|
17497
|
+
get limit() {
|
|
17498
|
+
return pb_1.Message.getFieldWithDefault(this, 3, 0);
|
|
17499
|
+
}
|
|
17500
|
+
set limit(value) {
|
|
17501
|
+
pb_1.Message.setField(this, 3, value);
|
|
17502
|
+
}
|
|
17503
|
+
get page() {
|
|
17504
|
+
return pb_1.Message.getFieldWithDefault(this, 4, 0);
|
|
17505
|
+
}
|
|
17506
|
+
set page(value) {
|
|
17507
|
+
pb_1.Message.setField(this, 4, value);
|
|
17508
|
+
}
|
|
17509
|
+
get search() {
|
|
17510
|
+
return pb_1.Message.getFieldWithDefault(this, 5, "");
|
|
17511
|
+
}
|
|
17512
|
+
set search(value) {
|
|
17513
|
+
pb_1.Message.setField(this, 5, value);
|
|
17514
|
+
}
|
|
17515
|
+
static fromObject(data) {
|
|
17516
|
+
const message = new GetOrphanedMerchantRequest({});
|
|
17517
|
+
if (data.retryCount != null) {
|
|
17518
|
+
message.retryCount = data.retryCount;
|
|
17519
|
+
}
|
|
17520
|
+
if (data.regionId != null) {
|
|
17521
|
+
message.regionId = data.regionId;
|
|
17522
|
+
}
|
|
17523
|
+
if (data.limit != null) {
|
|
17524
|
+
message.limit = data.limit;
|
|
17525
|
+
}
|
|
17526
|
+
if (data.page != null) {
|
|
17527
|
+
message.page = data.page;
|
|
17528
|
+
}
|
|
17529
|
+
if (data.search != null) {
|
|
17530
|
+
message.search = data.search;
|
|
17531
|
+
}
|
|
17532
|
+
return message;
|
|
17533
|
+
}
|
|
17534
|
+
toObject() {
|
|
17535
|
+
const data = {};
|
|
17536
|
+
if (this.retryCount != null) {
|
|
17537
|
+
data.retryCount = this.retryCount;
|
|
17538
|
+
}
|
|
17539
|
+
if (this.regionId != null) {
|
|
17540
|
+
data.regionId = this.regionId;
|
|
17541
|
+
}
|
|
17542
|
+
if (this.limit != null) {
|
|
17543
|
+
data.limit = this.limit;
|
|
17544
|
+
}
|
|
17545
|
+
if (this.page != null) {
|
|
17546
|
+
data.page = this.page;
|
|
17547
|
+
}
|
|
17548
|
+
if (this.search != null) {
|
|
17549
|
+
data.search = this.search;
|
|
17550
|
+
}
|
|
17551
|
+
return data;
|
|
17552
|
+
}
|
|
17553
|
+
serialize(w) {
|
|
17554
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
17555
|
+
if (this.retryCount != 0)
|
|
17556
|
+
writer.writeUint32(1, this.retryCount);
|
|
17557
|
+
if (this.regionId.length)
|
|
17558
|
+
writer.writeString(2, this.regionId);
|
|
17559
|
+
if (this.limit != 0)
|
|
17560
|
+
writer.writeUint32(3, this.limit);
|
|
17561
|
+
if (this.page != 0)
|
|
17562
|
+
writer.writeUint32(4, this.page);
|
|
17563
|
+
if (this.search.length)
|
|
17564
|
+
writer.writeString(5, this.search);
|
|
17565
|
+
if (!w)
|
|
17566
|
+
return writer.getResultBuffer();
|
|
17567
|
+
}
|
|
17568
|
+
static deserialize(bytes) {
|
|
17569
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new GetOrphanedMerchantRequest();
|
|
17570
|
+
while (reader.nextField()) {
|
|
17571
|
+
if (reader.isEndGroup())
|
|
17572
|
+
break;
|
|
17573
|
+
switch (reader.getFieldNumber()) {
|
|
17574
|
+
case 1:
|
|
17575
|
+
message.retryCount = reader.readUint32();
|
|
17576
|
+
break;
|
|
17577
|
+
case 2:
|
|
17578
|
+
message.regionId = reader.readString();
|
|
17579
|
+
break;
|
|
17580
|
+
case 3:
|
|
17581
|
+
message.limit = reader.readUint32();
|
|
17582
|
+
break;
|
|
17583
|
+
case 4:
|
|
17584
|
+
message.page = reader.readUint32();
|
|
17585
|
+
break;
|
|
17586
|
+
case 5:
|
|
17587
|
+
message.search = reader.readString();
|
|
17588
|
+
break;
|
|
17589
|
+
default: reader.skipField();
|
|
17590
|
+
}
|
|
17591
|
+
}
|
|
17592
|
+
return message;
|
|
17593
|
+
}
|
|
17594
|
+
serializeBinary() {
|
|
17595
|
+
return this.serialize();
|
|
17596
|
+
}
|
|
17597
|
+
static deserializeBinary(bytes) {
|
|
17598
|
+
return GetOrphanedMerchantRequest.deserialize(bytes);
|
|
17599
|
+
}
|
|
17600
|
+
}
|
|
17601
|
+
business.GetOrphanedMerchantRequest = GetOrphanedMerchantRequest;
|
|
17602
|
+
class GetOrphanedMerchantsResponse extends pb_1.Message {
|
|
17603
|
+
#one_of_decls = [];
|
|
17604
|
+
constructor(data) {
|
|
17605
|
+
super();
|
|
17606
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [3, 7], this.#one_of_decls);
|
|
17607
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
17608
|
+
if ("success" in data && data.success != undefined) {
|
|
17609
|
+
this.success = data.success;
|
|
17610
|
+
}
|
|
17611
|
+
if ("status" in data && data.status != undefined) {
|
|
17612
|
+
this.status = data.status;
|
|
17613
|
+
}
|
|
17614
|
+
if ("data" in data && data.data != undefined) {
|
|
17615
|
+
this.data = data.data;
|
|
17616
|
+
}
|
|
17617
|
+
if ("error" in data && data.error != undefined) {
|
|
17618
|
+
this.error = data.error;
|
|
17619
|
+
}
|
|
17620
|
+
if ("message" in data && data.message != undefined) {
|
|
17621
|
+
this.message = data.message;
|
|
17622
|
+
}
|
|
17623
|
+
if ("pagination" in data && data.pagination != undefined) {
|
|
17624
|
+
this.pagination = data.pagination;
|
|
17625
|
+
}
|
|
17626
|
+
if ("errors" in data && data.errors != undefined) {
|
|
17627
|
+
this.errors = data.errors;
|
|
17628
|
+
}
|
|
17629
|
+
}
|
|
17630
|
+
}
|
|
17631
|
+
get success() {
|
|
17632
|
+
return pb_1.Message.getFieldWithDefault(this, 1, false);
|
|
17633
|
+
}
|
|
17634
|
+
set success(value) {
|
|
17635
|
+
pb_1.Message.setField(this, 1, value);
|
|
17636
|
+
}
|
|
17637
|
+
get status() {
|
|
17638
|
+
return pb_1.Message.getFieldWithDefault(this, 2, "");
|
|
17639
|
+
}
|
|
17640
|
+
set status(value) {
|
|
17641
|
+
pb_1.Message.setField(this, 2, value);
|
|
17642
|
+
}
|
|
17643
|
+
get data() {
|
|
17644
|
+
return pb_1.Message.getRepeatedWrapperField(this, MerchantData, 3);
|
|
17645
|
+
}
|
|
17646
|
+
set data(value) {
|
|
17647
|
+
pb_1.Message.setRepeatedWrapperField(this, 3, value);
|
|
17648
|
+
}
|
|
17649
|
+
get error() {
|
|
17650
|
+
return pb_1.Message.getFieldWithDefault(this, 4, "");
|
|
17651
|
+
}
|
|
17652
|
+
set error(value) {
|
|
17653
|
+
pb_1.Message.setField(this, 4, value);
|
|
17654
|
+
}
|
|
17655
|
+
get message() {
|
|
17656
|
+
return pb_1.Message.getFieldWithDefault(this, 5, "");
|
|
17657
|
+
}
|
|
17658
|
+
set message(value) {
|
|
17659
|
+
pb_1.Message.setField(this, 5, value);
|
|
17660
|
+
}
|
|
17661
|
+
get pagination() {
|
|
17662
|
+
return pb_1.Message.getWrapperField(this, Pagination, 6);
|
|
17663
|
+
}
|
|
17664
|
+
set pagination(value) {
|
|
17665
|
+
pb_1.Message.setWrapperField(this, 6, value);
|
|
17666
|
+
}
|
|
17667
|
+
get hasPagination() {
|
|
17668
|
+
return pb_1.Message.getField(this, 6) != null;
|
|
17669
|
+
}
|
|
17670
|
+
get errors() {
|
|
17671
|
+
return pb_1.Message.getRepeatedWrapperField(this, ValidationErrors, 7);
|
|
17672
|
+
}
|
|
17673
|
+
set errors(value) {
|
|
17674
|
+
pb_1.Message.setRepeatedWrapperField(this, 7, value);
|
|
17675
|
+
}
|
|
17676
|
+
static fromObject(data) {
|
|
17677
|
+
const message = new GetOrphanedMerchantsResponse({});
|
|
17678
|
+
if (data.success != null) {
|
|
17679
|
+
message.success = data.success;
|
|
17680
|
+
}
|
|
17681
|
+
if (data.status != null) {
|
|
17682
|
+
message.status = data.status;
|
|
17683
|
+
}
|
|
17684
|
+
if (data.data != null) {
|
|
17685
|
+
message.data = data.data.map(item => MerchantData.fromObject(item));
|
|
17686
|
+
}
|
|
17687
|
+
if (data.error != null) {
|
|
17688
|
+
message.error = data.error;
|
|
17689
|
+
}
|
|
17690
|
+
if (data.message != null) {
|
|
17691
|
+
message.message = data.message;
|
|
17692
|
+
}
|
|
17693
|
+
if (data.pagination != null) {
|
|
17694
|
+
message.pagination = Pagination.fromObject(data.pagination);
|
|
17695
|
+
}
|
|
17696
|
+
if (data.errors != null) {
|
|
17697
|
+
message.errors = data.errors.map(item => ValidationErrors.fromObject(item));
|
|
17698
|
+
}
|
|
17699
|
+
return message;
|
|
17700
|
+
}
|
|
17701
|
+
toObject() {
|
|
17702
|
+
const data = {};
|
|
17703
|
+
if (this.success != null) {
|
|
17704
|
+
data.success = this.success;
|
|
17705
|
+
}
|
|
17706
|
+
if (this.status != null) {
|
|
17707
|
+
data.status = this.status;
|
|
17708
|
+
}
|
|
17709
|
+
if (this.data != null) {
|
|
17710
|
+
data.data = this.data.map((item) => item.toObject());
|
|
17711
|
+
}
|
|
17712
|
+
if (this.error != null) {
|
|
17713
|
+
data.error = this.error;
|
|
17714
|
+
}
|
|
17715
|
+
if (this.message != null) {
|
|
17716
|
+
data.message = this.message;
|
|
17717
|
+
}
|
|
17718
|
+
if (this.pagination != null) {
|
|
17719
|
+
data.pagination = this.pagination.toObject();
|
|
17720
|
+
}
|
|
17721
|
+
if (this.errors != null) {
|
|
17722
|
+
data.errors = this.errors.map((item) => item.toObject());
|
|
17723
|
+
}
|
|
17724
|
+
return data;
|
|
17725
|
+
}
|
|
17726
|
+
serialize(w) {
|
|
17727
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
17728
|
+
if (this.success != false)
|
|
17729
|
+
writer.writeBool(1, this.success);
|
|
17730
|
+
if (this.status.length)
|
|
17731
|
+
writer.writeString(2, this.status);
|
|
17732
|
+
if (this.data.length)
|
|
17733
|
+
writer.writeRepeatedMessage(3, this.data, (item) => item.serialize(writer));
|
|
17734
|
+
if (this.error.length)
|
|
17735
|
+
writer.writeString(4, this.error);
|
|
17736
|
+
if (this.message.length)
|
|
17737
|
+
writer.writeString(5, this.message);
|
|
17738
|
+
if (this.hasPagination)
|
|
17739
|
+
writer.writeMessage(6, this.pagination, () => this.pagination.serialize(writer));
|
|
17740
|
+
if (this.errors.length)
|
|
17741
|
+
writer.writeRepeatedMessage(7, this.errors, (item) => item.serialize(writer));
|
|
17742
|
+
if (!w)
|
|
17743
|
+
return writer.getResultBuffer();
|
|
17744
|
+
}
|
|
17745
|
+
static deserialize(bytes) {
|
|
17746
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new GetOrphanedMerchantsResponse();
|
|
17747
|
+
while (reader.nextField()) {
|
|
17748
|
+
if (reader.isEndGroup())
|
|
17749
|
+
break;
|
|
17750
|
+
switch (reader.getFieldNumber()) {
|
|
17751
|
+
case 1:
|
|
17752
|
+
message.success = reader.readBool();
|
|
17753
|
+
break;
|
|
17754
|
+
case 2:
|
|
17755
|
+
message.status = reader.readString();
|
|
17756
|
+
break;
|
|
17757
|
+
case 3:
|
|
17758
|
+
reader.readMessage(message.data, () => pb_1.Message.addToRepeatedWrapperField(message, 3, MerchantData.deserialize(reader), MerchantData));
|
|
17759
|
+
break;
|
|
17760
|
+
case 4:
|
|
17761
|
+
message.error = reader.readString();
|
|
17762
|
+
break;
|
|
17763
|
+
case 5:
|
|
17764
|
+
message.message = reader.readString();
|
|
17765
|
+
break;
|
|
17766
|
+
case 6:
|
|
17767
|
+
reader.readMessage(message.pagination, () => message.pagination = Pagination.deserialize(reader));
|
|
17768
|
+
break;
|
|
17769
|
+
case 7:
|
|
17770
|
+
reader.readMessage(message.errors, () => pb_1.Message.addToRepeatedWrapperField(message, 7, ValidationErrors.deserialize(reader), ValidationErrors));
|
|
17771
|
+
break;
|
|
17772
|
+
default: reader.skipField();
|
|
17773
|
+
}
|
|
17774
|
+
}
|
|
17775
|
+
return message;
|
|
17776
|
+
}
|
|
17777
|
+
serializeBinary() {
|
|
17778
|
+
return this.serialize();
|
|
17779
|
+
}
|
|
17780
|
+
static deserializeBinary(bytes) {
|
|
17781
|
+
return GetOrphanedMerchantsResponse.deserialize(bytes);
|
|
17782
|
+
}
|
|
17783
|
+
}
|
|
17784
|
+
business.GetOrphanedMerchantsResponse = GetOrphanedMerchantsResponse;
|
|
17462
17785
|
class UnimplementedBusinessService {
|
|
17463
17786
|
static definition = {
|
|
17464
17787
|
CreateBusiness: {
|
|
@@ -17937,6 +18260,15 @@ var com;
|
|
|
17937
18260
|
requestDeserialize: (bytes) => GetByIdRequest.deserialize(new Uint8Array(bytes)),
|
|
17938
18261
|
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
17939
18262
|
responseDeserialize: (bytes) => OrphanMerchantsResponse.deserialize(new Uint8Array(bytes))
|
|
18263
|
+
},
|
|
18264
|
+
GetOrphanedMerchants: {
|
|
18265
|
+
path: "/com.pkg.business.Business/GetOrphanedMerchants",
|
|
18266
|
+
requestStream: false,
|
|
18267
|
+
responseStream: false,
|
|
18268
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
18269
|
+
requestDeserialize: (bytes) => GetOrphanedMerchantRequest.deserialize(new Uint8Array(bytes)),
|
|
18270
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
18271
|
+
responseDeserialize: (bytes) => GetOrphanedMerchantsResponse.deserialize(new Uint8Array(bytes))
|
|
17940
18272
|
}
|
|
17941
18273
|
};
|
|
17942
18274
|
}
|
|
@@ -18793,6 +19125,22 @@ var com;
|
|
|
18793
19125
|
}
|
|
18794
19126
|
}));
|
|
18795
19127
|
};
|
|
19128
|
+
GetOrphanedMerchants = (message, metadata, options) => {
|
|
19129
|
+
if (!metadata) {
|
|
19130
|
+
metadata = new grpc_1.Metadata;
|
|
19131
|
+
}
|
|
19132
|
+
if (!options) {
|
|
19133
|
+
options = {};
|
|
19134
|
+
}
|
|
19135
|
+
return new Promise((resolve, reject) => super.GetOrphanedMerchants(message, metadata, options, (error, response) => {
|
|
19136
|
+
if (error) {
|
|
19137
|
+
reject(error);
|
|
19138
|
+
}
|
|
19139
|
+
else {
|
|
19140
|
+
resolve(response);
|
|
19141
|
+
}
|
|
19142
|
+
}));
|
|
19143
|
+
};
|
|
18796
19144
|
}
|
|
18797
19145
|
business.BusinessClient = BusinessClient;
|
|
18798
19146
|
})(business = pkg.business || (pkg.business = {}));
|
package/package.json
CHANGED
|
@@ -7819,6 +7819,139 @@ export declare namespace com.pkg.business {
|
|
|
7819
7819
|
serializeBinary(): Uint8Array;
|
|
7820
7820
|
static deserializeBinary(bytes: Uint8Array): OrphanMerchantsResponse;
|
|
7821
7821
|
}
|
|
7822
|
+
export class GetOrphanedMerchantRequest extends pb_1.Message {
|
|
7823
|
+
#private;
|
|
7824
|
+
constructor(data?: any[] | {
|
|
7825
|
+
retryCount?: number;
|
|
7826
|
+
regionId?: string;
|
|
7827
|
+
limit?: number;
|
|
7828
|
+
page?: number;
|
|
7829
|
+
search?: string;
|
|
7830
|
+
});
|
|
7831
|
+
get retryCount(): number;
|
|
7832
|
+
set retryCount(value: number);
|
|
7833
|
+
get regionId(): string;
|
|
7834
|
+
set regionId(value: string);
|
|
7835
|
+
get limit(): number;
|
|
7836
|
+
set limit(value: number);
|
|
7837
|
+
get page(): number;
|
|
7838
|
+
set page(value: number);
|
|
7839
|
+
get search(): string;
|
|
7840
|
+
set search(value: string);
|
|
7841
|
+
static fromObject(data: {
|
|
7842
|
+
retryCount?: number;
|
|
7843
|
+
regionId?: string;
|
|
7844
|
+
limit?: number;
|
|
7845
|
+
page?: number;
|
|
7846
|
+
search?: string;
|
|
7847
|
+
}): GetOrphanedMerchantRequest;
|
|
7848
|
+
toObject(): {
|
|
7849
|
+
retryCount?: number | undefined;
|
|
7850
|
+
regionId?: string | undefined;
|
|
7851
|
+
limit?: number | undefined;
|
|
7852
|
+
page?: number | undefined;
|
|
7853
|
+
search?: string | undefined;
|
|
7854
|
+
};
|
|
7855
|
+
serialize(): Uint8Array;
|
|
7856
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
7857
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): GetOrphanedMerchantRequest;
|
|
7858
|
+
serializeBinary(): Uint8Array;
|
|
7859
|
+
static deserializeBinary(bytes: Uint8Array): GetOrphanedMerchantRequest;
|
|
7860
|
+
}
|
|
7861
|
+
export class GetOrphanedMerchantsResponse extends pb_1.Message {
|
|
7862
|
+
#private;
|
|
7863
|
+
constructor(data?: any[] | {
|
|
7864
|
+
success?: boolean;
|
|
7865
|
+
status?: string;
|
|
7866
|
+
data?: MerchantData[];
|
|
7867
|
+
error?: string;
|
|
7868
|
+
message?: string;
|
|
7869
|
+
pagination?: Pagination;
|
|
7870
|
+
errors?: ValidationErrors[];
|
|
7871
|
+
});
|
|
7872
|
+
get success(): boolean;
|
|
7873
|
+
set success(value: boolean);
|
|
7874
|
+
get status(): string;
|
|
7875
|
+
set status(value: string);
|
|
7876
|
+
get data(): MerchantData[];
|
|
7877
|
+
set data(value: MerchantData[]);
|
|
7878
|
+
get error(): string;
|
|
7879
|
+
set error(value: string);
|
|
7880
|
+
get message(): string;
|
|
7881
|
+
set message(value: string);
|
|
7882
|
+
get pagination(): Pagination;
|
|
7883
|
+
set pagination(value: Pagination);
|
|
7884
|
+
get hasPagination(): boolean;
|
|
7885
|
+
get errors(): ValidationErrors[];
|
|
7886
|
+
set errors(value: ValidationErrors[]);
|
|
7887
|
+
static fromObject(data: {
|
|
7888
|
+
success?: boolean;
|
|
7889
|
+
status?: string;
|
|
7890
|
+
data?: ReturnType<typeof MerchantData.prototype.toObject>[];
|
|
7891
|
+
error?: string;
|
|
7892
|
+
message?: string;
|
|
7893
|
+
pagination?: ReturnType<typeof Pagination.prototype.toObject>;
|
|
7894
|
+
errors?: ReturnType<typeof ValidationErrors.prototype.toObject>[];
|
|
7895
|
+
}): GetOrphanedMerchantsResponse;
|
|
7896
|
+
toObject(): {
|
|
7897
|
+
success?: boolean | undefined;
|
|
7898
|
+
status?: string | undefined;
|
|
7899
|
+
data?: {
|
|
7900
|
+
id?: string | undefined;
|
|
7901
|
+
email?: string | undefined;
|
|
7902
|
+
phoneNumber?: string | undefined;
|
|
7903
|
+
businessName?: string | undefined;
|
|
7904
|
+
accountNumber?: string | undefined;
|
|
7905
|
+
bvn?: string | undefined;
|
|
7906
|
+
nin?: string | undefined;
|
|
7907
|
+
isVerified?: boolean | undefined;
|
|
7908
|
+
isValidated?: boolean | undefined;
|
|
7909
|
+
isActive?: boolean | undefined;
|
|
7910
|
+
hasPin?: boolean | undefined;
|
|
7911
|
+
createdAt?: string | undefined;
|
|
7912
|
+
updatedAt?: string | undefined;
|
|
7913
|
+
staffAttributedId?: string | undefined;
|
|
7914
|
+
staffAttributedLastUpdateDatetime?: string | undefined;
|
|
7915
|
+
staffAttributedStatus?: string | undefined;
|
|
7916
|
+
staffAttributed?: {
|
|
7917
|
+
id?: string | undefined;
|
|
7918
|
+
firstName?: string | undefined;
|
|
7919
|
+
lastName?: string | undefined;
|
|
7920
|
+
email?: string | undefined;
|
|
7921
|
+
phone?: string | undefined;
|
|
7922
|
+
active?: boolean | undefined;
|
|
7923
|
+
role?: {
|
|
7924
|
+
id?: string | undefined;
|
|
7925
|
+
name?: string | undefined;
|
|
7926
|
+
} | undefined;
|
|
7927
|
+
regionId?: string | undefined;
|
|
7928
|
+
region?: {
|
|
7929
|
+
id?: string | undefined;
|
|
7930
|
+
name?: string | undefined;
|
|
7931
|
+
} | undefined;
|
|
7932
|
+
} | undefined;
|
|
7933
|
+
regionId?: string | undefined;
|
|
7934
|
+
}[] | undefined;
|
|
7935
|
+
error?: string | undefined;
|
|
7936
|
+
message?: string | undefined;
|
|
7937
|
+
pagination?: {
|
|
7938
|
+
page?: number | undefined;
|
|
7939
|
+
limit?: number | undefined;
|
|
7940
|
+
total?: number | undefined;
|
|
7941
|
+
hasNext?: boolean | undefined;
|
|
7942
|
+
hasPrev?: boolean | undefined;
|
|
7943
|
+
} | undefined;
|
|
7944
|
+
errors?: {
|
|
7945
|
+
field?: string | undefined;
|
|
7946
|
+
message?: string | undefined;
|
|
7947
|
+
}[] | undefined;
|
|
7948
|
+
};
|
|
7949
|
+
serialize(): Uint8Array;
|
|
7950
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
7951
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): GetOrphanedMerchantsResponse;
|
|
7952
|
+
serializeBinary(): Uint8Array;
|
|
7953
|
+
static deserializeBinary(bytes: Uint8Array): GetOrphanedMerchantsResponse;
|
|
7954
|
+
}
|
|
7822
7955
|
interface GrpcPromiseServiceInterface<P, R> {
|
|
7823
7956
|
(message: P, metadata: grpc_1.Metadata, options?: grpc_1.CallOptions): Promise<R>;
|
|
7824
7957
|
(message: P, options?: grpc_1.CallOptions): Promise<R>;
|
|
@@ -8302,6 +8435,15 @@ export declare namespace com.pkg.business {
|
|
|
8302
8435
|
responseSerialize: (message: OrphanMerchantsResponse) => Buffer;
|
|
8303
8436
|
responseDeserialize: (bytes: Buffer) => OrphanMerchantsResponse;
|
|
8304
8437
|
};
|
|
8438
|
+
GetOrphanedMerchants: {
|
|
8439
|
+
path: string;
|
|
8440
|
+
requestStream: boolean;
|
|
8441
|
+
responseStream: boolean;
|
|
8442
|
+
requestSerialize: (message: GetOrphanedMerchantRequest) => Buffer;
|
|
8443
|
+
requestDeserialize: (bytes: Buffer) => GetOrphanedMerchantRequest;
|
|
8444
|
+
responseSerialize: (message: GetOrphanedMerchantsResponse) => Buffer;
|
|
8445
|
+
responseDeserialize: (bytes: Buffer) => GetOrphanedMerchantsResponse;
|
|
8446
|
+
};
|
|
8305
8447
|
};
|
|
8306
8448
|
[method: string]: grpc_1.UntypedHandleCall;
|
|
8307
8449
|
abstract CreateBusiness(call: grpc_1.ServerUnaryCall<CreateBusinessRequest, BusinessDataResponse>, callback: grpc_1.sendUnaryData<BusinessDataResponse>): void;
|
|
@@ -8357,6 +8499,7 @@ export declare namespace com.pkg.business {
|
|
|
8357
8499
|
abstract ReassignAttributionStaff(call: grpc_1.ServerUnaryCall<AssignAttributionStaffRequest, DefaultResponse>, callback: grpc_1.sendUnaryData<DefaultResponse>): void;
|
|
8358
8500
|
abstract GetMerchantsByAttributionStaff(call: grpc_1.ServerUnaryCall<GetByIdRequest, MMerchantDataResponse>, callback: grpc_1.sendUnaryData<MMerchantDataResponse>): void;
|
|
8359
8501
|
abstract OrphanMerchants(call: grpc_1.ServerUnaryCall<GetByIdRequest, OrphanMerchantsResponse>, callback: grpc_1.sendUnaryData<OrphanMerchantsResponse>): void;
|
|
8502
|
+
abstract GetOrphanedMerchants(call: grpc_1.ServerUnaryCall<GetOrphanedMerchantRequest, GetOrphanedMerchantsResponse>, callback: grpc_1.sendUnaryData<GetOrphanedMerchantsResponse>): void;
|
|
8360
8503
|
}
|
|
8361
8504
|
const BusinessClient_base: grpc_1.ServiceClientConstructor;
|
|
8362
8505
|
export class BusinessClient extends BusinessClient_base {
|
|
@@ -8414,6 +8557,7 @@ export declare namespace com.pkg.business {
|
|
|
8414
8557
|
ReassignAttributionStaff: GrpcPromiseServiceInterface<AssignAttributionStaffRequest, DefaultResponse>;
|
|
8415
8558
|
GetMerchantsByAttributionStaff: GrpcPromiseServiceInterface<GetByIdRequest, MMerchantDataResponse>;
|
|
8416
8559
|
OrphanMerchants: GrpcPromiseServiceInterface<GetByIdRequest, OrphanMerchantsResponse>;
|
|
8560
|
+
GetOrphanedMerchants: GrpcPromiseServiceInterface<GetOrphanedMerchantRequest, GetOrphanedMerchantsResponse>;
|
|
8417
8561
|
}
|
|
8418
8562
|
export {};
|
|
8419
8563
|
}
|