@mtgame/core 0.1.67 → 0.1.68
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/bundles/mtgame-core.umd.js +110 -0
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/models/game-bill.js +40 -0
- package/esm2015/models/organization-bill.js +39 -0
- package/esm2015/models/organization-tariff.js +30 -0
- package/esm2015/models/public-api.js +4 -1
- package/fesm2015/mtgame-core.js +96 -1
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/game-bill.d.ts +18 -0
- package/models/organization-bill.d.ts +17 -0
- package/models/organization-tariff.d.ts +11 -0
- package/models/public-api.d.ts +3 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -9714,6 +9714,86 @@
|
|
|
9714
9714
|
_a[exports.VolleyballGameLogType.yellow_card] = 'Предупреждение',
|
|
9715
9715
|
_a);
|
|
9716
9716
|
|
|
9717
|
+
exports.OrganizationBillStatuses = void 0;
|
|
9718
|
+
(function (OrganizationBillStatuses) {
|
|
9719
|
+
OrganizationBillStatuses[OrganizationBillStatuses["pending"] = 1] = "pending";
|
|
9720
|
+
OrganizationBillStatuses[OrganizationBillStatuses["paid"] = 2] = "paid";
|
|
9721
|
+
OrganizationBillStatuses[OrganizationBillStatuses["canceled"] = 3] = "canceled";
|
|
9722
|
+
})(exports.OrganizationBillStatuses || (exports.OrganizationBillStatuses = {}));
|
|
9723
|
+
exports.OrganizationBill = /** @class */ (function (_super) {
|
|
9724
|
+
__extends(OrganizationBill, _super);
|
|
9725
|
+
function OrganizationBill() {
|
|
9726
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
9727
|
+
}
|
|
9728
|
+
OrganizationBill.toFront = function (data) { };
|
|
9729
|
+
OrganizationBill.toBack = function (data) { };
|
|
9730
|
+
return OrganizationBill;
|
|
9731
|
+
}(BaseModel));
|
|
9732
|
+
__decorate([
|
|
9733
|
+
ToFrontHook
|
|
9734
|
+
], exports.OrganizationBill, "toFront", null);
|
|
9735
|
+
__decorate([
|
|
9736
|
+
ToBackHook
|
|
9737
|
+
], exports.OrganizationBill, "toBack", null);
|
|
9738
|
+
exports.OrganizationBill = __decorate([
|
|
9739
|
+
ModelInstance({
|
|
9740
|
+
mappingFields: {
|
|
9741
|
+
id: 'id',
|
|
9742
|
+
organization: 'organization',
|
|
9743
|
+
status: 'status',
|
|
9744
|
+
sum: 'sum',
|
|
9745
|
+
payment_date: 'paymentDate',
|
|
9746
|
+
pay_till_date: 'payTillDate',
|
|
9747
|
+
},
|
|
9748
|
+
relation: {
|
|
9749
|
+
organization: exports.Organization,
|
|
9750
|
+
status: enumField(exports.OrganizationBillStatuses),
|
|
9751
|
+
paymentDate: DateTimeField,
|
|
9752
|
+
payTillDate: DateTimeField,
|
|
9753
|
+
}
|
|
9754
|
+
})
|
|
9755
|
+
], exports.OrganizationBill);
|
|
9756
|
+
|
|
9757
|
+
exports.GameBillStatuses = void 0;
|
|
9758
|
+
(function (GameBillStatuses) {
|
|
9759
|
+
GameBillStatuses[GameBillStatuses["pending"] = 1] = "pending";
|
|
9760
|
+
GameBillStatuses[GameBillStatuses["paid"] = 2] = "paid";
|
|
9761
|
+
GameBillStatuses[GameBillStatuses["canceled"] = 3] = "canceled";
|
|
9762
|
+
})(exports.GameBillStatuses || (exports.GameBillStatuses = {}));
|
|
9763
|
+
exports.GameBill = /** @class */ (function (_super) {
|
|
9764
|
+
__extends(GameBill, _super);
|
|
9765
|
+
function GameBill() {
|
|
9766
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
9767
|
+
}
|
|
9768
|
+
GameBill.toFront = function (data) { };
|
|
9769
|
+
GameBill.toBack = function (data) { };
|
|
9770
|
+
return GameBill;
|
|
9771
|
+
}(BaseModel));
|
|
9772
|
+
__decorate([
|
|
9773
|
+
ToFrontHook
|
|
9774
|
+
], exports.GameBill, "toFront", null);
|
|
9775
|
+
__decorate([
|
|
9776
|
+
ToBackHook
|
|
9777
|
+
], exports.GameBill, "toBack", null);
|
|
9778
|
+
exports.GameBill = __decorate([
|
|
9779
|
+
ModelInstance({
|
|
9780
|
+
mappingFields: {
|
|
9781
|
+
id: 'id',
|
|
9782
|
+
game: 'game',
|
|
9783
|
+
status: 'status',
|
|
9784
|
+
organization_bill: 'organizationBill',
|
|
9785
|
+
paid_date: 'paidDate',
|
|
9786
|
+
price: 'price',
|
|
9787
|
+
},
|
|
9788
|
+
relation: {
|
|
9789
|
+
game: exports.Game,
|
|
9790
|
+
organizationBill: exports.OrganizationBill,
|
|
9791
|
+
status: enumField(exports.GameBillStatuses),
|
|
9792
|
+
paidDate: DateTimeField,
|
|
9793
|
+
}
|
|
9794
|
+
})
|
|
9795
|
+
], exports.GameBill);
|
|
9796
|
+
|
|
9717
9797
|
exports.LeaguePlaylist = /** @class */ (function (_super) {
|
|
9718
9798
|
__extends(LeaguePlaylist, _super);
|
|
9719
9799
|
function LeaguePlaylist() {
|
|
@@ -9743,6 +9823,36 @@
|
|
|
9743
9823
|
})
|
|
9744
9824
|
], exports.LeaguePlaylist);
|
|
9745
9825
|
|
|
9826
|
+
exports.OrganizationTariff = /** @class */ (function (_super) {
|
|
9827
|
+
__extends(OrganizationTariff, _super);
|
|
9828
|
+
function OrganizationTariff() {
|
|
9829
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
9830
|
+
}
|
|
9831
|
+
OrganizationTariff.toFront = function (data) { };
|
|
9832
|
+
OrganizationTariff.toBack = function (data) { };
|
|
9833
|
+
return OrganizationTariff;
|
|
9834
|
+
}(BaseModel));
|
|
9835
|
+
__decorate([
|
|
9836
|
+
ToFrontHook
|
|
9837
|
+
], exports.OrganizationTariff, "toFront", null);
|
|
9838
|
+
__decorate([
|
|
9839
|
+
ToBackHook
|
|
9840
|
+
], exports.OrganizationTariff, "toBack", null);
|
|
9841
|
+
exports.OrganizationTariff = __decorate([
|
|
9842
|
+
ModelInstance({
|
|
9843
|
+
mappingFields: {
|
|
9844
|
+
id: 'id',
|
|
9845
|
+
organization: 'organization',
|
|
9846
|
+
price: 'price',
|
|
9847
|
+
sport: 'sport',
|
|
9848
|
+
},
|
|
9849
|
+
relation: {
|
|
9850
|
+
organization: exports.Organization,
|
|
9851
|
+
sport: exports.Sport,
|
|
9852
|
+
}
|
|
9853
|
+
})
|
|
9854
|
+
], exports.OrganizationTariff);
|
|
9855
|
+
|
|
9746
9856
|
var CentrifugoService = /** @class */ (function () {
|
|
9747
9857
|
function CentrifugoService(httpClient, configService) {
|
|
9748
9858
|
this.httpClient = httpClient;
|