@technova-tech/olive-proto-lib 1.9.4 → 1.9.6
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 +1936 -240
- package/package.json +1 -1
- package/pos.v1/terminals.js +1085 -247
- package/types/admin/admin.d.ts +535 -0
- package/types/pos.v1/terminals.d.ts +278 -0
- package/types/verifications/verifications.d.ts +5 -0
- package/verifications/verifications.js +20 -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?: {
|
|
@@ -1107,6 +1114,7 @@ export declare namespace com.pkg.admin {
|
|
|
1107
1114
|
} | undefined;
|
|
1108
1115
|
status?: string | undefined;
|
|
1109
1116
|
phone?: string | undefined;
|
|
1117
|
+
mfbId?: string | undefined;
|
|
1110
1118
|
} | undefined;
|
|
1111
1119
|
} | undefined;
|
|
1112
1120
|
error?: string | undefined;
|
|
@@ -1154,6 +1162,7 @@ export declare namespace com.pkg.admin {
|
|
|
1154
1162
|
} | undefined;
|
|
1155
1163
|
status?: string | undefined;
|
|
1156
1164
|
phone?: string | undefined;
|
|
1165
|
+
mfbId?: string | undefined;
|
|
1157
1166
|
} | undefined;
|
|
1158
1167
|
};
|
|
1159
1168
|
serialize(): Uint8Array;
|
|
@@ -1313,6 +1322,7 @@ export declare namespace com.pkg.admin {
|
|
|
1313
1322
|
} | undefined;
|
|
1314
1323
|
status?: string | undefined;
|
|
1315
1324
|
phone?: string | undefined;
|
|
1325
|
+
mfbId?: string | undefined;
|
|
1316
1326
|
} | undefined;
|
|
1317
1327
|
metadata?: {
|
|
1318
1328
|
[key: string]: string;
|
|
@@ -1464,6 +1474,7 @@ export declare namespace com.pkg.admin {
|
|
|
1464
1474
|
} | undefined;
|
|
1465
1475
|
status?: string | undefined;
|
|
1466
1476
|
phone?: string | undefined;
|
|
1477
|
+
mfbId?: string | undefined;
|
|
1467
1478
|
} | undefined;
|
|
1468
1479
|
metadata?: {
|
|
1469
1480
|
[key: string]: string;
|
|
@@ -1487,6 +1498,464 @@ export declare namespace com.pkg.admin {
|
|
|
1487
1498
|
serializeBinary(): Uint8Array;
|
|
1488
1499
|
static deserializeBinary(bytes: Uint8Array): MultipleAuditLogResponse;
|
|
1489
1500
|
}
|
|
1501
|
+
export class MfbData extends pb_1.Message {
|
|
1502
|
+
#private;
|
|
1503
|
+
constructor(data?: any[] | {
|
|
1504
|
+
id?: string;
|
|
1505
|
+
name?: string;
|
|
1506
|
+
contactEmail?: string;
|
|
1507
|
+
contactPhone?: string;
|
|
1508
|
+
address?: string;
|
|
1509
|
+
cbnLicenseNumber?: string;
|
|
1510
|
+
licenseType?: string;
|
|
1511
|
+
licenseExpiryDate?: string;
|
|
1512
|
+
settlementAccount?: string;
|
|
1513
|
+
bankName?: string;
|
|
1514
|
+
brandingLogo?: string;
|
|
1515
|
+
brandingPrimaryColor?: string;
|
|
1516
|
+
status?: string;
|
|
1517
|
+
contractReference?: string;
|
|
1518
|
+
createdAt?: string;
|
|
1519
|
+
});
|
|
1520
|
+
get id(): string;
|
|
1521
|
+
set id(value: string);
|
|
1522
|
+
get name(): string;
|
|
1523
|
+
set name(value: string);
|
|
1524
|
+
get contactEmail(): string;
|
|
1525
|
+
set contactEmail(value: string);
|
|
1526
|
+
get contactPhone(): string;
|
|
1527
|
+
set contactPhone(value: string);
|
|
1528
|
+
get address(): string;
|
|
1529
|
+
set address(value: string);
|
|
1530
|
+
get cbnLicenseNumber(): string;
|
|
1531
|
+
set cbnLicenseNumber(value: string);
|
|
1532
|
+
get licenseType(): string;
|
|
1533
|
+
set licenseType(value: string);
|
|
1534
|
+
get licenseExpiryDate(): string;
|
|
1535
|
+
set licenseExpiryDate(value: string);
|
|
1536
|
+
get settlementAccount(): string;
|
|
1537
|
+
set settlementAccount(value: string);
|
|
1538
|
+
get bankName(): string;
|
|
1539
|
+
set bankName(value: string);
|
|
1540
|
+
get brandingLogo(): string;
|
|
1541
|
+
set brandingLogo(value: string);
|
|
1542
|
+
get brandingPrimaryColor(): string;
|
|
1543
|
+
set brandingPrimaryColor(value: string);
|
|
1544
|
+
get status(): string;
|
|
1545
|
+
set status(value: string);
|
|
1546
|
+
get contractReference(): string;
|
|
1547
|
+
set contractReference(value: string);
|
|
1548
|
+
get createdAt(): string;
|
|
1549
|
+
set createdAt(value: string);
|
|
1550
|
+
static fromObject(data: {
|
|
1551
|
+
id?: string;
|
|
1552
|
+
name?: string;
|
|
1553
|
+
contactEmail?: string;
|
|
1554
|
+
contactPhone?: string;
|
|
1555
|
+
address?: string;
|
|
1556
|
+
cbnLicenseNumber?: string;
|
|
1557
|
+
licenseType?: string;
|
|
1558
|
+
licenseExpiryDate?: string;
|
|
1559
|
+
settlementAccount?: string;
|
|
1560
|
+
bankName?: string;
|
|
1561
|
+
brandingLogo?: string;
|
|
1562
|
+
brandingPrimaryColor?: string;
|
|
1563
|
+
status?: string;
|
|
1564
|
+
contractReference?: string;
|
|
1565
|
+
createdAt?: string;
|
|
1566
|
+
}): MfbData;
|
|
1567
|
+
toObject(): {
|
|
1568
|
+
id?: string | undefined;
|
|
1569
|
+
name?: string | undefined;
|
|
1570
|
+
contactEmail?: string | undefined;
|
|
1571
|
+
contactPhone?: string | undefined;
|
|
1572
|
+
address?: string | undefined;
|
|
1573
|
+
cbnLicenseNumber?: string | undefined;
|
|
1574
|
+
licenseType?: string | undefined;
|
|
1575
|
+
licenseExpiryDate?: string | undefined;
|
|
1576
|
+
settlementAccount?: string | undefined;
|
|
1577
|
+
bankName?: string | undefined;
|
|
1578
|
+
brandingLogo?: string | undefined;
|
|
1579
|
+
brandingPrimaryColor?: string | undefined;
|
|
1580
|
+
status?: string | undefined;
|
|
1581
|
+
contractReference?: string | undefined;
|
|
1582
|
+
createdAt?: string | undefined;
|
|
1583
|
+
};
|
|
1584
|
+
serialize(): Uint8Array;
|
|
1585
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1586
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): MfbData;
|
|
1587
|
+
serializeBinary(): Uint8Array;
|
|
1588
|
+
static deserializeBinary(bytes: Uint8Array): MfbData;
|
|
1589
|
+
}
|
|
1590
|
+
export class MfbResponse extends pb_1.Message {
|
|
1591
|
+
#private;
|
|
1592
|
+
constructor(data?: any[] | {
|
|
1593
|
+
success?: boolean;
|
|
1594
|
+
status?: string;
|
|
1595
|
+
message?: string;
|
|
1596
|
+
errors?: ValidationErrors[];
|
|
1597
|
+
data?: MfbData;
|
|
1598
|
+
error?: string;
|
|
1599
|
+
});
|
|
1600
|
+
get success(): boolean;
|
|
1601
|
+
set success(value: boolean);
|
|
1602
|
+
get status(): string;
|
|
1603
|
+
set status(value: string);
|
|
1604
|
+
get message(): string;
|
|
1605
|
+
set message(value: string);
|
|
1606
|
+
get errors(): ValidationErrors[];
|
|
1607
|
+
set errors(value: ValidationErrors[]);
|
|
1608
|
+
get data(): MfbData;
|
|
1609
|
+
set data(value: MfbData);
|
|
1610
|
+
get hasData(): boolean;
|
|
1611
|
+
get error(): string;
|
|
1612
|
+
set error(value: string);
|
|
1613
|
+
static fromObject(data: {
|
|
1614
|
+
success?: boolean;
|
|
1615
|
+
status?: string;
|
|
1616
|
+
message?: string;
|
|
1617
|
+
errors?: ReturnType<typeof ValidationErrors.prototype.toObject>[];
|
|
1618
|
+
data?: ReturnType<typeof MfbData.prototype.toObject>;
|
|
1619
|
+
error?: string;
|
|
1620
|
+
}): MfbResponse;
|
|
1621
|
+
toObject(): {
|
|
1622
|
+
success?: boolean | undefined;
|
|
1623
|
+
status?: string | undefined;
|
|
1624
|
+
message?: string | undefined;
|
|
1625
|
+
errors?: {
|
|
1626
|
+
field?: string | undefined;
|
|
1627
|
+
message?: string | undefined;
|
|
1628
|
+
}[] | undefined;
|
|
1629
|
+
data?: {
|
|
1630
|
+
id?: string | undefined;
|
|
1631
|
+
name?: string | undefined;
|
|
1632
|
+
contactEmail?: string | undefined;
|
|
1633
|
+
contactPhone?: string | undefined;
|
|
1634
|
+
address?: string | undefined;
|
|
1635
|
+
cbnLicenseNumber?: string | undefined;
|
|
1636
|
+
licenseType?: string | undefined;
|
|
1637
|
+
licenseExpiryDate?: string | undefined;
|
|
1638
|
+
settlementAccount?: string | undefined;
|
|
1639
|
+
bankName?: string | undefined;
|
|
1640
|
+
brandingLogo?: string | undefined;
|
|
1641
|
+
brandingPrimaryColor?: string | undefined;
|
|
1642
|
+
status?: string | undefined;
|
|
1643
|
+
contractReference?: string | undefined;
|
|
1644
|
+
createdAt?: string | undefined;
|
|
1645
|
+
} | undefined;
|
|
1646
|
+
error?: string | undefined;
|
|
1647
|
+
};
|
|
1648
|
+
serialize(): Uint8Array;
|
|
1649
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1650
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): MfbResponse;
|
|
1651
|
+
serializeBinary(): Uint8Array;
|
|
1652
|
+
static deserializeBinary(bytes: Uint8Array): MfbResponse;
|
|
1653
|
+
}
|
|
1654
|
+
export class MfbsResponse extends pb_1.Message {
|
|
1655
|
+
#private;
|
|
1656
|
+
constructor(data?: any[] | {
|
|
1657
|
+
success?: boolean;
|
|
1658
|
+
status?: string;
|
|
1659
|
+
message?: string;
|
|
1660
|
+
errors?: ValidationErrors[];
|
|
1661
|
+
data?: MfbData[];
|
|
1662
|
+
error?: string;
|
|
1663
|
+
pagination?: Pagination;
|
|
1664
|
+
});
|
|
1665
|
+
get success(): boolean;
|
|
1666
|
+
set success(value: boolean);
|
|
1667
|
+
get status(): string;
|
|
1668
|
+
set status(value: string);
|
|
1669
|
+
get message(): string;
|
|
1670
|
+
set message(value: string);
|
|
1671
|
+
get errors(): ValidationErrors[];
|
|
1672
|
+
set errors(value: ValidationErrors[]);
|
|
1673
|
+
get data(): MfbData[];
|
|
1674
|
+
set data(value: MfbData[]);
|
|
1675
|
+
get error(): string;
|
|
1676
|
+
set error(value: string);
|
|
1677
|
+
get pagination(): Pagination;
|
|
1678
|
+
set pagination(value: Pagination);
|
|
1679
|
+
get hasPagination(): boolean;
|
|
1680
|
+
static fromObject(data: {
|
|
1681
|
+
success?: boolean;
|
|
1682
|
+
status?: string;
|
|
1683
|
+
message?: string;
|
|
1684
|
+
errors?: ReturnType<typeof ValidationErrors.prototype.toObject>[];
|
|
1685
|
+
data?: ReturnType<typeof MfbData.prototype.toObject>[];
|
|
1686
|
+
error?: string;
|
|
1687
|
+
pagination?: ReturnType<typeof Pagination.prototype.toObject>;
|
|
1688
|
+
}): MfbsResponse;
|
|
1689
|
+
toObject(): {
|
|
1690
|
+
success?: boolean | undefined;
|
|
1691
|
+
status?: string | undefined;
|
|
1692
|
+
message?: string | undefined;
|
|
1693
|
+
errors?: {
|
|
1694
|
+
field?: string | undefined;
|
|
1695
|
+
message?: string | undefined;
|
|
1696
|
+
}[] | undefined;
|
|
1697
|
+
data?: {
|
|
1698
|
+
id?: string | undefined;
|
|
1699
|
+
name?: string | undefined;
|
|
1700
|
+
contactEmail?: string | undefined;
|
|
1701
|
+
contactPhone?: string | undefined;
|
|
1702
|
+
address?: string | undefined;
|
|
1703
|
+
cbnLicenseNumber?: string | undefined;
|
|
1704
|
+
licenseType?: string | undefined;
|
|
1705
|
+
licenseExpiryDate?: string | undefined;
|
|
1706
|
+
settlementAccount?: string | undefined;
|
|
1707
|
+
bankName?: string | undefined;
|
|
1708
|
+
brandingLogo?: string | undefined;
|
|
1709
|
+
brandingPrimaryColor?: string | undefined;
|
|
1710
|
+
status?: string | undefined;
|
|
1711
|
+
contractReference?: string | undefined;
|
|
1712
|
+
createdAt?: string | undefined;
|
|
1713
|
+
}[] | undefined;
|
|
1714
|
+
error?: string | undefined;
|
|
1715
|
+
pagination?: {
|
|
1716
|
+
page?: number | undefined;
|
|
1717
|
+
limit?: number | undefined;
|
|
1718
|
+
total?: number | undefined;
|
|
1719
|
+
hasNext?: boolean | undefined;
|
|
1720
|
+
hasPrev?: boolean | undefined;
|
|
1721
|
+
} | undefined;
|
|
1722
|
+
};
|
|
1723
|
+
serialize(): Uint8Array;
|
|
1724
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1725
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): MfbsResponse;
|
|
1726
|
+
serializeBinary(): Uint8Array;
|
|
1727
|
+
static deserializeBinary(bytes: Uint8Array): MfbsResponse;
|
|
1728
|
+
}
|
|
1729
|
+
export class CreateMfbRequest extends pb_1.Message {
|
|
1730
|
+
#private;
|
|
1731
|
+
constructor(data?: any[] | {
|
|
1732
|
+
name?: string;
|
|
1733
|
+
contactEmail?: string;
|
|
1734
|
+
contactPhone?: string;
|
|
1735
|
+
address?: string;
|
|
1736
|
+
cbnLicenseNumber?: string;
|
|
1737
|
+
licenseType?: string;
|
|
1738
|
+
licenseExpiryDate?: string;
|
|
1739
|
+
settlementAccount?: string;
|
|
1740
|
+
bankName?: string;
|
|
1741
|
+
brandingLogo?: string;
|
|
1742
|
+
brandingPrimaryColor?: string;
|
|
1743
|
+
contractReference?: string;
|
|
1744
|
+
});
|
|
1745
|
+
get name(): string;
|
|
1746
|
+
set name(value: string);
|
|
1747
|
+
get contactEmail(): string;
|
|
1748
|
+
set contactEmail(value: string);
|
|
1749
|
+
get contactPhone(): string;
|
|
1750
|
+
set contactPhone(value: string);
|
|
1751
|
+
get address(): string;
|
|
1752
|
+
set address(value: string);
|
|
1753
|
+
get cbnLicenseNumber(): string;
|
|
1754
|
+
set cbnLicenseNumber(value: string);
|
|
1755
|
+
get licenseType(): string;
|
|
1756
|
+
set licenseType(value: string);
|
|
1757
|
+
get licenseExpiryDate(): string;
|
|
1758
|
+
set licenseExpiryDate(value: string);
|
|
1759
|
+
get settlementAccount(): string;
|
|
1760
|
+
set settlementAccount(value: string);
|
|
1761
|
+
get bankName(): string;
|
|
1762
|
+
set bankName(value: string);
|
|
1763
|
+
get brandingLogo(): string;
|
|
1764
|
+
set brandingLogo(value: string);
|
|
1765
|
+
get brandingPrimaryColor(): string;
|
|
1766
|
+
set brandingPrimaryColor(value: string);
|
|
1767
|
+
get contractReference(): string;
|
|
1768
|
+
set contractReference(value: string);
|
|
1769
|
+
static fromObject(data: {
|
|
1770
|
+
name?: string;
|
|
1771
|
+
contactEmail?: string;
|
|
1772
|
+
contactPhone?: string;
|
|
1773
|
+
address?: string;
|
|
1774
|
+
cbnLicenseNumber?: string;
|
|
1775
|
+
licenseType?: string;
|
|
1776
|
+
licenseExpiryDate?: string;
|
|
1777
|
+
settlementAccount?: string;
|
|
1778
|
+
bankName?: string;
|
|
1779
|
+
brandingLogo?: string;
|
|
1780
|
+
brandingPrimaryColor?: string;
|
|
1781
|
+
contractReference?: string;
|
|
1782
|
+
}): CreateMfbRequest;
|
|
1783
|
+
toObject(): {
|
|
1784
|
+
name?: string | undefined;
|
|
1785
|
+
contactEmail?: string | undefined;
|
|
1786
|
+
contactPhone?: string | undefined;
|
|
1787
|
+
address?: string | undefined;
|
|
1788
|
+
cbnLicenseNumber?: string | undefined;
|
|
1789
|
+
licenseType?: string | undefined;
|
|
1790
|
+
licenseExpiryDate?: string | undefined;
|
|
1791
|
+
settlementAccount?: string | undefined;
|
|
1792
|
+
bankName?: string | undefined;
|
|
1793
|
+
brandingLogo?: string | undefined;
|
|
1794
|
+
brandingPrimaryColor?: string | undefined;
|
|
1795
|
+
contractReference?: string | undefined;
|
|
1796
|
+
};
|
|
1797
|
+
serialize(): Uint8Array;
|
|
1798
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1799
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): CreateMfbRequest;
|
|
1800
|
+
serializeBinary(): Uint8Array;
|
|
1801
|
+
static deserializeBinary(bytes: Uint8Array): CreateMfbRequest;
|
|
1802
|
+
}
|
|
1803
|
+
export class UpdateMfbRequest extends pb_1.Message {
|
|
1804
|
+
#private;
|
|
1805
|
+
constructor(data?: any[] | {
|
|
1806
|
+
id?: string;
|
|
1807
|
+
name?: string;
|
|
1808
|
+
contactEmail?: string;
|
|
1809
|
+
contactPhone?: string;
|
|
1810
|
+
address?: string;
|
|
1811
|
+
cbnLicenseNumber?: string;
|
|
1812
|
+
licenseType?: string;
|
|
1813
|
+
licenseExpiryDate?: string;
|
|
1814
|
+
settlementAccount?: string;
|
|
1815
|
+
bankName?: string;
|
|
1816
|
+
brandingLogo?: string;
|
|
1817
|
+
brandingPrimaryColor?: string;
|
|
1818
|
+
contractReference?: string;
|
|
1819
|
+
});
|
|
1820
|
+
get id(): string;
|
|
1821
|
+
set id(value: string);
|
|
1822
|
+
get name(): string;
|
|
1823
|
+
set name(value: string);
|
|
1824
|
+
get contactEmail(): string;
|
|
1825
|
+
set contactEmail(value: string);
|
|
1826
|
+
get contactPhone(): string;
|
|
1827
|
+
set contactPhone(value: string);
|
|
1828
|
+
get address(): string;
|
|
1829
|
+
set address(value: string);
|
|
1830
|
+
get cbnLicenseNumber(): string;
|
|
1831
|
+
set cbnLicenseNumber(value: string);
|
|
1832
|
+
get licenseType(): string;
|
|
1833
|
+
set licenseType(value: string);
|
|
1834
|
+
get licenseExpiryDate(): string;
|
|
1835
|
+
set licenseExpiryDate(value: string);
|
|
1836
|
+
get settlementAccount(): string;
|
|
1837
|
+
set settlementAccount(value: string);
|
|
1838
|
+
get bankName(): string;
|
|
1839
|
+
set bankName(value: string);
|
|
1840
|
+
get brandingLogo(): string;
|
|
1841
|
+
set brandingLogo(value: string);
|
|
1842
|
+
get brandingPrimaryColor(): string;
|
|
1843
|
+
set brandingPrimaryColor(value: string);
|
|
1844
|
+
get contractReference(): string;
|
|
1845
|
+
set contractReference(value: string);
|
|
1846
|
+
static fromObject(data: {
|
|
1847
|
+
id?: string;
|
|
1848
|
+
name?: string;
|
|
1849
|
+
contactEmail?: string;
|
|
1850
|
+
contactPhone?: string;
|
|
1851
|
+
address?: string;
|
|
1852
|
+
cbnLicenseNumber?: string;
|
|
1853
|
+
licenseType?: string;
|
|
1854
|
+
licenseExpiryDate?: string;
|
|
1855
|
+
settlementAccount?: string;
|
|
1856
|
+
bankName?: string;
|
|
1857
|
+
brandingLogo?: string;
|
|
1858
|
+
brandingPrimaryColor?: string;
|
|
1859
|
+
contractReference?: string;
|
|
1860
|
+
}): UpdateMfbRequest;
|
|
1861
|
+
toObject(): {
|
|
1862
|
+
id?: string | undefined;
|
|
1863
|
+
name?: string | undefined;
|
|
1864
|
+
contactEmail?: string | undefined;
|
|
1865
|
+
contactPhone?: string | undefined;
|
|
1866
|
+
address?: string | undefined;
|
|
1867
|
+
cbnLicenseNumber?: string | undefined;
|
|
1868
|
+
licenseType?: string | undefined;
|
|
1869
|
+
licenseExpiryDate?: string | undefined;
|
|
1870
|
+
settlementAccount?: string | undefined;
|
|
1871
|
+
bankName?: string | undefined;
|
|
1872
|
+
brandingLogo?: string | undefined;
|
|
1873
|
+
brandingPrimaryColor?: string | undefined;
|
|
1874
|
+
contractReference?: string | undefined;
|
|
1875
|
+
};
|
|
1876
|
+
serialize(): Uint8Array;
|
|
1877
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1878
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): UpdateMfbRequest;
|
|
1879
|
+
serializeBinary(): Uint8Array;
|
|
1880
|
+
static deserializeBinary(bytes: Uint8Array): UpdateMfbRequest;
|
|
1881
|
+
}
|
|
1882
|
+
export class GetMfbRequest extends pb_1.Message {
|
|
1883
|
+
#private;
|
|
1884
|
+
constructor(data?: any[] | {
|
|
1885
|
+
id?: string;
|
|
1886
|
+
});
|
|
1887
|
+
get id(): string;
|
|
1888
|
+
set id(value: string);
|
|
1889
|
+
static fromObject(data: {
|
|
1890
|
+
id?: string;
|
|
1891
|
+
}): GetMfbRequest;
|
|
1892
|
+
toObject(): {
|
|
1893
|
+
id?: string | undefined;
|
|
1894
|
+
};
|
|
1895
|
+
serialize(): Uint8Array;
|
|
1896
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1897
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): GetMfbRequest;
|
|
1898
|
+
serializeBinary(): Uint8Array;
|
|
1899
|
+
static deserializeBinary(bytes: Uint8Array): GetMfbRequest;
|
|
1900
|
+
}
|
|
1901
|
+
export class GetMfbsRequest extends pb_1.Message {
|
|
1902
|
+
#private;
|
|
1903
|
+
constructor(data?: any[] | {
|
|
1904
|
+
page?: number;
|
|
1905
|
+
limit?: number;
|
|
1906
|
+
searchQuery?: string;
|
|
1907
|
+
status?: string;
|
|
1908
|
+
});
|
|
1909
|
+
get page(): number;
|
|
1910
|
+
set page(value: number);
|
|
1911
|
+
get limit(): number;
|
|
1912
|
+
set limit(value: number);
|
|
1913
|
+
get searchQuery(): string;
|
|
1914
|
+
set searchQuery(value: string);
|
|
1915
|
+
get status(): string;
|
|
1916
|
+
set status(value: string);
|
|
1917
|
+
static fromObject(data: {
|
|
1918
|
+
page?: number;
|
|
1919
|
+
limit?: number;
|
|
1920
|
+
searchQuery?: string;
|
|
1921
|
+
status?: string;
|
|
1922
|
+
}): GetMfbsRequest;
|
|
1923
|
+
toObject(): {
|
|
1924
|
+
page?: number | undefined;
|
|
1925
|
+
limit?: number | undefined;
|
|
1926
|
+
searchQuery?: string | undefined;
|
|
1927
|
+
status?: string | undefined;
|
|
1928
|
+
};
|
|
1929
|
+
serialize(): Uint8Array;
|
|
1930
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1931
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): GetMfbsRequest;
|
|
1932
|
+
serializeBinary(): Uint8Array;
|
|
1933
|
+
static deserializeBinary(bytes: Uint8Array): GetMfbsRequest;
|
|
1934
|
+
}
|
|
1935
|
+
export class UpdateMfbStatusRequest extends pb_1.Message {
|
|
1936
|
+
#private;
|
|
1937
|
+
constructor(data?: any[] | {
|
|
1938
|
+
id?: string;
|
|
1939
|
+
status?: string;
|
|
1940
|
+
});
|
|
1941
|
+
get id(): string;
|
|
1942
|
+
set id(value: string);
|
|
1943
|
+
get status(): string;
|
|
1944
|
+
set status(value: string);
|
|
1945
|
+
static fromObject(data: {
|
|
1946
|
+
id?: string;
|
|
1947
|
+
status?: string;
|
|
1948
|
+
}): UpdateMfbStatusRequest;
|
|
1949
|
+
toObject(): {
|
|
1950
|
+
id?: string | undefined;
|
|
1951
|
+
status?: string | undefined;
|
|
1952
|
+
};
|
|
1953
|
+
serialize(): Uint8Array;
|
|
1954
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1955
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): UpdateMfbStatusRequest;
|
|
1956
|
+
serializeBinary(): Uint8Array;
|
|
1957
|
+
static deserializeBinary(bytes: Uint8Array): UpdateMfbStatusRequest;
|
|
1958
|
+
}
|
|
1490
1959
|
interface GrpcPromiseServiceInterface<P, R> {
|
|
1491
1960
|
(message: P, metadata: grpc_1.Metadata, options?: grpc_1.CallOptions): Promise<R>;
|
|
1492
1961
|
(message: P, options?: grpc_1.CallOptions): Promise<R>;
|
|
@@ -1700,6 +2169,60 @@ export declare namespace com.pkg.admin {
|
|
|
1700
2169
|
responseSerialize: (message: MultipleAuditLogResponse) => Buffer;
|
|
1701
2170
|
responseDeserialize: (bytes: Buffer) => MultipleAuditLogResponse;
|
|
1702
2171
|
};
|
|
2172
|
+
CreateMfb: {
|
|
2173
|
+
path: string;
|
|
2174
|
+
requestStream: boolean;
|
|
2175
|
+
responseStream: boolean;
|
|
2176
|
+
requestSerialize: (message: CreateMfbRequest) => Buffer;
|
|
2177
|
+
requestDeserialize: (bytes: Buffer) => CreateMfbRequest;
|
|
2178
|
+
responseSerialize: (message: MfbResponse) => Buffer;
|
|
2179
|
+
responseDeserialize: (bytes: Buffer) => MfbResponse;
|
|
2180
|
+
};
|
|
2181
|
+
GetMfb: {
|
|
2182
|
+
path: string;
|
|
2183
|
+
requestStream: boolean;
|
|
2184
|
+
responseStream: boolean;
|
|
2185
|
+
requestSerialize: (message: GetMfbRequest) => Buffer;
|
|
2186
|
+
requestDeserialize: (bytes: Buffer) => GetMfbRequest;
|
|
2187
|
+
responseSerialize: (message: MfbResponse) => Buffer;
|
|
2188
|
+
responseDeserialize: (bytes: Buffer) => MfbResponse;
|
|
2189
|
+
};
|
|
2190
|
+
GetMfbs: {
|
|
2191
|
+
path: string;
|
|
2192
|
+
requestStream: boolean;
|
|
2193
|
+
responseStream: boolean;
|
|
2194
|
+
requestSerialize: (message: GetMfbsRequest) => Buffer;
|
|
2195
|
+
requestDeserialize: (bytes: Buffer) => GetMfbsRequest;
|
|
2196
|
+
responseSerialize: (message: MfbsResponse) => Buffer;
|
|
2197
|
+
responseDeserialize: (bytes: Buffer) => MfbsResponse;
|
|
2198
|
+
};
|
|
2199
|
+
UpdateMfb: {
|
|
2200
|
+
path: string;
|
|
2201
|
+
requestStream: boolean;
|
|
2202
|
+
responseStream: boolean;
|
|
2203
|
+
requestSerialize: (message: UpdateMfbRequest) => Buffer;
|
|
2204
|
+
requestDeserialize: (bytes: Buffer) => UpdateMfbRequest;
|
|
2205
|
+
responseSerialize: (message: MfbResponse) => Buffer;
|
|
2206
|
+
responseDeserialize: (bytes: Buffer) => MfbResponse;
|
|
2207
|
+
};
|
|
2208
|
+
UpdateMfbStatus: {
|
|
2209
|
+
path: string;
|
|
2210
|
+
requestStream: boolean;
|
|
2211
|
+
responseStream: boolean;
|
|
2212
|
+
requestSerialize: (message: UpdateMfbStatusRequest) => Buffer;
|
|
2213
|
+
requestDeserialize: (bytes: Buffer) => UpdateMfbStatusRequest;
|
|
2214
|
+
responseSerialize: (message: MfbResponse) => Buffer;
|
|
2215
|
+
responseDeserialize: (bytes: Buffer) => MfbResponse;
|
|
2216
|
+
};
|
|
2217
|
+
GetMfbAdmins: {
|
|
2218
|
+
path: string;
|
|
2219
|
+
requestStream: boolean;
|
|
2220
|
+
responseStream: boolean;
|
|
2221
|
+
requestSerialize: (message: GetMfbRequest) => Buffer;
|
|
2222
|
+
requestDeserialize: (bytes: Buffer) => GetMfbRequest;
|
|
2223
|
+
responseSerialize: (message: AdminsResponse) => Buffer;
|
|
2224
|
+
responseDeserialize: (bytes: Buffer) => AdminsResponse;
|
|
2225
|
+
};
|
|
1703
2226
|
};
|
|
1704
2227
|
[method: string]: grpc_1.UntypedHandleCall;
|
|
1705
2228
|
abstract InviteAdmin(call: grpc_1.ServerUnaryCall<InviteAdminRequest, AdminResponse>, callback: grpc_1.sendUnaryData<AdminResponse>): void;
|
|
@@ -1725,6 +2248,12 @@ export declare namespace com.pkg.admin {
|
|
|
1725
2248
|
abstract ChangeAdminRole(call: grpc_1.ServerUnaryCall<ChangeAdminRoleRequest, DefaultResponse>, callback: grpc_1.sendUnaryData<DefaultResponse>): void;
|
|
1726
2249
|
abstract CreateAuditLog(call: grpc_1.ServerUnaryCall<AuditLogRequest, DefaultResponse>, callback: grpc_1.sendUnaryData<DefaultResponse>): void;
|
|
1727
2250
|
abstract GetAuditLogs(call: grpc_1.ServerUnaryCall<GetAuditLogsRequest, MultipleAuditLogResponse>, callback: grpc_1.sendUnaryData<MultipleAuditLogResponse>): void;
|
|
2251
|
+
abstract CreateMfb(call: grpc_1.ServerUnaryCall<CreateMfbRequest, MfbResponse>, callback: grpc_1.sendUnaryData<MfbResponse>): void;
|
|
2252
|
+
abstract GetMfb(call: grpc_1.ServerUnaryCall<GetMfbRequest, MfbResponse>, callback: grpc_1.sendUnaryData<MfbResponse>): void;
|
|
2253
|
+
abstract GetMfbs(call: grpc_1.ServerUnaryCall<GetMfbsRequest, MfbsResponse>, callback: grpc_1.sendUnaryData<MfbsResponse>): void;
|
|
2254
|
+
abstract UpdateMfb(call: grpc_1.ServerUnaryCall<UpdateMfbRequest, MfbResponse>, callback: grpc_1.sendUnaryData<MfbResponse>): void;
|
|
2255
|
+
abstract UpdateMfbStatus(call: grpc_1.ServerUnaryCall<UpdateMfbStatusRequest, MfbResponse>, callback: grpc_1.sendUnaryData<MfbResponse>): void;
|
|
2256
|
+
abstract GetMfbAdmins(call: grpc_1.ServerUnaryCall<GetMfbRequest, AdminsResponse>, callback: grpc_1.sendUnaryData<AdminsResponse>): void;
|
|
1728
2257
|
}
|
|
1729
2258
|
const AdminServiceClient_base: grpc_1.ServiceClientConstructor;
|
|
1730
2259
|
export class AdminServiceClient extends AdminServiceClient_base {
|
|
@@ -1752,6 +2281,12 @@ export declare namespace com.pkg.admin {
|
|
|
1752
2281
|
ChangeAdminRole: GrpcPromiseServiceInterface<ChangeAdminRoleRequest, DefaultResponse>;
|
|
1753
2282
|
CreateAuditLog: GrpcPromiseServiceInterface<AuditLogRequest, DefaultResponse>;
|
|
1754
2283
|
GetAuditLogs: GrpcPromiseServiceInterface<GetAuditLogsRequest, MultipleAuditLogResponse>;
|
|
2284
|
+
CreateMfb: GrpcPromiseServiceInterface<CreateMfbRequest, MfbResponse>;
|
|
2285
|
+
GetMfb: GrpcPromiseServiceInterface<GetMfbRequest, MfbResponse>;
|
|
2286
|
+
GetMfbs: GrpcPromiseServiceInterface<GetMfbsRequest, MfbsResponse>;
|
|
2287
|
+
UpdateMfb: GrpcPromiseServiceInterface<UpdateMfbRequest, MfbResponse>;
|
|
2288
|
+
UpdateMfbStatus: GrpcPromiseServiceInterface<UpdateMfbStatusRequest, MfbResponse>;
|
|
2289
|
+
GetMfbAdmins: GrpcPromiseServiceInterface<GetMfbRequest, AdminsResponse>;
|
|
1755
2290
|
}
|
|
1756
2291
|
export {};
|
|
1757
2292
|
}
|