@hed-hog/billing 0.0.293 → 0.0.295
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/package.json +4 -4
- package/src/billing.module.ts +48 -48
- package/src/index.ts +32 -32
- package/src/language/en.json +8 -8
- package/src/language/pt.json +8 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hed-hog/billing",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.295",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"dependencies": {
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
"@nestjs/jwt": "^11",
|
|
11
11
|
"@nestjs/mapped-types": "*",
|
|
12
12
|
"@hed-hog/api": "0.0.4",
|
|
13
|
-
"@hed-hog/api-pagination": "0.0.6",
|
|
14
13
|
"@hed-hog/api-prisma": "0.0.5",
|
|
14
|
+
"@hed-hog/api-pagination": "0.0.6",
|
|
15
|
+
"@hed-hog/contact": "0.0.295",
|
|
15
16
|
"@hed-hog/api-locale": "0.0.13",
|
|
16
|
-
"@hed-hog/api-types": "0.0.1"
|
|
17
|
-
"@hed-hog/contact": "0.0.293"
|
|
17
|
+
"@hed-hog/api-types": "0.0.1"
|
|
18
18
|
},
|
|
19
19
|
"exports": {
|
|
20
20
|
".": {
|
package/src/billing.module.ts
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { LocaleModule } from '@hed-hog/api-locale';
|
|
2
|
-
import { PaginationModule } from '@hed-hog/api-pagination';
|
|
3
|
-
import { PrismaModule } from '@hed-hog/api-prisma';
|
|
4
|
-
import { forwardRef, Module } from '@nestjs/common';
|
|
5
|
-
import { ConfigModule } from '@nestjs/config';
|
|
6
|
-
import { BillingContractsController } from './billing-contracts.controller';
|
|
7
|
-
import { BillingCouponsController } from './billing-coupons.controller';
|
|
8
|
-
import { BillingDashboardController } from './billing-dashboard.controller';
|
|
9
|
-
import { BillingEntitlementsController } from './billing-entitlements.controller';
|
|
10
|
-
import { BillingGatewaysController } from './billing-gateways.controller';
|
|
11
|
-
import { BillingInvoicesController } from './billing-invoices.controller';
|
|
12
|
-
import { BillingOffersController } from './billing-offers.controller';
|
|
13
|
-
import { BillingOrdersController } from './billing-orders.controller';
|
|
14
|
-
import { BillingPaymentsController } from './billing-payments.controller';
|
|
15
|
-
import { BillingPricesController } from './billing-prices.controller';
|
|
16
|
-
import { BillingProductsController } from './billing-products.controller';
|
|
17
|
-
import { BillingRefundsController } from './billing-refunds.controller';
|
|
18
|
-
import { BillingSubscriptionsController } from './billing-subscriptions.controller';
|
|
19
|
-
import { BillingWebhooksController } from './billing-webhooks.controller';
|
|
20
|
-
import { BillingService } from './billing.service';
|
|
21
|
-
|
|
22
|
-
@Module({
|
|
23
|
-
imports: [
|
|
24
|
-
ConfigModule.forRoot(),
|
|
25
|
-
forwardRef(() => PaginationModule),
|
|
26
|
-
forwardRef(() => PrismaModule),
|
|
27
|
-
forwardRef(() => LocaleModule),
|
|
28
|
-
],
|
|
29
|
-
controllers: [
|
|
30
|
-
BillingDashboardController,
|
|
31
|
-
BillingProductsController,
|
|
32
|
-
BillingPricesController,
|
|
33
|
-
BillingOffersController,
|
|
34
|
-
BillingCouponsController,
|
|
35
|
-
BillingOrdersController,
|
|
36
|
-
BillingSubscriptionsController,
|
|
37
|
-
BillingInvoicesController,
|
|
38
|
-
BillingPaymentsController,
|
|
39
|
-
BillingRefundsController,
|
|
40
|
-
BillingEntitlementsController,
|
|
41
|
-
BillingContractsController,
|
|
42
|
-
BillingGatewaysController,
|
|
43
|
-
BillingWebhooksController,
|
|
44
|
-
],
|
|
45
|
-
providers: [BillingService],
|
|
46
|
-
exports: [BillingService],
|
|
47
|
-
})
|
|
48
|
-
export class BillingModule {}
|
|
1
|
+
import { LocaleModule } from '@hed-hog/api-locale';
|
|
2
|
+
import { PaginationModule } from '@hed-hog/api-pagination';
|
|
3
|
+
import { PrismaModule } from '@hed-hog/api-prisma';
|
|
4
|
+
import { forwardRef, Module } from '@nestjs/common';
|
|
5
|
+
import { ConfigModule } from '@nestjs/config';
|
|
6
|
+
import { BillingContractsController } from './billing-contracts.controller';
|
|
7
|
+
import { BillingCouponsController } from './billing-coupons.controller';
|
|
8
|
+
import { BillingDashboardController } from './billing-dashboard.controller';
|
|
9
|
+
import { BillingEntitlementsController } from './billing-entitlements.controller';
|
|
10
|
+
import { BillingGatewaysController } from './billing-gateways.controller';
|
|
11
|
+
import { BillingInvoicesController } from './billing-invoices.controller';
|
|
12
|
+
import { BillingOffersController } from './billing-offers.controller';
|
|
13
|
+
import { BillingOrdersController } from './billing-orders.controller';
|
|
14
|
+
import { BillingPaymentsController } from './billing-payments.controller';
|
|
15
|
+
import { BillingPricesController } from './billing-prices.controller';
|
|
16
|
+
import { BillingProductsController } from './billing-products.controller';
|
|
17
|
+
import { BillingRefundsController } from './billing-refunds.controller';
|
|
18
|
+
import { BillingSubscriptionsController } from './billing-subscriptions.controller';
|
|
19
|
+
import { BillingWebhooksController } from './billing-webhooks.controller';
|
|
20
|
+
import { BillingService } from './billing.service';
|
|
21
|
+
|
|
22
|
+
@Module({
|
|
23
|
+
imports: [
|
|
24
|
+
ConfigModule.forRoot(),
|
|
25
|
+
forwardRef(() => PaginationModule),
|
|
26
|
+
forwardRef(() => PrismaModule),
|
|
27
|
+
forwardRef(() => LocaleModule),
|
|
28
|
+
],
|
|
29
|
+
controllers: [
|
|
30
|
+
BillingDashboardController,
|
|
31
|
+
BillingProductsController,
|
|
32
|
+
BillingPricesController,
|
|
33
|
+
BillingOffersController,
|
|
34
|
+
BillingCouponsController,
|
|
35
|
+
BillingOrdersController,
|
|
36
|
+
BillingSubscriptionsController,
|
|
37
|
+
BillingInvoicesController,
|
|
38
|
+
BillingPaymentsController,
|
|
39
|
+
BillingRefundsController,
|
|
40
|
+
BillingEntitlementsController,
|
|
41
|
+
BillingContractsController,
|
|
42
|
+
BillingGatewaysController,
|
|
43
|
+
BillingWebhooksController,
|
|
44
|
+
],
|
|
45
|
+
providers: [BillingService],
|
|
46
|
+
exports: [BillingService],
|
|
47
|
+
})
|
|
48
|
+
export class BillingModule {}
|
package/src/index.ts
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
export * from './billing-contracts.controller';
|
|
2
|
-
export * from './billing-coupons.controller';
|
|
3
|
-
export * from './billing-dashboard.controller';
|
|
4
|
-
export * from './billing-entitlements.controller';
|
|
5
|
-
export * from './billing-gateways.controller';
|
|
6
|
-
export * from './billing-invoices.controller';
|
|
7
|
-
export * from './billing-offers.controller';
|
|
8
|
-
export * from './billing-orders.controller';
|
|
9
|
-
export * from './billing-payments.controller';
|
|
10
|
-
export * from './billing-prices.controller';
|
|
11
|
-
export * from './billing-products.controller';
|
|
12
|
-
export * from './billing-refunds.controller';
|
|
13
|
-
export * from './billing-subscriptions.controller';
|
|
14
|
-
export * from './billing-webhooks.controller';
|
|
15
|
-
export * from './billing.module';
|
|
16
|
-
export * from './billing.service';
|
|
17
|
-
export * from './dto/create-contract.dto';
|
|
18
|
-
export * from './dto/create-coupon.dto';
|
|
19
|
-
export * from './dto/create-entitlement.dto';
|
|
20
|
-
export * from './dto/create-offer.dto';
|
|
21
|
-
export * from './dto/create-order.dto';
|
|
22
|
-
export * from './dto/create-price.dto';
|
|
23
|
-
export * from './dto/create-product.dto';
|
|
24
|
-
export * from './dto/create-subscription.dto';
|
|
25
|
-
export * from './dto/update-contract.dto';
|
|
26
|
-
export * from './dto/update-coupon.dto';
|
|
27
|
-
export * from './dto/update-offer.dto';
|
|
28
|
-
export * from './dto/update-order.dto';
|
|
29
|
-
export * from './dto/update-price.dto';
|
|
30
|
-
export * from './dto/update-product.dto';
|
|
31
|
-
export * from './dto/update-subscription.dto';
|
|
32
|
-
|
|
1
|
+
export * from './billing-contracts.controller';
|
|
2
|
+
export * from './billing-coupons.controller';
|
|
3
|
+
export * from './billing-dashboard.controller';
|
|
4
|
+
export * from './billing-entitlements.controller';
|
|
5
|
+
export * from './billing-gateways.controller';
|
|
6
|
+
export * from './billing-invoices.controller';
|
|
7
|
+
export * from './billing-offers.controller';
|
|
8
|
+
export * from './billing-orders.controller';
|
|
9
|
+
export * from './billing-payments.controller';
|
|
10
|
+
export * from './billing-prices.controller';
|
|
11
|
+
export * from './billing-products.controller';
|
|
12
|
+
export * from './billing-refunds.controller';
|
|
13
|
+
export * from './billing-subscriptions.controller';
|
|
14
|
+
export * from './billing-webhooks.controller';
|
|
15
|
+
export * from './billing.module';
|
|
16
|
+
export * from './billing.service';
|
|
17
|
+
export * from './dto/create-contract.dto';
|
|
18
|
+
export * from './dto/create-coupon.dto';
|
|
19
|
+
export * from './dto/create-entitlement.dto';
|
|
20
|
+
export * from './dto/create-offer.dto';
|
|
21
|
+
export * from './dto/create-order.dto';
|
|
22
|
+
export * from './dto/create-price.dto';
|
|
23
|
+
export * from './dto/create-product.dto';
|
|
24
|
+
export * from './dto/create-subscription.dto';
|
|
25
|
+
export * from './dto/update-contract.dto';
|
|
26
|
+
export * from './dto/update-coupon.dto';
|
|
27
|
+
export * from './dto/update-offer.dto';
|
|
28
|
+
export * from './dto/update-order.dto';
|
|
29
|
+
export * from './dto/update-price.dto';
|
|
30
|
+
export * from './dto/update-product.dto';
|
|
31
|
+
export * from './dto/update-subscription.dto';
|
|
32
|
+
|
package/src/language/en.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
{
|
|
2
|
-
"HomePage": {
|
|
3
|
-
"title": "Billing",
|
|
4
|
-
"description": "Manage your billing.",
|
|
5
|
-
"breadcrumbHome": "Home",
|
|
6
|
-
"breadcrumbCurrent": "Billing"
|
|
7
|
-
}
|
|
8
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"HomePage": {
|
|
3
|
+
"title": "Billing",
|
|
4
|
+
"description": "Manage your billing.",
|
|
5
|
+
"breadcrumbHome": "Home",
|
|
6
|
+
"breadcrumbCurrent": "Billing"
|
|
7
|
+
}
|
|
8
|
+
}
|
package/src/language/pt.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
{
|
|
2
|
-
"HomePage": {
|
|
3
|
-
"title": "Billing",
|
|
4
|
-
"description": "Gerencie seu billing.",
|
|
5
|
-
"breadcrumbHome": "Inicio",
|
|
6
|
-
"breadcrumbCurrent": "Billing"
|
|
7
|
-
}
|
|
8
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"HomePage": {
|
|
3
|
+
"title": "Billing",
|
|
4
|
+
"description": "Gerencie seu billing.",
|
|
5
|
+
"breadcrumbHome": "Inicio",
|
|
6
|
+
"breadcrumbCurrent": "Billing"
|
|
7
|
+
}
|
|
8
|
+
}
|