@technova-tech/olive-proto-lib 3.2.2 → 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 +491 -0
- package/package.json +1 -1
- package/types/business/business.d.ts +204 -0
package/business/business.js
CHANGED
|
@@ -15861,6 +15861,86 @@ var com;
|
|
|
15861
15861
|
}
|
|
15862
15862
|
}
|
|
15863
15863
|
business.Role = Role;
|
|
15864
|
+
class Region extends pb_1.Message {
|
|
15865
|
+
#one_of_decls = [];
|
|
15866
|
+
constructor(data) {
|
|
15867
|
+
super();
|
|
15868
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
15869
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
15870
|
+
if ("id" in data && data.id != undefined) {
|
|
15871
|
+
this.id = data.id;
|
|
15872
|
+
}
|
|
15873
|
+
if ("name" in data && data.name != undefined) {
|
|
15874
|
+
this.name = data.name;
|
|
15875
|
+
}
|
|
15876
|
+
}
|
|
15877
|
+
}
|
|
15878
|
+
get id() {
|
|
15879
|
+
return pb_1.Message.getFieldWithDefault(this, 1, "");
|
|
15880
|
+
}
|
|
15881
|
+
set id(value) {
|
|
15882
|
+
pb_1.Message.setField(this, 1, value);
|
|
15883
|
+
}
|
|
15884
|
+
get name() {
|
|
15885
|
+
return pb_1.Message.getFieldWithDefault(this, 2, "");
|
|
15886
|
+
}
|
|
15887
|
+
set name(value) {
|
|
15888
|
+
pb_1.Message.setField(this, 2, value);
|
|
15889
|
+
}
|
|
15890
|
+
static fromObject(data) {
|
|
15891
|
+
const message = new Region({});
|
|
15892
|
+
if (data.id != null) {
|
|
15893
|
+
message.id = data.id;
|
|
15894
|
+
}
|
|
15895
|
+
if (data.name != null) {
|
|
15896
|
+
message.name = data.name;
|
|
15897
|
+
}
|
|
15898
|
+
return message;
|
|
15899
|
+
}
|
|
15900
|
+
toObject() {
|
|
15901
|
+
const data = {};
|
|
15902
|
+
if (this.id != null) {
|
|
15903
|
+
data.id = this.id;
|
|
15904
|
+
}
|
|
15905
|
+
if (this.name != null) {
|
|
15906
|
+
data.name = this.name;
|
|
15907
|
+
}
|
|
15908
|
+
return data;
|
|
15909
|
+
}
|
|
15910
|
+
serialize(w) {
|
|
15911
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
15912
|
+
if (this.id.length)
|
|
15913
|
+
writer.writeString(1, this.id);
|
|
15914
|
+
if (this.name.length)
|
|
15915
|
+
writer.writeString(2, this.name);
|
|
15916
|
+
if (!w)
|
|
15917
|
+
return writer.getResultBuffer();
|
|
15918
|
+
}
|
|
15919
|
+
static deserialize(bytes) {
|
|
15920
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new Region();
|
|
15921
|
+
while (reader.nextField()) {
|
|
15922
|
+
if (reader.isEndGroup())
|
|
15923
|
+
break;
|
|
15924
|
+
switch (reader.getFieldNumber()) {
|
|
15925
|
+
case 1:
|
|
15926
|
+
message.id = reader.readString();
|
|
15927
|
+
break;
|
|
15928
|
+
case 2:
|
|
15929
|
+
message.name = reader.readString();
|
|
15930
|
+
break;
|
|
15931
|
+
default: reader.skipField();
|
|
15932
|
+
}
|
|
15933
|
+
}
|
|
15934
|
+
return message;
|
|
15935
|
+
}
|
|
15936
|
+
serializeBinary() {
|
|
15937
|
+
return this.serialize();
|
|
15938
|
+
}
|
|
15939
|
+
static deserializeBinary(bytes) {
|
|
15940
|
+
return Region.deserialize(bytes);
|
|
15941
|
+
}
|
|
15942
|
+
}
|
|
15943
|
+
business.Region = Region;
|
|
15864
15944
|
class StaffAttributionData extends pb_1.Message {
|
|
15865
15945
|
#one_of_decls = [];
|
|
15866
15946
|
constructor(data) {
|
|
@@ -15888,6 +15968,12 @@ var com;
|
|
|
15888
15968
|
if ("role" in data && data.role != undefined) {
|
|
15889
15969
|
this.role = data.role;
|
|
15890
15970
|
}
|
|
15971
|
+
if ("regionId" in data && data.regionId != undefined) {
|
|
15972
|
+
this.regionId = data.regionId;
|
|
15973
|
+
}
|
|
15974
|
+
if ("region" in data && data.region != undefined) {
|
|
15975
|
+
this.region = data.region;
|
|
15976
|
+
}
|
|
15891
15977
|
}
|
|
15892
15978
|
}
|
|
15893
15979
|
get id() {
|
|
@@ -15935,6 +16021,21 @@ var com;
|
|
|
15935
16021
|
get hasRole() {
|
|
15936
16022
|
return pb_1.Message.getField(this, 7) != null;
|
|
15937
16023
|
}
|
|
16024
|
+
get regionId() {
|
|
16025
|
+
return pb_1.Message.getFieldWithDefault(this, 8, "");
|
|
16026
|
+
}
|
|
16027
|
+
set regionId(value) {
|
|
16028
|
+
pb_1.Message.setField(this, 8, value);
|
|
16029
|
+
}
|
|
16030
|
+
get region() {
|
|
16031
|
+
return pb_1.Message.getWrapperField(this, Region, 9);
|
|
16032
|
+
}
|
|
16033
|
+
set region(value) {
|
|
16034
|
+
pb_1.Message.setWrapperField(this, 9, value);
|
|
16035
|
+
}
|
|
16036
|
+
get hasRegion() {
|
|
16037
|
+
return pb_1.Message.getField(this, 9) != null;
|
|
16038
|
+
}
|
|
15938
16039
|
static fromObject(data) {
|
|
15939
16040
|
const message = new StaffAttributionData({});
|
|
15940
16041
|
if (data.id != null) {
|
|
@@ -15958,6 +16059,12 @@ var com;
|
|
|
15958
16059
|
if (data.role != null) {
|
|
15959
16060
|
message.role = Role.fromObject(data.role);
|
|
15960
16061
|
}
|
|
16062
|
+
if (data.regionId != null) {
|
|
16063
|
+
message.regionId = data.regionId;
|
|
16064
|
+
}
|
|
16065
|
+
if (data.region != null) {
|
|
16066
|
+
message.region = Region.fromObject(data.region);
|
|
16067
|
+
}
|
|
15961
16068
|
return message;
|
|
15962
16069
|
}
|
|
15963
16070
|
toObject() {
|
|
@@ -15983,6 +16090,12 @@ var com;
|
|
|
15983
16090
|
if (this.role != null) {
|
|
15984
16091
|
data.role = this.role.toObject();
|
|
15985
16092
|
}
|
|
16093
|
+
if (this.regionId != null) {
|
|
16094
|
+
data.regionId = this.regionId;
|
|
16095
|
+
}
|
|
16096
|
+
if (this.region != null) {
|
|
16097
|
+
data.region = this.region.toObject();
|
|
16098
|
+
}
|
|
15986
16099
|
return data;
|
|
15987
16100
|
}
|
|
15988
16101
|
serialize(w) {
|
|
@@ -16001,6 +16114,10 @@ var com;
|
|
|
16001
16114
|
writer.writeBool(6, this.active);
|
|
16002
16115
|
if (this.hasRole)
|
|
16003
16116
|
writer.writeMessage(7, this.role, () => this.role.serialize(writer));
|
|
16117
|
+
if (this.regionId.length)
|
|
16118
|
+
writer.writeString(8, this.regionId);
|
|
16119
|
+
if (this.hasRegion)
|
|
16120
|
+
writer.writeMessage(9, this.region, () => this.region.serialize(writer));
|
|
16004
16121
|
if (!w)
|
|
16005
16122
|
return writer.getResultBuffer();
|
|
16006
16123
|
}
|
|
@@ -16031,6 +16148,12 @@ var com;
|
|
|
16031
16148
|
case 7:
|
|
16032
16149
|
reader.readMessage(message.role, () => message.role = Role.deserialize(reader));
|
|
16033
16150
|
break;
|
|
16151
|
+
case 8:
|
|
16152
|
+
message.regionId = reader.readString();
|
|
16153
|
+
break;
|
|
16154
|
+
case 9:
|
|
16155
|
+
reader.readMessage(message.region, () => message.region = Region.deserialize(reader));
|
|
16156
|
+
break;
|
|
16034
16157
|
default: reader.skipField();
|
|
16035
16158
|
}
|
|
16036
16159
|
}
|
|
@@ -16101,6 +16224,9 @@ var com;
|
|
|
16101
16224
|
if ("staffAttributed" in data && data.staffAttributed != undefined) {
|
|
16102
16225
|
this.staffAttributed = data.staffAttributed;
|
|
16103
16226
|
}
|
|
16227
|
+
if ("regionId" in data && data.regionId != undefined) {
|
|
16228
|
+
this.regionId = data.regionId;
|
|
16229
|
+
}
|
|
16104
16230
|
}
|
|
16105
16231
|
}
|
|
16106
16232
|
get id() {
|
|
@@ -16208,6 +16334,12 @@ var com;
|
|
|
16208
16334
|
get hasStaffAttributed() {
|
|
16209
16335
|
return pb_1.Message.getField(this, 17) != null;
|
|
16210
16336
|
}
|
|
16337
|
+
get regionId() {
|
|
16338
|
+
return pb_1.Message.getFieldWithDefault(this, 18, "");
|
|
16339
|
+
}
|
|
16340
|
+
set regionId(value) {
|
|
16341
|
+
pb_1.Message.setField(this, 18, value);
|
|
16342
|
+
}
|
|
16211
16343
|
static fromObject(data) {
|
|
16212
16344
|
const message = new MerchantData({});
|
|
16213
16345
|
if (data.id != null) {
|
|
@@ -16261,6 +16393,9 @@ var com;
|
|
|
16261
16393
|
if (data.staffAttributed != null) {
|
|
16262
16394
|
message.staffAttributed = StaffAttributionData.fromObject(data.staffAttributed);
|
|
16263
16395
|
}
|
|
16396
|
+
if (data.regionId != null) {
|
|
16397
|
+
message.regionId = data.regionId;
|
|
16398
|
+
}
|
|
16264
16399
|
return message;
|
|
16265
16400
|
}
|
|
16266
16401
|
toObject() {
|
|
@@ -16316,6 +16451,9 @@ var com;
|
|
|
16316
16451
|
if (this.staffAttributed != null) {
|
|
16317
16452
|
data.staffAttributed = this.staffAttributed.toObject();
|
|
16318
16453
|
}
|
|
16454
|
+
if (this.regionId != null) {
|
|
16455
|
+
data.regionId = this.regionId;
|
|
16456
|
+
}
|
|
16319
16457
|
return data;
|
|
16320
16458
|
}
|
|
16321
16459
|
serialize(w) {
|
|
@@ -16354,6 +16492,8 @@ var com;
|
|
|
16354
16492
|
writer.writeString(16, this.staffAttributedStatus);
|
|
16355
16493
|
if (this.hasStaffAttributed)
|
|
16356
16494
|
writer.writeMessage(17, this.staffAttributed, () => this.staffAttributed.serialize(writer));
|
|
16495
|
+
if (this.regionId.length)
|
|
16496
|
+
writer.writeString(18, this.regionId);
|
|
16357
16497
|
if (!w)
|
|
16358
16498
|
return writer.getResultBuffer();
|
|
16359
16499
|
}
|
|
@@ -16414,6 +16554,9 @@ var com;
|
|
|
16414
16554
|
case 17:
|
|
16415
16555
|
reader.readMessage(message.staffAttributed, () => message.staffAttributed = StaffAttributionData.deserialize(reader));
|
|
16416
16556
|
break;
|
|
16557
|
+
case 18:
|
|
16558
|
+
message.regionId = reader.readString();
|
|
16559
|
+
break;
|
|
16417
16560
|
default: reader.skipField();
|
|
16418
16561
|
}
|
|
16419
16562
|
}
|
|
@@ -17316,6 +17459,329 @@ var com;
|
|
|
17316
17459
|
}
|
|
17317
17460
|
}
|
|
17318
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;
|
|
17319
17785
|
class UnimplementedBusinessService {
|
|
17320
17786
|
static definition = {
|
|
17321
17787
|
CreateBusiness: {
|
|
@@ -17794,6 +18260,15 @@ var com;
|
|
|
17794
18260
|
requestDeserialize: (bytes) => GetByIdRequest.deserialize(new Uint8Array(bytes)),
|
|
17795
18261
|
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
17796
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))
|
|
17797
18272
|
}
|
|
17798
18273
|
};
|
|
17799
18274
|
}
|
|
@@ -18650,6 +19125,22 @@ var com;
|
|
|
18650
19125
|
}
|
|
18651
19126
|
}));
|
|
18652
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
|
+
};
|
|
18653
19144
|
}
|
|
18654
19145
|
business.BusinessClient = BusinessClient;
|
|
18655
19146
|
})(business = pkg.business || (pkg.business = {}));
|
package/package.json
CHANGED
|
@@ -7265,6 +7265,30 @@ export declare namespace com.pkg.business {
|
|
|
7265
7265
|
serializeBinary(): Uint8Array;
|
|
7266
7266
|
static deserializeBinary(bytes: Uint8Array): Role;
|
|
7267
7267
|
}
|
|
7268
|
+
export class Region extends pb_1.Message {
|
|
7269
|
+
#private;
|
|
7270
|
+
constructor(data?: any[] | {
|
|
7271
|
+
id?: string;
|
|
7272
|
+
name?: string;
|
|
7273
|
+
});
|
|
7274
|
+
get id(): string;
|
|
7275
|
+
set id(value: string);
|
|
7276
|
+
get name(): string;
|
|
7277
|
+
set name(value: string);
|
|
7278
|
+
static fromObject(data: {
|
|
7279
|
+
id?: string;
|
|
7280
|
+
name?: string;
|
|
7281
|
+
}): Region;
|
|
7282
|
+
toObject(): {
|
|
7283
|
+
id?: string | undefined;
|
|
7284
|
+
name?: string | undefined;
|
|
7285
|
+
};
|
|
7286
|
+
serialize(): Uint8Array;
|
|
7287
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
7288
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): Region;
|
|
7289
|
+
serializeBinary(): Uint8Array;
|
|
7290
|
+
static deserializeBinary(bytes: Uint8Array): Region;
|
|
7291
|
+
}
|
|
7268
7292
|
export class StaffAttributionData extends pb_1.Message {
|
|
7269
7293
|
#private;
|
|
7270
7294
|
constructor(data?: any[] | {
|
|
@@ -7275,6 +7299,8 @@ export declare namespace com.pkg.business {
|
|
|
7275
7299
|
phone?: string;
|
|
7276
7300
|
active?: boolean;
|
|
7277
7301
|
role?: Role;
|
|
7302
|
+
regionId?: string;
|
|
7303
|
+
region?: Region;
|
|
7278
7304
|
});
|
|
7279
7305
|
get id(): string;
|
|
7280
7306
|
set id(value: string);
|
|
@@ -7291,6 +7317,11 @@ export declare namespace com.pkg.business {
|
|
|
7291
7317
|
get role(): Role;
|
|
7292
7318
|
set role(value: Role);
|
|
7293
7319
|
get hasRole(): boolean;
|
|
7320
|
+
get regionId(): string;
|
|
7321
|
+
set regionId(value: string);
|
|
7322
|
+
get region(): Region;
|
|
7323
|
+
set region(value: Region);
|
|
7324
|
+
get hasRegion(): boolean;
|
|
7294
7325
|
static fromObject(data: {
|
|
7295
7326
|
id?: string;
|
|
7296
7327
|
firstName?: string;
|
|
@@ -7299,6 +7330,8 @@ export declare namespace com.pkg.business {
|
|
|
7299
7330
|
phone?: string;
|
|
7300
7331
|
active?: boolean;
|
|
7301
7332
|
role?: ReturnType<typeof Role.prototype.toObject>;
|
|
7333
|
+
regionId?: string;
|
|
7334
|
+
region?: ReturnType<typeof Region.prototype.toObject>;
|
|
7302
7335
|
}): StaffAttributionData;
|
|
7303
7336
|
toObject(): {
|
|
7304
7337
|
id?: string | undefined;
|
|
@@ -7311,6 +7344,11 @@ export declare namespace com.pkg.business {
|
|
|
7311
7344
|
id?: string | undefined;
|
|
7312
7345
|
name?: string | undefined;
|
|
7313
7346
|
} | undefined;
|
|
7347
|
+
regionId?: string | undefined;
|
|
7348
|
+
region?: {
|
|
7349
|
+
id?: string | undefined;
|
|
7350
|
+
name?: string | undefined;
|
|
7351
|
+
} | undefined;
|
|
7314
7352
|
};
|
|
7315
7353
|
serialize(): Uint8Array;
|
|
7316
7354
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -7338,6 +7376,7 @@ export declare namespace com.pkg.business {
|
|
|
7338
7376
|
staffAttributedLastUpdateDatetime?: string;
|
|
7339
7377
|
staffAttributedStatus?: string;
|
|
7340
7378
|
staffAttributed?: StaffAttributionData;
|
|
7379
|
+
regionId?: string;
|
|
7341
7380
|
});
|
|
7342
7381
|
get id(): string;
|
|
7343
7382
|
set id(value: string);
|
|
@@ -7374,6 +7413,8 @@ export declare namespace com.pkg.business {
|
|
|
7374
7413
|
get staffAttributed(): StaffAttributionData;
|
|
7375
7414
|
set staffAttributed(value: StaffAttributionData);
|
|
7376
7415
|
get hasStaffAttributed(): boolean;
|
|
7416
|
+
get regionId(): string;
|
|
7417
|
+
set regionId(value: string);
|
|
7377
7418
|
static fromObject(data: {
|
|
7378
7419
|
id?: string;
|
|
7379
7420
|
email?: string;
|
|
@@ -7392,6 +7433,7 @@ export declare namespace com.pkg.business {
|
|
|
7392
7433
|
staffAttributedLastUpdateDatetime?: string;
|
|
7393
7434
|
staffAttributedStatus?: string;
|
|
7394
7435
|
staffAttributed?: ReturnType<typeof StaffAttributionData.prototype.toObject>;
|
|
7436
|
+
regionId?: string;
|
|
7395
7437
|
}): MerchantData;
|
|
7396
7438
|
toObject(): {
|
|
7397
7439
|
id?: string | undefined;
|
|
@@ -7421,7 +7463,13 @@ export declare namespace com.pkg.business {
|
|
|
7421
7463
|
id?: string | undefined;
|
|
7422
7464
|
name?: string | undefined;
|
|
7423
7465
|
} | undefined;
|
|
7466
|
+
regionId?: string | undefined;
|
|
7467
|
+
region?: {
|
|
7468
|
+
id?: string | undefined;
|
|
7469
|
+
name?: string | undefined;
|
|
7470
|
+
} | undefined;
|
|
7424
7471
|
} | undefined;
|
|
7472
|
+
regionId?: string | undefined;
|
|
7425
7473
|
};
|
|
7426
7474
|
serialize(): Uint8Array;
|
|
7427
7475
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -7491,7 +7539,13 @@ export declare namespace com.pkg.business {
|
|
|
7491
7539
|
id?: string | undefined;
|
|
7492
7540
|
name?: string | undefined;
|
|
7493
7541
|
} | undefined;
|
|
7542
|
+
regionId?: string | undefined;
|
|
7543
|
+
region?: {
|
|
7544
|
+
id?: string | undefined;
|
|
7545
|
+
name?: string | undefined;
|
|
7546
|
+
} | undefined;
|
|
7494
7547
|
} | undefined;
|
|
7548
|
+
regionId?: string | undefined;
|
|
7495
7549
|
} | undefined;
|
|
7496
7550
|
error?: string | undefined;
|
|
7497
7551
|
message?: string | undefined;
|
|
@@ -7572,7 +7626,13 @@ export declare namespace com.pkg.business {
|
|
|
7572
7626
|
id?: string | undefined;
|
|
7573
7627
|
name?: string | undefined;
|
|
7574
7628
|
} | undefined;
|
|
7629
|
+
regionId?: string | undefined;
|
|
7630
|
+
region?: {
|
|
7631
|
+
id?: string | undefined;
|
|
7632
|
+
name?: string | undefined;
|
|
7633
|
+
} | undefined;
|
|
7575
7634
|
} | undefined;
|
|
7635
|
+
regionId?: string | undefined;
|
|
7576
7636
|
}[] | undefined;
|
|
7577
7637
|
error?: string | undefined;
|
|
7578
7638
|
message?: string | undefined;
|
|
@@ -7759,6 +7819,139 @@ export declare namespace com.pkg.business {
|
|
|
7759
7819
|
serializeBinary(): Uint8Array;
|
|
7760
7820
|
static deserializeBinary(bytes: Uint8Array): OrphanMerchantsResponse;
|
|
7761
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
|
+
}
|
|
7762
7955
|
interface GrpcPromiseServiceInterface<P, R> {
|
|
7763
7956
|
(message: P, metadata: grpc_1.Metadata, options?: grpc_1.CallOptions): Promise<R>;
|
|
7764
7957
|
(message: P, options?: grpc_1.CallOptions): Promise<R>;
|
|
@@ -8242,6 +8435,15 @@ export declare namespace com.pkg.business {
|
|
|
8242
8435
|
responseSerialize: (message: OrphanMerchantsResponse) => Buffer;
|
|
8243
8436
|
responseDeserialize: (bytes: Buffer) => OrphanMerchantsResponse;
|
|
8244
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
|
+
};
|
|
8245
8447
|
};
|
|
8246
8448
|
[method: string]: grpc_1.UntypedHandleCall;
|
|
8247
8449
|
abstract CreateBusiness(call: grpc_1.ServerUnaryCall<CreateBusinessRequest, BusinessDataResponse>, callback: grpc_1.sendUnaryData<BusinessDataResponse>): void;
|
|
@@ -8297,6 +8499,7 @@ export declare namespace com.pkg.business {
|
|
|
8297
8499
|
abstract ReassignAttributionStaff(call: grpc_1.ServerUnaryCall<AssignAttributionStaffRequest, DefaultResponse>, callback: grpc_1.sendUnaryData<DefaultResponse>): void;
|
|
8298
8500
|
abstract GetMerchantsByAttributionStaff(call: grpc_1.ServerUnaryCall<GetByIdRequest, MMerchantDataResponse>, callback: grpc_1.sendUnaryData<MMerchantDataResponse>): void;
|
|
8299
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;
|
|
8300
8503
|
}
|
|
8301
8504
|
const BusinessClient_base: grpc_1.ServiceClientConstructor;
|
|
8302
8505
|
export class BusinessClient extends BusinessClient_base {
|
|
@@ -8354,6 +8557,7 @@ export declare namespace com.pkg.business {
|
|
|
8354
8557
|
ReassignAttributionStaff: GrpcPromiseServiceInterface<AssignAttributionStaffRequest, DefaultResponse>;
|
|
8355
8558
|
GetMerchantsByAttributionStaff: GrpcPromiseServiceInterface<GetByIdRequest, MMerchantDataResponse>;
|
|
8356
8559
|
OrphanMerchants: GrpcPromiseServiceInterface<GetByIdRequest, OrphanMerchantsResponse>;
|
|
8560
|
+
GetOrphanedMerchants: GrpcPromiseServiceInterface<GetOrphanedMerchantRequest, GetOrphanedMerchantsResponse>;
|
|
8357
8561
|
}
|
|
8358
8562
|
export {};
|
|
8359
8563
|
}
|