@technova-tech/olive-proto-lib 1.9.5 → 1.9.7
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/admin/admin.js +1949 -233
- package/package.json +1 -1
- package/pos.v1/terminals.js +1085 -247
- package/types/admin/admin.d.ts +540 -0
- package/types/pos.v1/terminals.d.ts +278 -0
package/types/admin/admin.d.ts
CHANGED
|
@@ -672,6 +672,7 @@ export declare namespace com.pkg.admin {
|
|
|
672
672
|
role?: Role;
|
|
673
673
|
status?: string;
|
|
674
674
|
phone?: string;
|
|
675
|
+
mfbId?: string;
|
|
675
676
|
});
|
|
676
677
|
get id(): string;
|
|
677
678
|
set id(value: string);
|
|
@@ -688,6 +689,8 @@ export declare namespace com.pkg.admin {
|
|
|
688
689
|
set status(value: string);
|
|
689
690
|
get phone(): string;
|
|
690
691
|
set phone(value: string);
|
|
692
|
+
get mfbId(): string;
|
|
693
|
+
set mfbId(value: string);
|
|
691
694
|
static fromObject(data: {
|
|
692
695
|
id?: string;
|
|
693
696
|
email?: string;
|
|
@@ -696,6 +699,7 @@ export declare namespace com.pkg.admin {
|
|
|
696
699
|
role?: ReturnType<typeof Role.prototype.toObject>;
|
|
697
700
|
status?: string;
|
|
698
701
|
phone?: string;
|
|
702
|
+
mfbId?: string;
|
|
699
703
|
}): Admin;
|
|
700
704
|
toObject(): {
|
|
701
705
|
id?: string | undefined;
|
|
@@ -716,6 +720,7 @@ export declare namespace com.pkg.admin {
|
|
|
716
720
|
} | undefined;
|
|
717
721
|
status?: string | undefined;
|
|
718
722
|
phone?: string | undefined;
|
|
723
|
+
mfbId?: string | undefined;
|
|
719
724
|
};
|
|
720
725
|
serialize(): Uint8Array;
|
|
721
726
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -781,6 +786,7 @@ export declare namespace com.pkg.admin {
|
|
|
781
786
|
} | undefined;
|
|
782
787
|
status?: string | undefined;
|
|
783
788
|
phone?: string | undefined;
|
|
789
|
+
mfbId?: string | undefined;
|
|
784
790
|
} | undefined;
|
|
785
791
|
error?: string | undefined;
|
|
786
792
|
};
|
|
@@ -891,6 +897,7 @@ export declare namespace com.pkg.admin {
|
|
|
891
897
|
} | undefined;
|
|
892
898
|
status?: string | undefined;
|
|
893
899
|
phone?: string | undefined;
|
|
900
|
+
mfbId?: string | undefined;
|
|
894
901
|
}[] | undefined;
|
|
895
902
|
error?: string | undefined;
|
|
896
903
|
pagination?: {
|
|
@@ -917,6 +924,7 @@ export declare namespace com.pkg.admin {
|
|
|
917
924
|
middleName?: string;
|
|
918
925
|
phone?: string;
|
|
919
926
|
roleId?: string;
|
|
927
|
+
mfbId?: string;
|
|
920
928
|
});
|
|
921
929
|
get adminId(): string;
|
|
922
930
|
set adminId(value: string);
|
|
@@ -932,6 +940,8 @@ export declare namespace com.pkg.admin {
|
|
|
932
940
|
set phone(value: string);
|
|
933
941
|
get roleId(): string;
|
|
934
942
|
set roleId(value: string);
|
|
943
|
+
get mfbId(): string;
|
|
944
|
+
set mfbId(value: string);
|
|
935
945
|
static fromObject(data: {
|
|
936
946
|
adminId?: string;
|
|
937
947
|
email?: string;
|
|
@@ -940,6 +950,7 @@ export declare namespace com.pkg.admin {
|
|
|
940
950
|
middleName?: string;
|
|
941
951
|
phone?: string;
|
|
942
952
|
roleId?: string;
|
|
953
|
+
mfbId?: string;
|
|
943
954
|
}): InviteAdminRequest;
|
|
944
955
|
toObject(): {
|
|
945
956
|
adminId?: string | undefined;
|
|
@@ -949,6 +960,7 @@ export declare namespace com.pkg.admin {
|
|
|
949
960
|
middleName?: string | undefined;
|
|
950
961
|
phone?: string | undefined;
|
|
951
962
|
roleId?: string | undefined;
|
|
963
|
+
mfbId?: string | undefined;
|
|
952
964
|
};
|
|
953
965
|
serialize(): Uint8Array;
|
|
954
966
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -1107,6 +1119,7 @@ export declare namespace com.pkg.admin {
|
|
|
1107
1119
|
} | undefined;
|
|
1108
1120
|
status?: string | undefined;
|
|
1109
1121
|
phone?: string | undefined;
|
|
1122
|
+
mfbId?: string | undefined;
|
|
1110
1123
|
} | undefined;
|
|
1111
1124
|
} | undefined;
|
|
1112
1125
|
error?: string | undefined;
|
|
@@ -1154,6 +1167,7 @@ export declare namespace com.pkg.admin {
|
|
|
1154
1167
|
} | undefined;
|
|
1155
1168
|
status?: string | undefined;
|
|
1156
1169
|
phone?: string | undefined;
|
|
1170
|
+
mfbId?: string | undefined;
|
|
1157
1171
|
} | undefined;
|
|
1158
1172
|
};
|
|
1159
1173
|
serialize(): Uint8Array;
|
|
@@ -1313,6 +1327,7 @@ export declare namespace com.pkg.admin {
|
|
|
1313
1327
|
} | undefined;
|
|
1314
1328
|
status?: string | undefined;
|
|
1315
1329
|
phone?: string | undefined;
|
|
1330
|
+
mfbId?: string | undefined;
|
|
1316
1331
|
} | undefined;
|
|
1317
1332
|
metadata?: {
|
|
1318
1333
|
[key: string]: string;
|
|
@@ -1464,6 +1479,7 @@ export declare namespace com.pkg.admin {
|
|
|
1464
1479
|
} | undefined;
|
|
1465
1480
|
status?: string | undefined;
|
|
1466
1481
|
phone?: string | undefined;
|
|
1482
|
+
mfbId?: string | undefined;
|
|
1467
1483
|
} | undefined;
|
|
1468
1484
|
metadata?: {
|
|
1469
1485
|
[key: string]: string;
|
|
@@ -1487,6 +1503,464 @@ export declare namespace com.pkg.admin {
|
|
|
1487
1503
|
serializeBinary(): Uint8Array;
|
|
1488
1504
|
static deserializeBinary(bytes: Uint8Array): MultipleAuditLogResponse;
|
|
1489
1505
|
}
|
|
1506
|
+
export class MfbData extends pb_1.Message {
|
|
1507
|
+
#private;
|
|
1508
|
+
constructor(data?: any[] | {
|
|
1509
|
+
id?: string;
|
|
1510
|
+
name?: string;
|
|
1511
|
+
contactEmail?: string;
|
|
1512
|
+
contactPhone?: string;
|
|
1513
|
+
address?: string;
|
|
1514
|
+
cbnLicenseNumber?: string;
|
|
1515
|
+
licenseType?: string;
|
|
1516
|
+
licenseExpiryDate?: string;
|
|
1517
|
+
settlementAccount?: string;
|
|
1518
|
+
bankName?: string;
|
|
1519
|
+
brandingLogo?: string;
|
|
1520
|
+
brandingPrimaryColor?: string;
|
|
1521
|
+
status?: string;
|
|
1522
|
+
contractReference?: string;
|
|
1523
|
+
createdAt?: string;
|
|
1524
|
+
});
|
|
1525
|
+
get id(): string;
|
|
1526
|
+
set id(value: string);
|
|
1527
|
+
get name(): string;
|
|
1528
|
+
set name(value: string);
|
|
1529
|
+
get contactEmail(): string;
|
|
1530
|
+
set contactEmail(value: string);
|
|
1531
|
+
get contactPhone(): string;
|
|
1532
|
+
set contactPhone(value: string);
|
|
1533
|
+
get address(): string;
|
|
1534
|
+
set address(value: string);
|
|
1535
|
+
get cbnLicenseNumber(): string;
|
|
1536
|
+
set cbnLicenseNumber(value: string);
|
|
1537
|
+
get licenseType(): string;
|
|
1538
|
+
set licenseType(value: string);
|
|
1539
|
+
get licenseExpiryDate(): string;
|
|
1540
|
+
set licenseExpiryDate(value: string);
|
|
1541
|
+
get settlementAccount(): string;
|
|
1542
|
+
set settlementAccount(value: string);
|
|
1543
|
+
get bankName(): string;
|
|
1544
|
+
set bankName(value: string);
|
|
1545
|
+
get brandingLogo(): string;
|
|
1546
|
+
set brandingLogo(value: string);
|
|
1547
|
+
get brandingPrimaryColor(): string;
|
|
1548
|
+
set brandingPrimaryColor(value: string);
|
|
1549
|
+
get status(): string;
|
|
1550
|
+
set status(value: string);
|
|
1551
|
+
get contractReference(): string;
|
|
1552
|
+
set contractReference(value: string);
|
|
1553
|
+
get createdAt(): string;
|
|
1554
|
+
set createdAt(value: string);
|
|
1555
|
+
static fromObject(data: {
|
|
1556
|
+
id?: string;
|
|
1557
|
+
name?: string;
|
|
1558
|
+
contactEmail?: string;
|
|
1559
|
+
contactPhone?: string;
|
|
1560
|
+
address?: string;
|
|
1561
|
+
cbnLicenseNumber?: string;
|
|
1562
|
+
licenseType?: string;
|
|
1563
|
+
licenseExpiryDate?: string;
|
|
1564
|
+
settlementAccount?: string;
|
|
1565
|
+
bankName?: string;
|
|
1566
|
+
brandingLogo?: string;
|
|
1567
|
+
brandingPrimaryColor?: string;
|
|
1568
|
+
status?: string;
|
|
1569
|
+
contractReference?: string;
|
|
1570
|
+
createdAt?: string;
|
|
1571
|
+
}): MfbData;
|
|
1572
|
+
toObject(): {
|
|
1573
|
+
id?: string | undefined;
|
|
1574
|
+
name?: string | undefined;
|
|
1575
|
+
contactEmail?: string | undefined;
|
|
1576
|
+
contactPhone?: string | undefined;
|
|
1577
|
+
address?: string | undefined;
|
|
1578
|
+
cbnLicenseNumber?: string | undefined;
|
|
1579
|
+
licenseType?: string | undefined;
|
|
1580
|
+
licenseExpiryDate?: string | undefined;
|
|
1581
|
+
settlementAccount?: string | undefined;
|
|
1582
|
+
bankName?: string | undefined;
|
|
1583
|
+
brandingLogo?: string | undefined;
|
|
1584
|
+
brandingPrimaryColor?: string | undefined;
|
|
1585
|
+
status?: string | undefined;
|
|
1586
|
+
contractReference?: string | undefined;
|
|
1587
|
+
createdAt?: string | undefined;
|
|
1588
|
+
};
|
|
1589
|
+
serialize(): Uint8Array;
|
|
1590
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1591
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): MfbData;
|
|
1592
|
+
serializeBinary(): Uint8Array;
|
|
1593
|
+
static deserializeBinary(bytes: Uint8Array): MfbData;
|
|
1594
|
+
}
|
|
1595
|
+
export class MfbResponse extends pb_1.Message {
|
|
1596
|
+
#private;
|
|
1597
|
+
constructor(data?: any[] | {
|
|
1598
|
+
success?: boolean;
|
|
1599
|
+
status?: string;
|
|
1600
|
+
message?: string;
|
|
1601
|
+
errors?: ValidationErrors[];
|
|
1602
|
+
data?: MfbData;
|
|
1603
|
+
error?: string;
|
|
1604
|
+
});
|
|
1605
|
+
get success(): boolean;
|
|
1606
|
+
set success(value: boolean);
|
|
1607
|
+
get status(): string;
|
|
1608
|
+
set status(value: string);
|
|
1609
|
+
get message(): string;
|
|
1610
|
+
set message(value: string);
|
|
1611
|
+
get errors(): ValidationErrors[];
|
|
1612
|
+
set errors(value: ValidationErrors[]);
|
|
1613
|
+
get data(): MfbData;
|
|
1614
|
+
set data(value: MfbData);
|
|
1615
|
+
get hasData(): boolean;
|
|
1616
|
+
get error(): string;
|
|
1617
|
+
set error(value: string);
|
|
1618
|
+
static fromObject(data: {
|
|
1619
|
+
success?: boolean;
|
|
1620
|
+
status?: string;
|
|
1621
|
+
message?: string;
|
|
1622
|
+
errors?: ReturnType<typeof ValidationErrors.prototype.toObject>[];
|
|
1623
|
+
data?: ReturnType<typeof MfbData.prototype.toObject>;
|
|
1624
|
+
error?: string;
|
|
1625
|
+
}): MfbResponse;
|
|
1626
|
+
toObject(): {
|
|
1627
|
+
success?: boolean | undefined;
|
|
1628
|
+
status?: string | undefined;
|
|
1629
|
+
message?: string | undefined;
|
|
1630
|
+
errors?: {
|
|
1631
|
+
field?: string | undefined;
|
|
1632
|
+
message?: string | undefined;
|
|
1633
|
+
}[] | undefined;
|
|
1634
|
+
data?: {
|
|
1635
|
+
id?: string | undefined;
|
|
1636
|
+
name?: string | undefined;
|
|
1637
|
+
contactEmail?: string | undefined;
|
|
1638
|
+
contactPhone?: string | undefined;
|
|
1639
|
+
address?: string | undefined;
|
|
1640
|
+
cbnLicenseNumber?: string | undefined;
|
|
1641
|
+
licenseType?: string | undefined;
|
|
1642
|
+
licenseExpiryDate?: string | undefined;
|
|
1643
|
+
settlementAccount?: string | undefined;
|
|
1644
|
+
bankName?: string | undefined;
|
|
1645
|
+
brandingLogo?: string | undefined;
|
|
1646
|
+
brandingPrimaryColor?: string | undefined;
|
|
1647
|
+
status?: string | undefined;
|
|
1648
|
+
contractReference?: string | undefined;
|
|
1649
|
+
createdAt?: string | undefined;
|
|
1650
|
+
} | undefined;
|
|
1651
|
+
error?: string | undefined;
|
|
1652
|
+
};
|
|
1653
|
+
serialize(): Uint8Array;
|
|
1654
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1655
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): MfbResponse;
|
|
1656
|
+
serializeBinary(): Uint8Array;
|
|
1657
|
+
static deserializeBinary(bytes: Uint8Array): MfbResponse;
|
|
1658
|
+
}
|
|
1659
|
+
export class MfbsResponse extends pb_1.Message {
|
|
1660
|
+
#private;
|
|
1661
|
+
constructor(data?: any[] | {
|
|
1662
|
+
success?: boolean;
|
|
1663
|
+
status?: string;
|
|
1664
|
+
message?: string;
|
|
1665
|
+
errors?: ValidationErrors[];
|
|
1666
|
+
data?: MfbData[];
|
|
1667
|
+
error?: string;
|
|
1668
|
+
pagination?: Pagination;
|
|
1669
|
+
});
|
|
1670
|
+
get success(): boolean;
|
|
1671
|
+
set success(value: boolean);
|
|
1672
|
+
get status(): string;
|
|
1673
|
+
set status(value: string);
|
|
1674
|
+
get message(): string;
|
|
1675
|
+
set message(value: string);
|
|
1676
|
+
get errors(): ValidationErrors[];
|
|
1677
|
+
set errors(value: ValidationErrors[]);
|
|
1678
|
+
get data(): MfbData[];
|
|
1679
|
+
set data(value: MfbData[]);
|
|
1680
|
+
get error(): string;
|
|
1681
|
+
set error(value: string);
|
|
1682
|
+
get pagination(): Pagination;
|
|
1683
|
+
set pagination(value: Pagination);
|
|
1684
|
+
get hasPagination(): boolean;
|
|
1685
|
+
static fromObject(data: {
|
|
1686
|
+
success?: boolean;
|
|
1687
|
+
status?: string;
|
|
1688
|
+
message?: string;
|
|
1689
|
+
errors?: ReturnType<typeof ValidationErrors.prototype.toObject>[];
|
|
1690
|
+
data?: ReturnType<typeof MfbData.prototype.toObject>[];
|
|
1691
|
+
error?: string;
|
|
1692
|
+
pagination?: ReturnType<typeof Pagination.prototype.toObject>;
|
|
1693
|
+
}): MfbsResponse;
|
|
1694
|
+
toObject(): {
|
|
1695
|
+
success?: boolean | undefined;
|
|
1696
|
+
status?: string | undefined;
|
|
1697
|
+
message?: string | undefined;
|
|
1698
|
+
errors?: {
|
|
1699
|
+
field?: string | undefined;
|
|
1700
|
+
message?: string | undefined;
|
|
1701
|
+
}[] | undefined;
|
|
1702
|
+
data?: {
|
|
1703
|
+
id?: string | undefined;
|
|
1704
|
+
name?: string | undefined;
|
|
1705
|
+
contactEmail?: string | undefined;
|
|
1706
|
+
contactPhone?: string | undefined;
|
|
1707
|
+
address?: string | undefined;
|
|
1708
|
+
cbnLicenseNumber?: string | undefined;
|
|
1709
|
+
licenseType?: string | undefined;
|
|
1710
|
+
licenseExpiryDate?: string | undefined;
|
|
1711
|
+
settlementAccount?: string | undefined;
|
|
1712
|
+
bankName?: string | undefined;
|
|
1713
|
+
brandingLogo?: string | undefined;
|
|
1714
|
+
brandingPrimaryColor?: string | undefined;
|
|
1715
|
+
status?: string | undefined;
|
|
1716
|
+
contractReference?: string | undefined;
|
|
1717
|
+
createdAt?: string | undefined;
|
|
1718
|
+
}[] | undefined;
|
|
1719
|
+
error?: string | undefined;
|
|
1720
|
+
pagination?: {
|
|
1721
|
+
page?: number | undefined;
|
|
1722
|
+
limit?: number | undefined;
|
|
1723
|
+
total?: number | undefined;
|
|
1724
|
+
hasNext?: boolean | undefined;
|
|
1725
|
+
hasPrev?: boolean | undefined;
|
|
1726
|
+
} | undefined;
|
|
1727
|
+
};
|
|
1728
|
+
serialize(): Uint8Array;
|
|
1729
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1730
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): MfbsResponse;
|
|
1731
|
+
serializeBinary(): Uint8Array;
|
|
1732
|
+
static deserializeBinary(bytes: Uint8Array): MfbsResponse;
|
|
1733
|
+
}
|
|
1734
|
+
export class CreateMfbRequest extends pb_1.Message {
|
|
1735
|
+
#private;
|
|
1736
|
+
constructor(data?: any[] | {
|
|
1737
|
+
name?: string;
|
|
1738
|
+
contactEmail?: string;
|
|
1739
|
+
contactPhone?: string;
|
|
1740
|
+
address?: string;
|
|
1741
|
+
cbnLicenseNumber?: string;
|
|
1742
|
+
licenseType?: string;
|
|
1743
|
+
licenseExpiryDate?: string;
|
|
1744
|
+
settlementAccount?: string;
|
|
1745
|
+
bankName?: string;
|
|
1746
|
+
brandingLogo?: string;
|
|
1747
|
+
brandingPrimaryColor?: string;
|
|
1748
|
+
contractReference?: string;
|
|
1749
|
+
});
|
|
1750
|
+
get name(): string;
|
|
1751
|
+
set name(value: string);
|
|
1752
|
+
get contactEmail(): string;
|
|
1753
|
+
set contactEmail(value: string);
|
|
1754
|
+
get contactPhone(): string;
|
|
1755
|
+
set contactPhone(value: string);
|
|
1756
|
+
get address(): string;
|
|
1757
|
+
set address(value: string);
|
|
1758
|
+
get cbnLicenseNumber(): string;
|
|
1759
|
+
set cbnLicenseNumber(value: string);
|
|
1760
|
+
get licenseType(): string;
|
|
1761
|
+
set licenseType(value: string);
|
|
1762
|
+
get licenseExpiryDate(): string;
|
|
1763
|
+
set licenseExpiryDate(value: string);
|
|
1764
|
+
get settlementAccount(): string;
|
|
1765
|
+
set settlementAccount(value: string);
|
|
1766
|
+
get bankName(): string;
|
|
1767
|
+
set bankName(value: string);
|
|
1768
|
+
get brandingLogo(): string;
|
|
1769
|
+
set brandingLogo(value: string);
|
|
1770
|
+
get brandingPrimaryColor(): string;
|
|
1771
|
+
set brandingPrimaryColor(value: string);
|
|
1772
|
+
get contractReference(): string;
|
|
1773
|
+
set contractReference(value: string);
|
|
1774
|
+
static fromObject(data: {
|
|
1775
|
+
name?: string;
|
|
1776
|
+
contactEmail?: string;
|
|
1777
|
+
contactPhone?: string;
|
|
1778
|
+
address?: string;
|
|
1779
|
+
cbnLicenseNumber?: string;
|
|
1780
|
+
licenseType?: string;
|
|
1781
|
+
licenseExpiryDate?: string;
|
|
1782
|
+
settlementAccount?: string;
|
|
1783
|
+
bankName?: string;
|
|
1784
|
+
brandingLogo?: string;
|
|
1785
|
+
brandingPrimaryColor?: string;
|
|
1786
|
+
contractReference?: string;
|
|
1787
|
+
}): CreateMfbRequest;
|
|
1788
|
+
toObject(): {
|
|
1789
|
+
name?: string | undefined;
|
|
1790
|
+
contactEmail?: string | undefined;
|
|
1791
|
+
contactPhone?: string | undefined;
|
|
1792
|
+
address?: string | undefined;
|
|
1793
|
+
cbnLicenseNumber?: string | undefined;
|
|
1794
|
+
licenseType?: string | undefined;
|
|
1795
|
+
licenseExpiryDate?: string | undefined;
|
|
1796
|
+
settlementAccount?: string | undefined;
|
|
1797
|
+
bankName?: string | undefined;
|
|
1798
|
+
brandingLogo?: string | undefined;
|
|
1799
|
+
brandingPrimaryColor?: string | undefined;
|
|
1800
|
+
contractReference?: string | undefined;
|
|
1801
|
+
};
|
|
1802
|
+
serialize(): Uint8Array;
|
|
1803
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1804
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): CreateMfbRequest;
|
|
1805
|
+
serializeBinary(): Uint8Array;
|
|
1806
|
+
static deserializeBinary(bytes: Uint8Array): CreateMfbRequest;
|
|
1807
|
+
}
|
|
1808
|
+
export class UpdateMfbRequest extends pb_1.Message {
|
|
1809
|
+
#private;
|
|
1810
|
+
constructor(data?: any[] | {
|
|
1811
|
+
id?: string;
|
|
1812
|
+
name?: string;
|
|
1813
|
+
contactEmail?: string;
|
|
1814
|
+
contactPhone?: string;
|
|
1815
|
+
address?: string;
|
|
1816
|
+
cbnLicenseNumber?: string;
|
|
1817
|
+
licenseType?: string;
|
|
1818
|
+
licenseExpiryDate?: string;
|
|
1819
|
+
settlementAccount?: string;
|
|
1820
|
+
bankName?: string;
|
|
1821
|
+
brandingLogo?: string;
|
|
1822
|
+
brandingPrimaryColor?: string;
|
|
1823
|
+
contractReference?: string;
|
|
1824
|
+
});
|
|
1825
|
+
get id(): string;
|
|
1826
|
+
set id(value: string);
|
|
1827
|
+
get name(): string;
|
|
1828
|
+
set name(value: string);
|
|
1829
|
+
get contactEmail(): string;
|
|
1830
|
+
set contactEmail(value: string);
|
|
1831
|
+
get contactPhone(): string;
|
|
1832
|
+
set contactPhone(value: string);
|
|
1833
|
+
get address(): string;
|
|
1834
|
+
set address(value: string);
|
|
1835
|
+
get cbnLicenseNumber(): string;
|
|
1836
|
+
set cbnLicenseNumber(value: string);
|
|
1837
|
+
get licenseType(): string;
|
|
1838
|
+
set licenseType(value: string);
|
|
1839
|
+
get licenseExpiryDate(): string;
|
|
1840
|
+
set licenseExpiryDate(value: string);
|
|
1841
|
+
get settlementAccount(): string;
|
|
1842
|
+
set settlementAccount(value: string);
|
|
1843
|
+
get bankName(): string;
|
|
1844
|
+
set bankName(value: string);
|
|
1845
|
+
get brandingLogo(): string;
|
|
1846
|
+
set brandingLogo(value: string);
|
|
1847
|
+
get brandingPrimaryColor(): string;
|
|
1848
|
+
set brandingPrimaryColor(value: string);
|
|
1849
|
+
get contractReference(): string;
|
|
1850
|
+
set contractReference(value: string);
|
|
1851
|
+
static fromObject(data: {
|
|
1852
|
+
id?: string;
|
|
1853
|
+
name?: string;
|
|
1854
|
+
contactEmail?: string;
|
|
1855
|
+
contactPhone?: string;
|
|
1856
|
+
address?: string;
|
|
1857
|
+
cbnLicenseNumber?: string;
|
|
1858
|
+
licenseType?: string;
|
|
1859
|
+
licenseExpiryDate?: string;
|
|
1860
|
+
settlementAccount?: string;
|
|
1861
|
+
bankName?: string;
|
|
1862
|
+
brandingLogo?: string;
|
|
1863
|
+
brandingPrimaryColor?: string;
|
|
1864
|
+
contractReference?: string;
|
|
1865
|
+
}): UpdateMfbRequest;
|
|
1866
|
+
toObject(): {
|
|
1867
|
+
id?: string | undefined;
|
|
1868
|
+
name?: string | undefined;
|
|
1869
|
+
contactEmail?: string | undefined;
|
|
1870
|
+
contactPhone?: string | undefined;
|
|
1871
|
+
address?: string | undefined;
|
|
1872
|
+
cbnLicenseNumber?: string | undefined;
|
|
1873
|
+
licenseType?: string | undefined;
|
|
1874
|
+
licenseExpiryDate?: string | undefined;
|
|
1875
|
+
settlementAccount?: string | undefined;
|
|
1876
|
+
bankName?: string | undefined;
|
|
1877
|
+
brandingLogo?: string | undefined;
|
|
1878
|
+
brandingPrimaryColor?: string | undefined;
|
|
1879
|
+
contractReference?: string | undefined;
|
|
1880
|
+
};
|
|
1881
|
+
serialize(): Uint8Array;
|
|
1882
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1883
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): UpdateMfbRequest;
|
|
1884
|
+
serializeBinary(): Uint8Array;
|
|
1885
|
+
static deserializeBinary(bytes: Uint8Array): UpdateMfbRequest;
|
|
1886
|
+
}
|
|
1887
|
+
export class GetMfbRequest extends pb_1.Message {
|
|
1888
|
+
#private;
|
|
1889
|
+
constructor(data?: any[] | {
|
|
1890
|
+
id?: string;
|
|
1891
|
+
});
|
|
1892
|
+
get id(): string;
|
|
1893
|
+
set id(value: string);
|
|
1894
|
+
static fromObject(data: {
|
|
1895
|
+
id?: string;
|
|
1896
|
+
}): GetMfbRequest;
|
|
1897
|
+
toObject(): {
|
|
1898
|
+
id?: string | undefined;
|
|
1899
|
+
};
|
|
1900
|
+
serialize(): Uint8Array;
|
|
1901
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1902
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): GetMfbRequest;
|
|
1903
|
+
serializeBinary(): Uint8Array;
|
|
1904
|
+
static deserializeBinary(bytes: Uint8Array): GetMfbRequest;
|
|
1905
|
+
}
|
|
1906
|
+
export class GetMfbsRequest extends pb_1.Message {
|
|
1907
|
+
#private;
|
|
1908
|
+
constructor(data?: any[] | {
|
|
1909
|
+
page?: number;
|
|
1910
|
+
limit?: number;
|
|
1911
|
+
searchQuery?: string;
|
|
1912
|
+
status?: string;
|
|
1913
|
+
});
|
|
1914
|
+
get page(): number;
|
|
1915
|
+
set page(value: number);
|
|
1916
|
+
get limit(): number;
|
|
1917
|
+
set limit(value: number);
|
|
1918
|
+
get searchQuery(): string;
|
|
1919
|
+
set searchQuery(value: string);
|
|
1920
|
+
get status(): string;
|
|
1921
|
+
set status(value: string);
|
|
1922
|
+
static fromObject(data: {
|
|
1923
|
+
page?: number;
|
|
1924
|
+
limit?: number;
|
|
1925
|
+
searchQuery?: string;
|
|
1926
|
+
status?: string;
|
|
1927
|
+
}): GetMfbsRequest;
|
|
1928
|
+
toObject(): {
|
|
1929
|
+
page?: number | undefined;
|
|
1930
|
+
limit?: number | undefined;
|
|
1931
|
+
searchQuery?: string | undefined;
|
|
1932
|
+
status?: string | undefined;
|
|
1933
|
+
};
|
|
1934
|
+
serialize(): Uint8Array;
|
|
1935
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1936
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): GetMfbsRequest;
|
|
1937
|
+
serializeBinary(): Uint8Array;
|
|
1938
|
+
static deserializeBinary(bytes: Uint8Array): GetMfbsRequest;
|
|
1939
|
+
}
|
|
1940
|
+
export class UpdateMfbStatusRequest extends pb_1.Message {
|
|
1941
|
+
#private;
|
|
1942
|
+
constructor(data?: any[] | {
|
|
1943
|
+
id?: string;
|
|
1944
|
+
status?: string;
|
|
1945
|
+
});
|
|
1946
|
+
get id(): string;
|
|
1947
|
+
set id(value: string);
|
|
1948
|
+
get status(): string;
|
|
1949
|
+
set status(value: string);
|
|
1950
|
+
static fromObject(data: {
|
|
1951
|
+
id?: string;
|
|
1952
|
+
status?: string;
|
|
1953
|
+
}): UpdateMfbStatusRequest;
|
|
1954
|
+
toObject(): {
|
|
1955
|
+
id?: string | undefined;
|
|
1956
|
+
status?: string | undefined;
|
|
1957
|
+
};
|
|
1958
|
+
serialize(): Uint8Array;
|
|
1959
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1960
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): UpdateMfbStatusRequest;
|
|
1961
|
+
serializeBinary(): Uint8Array;
|
|
1962
|
+
static deserializeBinary(bytes: Uint8Array): UpdateMfbStatusRequest;
|
|
1963
|
+
}
|
|
1490
1964
|
interface GrpcPromiseServiceInterface<P, R> {
|
|
1491
1965
|
(message: P, metadata: grpc_1.Metadata, options?: grpc_1.CallOptions): Promise<R>;
|
|
1492
1966
|
(message: P, options?: grpc_1.CallOptions): Promise<R>;
|
|
@@ -1700,6 +2174,60 @@ export declare namespace com.pkg.admin {
|
|
|
1700
2174
|
responseSerialize: (message: MultipleAuditLogResponse) => Buffer;
|
|
1701
2175
|
responseDeserialize: (bytes: Buffer) => MultipleAuditLogResponse;
|
|
1702
2176
|
};
|
|
2177
|
+
CreateMfb: {
|
|
2178
|
+
path: string;
|
|
2179
|
+
requestStream: boolean;
|
|
2180
|
+
responseStream: boolean;
|
|
2181
|
+
requestSerialize: (message: CreateMfbRequest) => Buffer;
|
|
2182
|
+
requestDeserialize: (bytes: Buffer) => CreateMfbRequest;
|
|
2183
|
+
responseSerialize: (message: MfbResponse) => Buffer;
|
|
2184
|
+
responseDeserialize: (bytes: Buffer) => MfbResponse;
|
|
2185
|
+
};
|
|
2186
|
+
GetMfb: {
|
|
2187
|
+
path: string;
|
|
2188
|
+
requestStream: boolean;
|
|
2189
|
+
responseStream: boolean;
|
|
2190
|
+
requestSerialize: (message: GetMfbRequest) => Buffer;
|
|
2191
|
+
requestDeserialize: (bytes: Buffer) => GetMfbRequest;
|
|
2192
|
+
responseSerialize: (message: MfbResponse) => Buffer;
|
|
2193
|
+
responseDeserialize: (bytes: Buffer) => MfbResponse;
|
|
2194
|
+
};
|
|
2195
|
+
GetMfbs: {
|
|
2196
|
+
path: string;
|
|
2197
|
+
requestStream: boolean;
|
|
2198
|
+
responseStream: boolean;
|
|
2199
|
+
requestSerialize: (message: GetMfbsRequest) => Buffer;
|
|
2200
|
+
requestDeserialize: (bytes: Buffer) => GetMfbsRequest;
|
|
2201
|
+
responseSerialize: (message: MfbsResponse) => Buffer;
|
|
2202
|
+
responseDeserialize: (bytes: Buffer) => MfbsResponse;
|
|
2203
|
+
};
|
|
2204
|
+
UpdateMfb: {
|
|
2205
|
+
path: string;
|
|
2206
|
+
requestStream: boolean;
|
|
2207
|
+
responseStream: boolean;
|
|
2208
|
+
requestSerialize: (message: UpdateMfbRequest) => Buffer;
|
|
2209
|
+
requestDeserialize: (bytes: Buffer) => UpdateMfbRequest;
|
|
2210
|
+
responseSerialize: (message: MfbResponse) => Buffer;
|
|
2211
|
+
responseDeserialize: (bytes: Buffer) => MfbResponse;
|
|
2212
|
+
};
|
|
2213
|
+
UpdateMfbStatus: {
|
|
2214
|
+
path: string;
|
|
2215
|
+
requestStream: boolean;
|
|
2216
|
+
responseStream: boolean;
|
|
2217
|
+
requestSerialize: (message: UpdateMfbStatusRequest) => Buffer;
|
|
2218
|
+
requestDeserialize: (bytes: Buffer) => UpdateMfbStatusRequest;
|
|
2219
|
+
responseSerialize: (message: MfbResponse) => Buffer;
|
|
2220
|
+
responseDeserialize: (bytes: Buffer) => MfbResponse;
|
|
2221
|
+
};
|
|
2222
|
+
GetMfbAdmins: {
|
|
2223
|
+
path: string;
|
|
2224
|
+
requestStream: boolean;
|
|
2225
|
+
responseStream: boolean;
|
|
2226
|
+
requestSerialize: (message: GetMfbRequest) => Buffer;
|
|
2227
|
+
requestDeserialize: (bytes: Buffer) => GetMfbRequest;
|
|
2228
|
+
responseSerialize: (message: AdminsResponse) => Buffer;
|
|
2229
|
+
responseDeserialize: (bytes: Buffer) => AdminsResponse;
|
|
2230
|
+
};
|
|
1703
2231
|
};
|
|
1704
2232
|
[method: string]: grpc_1.UntypedHandleCall;
|
|
1705
2233
|
abstract InviteAdmin(call: grpc_1.ServerUnaryCall<InviteAdminRequest, AdminResponse>, callback: grpc_1.sendUnaryData<AdminResponse>): void;
|
|
@@ -1725,6 +2253,12 @@ export declare namespace com.pkg.admin {
|
|
|
1725
2253
|
abstract ChangeAdminRole(call: grpc_1.ServerUnaryCall<ChangeAdminRoleRequest, DefaultResponse>, callback: grpc_1.sendUnaryData<DefaultResponse>): void;
|
|
1726
2254
|
abstract CreateAuditLog(call: grpc_1.ServerUnaryCall<AuditLogRequest, DefaultResponse>, callback: grpc_1.sendUnaryData<DefaultResponse>): void;
|
|
1727
2255
|
abstract GetAuditLogs(call: grpc_1.ServerUnaryCall<GetAuditLogsRequest, MultipleAuditLogResponse>, callback: grpc_1.sendUnaryData<MultipleAuditLogResponse>): void;
|
|
2256
|
+
abstract CreateMfb(call: grpc_1.ServerUnaryCall<CreateMfbRequest, MfbResponse>, callback: grpc_1.sendUnaryData<MfbResponse>): void;
|
|
2257
|
+
abstract GetMfb(call: grpc_1.ServerUnaryCall<GetMfbRequest, MfbResponse>, callback: grpc_1.sendUnaryData<MfbResponse>): void;
|
|
2258
|
+
abstract GetMfbs(call: grpc_1.ServerUnaryCall<GetMfbsRequest, MfbsResponse>, callback: grpc_1.sendUnaryData<MfbsResponse>): void;
|
|
2259
|
+
abstract UpdateMfb(call: grpc_1.ServerUnaryCall<UpdateMfbRequest, MfbResponse>, callback: grpc_1.sendUnaryData<MfbResponse>): void;
|
|
2260
|
+
abstract UpdateMfbStatus(call: grpc_1.ServerUnaryCall<UpdateMfbStatusRequest, MfbResponse>, callback: grpc_1.sendUnaryData<MfbResponse>): void;
|
|
2261
|
+
abstract GetMfbAdmins(call: grpc_1.ServerUnaryCall<GetMfbRequest, AdminsResponse>, callback: grpc_1.sendUnaryData<AdminsResponse>): void;
|
|
1728
2262
|
}
|
|
1729
2263
|
const AdminServiceClient_base: grpc_1.ServiceClientConstructor;
|
|
1730
2264
|
export class AdminServiceClient extends AdminServiceClient_base {
|
|
@@ -1752,6 +2286,12 @@ export declare namespace com.pkg.admin {
|
|
|
1752
2286
|
ChangeAdminRole: GrpcPromiseServiceInterface<ChangeAdminRoleRequest, DefaultResponse>;
|
|
1753
2287
|
CreateAuditLog: GrpcPromiseServiceInterface<AuditLogRequest, DefaultResponse>;
|
|
1754
2288
|
GetAuditLogs: GrpcPromiseServiceInterface<GetAuditLogsRequest, MultipleAuditLogResponse>;
|
|
2289
|
+
CreateMfb: GrpcPromiseServiceInterface<CreateMfbRequest, MfbResponse>;
|
|
2290
|
+
GetMfb: GrpcPromiseServiceInterface<GetMfbRequest, MfbResponse>;
|
|
2291
|
+
GetMfbs: GrpcPromiseServiceInterface<GetMfbsRequest, MfbsResponse>;
|
|
2292
|
+
UpdateMfb: GrpcPromiseServiceInterface<UpdateMfbRequest, MfbResponse>;
|
|
2293
|
+
UpdateMfbStatus: GrpcPromiseServiceInterface<UpdateMfbStatusRequest, MfbResponse>;
|
|
2294
|
+
GetMfbAdmins: GrpcPromiseServiceInterface<GetMfbRequest, AdminsResponse>;
|
|
1755
2295
|
}
|
|
1756
2296
|
export {};
|
|
1757
2297
|
}
|