@hed-hog/billing 0.0.2
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/dist/adapters/billing-gateway-registry.d.ts +8 -0
- package/dist/adapters/billing-gateway-registry.d.ts.map +1 -0
- package/dist/adapters/billing-gateway-registry.js +33 -0
- package/dist/adapters/billing-gateway-registry.js.map +1 -0
- package/dist/adapters/mercadopago.adapter.d.ts +44 -0
- package/dist/adapters/mercadopago.adapter.d.ts.map +1 -0
- package/dist/adapters/mercadopago.adapter.js +68 -0
- package/dist/adapters/mercadopago.adapter.js.map +1 -0
- package/dist/adapters/pagarme.adapter.d.ts +44 -0
- package/dist/adapters/pagarme.adapter.d.ts.map +1 -0
- package/dist/adapters/pagarme.adapter.js +68 -0
- package/dist/adapters/pagarme.adapter.js.map +1 -0
- package/dist/adapters/payment-gateway.adapter.d.ts +15 -0
- package/dist/adapters/payment-gateway.adapter.d.ts.map +1 -0
- package/dist/adapters/payment-gateway.adapter.js +3 -0
- package/dist/adapters/payment-gateway.adapter.js.map +1 -0
- package/dist/adapters/stripe.adapter.d.ts +44 -0
- package/dist/adapters/stripe.adapter.d.ts.map +1 -0
- package/dist/adapters/stripe.adapter.js +69 -0
- package/dist/adapters/stripe.adapter.js.map +1 -0
- package/dist/billing-contracts.controller.d.ts +22 -0
- package/dist/billing-contracts.controller.d.ts.map +1 -0
- package/dist/billing-contracts.controller.js +84 -0
- package/dist/billing-contracts.controller.js.map +1 -0
- package/dist/billing-coupons.controller.d.ts +22 -0
- package/dist/billing-coupons.controller.d.ts.map +1 -0
- package/dist/billing-coupons.controller.js +84 -0
- package/dist/billing-coupons.controller.js.map +1 -0
- package/dist/billing-dashboard.controller.d.ts +13 -0
- package/dist/billing-dashboard.controller.d.ts.map +1 -0
- package/dist/billing-dashboard.controller.js +36 -0
- package/dist/billing-dashboard.controller.js.map +1 -0
- package/dist/billing-entitlements.controller.d.ts +19 -0
- package/dist/billing-entitlements.controller.d.ts.map +1 -0
- package/dist/billing-entitlements.controller.js +62 -0
- package/dist/billing-entitlements.controller.js.map +1 -0
- package/dist/billing-gateways.controller.d.ts +8 -0
- package/dist/billing-gateways.controller.d.ts.map +1 -0
- package/dist/billing-gateways.controller.js +50 -0
- package/dist/billing-gateways.controller.js.map +1 -0
- package/dist/billing-invoices.controller.d.ts +18 -0
- package/dist/billing-invoices.controller.d.ts.map +1 -0
- package/dist/billing-invoices.controller.js +61 -0
- package/dist/billing-invoices.controller.js.map +1 -0
- package/dist/billing-offers.controller.d.ts +22 -0
- package/dist/billing-offers.controller.d.ts.map +1 -0
- package/dist/billing-offers.controller.js +84 -0
- package/dist/billing-offers.controller.js.map +1 -0
- package/dist/billing-orders.controller.d.ts +19 -0
- package/dist/billing-orders.controller.d.ts.map +1 -0
- package/dist/billing-orders.controller.js +62 -0
- package/dist/billing-orders.controller.js.map +1 -0
- package/dist/billing-payments.controller.d.ts +17 -0
- package/dist/billing-payments.controller.d.ts.map +1 -0
- package/dist/billing-payments.controller.js +51 -0
- package/dist/billing-payments.controller.js.map +1 -0
- package/dist/billing-prices.controller.d.ts +22 -0
- package/dist/billing-prices.controller.d.ts.map +1 -0
- package/dist/billing-prices.controller.js +84 -0
- package/dist/billing-prices.controller.js.map +1 -0
- package/dist/billing-products.controller.d.ts +22 -0
- package/dist/billing-products.controller.d.ts.map +1 -0
- package/dist/billing-products.controller.js +84 -0
- package/dist/billing-products.controller.js.map +1 -0
- package/dist/billing-refunds.controller.d.ts +16 -0
- package/dist/billing-refunds.controller.d.ts.map +1 -0
- package/dist/billing-refunds.controller.js +41 -0
- package/dist/billing-refunds.controller.js.map +1 -0
- package/dist/billing-subscriptions.controller.d.ts +22 -0
- package/dist/billing-subscriptions.controller.d.ts.map +1 -0
- package/dist/billing-subscriptions.controller.js +92 -0
- package/dist/billing-subscriptions.controller.js.map +1 -0
- package/dist/billing-webhooks.controller.d.ts +16 -0
- package/dist/billing-webhooks.controller.d.ts.map +1 -0
- package/dist/billing-webhooks.controller.js +41 -0
- package/dist/billing-webhooks.controller.js.map +1 -0
- package/dist/billing.module.d.ts +3 -0
- package/dist/billing.module.d.ts.map +1 -0
- package/dist/billing.module.js +61 -0
- package/dist/billing.module.js.map +1 -0
- package/dist/billing.service.d.ts +169 -0
- package/dist/billing.service.d.ts.map +1 -0
- package/dist/billing.service.js +290 -0
- package/dist/billing.service.js.map +1 -0
- package/dist/dto/create-contract.dto.d.ts +11 -0
- package/dist/dto/create-contract.dto.d.ts.map +1 -0
- package/dist/dto/create-contract.dto.js +52 -0
- package/dist/dto/create-contract.dto.js.map +1 -0
- package/dist/dto/create-coupon.dto.d.ts +12 -0
- package/dist/dto/create-coupon.dto.d.ts.map +1 -0
- package/dist/dto/create-coupon.dto.js +60 -0
- package/dist/dto/create-coupon.dto.js.map +1 -0
- package/dist/dto/create-entitlement.dto.d.ts +12 -0
- package/dist/dto/create-entitlement.dto.d.ts.map +1 -0
- package/dist/dto/create-entitlement.dto.js +54 -0
- package/dist/dto/create-entitlement.dto.js.map +1 -0
- package/dist/dto/create-offer.dto.d.ts +7 -0
- package/dist/dto/create-offer.dto.d.ts.map +1 -0
- package/dist/dto/create-offer.dto.js +35 -0
- package/dist/dto/create-offer.dto.js.map +1 -0
- package/dist/dto/create-order.dto.d.ts +12 -0
- package/dist/dto/create-order.dto.d.ts.map +1 -0
- package/dist/dto/create-order.dto.js +65 -0
- package/dist/dto/create-order.dto.js.map +1 -0
- package/dist/dto/create-price.dto.d.ts +15 -0
- package/dist/dto/create-price.dto.d.ts.map +1 -0
- package/dist/dto/create-price.dto.js +76 -0
- package/dist/dto/create-price.dto.js.map +1 -0
- package/dist/dto/create-product.dto.d.ts +9 -0
- package/dist/dto/create-product.dto.d.ts.map +1 -0
- package/dist/dto/create-product.dto.js +45 -0
- package/dist/dto/create-product.dto.js.map +1 -0
- package/dist/dto/create-subscription.dto.d.ts +14 -0
- package/dist/dto/create-subscription.dto.d.ts.map +1 -0
- package/dist/dto/create-subscription.dto.js +67 -0
- package/dist/dto/create-subscription.dto.js.map +1 -0
- package/dist/dto/update-contract.dto.d.ts +6 -0
- package/dist/dto/update-contract.dto.d.ts.map +1 -0
- package/dist/dto/update-contract.dto.js +9 -0
- package/dist/dto/update-contract.dto.js.map +1 -0
- package/dist/dto/update-coupon.dto.d.ts +6 -0
- package/dist/dto/update-coupon.dto.d.ts.map +1 -0
- package/dist/dto/update-coupon.dto.js +9 -0
- package/dist/dto/update-coupon.dto.js.map +1 -0
- package/dist/dto/update-offer.dto.d.ts +6 -0
- package/dist/dto/update-offer.dto.d.ts.map +1 -0
- package/dist/dto/update-offer.dto.js +9 -0
- package/dist/dto/update-offer.dto.js.map +1 -0
- package/dist/dto/update-order.dto.d.ts +6 -0
- package/dist/dto/update-order.dto.d.ts.map +1 -0
- package/dist/dto/update-order.dto.js +9 -0
- package/dist/dto/update-order.dto.js.map +1 -0
- package/dist/dto/update-price.dto.d.ts +6 -0
- package/dist/dto/update-price.dto.d.ts.map +1 -0
- package/dist/dto/update-price.dto.js +9 -0
- package/dist/dto/update-price.dto.js.map +1 -0
- package/dist/dto/update-product.dto.d.ts +6 -0
- package/dist/dto/update-product.dto.d.ts.map +1 -0
- package/dist/dto/update-product.dto.js +9 -0
- package/dist/dto/update-product.dto.js.map +1 -0
- package/dist/dto/update-subscription.dto.d.ts +6 -0
- package/dist/dto/update-subscription.dto.d.ts.map +1 -0
- package/dist/dto/update-subscription.dto.js +9 -0
- package/dist/dto/update-subscription.dto.js.map +1 -0
- package/dist/index.d.ts +32 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +48 -0
- package/dist/index.js.map +1 -0
- package/hedhog/data/menu.yaml +284 -0
- package/hedhog/data/role.yaml +7 -0
- package/hedhog/data/route.yaml +422 -0
- package/hedhog/frontend/app/_lib/billing-mocks.ts.ejs +270 -0
- package/hedhog/frontend/app/contracts/page.tsx.ejs +562 -0
- package/hedhog/frontend/app/coupons/page.tsx.ejs +669 -0
- package/hedhog/frontend/app/entitlements/page.tsx.ejs +526 -0
- package/hedhog/frontend/app/gateways/page.tsx.ejs +308 -0
- package/hedhog/frontend/app/invoices/page.tsx.ejs +179 -0
- package/hedhog/frontend/app/offers/page.tsx.ejs +483 -0
- package/hedhog/frontend/app/orders/page.tsx.ejs +424 -0
- package/hedhog/frontend/app/page.tsx.ejs +186 -0
- package/hedhog/frontend/app/payments/page.tsx.ejs +187 -0
- package/hedhog/frontend/app/prices/page.tsx.ejs +704 -0
- package/hedhog/frontend/app/products/page.tsx.ejs +568 -0
- package/hedhog/frontend/app/refunds/page.tsx.ejs +174 -0
- package/hedhog/frontend/app/reports/page.tsx.ejs +177 -0
- package/hedhog/frontend/app/subscriptions/page.tsx.ejs +283 -0
- package/hedhog/frontend/app/webhooks/page.tsx.ejs +172 -0
- package/hedhog/frontend/messages/en.json +551 -0
- package/hedhog/frontend/messages/pt.json +563 -0
- package/hedhog/table/billing_contract.yaml +37 -0
- package/hedhog/table/billing_contract_seat.yaml +28 -0
- package/hedhog/table/billing_coupon.yaml +42 -0
- package/hedhog/table/billing_entitlement.yaml +41 -0
- package/hedhog/table/billing_entitlement_event.yaml +20 -0
- package/hedhog/table/billing_invoice.yaml +60 -0
- package/hedhog/table/billing_invoice_item.yaml +25 -0
- package/hedhog/table/billing_offer.yaml +22 -0
- package/hedhog/table/billing_offer_price.yaml +23 -0
- package/hedhog/table/billing_order.yaml +50 -0
- package/hedhog/table/billing_order_item.yaml +35 -0
- package/hedhog/table/billing_payment.yaml +66 -0
- package/hedhog/table/billing_payment_method.yaml +49 -0
- package/hedhog/table/billing_payment_provider.yaml +21 -0
- package/hedhog/table/billing_price.yaml +53 -0
- package/hedhog/table/billing_product.yaml +31 -0
- package/hedhog/table/billing_product_item.yaml +24 -0
- package/hedhog/table/billing_provider_event.yaml +31 -0
- package/hedhog/table/billing_refund.yaml +41 -0
- package/hedhog/table/billing_seat_allocation.yaml +42 -0
- package/hedhog/table/billing_subscription.yaml +66 -0
- package/hedhog/table/billing_subscription_event.yaml +20 -0
- package/hedhog/table/billing_subscription_item.yaml +29 -0
- package/package.json +37 -0
- package/src/adapters/billing-gateway-registry.ts +23 -0
- package/src/adapters/mercadopago.adapter.ts +66 -0
- package/src/adapters/pagarme.adapter.ts +66 -0
- package/src/adapters/payment-gateway.adapter.ts +14 -0
- package/src/adapters/stripe.adapter.ts +67 -0
- package/src/billing-contracts.controller.ts +46 -0
- package/src/billing-coupons.controller.ts +46 -0
- package/src/billing-dashboard.controller.ts +14 -0
- package/src/billing-entitlements.controller.ts +34 -0
- package/src/billing-gateways.controller.ts +19 -0
- package/src/billing-invoices.controller.ts +32 -0
- package/src/billing-offers.controller.ts +46 -0
- package/src/billing-orders.controller.ts +33 -0
- package/src/billing-payments.controller.ts +20 -0
- package/src/billing-prices.controller.ts +46 -0
- package/src/billing-products.controller.ts +46 -0
- package/src/billing-refunds.controller.ts +15 -0
- package/src/billing-subscriptions.controller.ts +49 -0
- package/src/billing-webhooks.controller.ts +15 -0
- package/src/billing.module.ts +48 -0
- package/src/billing.service.ts +391 -0
- package/src/dto/create-contract.dto.ts +30 -0
- package/src/dto/create-coupon.dto.ts +37 -0
- package/src/dto/create-entitlement.dto.ts +31 -0
- package/src/dto/create-offer.dto.ts +17 -0
- package/src/dto/create-order.dto.ts +42 -0
- package/src/dto/create-price.dto.ts +50 -0
- package/src/dto/create-product.dto.ts +25 -0
- package/src/dto/create-subscription.dto.ts +42 -0
- package/src/dto/update-contract.dto.ts +4 -0
- package/src/dto/update-coupon.dto.ts +4 -0
- package/src/dto/update-offer.dto.ts +4 -0
- package/src/dto/update-order.dto.ts +4 -0
- package/src/dto/update-price.dto.ts +4 -0
- package/src/dto/update-product.dto.ts +4 -0
- package/src/dto/update-subscription.dto.ts +4 -0
- package/src/index.ts +32 -0
- package/src/language/en.json +8 -0
- package/src/language/pt.json +8 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.BillingCouponsController = void 0;
|
|
16
|
+
const api_1 = require("@hed-hog/api");
|
|
17
|
+
const api_pagination_1 = require("@hed-hog/api-pagination");
|
|
18
|
+
const common_1 = require("@nestjs/common");
|
|
19
|
+
const billing_service_1 = require("./billing.service");
|
|
20
|
+
const create_coupon_dto_1 = require("./dto/create-coupon.dto");
|
|
21
|
+
const update_coupon_dto_1 = require("./dto/update-coupon.dto");
|
|
22
|
+
let BillingCouponsController = class BillingCouponsController {
|
|
23
|
+
constructor(billingService) {
|
|
24
|
+
this.billingService = billingService;
|
|
25
|
+
}
|
|
26
|
+
list(paginationParams) {
|
|
27
|
+
return this.billingService.listCoupons(paginationParams);
|
|
28
|
+
}
|
|
29
|
+
get(id) {
|
|
30
|
+
return this.billingService.getCoupon(id);
|
|
31
|
+
}
|
|
32
|
+
create(dto) {
|
|
33
|
+
return this.billingService.createCoupon(dto);
|
|
34
|
+
}
|
|
35
|
+
update(id, dto) {
|
|
36
|
+
return this.billingService.updateCoupon(id, dto);
|
|
37
|
+
}
|
|
38
|
+
remove(id) {
|
|
39
|
+
return this.billingService.deleteCoupon(id);
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
exports.BillingCouponsController = BillingCouponsController;
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, common_1.Get)('coupons'),
|
|
45
|
+
__param(0, (0, api_pagination_1.Pagination)()),
|
|
46
|
+
__metadata("design:type", Function),
|
|
47
|
+
__metadata("design:paramtypes", [api_pagination_1.PaginationDTO]),
|
|
48
|
+
__metadata("design:returntype", void 0)
|
|
49
|
+
], BillingCouponsController.prototype, "list", null);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, common_1.Get)('coupons/:id'),
|
|
52
|
+
__param(0, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
53
|
+
__metadata("design:type", Function),
|
|
54
|
+
__metadata("design:paramtypes", [Number]),
|
|
55
|
+
__metadata("design:returntype", void 0)
|
|
56
|
+
], BillingCouponsController.prototype, "get", null);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, common_1.Post)('coupons'),
|
|
59
|
+
__param(0, (0, common_1.Body)()),
|
|
60
|
+
__metadata("design:type", Function),
|
|
61
|
+
__metadata("design:paramtypes", [create_coupon_dto_1.CreateCouponDto]),
|
|
62
|
+
__metadata("design:returntype", void 0)
|
|
63
|
+
], BillingCouponsController.prototype, "create", null);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, common_1.Patch)('coupons/:id'),
|
|
66
|
+
__param(0, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
67
|
+
__param(1, (0, common_1.Body)()),
|
|
68
|
+
__metadata("design:type", Function),
|
|
69
|
+
__metadata("design:paramtypes", [Number, update_coupon_dto_1.UpdateCouponDto]),
|
|
70
|
+
__metadata("design:returntype", void 0)
|
|
71
|
+
], BillingCouponsController.prototype, "update", null);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, common_1.Delete)('coupons/:id'),
|
|
74
|
+
__param(0, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
75
|
+
__metadata("design:type", Function),
|
|
76
|
+
__metadata("design:paramtypes", [Number]),
|
|
77
|
+
__metadata("design:returntype", void 0)
|
|
78
|
+
], BillingCouponsController.prototype, "remove", null);
|
|
79
|
+
exports.BillingCouponsController = BillingCouponsController = __decorate([
|
|
80
|
+
(0, api_1.Role)(),
|
|
81
|
+
(0, common_1.Controller)('billing'),
|
|
82
|
+
__metadata("design:paramtypes", [billing_service_1.BillingService])
|
|
83
|
+
], BillingCouponsController);
|
|
84
|
+
//# sourceMappingURL=billing-coupons.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-coupons.controller.js","sourceRoot":"","sources":["../src/billing-coupons.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,sCAAoC;AACpC,4DAAoE;AACpE,2CASwB;AACxB,uDAAmD;AACnD,+DAA0D;AAC1D,+DAA0D;AAInD,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;IACnC,YAA6B,cAA8B;QAA9B,mBAAc,GAAd,cAAc,CAAgB;IAAG,CAAC;IAG/D,IAAI,CAAe,gBAA+B;QAChD,OAAO,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC;IAC3D,CAAC;IAGD,GAAG,CAA4B,EAAU;QACvC,OAAO,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC;IAC3C,CAAC;IAGD,MAAM,CAAS,GAAoB;QACjC,OAAO,IAAI,CAAC,cAAc,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC;IAC/C,CAAC;IAGD,MAAM,CAA4B,EAAU,EAAU,GAAoB;QACxE,OAAO,IAAI,CAAC,cAAc,CAAC,YAAY,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC;IACnD,CAAC;IAGD,MAAM,CAA4B,EAAU;QAC1C,OAAO,IAAI,CAAC,cAAc,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;IAC9C,CAAC;CACF,CAAA;AA3BY,4DAAwB;AAInC;IADC,IAAA,YAAG,EAAC,SAAS,CAAC;IACT,WAAA,IAAA,2BAAU,GAAE,CAAA;;qCAAmB,8BAAa;;oDAEjD;AAGD;IADC,IAAA,YAAG,EAAC,aAAa,CAAC;IACd,WAAA,IAAA,cAAK,EAAC,IAAI,EAAE,qBAAY,CAAC,CAAA;;;;mDAE7B;AAGD;IADC,IAAA,aAAI,EAAC,SAAS,CAAC;IACR,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAM,mCAAe;;sDAElC;AAGD;IADC,IAAA,cAAK,EAAC,aAAa,CAAC;IACb,WAAA,IAAA,cAAK,EAAC,IAAI,EAAE,qBAAY,CAAC,CAAA;IAAc,WAAA,IAAA,aAAI,GAAE,CAAA;;6CAAM,mCAAe;;sDAEzE;AAGD;IADC,IAAA,eAAM,EAAC,aAAa,CAAC;IACd,WAAA,IAAA,cAAK,EAAC,IAAI,EAAE,qBAAY,CAAC,CAAA;;;;sDAEhC;mCA1BU,wBAAwB;IAFpC,IAAA,UAAI,GAAE;IACN,IAAA,mBAAU,EAAC,SAAS,CAAC;qCAEyB,gCAAc;GADhD,wBAAwB,CA2BpC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BillingService } from './billing.service';
|
|
2
|
+
export declare class BillingDashboardController {
|
|
3
|
+
private readonly billingService;
|
|
4
|
+
constructor(billingService: BillingService);
|
|
5
|
+
getData(): Promise<{
|
|
6
|
+
activeSubscriptions: any;
|
|
7
|
+
failedPayments: any;
|
|
8
|
+
overdueInvoices: any;
|
|
9
|
+
revenueThisMonthCents: any;
|
|
10
|
+
recentPayments: any;
|
|
11
|
+
}>;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=billing-dashboard.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-dashboard.controller.d.ts","sourceRoot":"","sources":["../src/billing-dashboard.controller.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,qBAEa,0BAA0B;IACzB,OAAO,CAAC,QAAQ,CAAC,cAAc;gBAAd,cAAc,EAAE,cAAc;IAG3D,OAAO;;;;;;;CAGR"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.BillingDashboardController = void 0;
|
|
13
|
+
const api_1 = require("@hed-hog/api");
|
|
14
|
+
const common_1 = require("@nestjs/common");
|
|
15
|
+
const billing_service_1 = require("./billing.service");
|
|
16
|
+
let BillingDashboardController = class BillingDashboardController {
|
|
17
|
+
constructor(billingService) {
|
|
18
|
+
this.billingService = billingService;
|
|
19
|
+
}
|
|
20
|
+
getData() {
|
|
21
|
+
return this.billingService.getDashboardData();
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
exports.BillingDashboardController = BillingDashboardController;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, common_1.Get)('dashboard'),
|
|
27
|
+
__metadata("design:type", Function),
|
|
28
|
+
__metadata("design:paramtypes", []),
|
|
29
|
+
__metadata("design:returntype", void 0)
|
|
30
|
+
], BillingDashboardController.prototype, "getData", null);
|
|
31
|
+
exports.BillingDashboardController = BillingDashboardController = __decorate([
|
|
32
|
+
(0, api_1.Role)(),
|
|
33
|
+
(0, common_1.Controller)('billing'),
|
|
34
|
+
__metadata("design:paramtypes", [billing_service_1.BillingService])
|
|
35
|
+
], BillingDashboardController);
|
|
36
|
+
//# sourceMappingURL=billing-dashboard.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-dashboard.controller.js","sourceRoot":"","sources":["../src/billing-dashboard.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sCAAoC;AACpC,2CAAiD;AACjD,uDAAmD;AAI5C,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;IACrC,YAA6B,cAA8B;QAA9B,mBAAc,GAAd,cAAc,CAAgB;IAAG,CAAC;IAG/D,OAAO;QACL,OAAO,IAAI,CAAC,cAAc,CAAC,gBAAgB,EAAE,CAAC;IAChD,CAAC;CACF,CAAA;AAPY,gEAA0B;AAIrC;IADC,IAAA,YAAG,EAAC,WAAW,CAAC;;;;yDAGhB;qCANU,0BAA0B;IAFtC,IAAA,UAAI,GAAE;IACN,IAAA,mBAAU,EAAC,SAAS,CAAC;qCAEyB,gCAAc;GADhD,0BAA0B,CAOtC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PaginationDTO } from '@hed-hog/api-pagination';
|
|
2
|
+
import { BillingService } from './billing.service';
|
|
3
|
+
import { CreateEntitlementDto } from './dto/create-entitlement.dto';
|
|
4
|
+
export declare class BillingEntitlementsController {
|
|
5
|
+
private readonly billingService;
|
|
6
|
+
constructor(billingService: BillingService);
|
|
7
|
+
list(paginationParams: PaginationDTO): Promise<{
|
|
8
|
+
total: any;
|
|
9
|
+
lastPage: number;
|
|
10
|
+
page: number;
|
|
11
|
+
pageSize: number;
|
|
12
|
+
prev: number;
|
|
13
|
+
next: number;
|
|
14
|
+
data: any[];
|
|
15
|
+
}>;
|
|
16
|
+
create(dto: CreateEntitlementDto): Promise<any>;
|
|
17
|
+
remove(id: number): Promise<any>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=billing-entitlements.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-entitlements.controller.d.ts","sourceRoot":"","sources":["../src/billing-entitlements.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAUpE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE,qBAEa,6BAA6B;IAC5B,OAAO,CAAC,QAAQ,CAAC,cAAc;gBAAd,cAAc,EAAE,cAAc;IAG3D,IAAI,CAAe,gBAAgB,EAAE,aAAa;;;;;;;;;IAKlD,MAAM,CAAS,GAAG,EAAE,oBAAoB;IAKxC,MAAM,CAA4B,EAAE,EAAE,MAAM;CAG7C"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.BillingEntitlementsController = void 0;
|
|
16
|
+
const api_1 = require("@hed-hog/api");
|
|
17
|
+
const api_pagination_1 = require("@hed-hog/api-pagination");
|
|
18
|
+
const common_1 = require("@nestjs/common");
|
|
19
|
+
const billing_service_1 = require("./billing.service");
|
|
20
|
+
const create_entitlement_dto_1 = require("./dto/create-entitlement.dto");
|
|
21
|
+
let BillingEntitlementsController = class BillingEntitlementsController {
|
|
22
|
+
constructor(billingService) {
|
|
23
|
+
this.billingService = billingService;
|
|
24
|
+
}
|
|
25
|
+
list(paginationParams) {
|
|
26
|
+
return this.billingService.listEntitlements(paginationParams);
|
|
27
|
+
}
|
|
28
|
+
create(dto) {
|
|
29
|
+
return this.billingService.createEntitlement(dto);
|
|
30
|
+
}
|
|
31
|
+
remove(id) {
|
|
32
|
+
return this.billingService.deleteEntitlement(id);
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
exports.BillingEntitlementsController = BillingEntitlementsController;
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, common_1.Get)('entitlements'),
|
|
38
|
+
__param(0, (0, api_pagination_1.Pagination)()),
|
|
39
|
+
__metadata("design:type", Function),
|
|
40
|
+
__metadata("design:paramtypes", [api_pagination_1.PaginationDTO]),
|
|
41
|
+
__metadata("design:returntype", void 0)
|
|
42
|
+
], BillingEntitlementsController.prototype, "list", null);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, common_1.Post)('entitlements'),
|
|
45
|
+
__param(0, (0, common_1.Body)()),
|
|
46
|
+
__metadata("design:type", Function),
|
|
47
|
+
__metadata("design:paramtypes", [create_entitlement_dto_1.CreateEntitlementDto]),
|
|
48
|
+
__metadata("design:returntype", void 0)
|
|
49
|
+
], BillingEntitlementsController.prototype, "create", null);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, common_1.Delete)('entitlements/:id'),
|
|
52
|
+
__param(0, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
53
|
+
__metadata("design:type", Function),
|
|
54
|
+
__metadata("design:paramtypes", [Number]),
|
|
55
|
+
__metadata("design:returntype", void 0)
|
|
56
|
+
], BillingEntitlementsController.prototype, "remove", null);
|
|
57
|
+
exports.BillingEntitlementsController = BillingEntitlementsController = __decorate([
|
|
58
|
+
(0, api_1.Role)(),
|
|
59
|
+
(0, common_1.Controller)('billing'),
|
|
60
|
+
__metadata("design:paramtypes", [billing_service_1.BillingService])
|
|
61
|
+
], BillingEntitlementsController);
|
|
62
|
+
//# sourceMappingURL=billing-entitlements.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-entitlements.controller.js","sourceRoot":"","sources":["../src/billing-entitlements.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,sCAAoC;AACpC,4DAAoE;AACpE,2CAQwB;AACxB,uDAAmD;AACnD,yEAAoE;AAI7D,IAAM,6BAA6B,GAAnC,MAAM,6BAA6B;IACxC,YAA6B,cAA8B;QAA9B,mBAAc,GAAd,cAAc,CAAgB;IAAG,CAAC;IAG/D,IAAI,CAAe,gBAA+B;QAChD,OAAO,IAAI,CAAC,cAAc,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;IAChE,CAAC;IAGD,MAAM,CAAS,GAAyB;QACtC,OAAO,IAAI,CAAC,cAAc,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC;IACpD,CAAC;IAGD,MAAM,CAA4B,EAAU;QAC1C,OAAO,IAAI,CAAC,cAAc,CAAC,iBAAiB,CAAC,EAAE,CAAC,CAAC;IACnD,CAAC;CACF,CAAA;AAjBY,sEAA6B;AAIxC;IADC,IAAA,YAAG,EAAC,cAAc,CAAC;IACd,WAAA,IAAA,2BAAU,GAAE,CAAA;;qCAAmB,8BAAa;;yDAEjD;AAGD;IADC,IAAA,aAAI,EAAC,cAAc,CAAC;IACb,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAM,6CAAoB;;2DAEvC;AAGD;IADC,IAAA,eAAM,EAAC,kBAAkB,CAAC;IACnB,WAAA,IAAA,cAAK,EAAC,IAAI,EAAE,qBAAY,CAAC,CAAA;;;;2DAEhC;wCAhBU,6BAA6B;IAFzC,IAAA,UAAI,GAAE;IACN,IAAA,mBAAU,EAAC,SAAS,CAAC;qCAEyB,gCAAc;GADhD,6BAA6B,CAiBzC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BillingService } from './billing.service';
|
|
2
|
+
export declare class BillingGatewaysController {
|
|
3
|
+
private readonly billingService;
|
|
4
|
+
constructor(billingService: BillingService);
|
|
5
|
+
list(): Promise<any>;
|
|
6
|
+
update(slug: string, data: Record<string, unknown>): Promise<any>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=billing-gateways.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-gateways.controller.d.ts","sourceRoot":"","sources":["../src/billing-gateways.controller.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,qBAEa,yBAAyB;IACxB,OAAO,CAAC,QAAQ,CAAC,cAAc;gBAAd,cAAc,EAAE,cAAc;IAG3D,IAAI;IAKJ,MAAM,CAAgB,IAAI,EAAE,MAAM,EAAU,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAG1E"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.BillingGatewaysController = void 0;
|
|
16
|
+
const api_1 = require("@hed-hog/api");
|
|
17
|
+
const common_1 = require("@nestjs/common");
|
|
18
|
+
const billing_service_1 = require("./billing.service");
|
|
19
|
+
let BillingGatewaysController = class BillingGatewaysController {
|
|
20
|
+
constructor(billingService) {
|
|
21
|
+
this.billingService = billingService;
|
|
22
|
+
}
|
|
23
|
+
list() {
|
|
24
|
+
return this.billingService.listGateways();
|
|
25
|
+
}
|
|
26
|
+
update(slug, data) {
|
|
27
|
+
return this.billingService.updateGateway(slug, data);
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
exports.BillingGatewaysController = BillingGatewaysController;
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, common_1.Get)('gateways'),
|
|
33
|
+
__metadata("design:type", Function),
|
|
34
|
+
__metadata("design:paramtypes", []),
|
|
35
|
+
__metadata("design:returntype", void 0)
|
|
36
|
+
], BillingGatewaysController.prototype, "list", null);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, common_1.Patch)('gateways/:slug'),
|
|
39
|
+
__param(0, (0, common_1.Param)('slug')),
|
|
40
|
+
__param(1, (0, common_1.Body)()),
|
|
41
|
+
__metadata("design:type", Function),
|
|
42
|
+
__metadata("design:paramtypes", [String, Object]),
|
|
43
|
+
__metadata("design:returntype", void 0)
|
|
44
|
+
], BillingGatewaysController.prototype, "update", null);
|
|
45
|
+
exports.BillingGatewaysController = BillingGatewaysController = __decorate([
|
|
46
|
+
(0, api_1.Role)(),
|
|
47
|
+
(0, common_1.Controller)('billing'),
|
|
48
|
+
__metadata("design:paramtypes", [billing_service_1.BillingService])
|
|
49
|
+
], BillingGatewaysController);
|
|
50
|
+
//# sourceMappingURL=billing-gateways.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-gateways.controller.js","sourceRoot":"","sources":["../src/billing-gateways.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,sCAAoC;AACpC,2CAAqE;AACrE,uDAAmD;AAI5C,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;IACpC,YAA6B,cAA8B;QAA9B,mBAAc,GAAd,cAAc,CAAgB;IAAG,CAAC;IAG/D,IAAI;QACF,OAAO,IAAI,CAAC,cAAc,CAAC,YAAY,EAAE,CAAC;IAC5C,CAAC;IAGD,MAAM,CAAgB,IAAY,EAAU,IAA6B;QACvE,OAAO,IAAI,CAAC,cAAc,CAAC,aAAa,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;CACF,CAAA;AAZY,8DAAyB;AAIpC;IADC,IAAA,YAAG,EAAC,UAAU,CAAC;;;;qDAGf;AAGD;IADC,IAAA,cAAK,EAAC,gBAAgB,CAAC;IAChB,WAAA,IAAA,cAAK,EAAC,MAAM,CAAC,CAAA;IAAgB,WAAA,IAAA,aAAI,GAAE,CAAA;;;;uDAE1C;oCAXU,yBAAyB;IAFrC,IAAA,UAAI,GAAE;IACN,IAAA,mBAAU,EAAC,SAAS,CAAC;qCAEyB,gCAAc;GADhD,yBAAyB,CAYrC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PaginationDTO } from '@hed-hog/api-pagination';
|
|
2
|
+
import { BillingService } from './billing.service';
|
|
3
|
+
export declare class BillingInvoicesController {
|
|
4
|
+
private readonly billingService;
|
|
5
|
+
constructor(billingService: BillingService);
|
|
6
|
+
list(paginationParams: PaginationDTO): Promise<{
|
|
7
|
+
total: any;
|
|
8
|
+
lastPage: number;
|
|
9
|
+
page: number;
|
|
10
|
+
pageSize: number;
|
|
11
|
+
prev: number;
|
|
12
|
+
next: number;
|
|
13
|
+
data: any[];
|
|
14
|
+
}>;
|
|
15
|
+
get(id: number): Promise<any>;
|
|
16
|
+
create(data: Record<string, unknown>): Promise<any>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=billing-invoices.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-invoices.controller.d.ts","sourceRoot":"","sources":["../src/billing-invoices.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,aAAa,EAAE,MAAM,yBAAyB,CAAC;AASpE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,qBAEa,yBAAyB;IACxB,OAAO,CAAC,QAAQ,CAAC,cAAc;gBAAd,cAAc,EAAE,cAAc;IAG3D,IAAI,CAAe,gBAAgB,EAAE,aAAa;;;;;;;;;IAKlD,GAAG,CAA4B,EAAE,EAAE,MAAM;IAKzC,MAAM,CAAS,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAG7C"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.BillingInvoicesController = void 0;
|
|
16
|
+
const api_1 = require("@hed-hog/api");
|
|
17
|
+
const api_pagination_1 = require("@hed-hog/api-pagination");
|
|
18
|
+
const common_1 = require("@nestjs/common");
|
|
19
|
+
const billing_service_1 = require("./billing.service");
|
|
20
|
+
let BillingInvoicesController = class BillingInvoicesController {
|
|
21
|
+
constructor(billingService) {
|
|
22
|
+
this.billingService = billingService;
|
|
23
|
+
}
|
|
24
|
+
list(paginationParams) {
|
|
25
|
+
return this.billingService.listInvoices(paginationParams);
|
|
26
|
+
}
|
|
27
|
+
get(id) {
|
|
28
|
+
return this.billingService.getInvoice(id);
|
|
29
|
+
}
|
|
30
|
+
create(data) {
|
|
31
|
+
return this.billingService.createInvoice(data);
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
exports.BillingInvoicesController = BillingInvoicesController;
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, common_1.Get)('invoices'),
|
|
37
|
+
__param(0, (0, api_pagination_1.Pagination)()),
|
|
38
|
+
__metadata("design:type", Function),
|
|
39
|
+
__metadata("design:paramtypes", [api_pagination_1.PaginationDTO]),
|
|
40
|
+
__metadata("design:returntype", void 0)
|
|
41
|
+
], BillingInvoicesController.prototype, "list", null);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, common_1.Get)('invoices/:id'),
|
|
44
|
+
__param(0, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
45
|
+
__metadata("design:type", Function),
|
|
46
|
+
__metadata("design:paramtypes", [Number]),
|
|
47
|
+
__metadata("design:returntype", void 0)
|
|
48
|
+
], BillingInvoicesController.prototype, "get", null);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, common_1.Post)('invoices'),
|
|
51
|
+
__param(0, (0, common_1.Body)()),
|
|
52
|
+
__metadata("design:type", Function),
|
|
53
|
+
__metadata("design:paramtypes", [Object]),
|
|
54
|
+
__metadata("design:returntype", void 0)
|
|
55
|
+
], BillingInvoicesController.prototype, "create", null);
|
|
56
|
+
exports.BillingInvoicesController = BillingInvoicesController = __decorate([
|
|
57
|
+
(0, api_1.Role)(),
|
|
58
|
+
(0, common_1.Controller)('billing'),
|
|
59
|
+
__metadata("design:paramtypes", [billing_service_1.BillingService])
|
|
60
|
+
], BillingInvoicesController);
|
|
61
|
+
//# sourceMappingURL=billing-invoices.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-invoices.controller.js","sourceRoot":"","sources":["../src/billing-invoices.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,sCAAoC;AACpC,4DAAoE;AACpE,2CAOwB;AACxB,uDAAmD;AAI5C,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;IACpC,YAA6B,cAA8B;QAA9B,mBAAc,GAAd,cAAc,CAAgB;IAAG,CAAC;IAG/D,IAAI,CAAe,gBAA+B;QAChD,OAAO,IAAI,CAAC,cAAc,CAAC,YAAY,CAAC,gBAAgB,CAAC,CAAC;IAC5D,CAAC;IAGD,GAAG,CAA4B,EAAU;QACvC,OAAO,IAAI,CAAC,cAAc,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;IAC5C,CAAC;IAGD,MAAM,CAAS,IAA6B;QAC1C,OAAO,IAAI,CAAC,cAAc,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;CACF,CAAA;AAjBY,8DAAyB;AAIpC;IADC,IAAA,YAAG,EAAC,UAAU,CAAC;IACV,WAAA,IAAA,2BAAU,GAAE,CAAA;;qCAAmB,8BAAa;;qDAEjD;AAGD;IADC,IAAA,YAAG,EAAC,cAAc,CAAC;IACf,WAAA,IAAA,cAAK,EAAC,IAAI,EAAE,qBAAY,CAAC,CAAA;;;;oDAE7B;AAGD;IADC,IAAA,aAAI,EAAC,UAAU,CAAC;IACT,WAAA,IAAA,aAAI,GAAE,CAAA;;;;uDAEb;oCAhBU,yBAAyB;IAFrC,IAAA,UAAI,GAAE;IACN,IAAA,mBAAU,EAAC,SAAS,CAAC;qCAEyB,gCAAc;GADhD,yBAAyB,CAiBrC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PaginationDTO } from '@hed-hog/api-pagination';
|
|
2
|
+
import { BillingService } from './billing.service';
|
|
3
|
+
import { CreateOfferDto } from './dto/create-offer.dto';
|
|
4
|
+
import { UpdateOfferDto } from './dto/update-offer.dto';
|
|
5
|
+
export declare class BillingOffersController {
|
|
6
|
+
private readonly billingService;
|
|
7
|
+
constructor(billingService: BillingService);
|
|
8
|
+
list(paginationParams: PaginationDTO): Promise<{
|
|
9
|
+
total: any;
|
|
10
|
+
lastPage: number;
|
|
11
|
+
page: number;
|
|
12
|
+
pageSize: number;
|
|
13
|
+
prev: number;
|
|
14
|
+
next: number;
|
|
15
|
+
data: any[];
|
|
16
|
+
}>;
|
|
17
|
+
get(id: number): Promise<any>;
|
|
18
|
+
create(dto: CreateOfferDto): Promise<any>;
|
|
19
|
+
update(id: number, dto: UpdateOfferDto): Promise<any>;
|
|
20
|
+
remove(id: number): Promise<any>;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=billing-offers.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-offers.controller.d.ts","sourceRoot":"","sources":["../src/billing-offers.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAWpE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,qBAEa,uBAAuB;IACtB,OAAO,CAAC,QAAQ,CAAC,cAAc;gBAAd,cAAc,EAAE,cAAc;IAG3D,IAAI,CAAe,gBAAgB,EAAE,aAAa;;;;;;;;;IAKlD,GAAG,CAA4B,EAAE,EAAE,MAAM;IAKzC,MAAM,CAAS,GAAG,EAAE,cAAc;IAKlC,MAAM,CAA4B,EAAE,EAAE,MAAM,EAAU,GAAG,EAAE,cAAc;IAKzE,MAAM,CAA4B,EAAE,EAAE,MAAM;CAG7C"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.BillingOffersController = void 0;
|
|
16
|
+
const api_1 = require("@hed-hog/api");
|
|
17
|
+
const api_pagination_1 = require("@hed-hog/api-pagination");
|
|
18
|
+
const common_1 = require("@nestjs/common");
|
|
19
|
+
const billing_service_1 = require("./billing.service");
|
|
20
|
+
const create_offer_dto_1 = require("./dto/create-offer.dto");
|
|
21
|
+
const update_offer_dto_1 = require("./dto/update-offer.dto");
|
|
22
|
+
let BillingOffersController = class BillingOffersController {
|
|
23
|
+
constructor(billingService) {
|
|
24
|
+
this.billingService = billingService;
|
|
25
|
+
}
|
|
26
|
+
list(paginationParams) {
|
|
27
|
+
return this.billingService.listOffers(paginationParams);
|
|
28
|
+
}
|
|
29
|
+
get(id) {
|
|
30
|
+
return this.billingService.getOffer(id);
|
|
31
|
+
}
|
|
32
|
+
create(dto) {
|
|
33
|
+
return this.billingService.createOffer(dto);
|
|
34
|
+
}
|
|
35
|
+
update(id, dto) {
|
|
36
|
+
return this.billingService.updateOffer(id, dto);
|
|
37
|
+
}
|
|
38
|
+
remove(id) {
|
|
39
|
+
return this.billingService.deleteOffer(id);
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
exports.BillingOffersController = BillingOffersController;
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, common_1.Get)('offers'),
|
|
45
|
+
__param(0, (0, api_pagination_1.Pagination)()),
|
|
46
|
+
__metadata("design:type", Function),
|
|
47
|
+
__metadata("design:paramtypes", [api_pagination_1.PaginationDTO]),
|
|
48
|
+
__metadata("design:returntype", void 0)
|
|
49
|
+
], BillingOffersController.prototype, "list", null);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, common_1.Get)('offers/:id'),
|
|
52
|
+
__param(0, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
53
|
+
__metadata("design:type", Function),
|
|
54
|
+
__metadata("design:paramtypes", [Number]),
|
|
55
|
+
__metadata("design:returntype", void 0)
|
|
56
|
+
], BillingOffersController.prototype, "get", null);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, common_1.Post)('offers'),
|
|
59
|
+
__param(0, (0, common_1.Body)()),
|
|
60
|
+
__metadata("design:type", Function),
|
|
61
|
+
__metadata("design:paramtypes", [create_offer_dto_1.CreateOfferDto]),
|
|
62
|
+
__metadata("design:returntype", void 0)
|
|
63
|
+
], BillingOffersController.prototype, "create", null);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, common_1.Patch)('offers/:id'),
|
|
66
|
+
__param(0, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
67
|
+
__param(1, (0, common_1.Body)()),
|
|
68
|
+
__metadata("design:type", Function),
|
|
69
|
+
__metadata("design:paramtypes", [Number, update_offer_dto_1.UpdateOfferDto]),
|
|
70
|
+
__metadata("design:returntype", void 0)
|
|
71
|
+
], BillingOffersController.prototype, "update", null);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, common_1.Delete)('offers/:id'),
|
|
74
|
+
__param(0, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
75
|
+
__metadata("design:type", Function),
|
|
76
|
+
__metadata("design:paramtypes", [Number]),
|
|
77
|
+
__metadata("design:returntype", void 0)
|
|
78
|
+
], BillingOffersController.prototype, "remove", null);
|
|
79
|
+
exports.BillingOffersController = BillingOffersController = __decorate([
|
|
80
|
+
(0, api_1.Role)(),
|
|
81
|
+
(0, common_1.Controller)('billing'),
|
|
82
|
+
__metadata("design:paramtypes", [billing_service_1.BillingService])
|
|
83
|
+
], BillingOffersController);
|
|
84
|
+
//# sourceMappingURL=billing-offers.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-offers.controller.js","sourceRoot":"","sources":["../src/billing-offers.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,sCAAoC;AACpC,4DAAoE;AACpE,2CASwB;AACxB,uDAAmD;AACnD,6DAAwD;AACxD,6DAAwD;AAIjD,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IAClC,YAA6B,cAA8B;QAA9B,mBAAc,GAAd,cAAc,CAAgB;IAAG,CAAC;IAG/D,IAAI,CAAe,gBAA+B;QAChD,OAAO,IAAI,CAAC,cAAc,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;IAC1D,CAAC;IAGD,GAAG,CAA4B,EAAU;QACvC,OAAO,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;IAC1C,CAAC;IAGD,MAAM,CAAS,GAAmB;QAChC,OAAO,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAC9C,CAAC;IAGD,MAAM,CAA4B,EAAU,EAAU,GAAmB;QACvE,OAAO,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC;IAClD,CAAC;IAGD,MAAM,CAA4B,EAAU;QAC1C,OAAO,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IAC7C,CAAC;CACF,CAAA;AA3BY,0DAAuB;AAIlC;IADC,IAAA,YAAG,EAAC,QAAQ,CAAC;IACR,WAAA,IAAA,2BAAU,GAAE,CAAA;;qCAAmB,8BAAa;;mDAEjD;AAGD;IADC,IAAA,YAAG,EAAC,YAAY,CAAC;IACb,WAAA,IAAA,cAAK,EAAC,IAAI,EAAE,qBAAY,CAAC,CAAA;;;;kDAE7B;AAGD;IADC,IAAA,aAAI,EAAC,QAAQ,CAAC;IACP,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAM,iCAAc;;qDAEjC;AAGD;IADC,IAAA,cAAK,EAAC,YAAY,CAAC;IACZ,WAAA,IAAA,cAAK,EAAC,IAAI,EAAE,qBAAY,CAAC,CAAA;IAAc,WAAA,IAAA,aAAI,GAAE,CAAA;;6CAAM,iCAAc;;qDAExE;AAGD;IADC,IAAA,eAAM,EAAC,YAAY,CAAC;IACb,WAAA,IAAA,cAAK,EAAC,IAAI,EAAE,qBAAY,CAAC,CAAA;;;;qDAEhC;kCA1BU,uBAAuB;IAFnC,IAAA,UAAI,GAAE;IACN,IAAA,mBAAU,EAAC,SAAS,CAAC;qCAEyB,gCAAc;GADhD,uBAAuB,CA2BnC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PaginationDTO } from '@hed-hog/api-pagination';
|
|
2
|
+
import { BillingService } from './billing.service';
|
|
3
|
+
import { CreateOrderDto } from './dto/create-order.dto';
|
|
4
|
+
export declare class BillingOrdersController {
|
|
5
|
+
private readonly billingService;
|
|
6
|
+
constructor(billingService: BillingService);
|
|
7
|
+
list(paginationParams: PaginationDTO): Promise<{
|
|
8
|
+
total: any;
|
|
9
|
+
lastPage: number;
|
|
10
|
+
page: number;
|
|
11
|
+
pageSize: number;
|
|
12
|
+
prev: number;
|
|
13
|
+
next: number;
|
|
14
|
+
data: any[];
|
|
15
|
+
}>;
|
|
16
|
+
get(id: number): Promise<any>;
|
|
17
|
+
create(dto: CreateOrderDto): Promise<any>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=billing-orders.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-orders.controller.d.ts","sourceRoot":"","sources":["../src/billing-orders.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,aAAa,EAAE,MAAM,yBAAyB,CAAC;AASpE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,qBAEa,uBAAuB;IACtB,OAAO,CAAC,QAAQ,CAAC,cAAc;gBAAd,cAAc,EAAE,cAAc;IAG3D,IAAI,CAAe,gBAAgB,EAAE,aAAa;;;;;;;;;IAKlD,GAAG,CAA4B,EAAE,EAAE,MAAM;IAKzC,MAAM,CAAS,GAAG,EAAE,cAAc;CAGnC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.BillingOrdersController = void 0;
|
|
16
|
+
const api_1 = require("@hed-hog/api");
|
|
17
|
+
const api_pagination_1 = require("@hed-hog/api-pagination");
|
|
18
|
+
const common_1 = require("@nestjs/common");
|
|
19
|
+
const billing_service_1 = require("./billing.service");
|
|
20
|
+
const create_order_dto_1 = require("./dto/create-order.dto");
|
|
21
|
+
let BillingOrdersController = class BillingOrdersController {
|
|
22
|
+
constructor(billingService) {
|
|
23
|
+
this.billingService = billingService;
|
|
24
|
+
}
|
|
25
|
+
list(paginationParams) {
|
|
26
|
+
return this.billingService.listOrders(paginationParams);
|
|
27
|
+
}
|
|
28
|
+
get(id) {
|
|
29
|
+
return this.billingService.getOrder(id);
|
|
30
|
+
}
|
|
31
|
+
create(dto) {
|
|
32
|
+
return this.billingService.createOrder(dto);
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
exports.BillingOrdersController = BillingOrdersController;
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, common_1.Get)('orders'),
|
|
38
|
+
__param(0, (0, api_pagination_1.Pagination)()),
|
|
39
|
+
__metadata("design:type", Function),
|
|
40
|
+
__metadata("design:paramtypes", [api_pagination_1.PaginationDTO]),
|
|
41
|
+
__metadata("design:returntype", void 0)
|
|
42
|
+
], BillingOrdersController.prototype, "list", null);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, common_1.Get)('orders/:id'),
|
|
45
|
+
__param(0, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
46
|
+
__metadata("design:type", Function),
|
|
47
|
+
__metadata("design:paramtypes", [Number]),
|
|
48
|
+
__metadata("design:returntype", void 0)
|
|
49
|
+
], BillingOrdersController.prototype, "get", null);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, common_1.Post)('orders'),
|
|
52
|
+
__param(0, (0, common_1.Body)()),
|
|
53
|
+
__metadata("design:type", Function),
|
|
54
|
+
__metadata("design:paramtypes", [create_order_dto_1.CreateOrderDto]),
|
|
55
|
+
__metadata("design:returntype", void 0)
|
|
56
|
+
], BillingOrdersController.prototype, "create", null);
|
|
57
|
+
exports.BillingOrdersController = BillingOrdersController = __decorate([
|
|
58
|
+
(0, api_1.Role)(),
|
|
59
|
+
(0, common_1.Controller)('billing'),
|
|
60
|
+
__metadata("design:paramtypes", [billing_service_1.BillingService])
|
|
61
|
+
], BillingOrdersController);
|
|
62
|
+
//# sourceMappingURL=billing-orders.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-orders.controller.js","sourceRoot":"","sources":["../src/billing-orders.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,sCAAoC;AACpC,4DAAoE;AACpE,2CAOwB;AACxB,uDAAmD;AACnD,6DAAwD;AAIjD,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IAClC,YAA6B,cAA8B;QAA9B,mBAAc,GAAd,cAAc,CAAgB;IAAG,CAAC;IAG/D,IAAI,CAAe,gBAA+B;QAChD,OAAO,IAAI,CAAC,cAAc,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;IAC1D,CAAC;IAGD,GAAG,CAA4B,EAAU;QACvC,OAAO,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;IAC1C,CAAC;IAGD,MAAM,CAAS,GAAmB;QAChC,OAAO,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAC9C,CAAC;CACF,CAAA;AAjBY,0DAAuB;AAIlC;IADC,IAAA,YAAG,EAAC,QAAQ,CAAC;IACR,WAAA,IAAA,2BAAU,GAAE,CAAA;;qCAAmB,8BAAa;;mDAEjD;AAGD;IADC,IAAA,YAAG,EAAC,YAAY,CAAC;IACb,WAAA,IAAA,cAAK,EAAC,IAAI,EAAE,qBAAY,CAAC,CAAA;;;;kDAE7B;AAGD;IADC,IAAA,aAAI,EAAC,QAAQ,CAAC;IACP,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAM,iCAAc;;qDAEjC;kCAhBU,uBAAuB;IAFnC,IAAA,UAAI,GAAE;IACN,IAAA,mBAAU,EAAC,SAAS,CAAC;qCAEyB,gCAAc;GADhD,uBAAuB,CAiBnC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PaginationDTO } from '@hed-hog/api-pagination';
|
|
2
|
+
import { BillingService } from './billing.service';
|
|
3
|
+
export declare class BillingPaymentsController {
|
|
4
|
+
private readonly billingService;
|
|
5
|
+
constructor(billingService: BillingService);
|
|
6
|
+
list(paginationParams: PaginationDTO): Promise<{
|
|
7
|
+
total: any;
|
|
8
|
+
lastPage: number;
|
|
9
|
+
page: number;
|
|
10
|
+
pageSize: number;
|
|
11
|
+
prev: number;
|
|
12
|
+
next: number;
|
|
13
|
+
data: any[];
|
|
14
|
+
}>;
|
|
15
|
+
get(id: number): Promise<any>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=billing-payments.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-payments.controller.d.ts","sourceRoot":"","sources":["../src/billing-payments.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAEpE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,qBAEa,yBAAyB;IACxB,OAAO,CAAC,QAAQ,CAAC,cAAc;gBAAd,cAAc,EAAE,cAAc;IAG3D,IAAI,CAAe,gBAAgB,EAAE,aAAa;;;;;;;;;IAKlD,GAAG,CAA4B,EAAE,EAAE,MAAM;CAG1C"}
|