@volo/abp.ng.payment 4.4.1 → 5.0.0-beta.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/README.md +1 -24
- package/admin/components/gateway-plans/gateway-plans.component.d.ts +4 -1
- package/admin/components/gateway-plans/gateway-plans.module.d.ts +13 -0
- package/admin/components/plans/plans.component.d.ts +4 -1
- package/admin/components/plans/plans.module.d.ts +13 -0
- package/admin/config/package.json +0 -1
- package/admin/config/payment-admin-config.module.d.ts +4 -0
- package/admin/config/providers/route.provider.d.ts +1 -1
- package/admin/config/volo-abp.ng.payment-admin-config.d.ts +1 -1
- package/admin/defaults/default-gateway-plans-entity-actions.d.ts +1 -1
- package/admin/defaults/default-gateway-plans-entity-props.d.ts +1 -1
- package/admin/defaults/default-gateway-plans-form-props.d.ts +1 -1
- package/admin/defaults/default-gateway-plans-toolbar-actions.d.ts +1 -1
- package/admin/defaults/default-plans-entity-actions.d.ts +1 -1
- package/admin/defaults/default-plans-entity-props.d.ts +1 -1
- package/admin/defaults/default-plans-form-props.d.ts +1 -1
- package/admin/defaults/default-plans-toolbar-actions.d.ts +1 -1
- package/admin/models/config-options.d.ts +1 -1
- package/admin/package.json +0 -1
- package/admin/payment-admin-routing.module.d.ts +5 -0
- package/admin/payment-admin.module.d.ts +7 -0
- package/admin/payment.initializer.d.ts +3 -0
- package/admin/tokens/extensions.token.d.ts +4 -5
- package/admin/volo-abp.ng.payment-admin.d.ts +1 -6
- package/bundles/volo-abp.ng.payment-admin-config.umd.js +1 -1
- package/bundles/volo-abp.ng.payment-admin.umd.js +1 -1
- package/bundles/volo-abp.ng.payment-proxy.umd.js +1 -0
- package/bundles/volo-abp.ng.payment.umd.js +1 -1
- package/esm2015/admin/components/gateway-plans/gateway-plans.component.js +1 -1
- package/esm2015/admin/components/gateway-plans/gateway-plans.module.js +1 -1
- package/esm2015/admin/components/plans/plans.component.js +1 -1
- package/esm2015/admin/components/plans/plans.module.js +1 -1
- package/esm2015/admin/config/payment-admin-config.module.js +1 -1
- package/esm2015/admin/config/volo-abp.ng.payment-admin-config.js +1 -1
- package/esm2015/admin/defaults/default-gateway-plans-entity-actions.js +1 -1
- package/esm2015/admin/defaults/default-gateway-plans-form-props.js +1 -1
- package/esm2015/admin/defaults/default-gateway-plans-toolbar-actions.js +1 -1
- package/esm2015/admin/defaults/default-plans-entity-actions.js +1 -1
- package/esm2015/admin/defaults/default-plans-form-props.js +1 -1
- package/esm2015/admin/defaults/default-plans-toolbar-actions.js +1 -1
- package/esm2015/admin/payment-admin-routing.module.js +1 -1
- package/esm2015/admin/payment-admin.module.js +1 -1
- package/esm2015/admin/payment.initializer.js +1 -1
- package/esm2015/admin/volo-abp.ng.payment-admin.js +1 -1
- package/esm2015/{lib → proxy/lib}/index.js +0 -0
- package/esm2015/{lib → proxy/lib}/proxy/admin/plans/index.js +0 -0
- package/esm2015/{lib → proxy/lib}/proxy/admin/plans/models.js +0 -0
- package/esm2015/{lib → proxy/lib}/proxy/admin/plans/plan-admin.service.js +1 -1
- package/esm2015/proxy/lib/proxy/gateways/gateway.service.js +1 -0
- package/esm2015/{lib → proxy/lib}/proxy/gateways/index.js +0 -0
- package/esm2015/{lib → proxy/lib}/proxy/gateways/models.js +0 -0
- package/esm2015/{lib → proxy/lib}/proxy/plans/index.js +0 -0
- package/esm2015/{lib → proxy/lib}/proxy/plans/models.js +0 -0
- package/esm2015/proxy/lib/proxy/plans/plan.service.js +1 -0
- package/esm2015/proxy/public-api.js +1 -0
- package/esm2015/proxy/volo-abp.ng.payment-proxy.js +1 -0
- package/esm2015/public-api.js +1 -1
- package/fesm2015/volo-abp.ng.payment-admin-config.js +9 -4
- package/fesm2015/volo-abp.ng.payment-admin.js +216 -165
- package/fesm2015/volo-abp.ng.payment-proxy.js +114 -0
- package/fesm2015/volo-abp.ng.payment.js +0 -114
- package/package.json +6 -7
- package/{lib → proxy/lib}/index.d.ts +0 -0
- package/{lib → proxy/lib}/proxy/admin/plans/index.d.ts +0 -0
- package/proxy/lib/proxy/admin/plans/models.d.ts +20 -0
- package/{lib → proxy/lib}/proxy/admin/plans/plan-admin.service.d.ts +6 -3
- package/{lib → proxy/lib}/proxy/gateways/gateway.service.d.ts +3 -0
- package/{lib → proxy/lib}/proxy/gateways/index.d.ts +0 -0
- package/{lib → proxy/lib}/proxy/gateways/models.d.ts +0 -0
- package/{lib → proxy/lib}/proxy/plans/index.d.ts +0 -0
- package/proxy/lib/proxy/plans/models.d.ts +10 -0
- package/{lib → proxy/lib}/proxy/plans/plan.service.d.ts +3 -0
- package/proxy/package.json +10 -0
- package/proxy/public-api.d.ts +1 -0
- package/proxy/volo-abp.ng.payment-proxy.d.ts +5 -0
- package/public-api.d.ts +1 -1
- package/volo-abp.ng.payment.d.ts +1 -0
- package/admin/config/volo-abp.ng.payment-admin-config.metadata.json +0 -1
- package/admin/volo-abp.ng.payment-admin.metadata.json +0 -1
- package/bundles/volo-abp.ng.payment-admin-config.umd.min.js +0 -1
- package/bundles/volo-abp.ng.payment-admin.umd.min.js +0 -1
- package/bundles/volo-abp.ng.payment.umd.min.js +0 -1
- package/esm2015/lib/proxy/gateways/gateway.service.js +0 -1
- package/esm2015/lib/proxy/plans/plan.service.js +0 -1
- package/lib/proxy/admin/plans/models.d.ts +0 -18
- package/lib/proxy/plans/models.d.ts +0 -10
- package/volo-abp.ng.payment.metadata.json +0 -1
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import * as i1 from '@abp/ng.core';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { Injectable } from '@angular/core';
|
|
4
|
+
|
|
5
|
+
class PlanAdminService {
|
|
6
|
+
constructor(restService) {
|
|
7
|
+
this.restService = restService;
|
|
8
|
+
this.apiName = 'AbpPaymentAdmin';
|
|
9
|
+
this.create = (input) => this.restService.request({
|
|
10
|
+
method: 'POST',
|
|
11
|
+
url: '/api/payment-admin/plans',
|
|
12
|
+
body: input,
|
|
13
|
+
}, { apiName: this.apiName });
|
|
14
|
+
this.createGatewayPlan = (planId, input) => this.restService.request({
|
|
15
|
+
method: 'POST',
|
|
16
|
+
url: `/api/payment-admin/plans/${planId}/external-plans`,
|
|
17
|
+
body: input,
|
|
18
|
+
}, { apiName: this.apiName });
|
|
19
|
+
this.delete = (id) => this.restService.request({
|
|
20
|
+
method: 'DELETE',
|
|
21
|
+
url: '/api/payment-admin/plans',
|
|
22
|
+
params: { id },
|
|
23
|
+
}, { apiName: this.apiName });
|
|
24
|
+
this.deleteGatewayPlan = (planId, gateway) => this.restService.request({
|
|
25
|
+
method: 'DELETE',
|
|
26
|
+
url: `/api/payment-admin/plans/${planId}/external-plans/${gateway}`,
|
|
27
|
+
}, { apiName: this.apiName });
|
|
28
|
+
this.get = (id) => this.restService.request({
|
|
29
|
+
method: 'GET',
|
|
30
|
+
url: `/api/payment-admin/plans/${id}`,
|
|
31
|
+
}, { apiName: this.apiName });
|
|
32
|
+
this.getGatewayPlans = (planId, input) => this.restService.request({
|
|
33
|
+
method: 'GET',
|
|
34
|
+
url: `/api/payment-admin/plans/${planId}/external-plans`,
|
|
35
|
+
params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
36
|
+
}, { apiName: this.apiName });
|
|
37
|
+
this.getList = (input) => this.restService.request({
|
|
38
|
+
method: 'GET',
|
|
39
|
+
url: '/api/payment-admin/plans',
|
|
40
|
+
params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
41
|
+
}, { apiName: this.apiName });
|
|
42
|
+
this.update = (id, input) => this.restService.request({
|
|
43
|
+
method: 'PUT',
|
|
44
|
+
url: `/api/payment-admin/plans/${id}`,
|
|
45
|
+
body: input,
|
|
46
|
+
}, { apiName: this.apiName });
|
|
47
|
+
this.updateGatewayPlan = (planId, gateway, input) => this.restService.request({
|
|
48
|
+
method: 'PUT',
|
|
49
|
+
url: `/api/payment-admin/plans/${planId}/external-plans/${gateway}`,
|
|
50
|
+
body: input,
|
|
51
|
+
}, { apiName: this.apiName });
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
PlanAdminService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.8", ngImport: i0, type: PlanAdminService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
55
|
+
PlanAdminService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.8", ngImport: i0, type: PlanAdminService, providedIn: 'root' });
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.8", ngImport: i0, type: PlanAdminService, decorators: [{
|
|
57
|
+
type: Injectable,
|
|
58
|
+
args: [{
|
|
59
|
+
providedIn: 'root',
|
|
60
|
+
}]
|
|
61
|
+
}], ctorParameters: function () { return [{ type: i1.RestService }]; } });
|
|
62
|
+
|
|
63
|
+
class GatewayService {
|
|
64
|
+
constructor(restService) {
|
|
65
|
+
this.restService = restService;
|
|
66
|
+
this.apiName = 'AbpPaymentAdmin';
|
|
67
|
+
this.getGatewayConfiguration = () => this.restService.request({
|
|
68
|
+
method: 'GET',
|
|
69
|
+
url: '/api/payment/gateways',
|
|
70
|
+
}, { apiName: this.apiName });
|
|
71
|
+
this.getSubscriptionSupportedGateways = () => this.restService.request({
|
|
72
|
+
method: 'GET',
|
|
73
|
+
url: '/api/payment/gateways/subscription-supported',
|
|
74
|
+
}, { apiName: this.apiName });
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
GatewayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.8", ngImport: i0, type: GatewayService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
78
|
+
GatewayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.8", ngImport: i0, type: GatewayService, providedIn: 'root' });
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.8", ngImport: i0, type: GatewayService, decorators: [{
|
|
80
|
+
type: Injectable,
|
|
81
|
+
args: [{
|
|
82
|
+
providedIn: 'root',
|
|
83
|
+
}]
|
|
84
|
+
}], ctorParameters: function () { return [{ type: i1.RestService }]; } });
|
|
85
|
+
|
|
86
|
+
class PlanService {
|
|
87
|
+
constructor(restService) {
|
|
88
|
+
this.restService = restService;
|
|
89
|
+
this.apiName = 'AbpPaymentAdmin';
|
|
90
|
+
this.getGatewayPlan = (planId, gateway) => this.restService.request({
|
|
91
|
+
method: 'GET',
|
|
92
|
+
url: `/api/payment/plans/${planId}/${gateway}`,
|
|
93
|
+
}, { apiName: this.apiName });
|
|
94
|
+
this.getPlanList = () => this.restService.request({
|
|
95
|
+
method: 'GET',
|
|
96
|
+
url: '/api/payment/plans',
|
|
97
|
+
}, { apiName: this.apiName });
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
PlanService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.8", ngImport: i0, type: PlanService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
101
|
+
PlanService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.8", ngImport: i0, type: PlanService, providedIn: 'root' });
|
|
102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.8", ngImport: i0, type: PlanService, decorators: [{
|
|
103
|
+
type: Injectable,
|
|
104
|
+
args: [{
|
|
105
|
+
providedIn: 'root',
|
|
106
|
+
}]
|
|
107
|
+
}], ctorParameters: function () { return [{ type: i1.RestService }]; } });
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Generated bundle index. Do not edit.
|
|
111
|
+
*/
|
|
112
|
+
|
|
113
|
+
export { GatewayService, PlanAdminService, PlanService };
|
|
114
|
+
//# sourceMappingURL=volo-abp.ng.payment-proxy.js.map
|
|
@@ -1,118 +1,4 @@
|
|
|
1
|
-
import * as i1 from '@abp/ng.core';
|
|
2
|
-
import { RestService } from '@abp/ng.core';
|
|
3
|
-
import * as i0 from '@angular/core';
|
|
4
|
-
import { Injectable } from '@angular/core';
|
|
5
|
-
|
|
6
|
-
class PlanAdminService {
|
|
7
|
-
constructor(restService) {
|
|
8
|
-
this.restService = restService;
|
|
9
|
-
this.apiName = 'AbpPaymentAdmin';
|
|
10
|
-
this.create = (input) => this.restService.request({
|
|
11
|
-
method: 'POST',
|
|
12
|
-
url: '/api/payment-admin/plans',
|
|
13
|
-
body: input,
|
|
14
|
-
}, { apiName: this.apiName });
|
|
15
|
-
this.createGatewayPlan = (planId, input) => this.restService.request({
|
|
16
|
-
method: 'POST',
|
|
17
|
-
url: `/api/payment-admin/plans/${planId}/external-plans`,
|
|
18
|
-
body: input,
|
|
19
|
-
}, { apiName: this.apiName });
|
|
20
|
-
this.delete = (id) => this.restService.request({
|
|
21
|
-
method: 'DELETE',
|
|
22
|
-
url: '/api/payment-admin/plans',
|
|
23
|
-
params: { id },
|
|
24
|
-
}, { apiName: this.apiName });
|
|
25
|
-
this.deleteGatewayPlan = (planId, gateway) => this.restService.request({
|
|
26
|
-
method: 'DELETE',
|
|
27
|
-
url: `/api/payment-admin/plans/${planId}/external-plans/${gateway}`,
|
|
28
|
-
}, { apiName: this.apiName });
|
|
29
|
-
this.get = (id) => this.restService.request({
|
|
30
|
-
method: 'GET',
|
|
31
|
-
url: `/api/payment-admin/plans/${id}`,
|
|
32
|
-
}, { apiName: this.apiName });
|
|
33
|
-
this.getGatewayPlans = (planId, input) => this.restService.request({
|
|
34
|
-
method: 'GET',
|
|
35
|
-
url: `/api/payment-admin/plans/${planId}/external-plans`,
|
|
36
|
-
params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
37
|
-
}, { apiName: this.apiName });
|
|
38
|
-
this.getList = (input) => this.restService.request({
|
|
39
|
-
method: 'GET',
|
|
40
|
-
url: '/api/payment-admin/plans',
|
|
41
|
-
params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
42
|
-
}, { apiName: this.apiName });
|
|
43
|
-
this.update = (id, input) => this.restService.request({
|
|
44
|
-
method: 'PUT',
|
|
45
|
-
url: `/api/payment-admin/plans/${id}`,
|
|
46
|
-
body: input,
|
|
47
|
-
}, { apiName: this.apiName });
|
|
48
|
-
this.updateGatewayPlan = (planId, gateway, input) => this.restService.request({
|
|
49
|
-
method: 'PUT',
|
|
50
|
-
url: `/api/payment-admin/plans/${planId}/external-plans/${gateway}`,
|
|
51
|
-
body: input,
|
|
52
|
-
}, { apiName: this.apiName });
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
PlanAdminService.ɵprov = i0.ɵɵdefineInjectable({ factory: function PlanAdminService_Factory() { return new PlanAdminService(i0.ɵɵinject(i1.RestService)); }, token: PlanAdminService, providedIn: "root" });
|
|
56
|
-
PlanAdminService.decorators = [
|
|
57
|
-
{ type: Injectable, args: [{
|
|
58
|
-
providedIn: 'root',
|
|
59
|
-
},] }
|
|
60
|
-
];
|
|
61
|
-
PlanAdminService.ctorParameters = () => [
|
|
62
|
-
{ type: RestService }
|
|
63
|
-
];
|
|
64
|
-
|
|
65
|
-
class GatewayService {
|
|
66
|
-
constructor(restService) {
|
|
67
|
-
this.restService = restService;
|
|
68
|
-
this.apiName = 'AbpPaymentAdmin';
|
|
69
|
-
this.getGatewayConfiguration = () => this.restService.request({
|
|
70
|
-
method: 'GET',
|
|
71
|
-
url: '/api/payment/gateways',
|
|
72
|
-
}, { apiName: this.apiName });
|
|
73
|
-
this.getSubscriptionSupportedGateways = () => this.restService.request({
|
|
74
|
-
method: 'GET',
|
|
75
|
-
url: '/api/payment/gateways/subscription-supported',
|
|
76
|
-
}, { apiName: this.apiName });
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
GatewayService.ɵprov = i0.ɵɵdefineInjectable({ factory: function GatewayService_Factory() { return new GatewayService(i0.ɵɵinject(i1.RestService)); }, token: GatewayService, providedIn: "root" });
|
|
80
|
-
GatewayService.decorators = [
|
|
81
|
-
{ type: Injectable, args: [{
|
|
82
|
-
providedIn: 'root',
|
|
83
|
-
},] }
|
|
84
|
-
];
|
|
85
|
-
GatewayService.ctorParameters = () => [
|
|
86
|
-
{ type: RestService }
|
|
87
|
-
];
|
|
88
|
-
|
|
89
|
-
class PlanService {
|
|
90
|
-
constructor(restService) {
|
|
91
|
-
this.restService = restService;
|
|
92
|
-
this.apiName = 'AbpPaymentAdmin';
|
|
93
|
-
this.getGatewayPlan = (planId, gateway) => this.restService.request({
|
|
94
|
-
method: 'GET',
|
|
95
|
-
url: `/api/payment/plans/${planId}/${gateway}`,
|
|
96
|
-
}, { apiName: this.apiName });
|
|
97
|
-
this.getPlanList = () => this.restService.request({
|
|
98
|
-
method: 'GET',
|
|
99
|
-
url: '/api/payment/plans',
|
|
100
|
-
}, { apiName: this.apiName });
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
PlanService.ɵprov = i0.ɵɵdefineInjectable({ factory: function PlanService_Factory() { return new PlanService(i0.ɵɵinject(i1.RestService)); }, token: PlanService, providedIn: "root" });
|
|
104
|
-
PlanService.decorators = [
|
|
105
|
-
{ type: Injectable, args: [{
|
|
106
|
-
providedIn: 'root',
|
|
107
|
-
},] }
|
|
108
|
-
];
|
|
109
|
-
PlanService.ctorParameters = () => [
|
|
110
|
-
{ type: RestService }
|
|
111
|
-
];
|
|
112
|
-
|
|
113
1
|
/**
|
|
114
2
|
* Generated bundle index. Do not edit.
|
|
115
3
|
*/
|
|
116
|
-
|
|
117
|
-
export { GatewayService, PlanAdminService, PlanService };
|
|
118
4
|
//# sourceMappingURL=volo-abp.ng.payment.js.map
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volo/abp.ng.payment",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0-beta.2",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@abp/ng.core": "
|
|
6
|
-
"@abp/ng.theme-shared": "
|
|
7
|
-
"@angular/common": ">=
|
|
8
|
-
"@angular/core": ">=
|
|
5
|
+
"@abp/ng.core": ">=5.0.0-beta.1-1",
|
|
6
|
+
"@abp/ng.theme-shared": ">=4.4.2",
|
|
7
|
+
"@angular/common": ">=12.0.0",
|
|
8
|
+
"@angular/core": ">=12.0.0"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@volo/abp.commercial.ng.ui": "~
|
|
11
|
+
"@volo/abp.commercial.ng.ui": "~5.0.0-beta.2",
|
|
12
12
|
"tslib": "^2.0.0"
|
|
13
13
|
},
|
|
14
14
|
"publishConfig": {
|
|
@@ -20,6 +20,5 @@
|
|
|
20
20
|
"esm2015": "esm2015/volo-abp.ng.payment.js",
|
|
21
21
|
"fesm2015": "fesm2015/volo-abp.ng.payment.js",
|
|
22
22
|
"typings": "volo-abp.ng.payment.d.ts",
|
|
23
|
-
"metadata": "volo-abp.ng.payment.metadata.json",
|
|
24
23
|
"sideEffects": false
|
|
25
24
|
}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ExtensibleObject, PagedAndSortedResultRequestDto } from '@abp/ng.core';
|
|
2
|
+
export interface GatewayPlanCreateInput extends ExtensibleObject {
|
|
3
|
+
gateway: string;
|
|
4
|
+
externalId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface GatewayPlanGetListInput extends PagedAndSortedResultRequestDto {
|
|
7
|
+
filter?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GatewayPlanUpdateInput extends ExtensibleObject {
|
|
10
|
+
externalId: string;
|
|
11
|
+
}
|
|
12
|
+
export interface PlanCreateInput extends ExtensibleObject {
|
|
13
|
+
name: string;
|
|
14
|
+
}
|
|
15
|
+
export interface PlanGetListInput extends PagedAndSortedResultRequestDto {
|
|
16
|
+
filter?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface PlanUpdateInput extends PlanCreateInput {
|
|
19
|
+
concurrencyStamp?: string;
|
|
20
|
+
}
|
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
import type { GatewayPlanCreateInput, GatewayPlanGetListInput, GatewayPlanUpdateInput,
|
|
1
|
+
import type { GatewayPlanCreateInput, GatewayPlanGetListInput, GatewayPlanUpdateInput, PlanCreateInput, PlanGetListInput, PlanUpdateInput } from './models';
|
|
2
2
|
import { RestService } from '@abp/ng.core';
|
|
3
3
|
import type { PagedResultDto } from '@abp/ng.core';
|
|
4
4
|
import type { GatewayPlanDto, PlanDto } from '../../plans/models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class PlanAdminService {
|
|
6
7
|
private restService;
|
|
7
8
|
apiName: string;
|
|
8
|
-
create: (input:
|
|
9
|
+
create: (input: PlanCreateInput) => import("rxjs").Observable<PlanDto>;
|
|
9
10
|
createGatewayPlan: (planId: string, input: GatewayPlanCreateInput) => import("rxjs").Observable<void>;
|
|
10
11
|
delete: (id: string) => import("rxjs").Observable<void>;
|
|
11
12
|
deleteGatewayPlan: (planId: string, gateway: string) => import("rxjs").Observable<void>;
|
|
12
13
|
get: (id: string) => import("rxjs").Observable<PlanDto>;
|
|
13
14
|
getGatewayPlans: (planId: string, input: GatewayPlanGetListInput) => import("rxjs").Observable<PagedResultDto<GatewayPlanDto>>;
|
|
14
15
|
getList: (input: PlanGetListInput) => import("rxjs").Observable<PagedResultDto<PlanDto>>;
|
|
15
|
-
update: (id: string, input:
|
|
16
|
+
update: (id: string, input: PlanUpdateInput) => import("rxjs").Observable<PlanDto>;
|
|
16
17
|
updateGatewayPlan: (planId: string, gateway: string, input: GatewayPlanUpdateInput) => import("rxjs").Observable<void>;
|
|
17
18
|
constructor(restService: RestService);
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlanAdminService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PlanAdminService>;
|
|
18
21
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import type { GatewayDto } from './models';
|
|
2
2
|
import { RestService } from '@abp/ng.core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class GatewayService {
|
|
4
5
|
private restService;
|
|
5
6
|
apiName: string;
|
|
6
7
|
getGatewayConfiguration: () => import("rxjs").Observable<GatewayDto[]>;
|
|
7
8
|
getSubscriptionSupportedGateways: () => import("rxjs").Observable<GatewayDto[]>;
|
|
8
9
|
constructor(restService: RestService);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GatewayService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GatewayService>;
|
|
9
12
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ExtensibleEntityDto } from '@abp/ng.core';
|
|
2
|
+
export interface GatewayPlanDto extends ExtensibleEntityDto {
|
|
3
|
+
planId?: string;
|
|
4
|
+
gateway?: string;
|
|
5
|
+
externalId?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface PlanDto extends ExtensibleEntityDto<string> {
|
|
8
|
+
name?: string;
|
|
9
|
+
concurrencyStamp?: string;
|
|
10
|
+
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import type { GatewayPlanDto, PlanDto } from './models';
|
|
2
2
|
import { RestService } from '@abp/ng.core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class PlanService {
|
|
4
5
|
private restService;
|
|
5
6
|
apiName: string;
|
|
6
7
|
getGatewayPlan: (planId: string, gateway: string) => import("rxjs").Observable<GatewayPlanDto>;
|
|
7
8
|
getPlanList: () => import("rxjs").Observable<PlanDto[]>;
|
|
8
9
|
constructor(restService: RestService);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlanService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PlanService>;
|
|
9
12
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"main": "../bundles/volo-abp.ng.payment-proxy.umd.js",
|
|
3
|
+
"module": "../fesm2015/volo-abp.ng.payment-proxy.js",
|
|
4
|
+
"es2015": "../fesm2015/volo-abp.ng.payment-proxy.js",
|
|
5
|
+
"esm2015": "../esm2015/proxy/volo-abp.ng.payment-proxy.js",
|
|
6
|
+
"fesm2015": "../fesm2015/volo-abp.ng.payment-proxy.js",
|
|
7
|
+
"typings": "volo-abp.ng.payment-proxy.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"name": "@volo/abp.ng.payment/proxy"
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib/index';
|
package/public-api.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export {};
|
package/volo-abp.ng.payment.d.ts
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"exports":[{"from":"./route-names"},{"from":"./policy-names"}],"metadata":{"PaymentAdminConfigModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"PaymentAdminConfigModule"},"providers":[{"__symbolic":"reference","name":"ɵa"}]}}}},"ɵa":[{"provide":{"__symbolic":"reference","module":"@angular/core","name":"APP_INITIALIZER","line":7,"character":13},"useFactory":{"__symbolic":"reference","name":"ɵb"},"deps":[{"__symbolic":"reference","module":"@abp/ng.core","name":"RoutesService","line":9,"character":11}],"multi":true}],"ɵb":{"__symbolic":"function","parameters":["routes"],"value":{"__symbolic":"error","message":"Lambda not supported","line":15,"character":9,"module":"./providers/route.provider"}}},"origins":{"PaymentAdminConfigModule":"./payment-admin-config.module","ɵa":"./providers/route.provider","ɵb":"./providers/route.provider"},"importAs":"@volo/abp.ng.payment/admin/config"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"exports":[{"from":"./extensions.token"},{"from":"./default-plans-entity-props"},{"from":"./default-plans-form-props"},{"from":"./default-plans-toolbar-actions"},{"from":"./default-gateway-plans-entity-actions"},{"from":"./default-gateway-plans-entity-props"}],"metadata":{"PaymentAdminModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":15,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","name":"PaymentAdminRoutingModule"},{"__symbolic":"reference","name":"ɵd"},{"__symbolic":"reference","name":"ɵe"}]}]}],"members":{},"statics":{"forChild":{"__symbolic":"function","parameters":["options"],"defaults":[{}],"value":{"ngModule":{"__symbolic":"reference","name":"PaymentAdminModule"},"providers":[{"provide":{"__symbolic":"reference","name":"ɵf"},"useValue":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"entityActionContributors"}},{"provide":{"__symbolic":"reference","name":"ɵg"},"useValue":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"toolbarActionContributors"}},{"provide":{"__symbolic":"reference","name":"ɵh"},"useValue":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"entityPropContributors"}},{"provide":{"__symbolic":"reference","name":"ɵi"},"useValue":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"createFormPropContributors"}},{"provide":{"__symbolic":"reference","name":"ɵj"},"useValue":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"editFormPropContributors"}},{"__symbolic":"reference","name":"PaymentInitializer"}]}},"forLazy":{"__symbolic":"function","parameters":["options"],"defaults":[{}],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@abp/ng.core","name":"LazyModuleFactory","line":49,"character":15},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"PaymentAdminModule"},"member":"forChild"},"arguments":[{"__symbolic":"reference","name":"options"}]}]}}}},"PaymentAdminRoutingModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":51,"character":1},"arguments":[{"imports":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":52,"character":12},"member":"forChild"},"arguments":[[{"path":"","redirectTo":"plans","pathMatch":"full"},{"path":"","component":{"__symbolic":"reference","module":"@abp/ng.core","name":"DynamicLayoutComponent","line":22,"character":15},"canActivate":[{"__symbolic":"reference","module":"@abp/ng.core","name":"AuthGuard","line":23,"character":18},{"__symbolic":"reference","module":"@abp/ng.core","name":"PermissionGuard","line":23,"character":29},{"__symbolic":"reference","name":"PaymentInitializer"}],"children":[{"path":"plans","component":{"__symbolic":"reference","module":"@abp/ng.core","name":"ReplaceableRouteContainerComponent","line":27,"character":19},"data":{"requiredPolicy":"Payment.Plans","replaceableComponent":{"key":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵa"},"member":"Plans"},"defaultComponent":{"__symbolic":"reference","name":"ɵb"}}}},{"path":"plans/:planId","component":{"__symbolic":"reference","module":"@abp/ng.core","name":"ReplaceableRouteContainerComponent","line":38,"character":19},"data":{"requiredPolicy":"Payment.Plans.GatewayPlans","replaceableComponent":{"key":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵa"},"member":"GatewayPlans"},"defaultComponent":{"__symbolic":"reference","name":"ɵc"}}}}]}]]}]}]}],"members":{}},"PaymentInitializer":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":33,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":35,"character":32}]}],"canActivate":[{"__symbolic":"method"}]}},"ɵa":{"Plans":"Payment.Plans","GatewayPlans":"Payment.GatewayPlans"},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":15,"character":1},"arguments":[{"selector":"abp-payment-plans","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":18,"character":17},"member":"None"},"providers":[{"__symbolic":"reference","module":"@abp/ng.core","name":"ListService","line":20,"character":4},{"provide":{"__symbolic":"reference","module":"@abp/ng.theme.shared/extensions","name":"EXTENSIONS_IDENTIFIER","line":22,"character":15},"useValue":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵa"},"member":"Plans"}}],"template":"<ng-container *ngIf=\"data$ | async; let data\">\n <abp-page [title]=\"'Payment::Plans' | abpLocalization\" [toolbar]=\"data.items\">\n <abp-entity-filter [list]=\"list\"></abp-entity-filter>\n\n <div class=\"card\">\n <div class=\"card-body\">\n <abp-extensible-table [list]=\"list\" [data]=\"data.items\" [recordsTotal]=\"data.totalCount\">\n </abp-extensible-table>\n </div>\n </div>\n </abp-page>\n\n <abp-modal size=\"md\" [(visible)]=\"isModalVisible\" [busy]=\"modalBusy\">\n <ng-template #abpHeader>\n <h3>{{ (selected?.id ? 'Payment::Edit' : 'Payment::NewPlan') | abpLocalization }}</h3>\n </ng-template>\n\n <ng-template #abpBody>\n <form [formGroup]=\"form\" (ngSubmit)=\"save()\" validateOnSubmit>\n <abp-extensible-form [selectedRecord]=\"selected\"></abp-extensible-form>\n </form>\n </ng-template>\n\n <ng-template #abpFooter>\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\n {{ 'AbpUi::Cancel' | abpLocalization }}\n </button>\n <abp-button iconClass=\"fa fa-check\" [disabled]=\"form?.invalid\" (click)=\"save()\">{{\n 'AbpUi::Save' | abpLocalization\n }}</abp-button>\n </ng-template>\n </abp-modal>\n</ng-container>\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ListService","module":"@abp/ng.core","arguments":[{"__symbolic":"reference","module":"@abp/ng.core","name":"PagedAndSortedResultRequestDto","line":40,"character":29}]},{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":41,"character":22},{"__symbolic":"reference","module":"@abp/ng.theme.shared","name":"ConfirmationService","line":42,"character":33},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":43,"character":20},{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":44,"character":28}]}],"onEdit":[{"__symbolic":"method"}],"goToGatewayPlans":[{"__symbolic":"method"}],"onDelete":[{"__symbolic":"method"}],"onAdd":[{"__symbolic":"method"}],"openModal":[{"__symbolic":"method"}],"save":[{"__symbolic":"method"}],"createForm":[{"__symbolic":"method"}]}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":15,"character":1},"arguments":[{"selector":"abp-gateway-plans","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":18,"character":17},"member":"None"},"providers":[{"__symbolic":"reference","module":"@abp/ng.core","name":"ListService","line":20,"character":4},{"provide":{"__symbolic":"reference","module":"@abp/ng.theme.shared/extensions","name":"EXTENSIONS_IDENTIFIER","line":22,"character":15},"useValue":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵa"},"member":"GatewayPlans"}}],"template":"<ng-container *ngIf=\"data$ | async; let data\">\n <abp-page [title]=\"'Payment::GatewayPlans' | abpLocalization\" [toolbar]=\"data.items\">\n <abp-entity-filter [list]=\"list\"></abp-entity-filter>\n\n <div class=\"card\">\n <div class=\"card-body\">\n <abp-extensible-table [list]=\"list\" [data]=\"data.items\" [recordsTotal]=\"data.totalCount\">\n </abp-extensible-table>\n </div>\n </div>\n </abp-page>\n\n <abp-modal size=\"md\" [(visible)]=\"isModalVisible\" [busy]=\"modalBusy\">\n <ng-template #abpHeader>\n <h3>\n {{ (selected?.gateway ? 'Payment::Edit' : 'Payment::NewGatewayPlan') | abpLocalization }}\n </h3>\n </ng-template>\n\n <ng-template #abpBody>\n <form [formGroup]=\"form\" (ngSubmit)=\"save()\" validateOnSubmit>\n <abp-extensible-form [selectedRecord]=\"selected\"></abp-extensible-form>\n </form>\n </ng-template>\n\n <ng-template #abpFooter>\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\n {{ 'AbpUi::Cancel' | abpLocalization }}\n </button>\n <abp-button iconClass=\"fa fa-check\" [disabled]=\"form?.invalid\" (click)=\"save()\">{{\n 'AbpUi::Save' | abpLocalization\n }}</abp-button>\n </ng-template>\n </abp-modal>\n</ng-container>\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@volo/abp.ng.payment","name":"PlanService","line":44,"character":24},{"__symbolic":"reference","name":"ListService","module":"@abp/ng.core","arguments":[{"__symbolic":"reference","module":"@abp/ng.core","name":"PagedAndSortedResultRequestDto","line":45,"character":29}]},{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":46,"character":22},{"__symbolic":"reference","module":"@abp/ng.theme.shared","name":"ConfirmationService","line":47,"character":33},{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":48,"character":28}]}],"onEdit":[{"__symbolic":"method"}],"onDelete":[{"__symbolic":"method"}],"onAdd":[{"__symbolic":"method"}],"openModal":[{"__symbolic":"method"}],"save":[{"__symbolic":"method"}],"createForm":[{"__symbolic":"method"}]}},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":12,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":14,"character":4},{"__symbolic":"reference","module":"@abp/ng.components/page","name":"PageModule","line":15,"character":4},{"__symbolic":"reference","module":"@abp/ng.core","name":"CoreModule","line":16,"character":4},{"__symbolic":"reference","module":"@abp/ng.theme.shared/extensions","name":"UiExtensionsModule","line":17,"character":4},{"__symbolic":"reference","module":"@abp/ng.theme.shared","name":"ThemeSharedModule","line":18,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":19,"character":4},{"__symbolic":"reference","module":"@ngx-validate/core","name":"NgxValidateCoreModule","line":20,"character":4},{"__symbolic":"reference","module":"@volo/abp.commercial.ng.ui","name":"EntityFilterModule","line":21,"character":4}],"exports":[],"declarations":[{"__symbolic":"reference","name":"ɵb"}],"providers":[]}]}],"members":{}},"ɵe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":12,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":14,"character":4},{"__symbolic":"reference","module":"@abp/ng.components/page","name":"PageModule","line":15,"character":4},{"__symbolic":"reference","module":"@abp/ng.core","name":"CoreModule","line":16,"character":4},{"__symbolic":"reference","module":"@abp/ng.theme.shared/extensions","name":"UiExtensionsModule","line":17,"character":4},{"__symbolic":"reference","module":"@abp/ng.theme.shared","name":"ThemeSharedModule","line":18,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":19,"character":4},{"__symbolic":"reference","module":"@ngx-validate/core","name":"NgxValidateCoreModule","line":20,"character":4},{"__symbolic":"reference","module":"@volo/abp.commercial.ng.ui","name":"EntityFilterModule","line":21,"character":4}],"exports":[],"declarations":[{"__symbolic":"reference","name":"ɵc"}],"providers":[]}]}],"members":{}},"ɵf":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":50,"character":54},"arguments":["PAYMENT_ENTITY_ACTION_CONTRIBUTORS"]},"ɵg":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":54,"character":55},"arguments":["PAYMENT_TOOLBAR_ACTION_CONTRIBUTORS"]},"ɵh":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":58,"character":52},"arguments":["PAYMENT_ENTITY_PROP_CONTRIBUTORS"]},"ɵi":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":62,"character":57},"arguments":["PAYMENT_CREATE_FORM_PROP_CONTRIBUTORS"]},"ɵj":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":66,"character":55},"arguments":["PAYMENT_EDIT_FORM_PROP_CONTRIBUTORS"]}},"origins":{"PaymentAdminModule":"./payment-admin.module","PaymentAdminRoutingModule":"./payment-admin-routing.module","PaymentInitializer":"./payment.initializer","ɵa":"./enums/components","ɵb":"./components/plans/plans.component","ɵc":"./components/gateway-plans/gateway-plans.component","ɵd":"./components/plans/plans.module","ɵe":"./components/gateway-plans/gateway-plans.module","ɵf":"./tokens/extensions.token","ɵg":"./tokens/extensions.token","ɵh":"./tokens/extensions.token","ɵi":"./tokens/extensions.token","ɵj":"./tokens/extensions.token"},"importAs":"@volo/abp.ng.payment/admin"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@angular/core"),require("@abp/ng.core")):"function"==typeof define&&define.amd?define("@volo/abp.ng.payment/admin/config",["exports","@angular/core","@abp/ng.core"],n):n(((e="undefined"!=typeof globalThis?globalThis:e||self).volo=e.volo||{},e.volo.abp=e.volo.abp||{},e.volo.abp.ng=e.volo.abp.ng||{},e.volo.abp.ng.payment=e.volo.abp.ng.payment||{},e.volo.abp.ng.payment.admin=e.volo.abp.ng.payment.admin||{},e.volo.abp.ng.payment.admin.config={}),e.ng.core,e.ng_core)}(this,(function(e,n,o){"use strict";var a=[{provide:n.APP_INITIALIZER,useFactory:t,deps:[o.RoutesService],multi:!0}];function t(e){return function(){e.add([{path:void 0,name:"Payment::Menu:PaymentManagement",order:50,layout:"application",iconClass:"fa fa-credit-card"},{path:"/payment/plans",name:"Payment::Menu:Plans",parentName:"Payment::Menu:PaymentManagement",order:1,requiredPolicy:"Payment.Plans"}])}}var r=function(){function e(){}return e.forRoot=function(){return{ngModule:e,providers:[a]}},e}();r.decorators=[{type:n.NgModule,args:[{}]}],e.PAYMENT_ROUTE_PROVIDERS=a,e.PaymentAdminConfigModule=r,e.configureRoutes=t,e.ɵa=a,e.ɵb=t,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@abp/ng.core"),require("@angular/router"),require("@abp/ng.theme.shared/extensions"),require("rxjs/operators"),require("@abp/ng.theme.shared"),require("@volo/abp.ng.payment"),require("@angular/forms"),require("@angular/common"),require("@abp/ng.components/page"),require("@ngx-validate/core"),require("@volo/abp.commercial.ng.ui")):"function"==typeof define&&define.amd?define("@volo/abp.ng.payment/admin",["exports","@angular/core","@abp/ng.core","@angular/router","@abp/ng.theme.shared/extensions","rxjs/operators","@abp/ng.theme.shared","@volo/abp.ng.payment","@angular/forms","@angular/common","@abp/ng.components/page","@ngx-validate/core","@volo/abp.commercial.ng.ui"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).volo=e.volo||{},e.volo.abp=e.volo.abp||{},e.volo.abp.ng=e.volo.abp.ng||{},e.volo.abp.ng.payment=e.volo.abp.ng.payment||{},e.volo.abp.ng.payment.admin={}),e.ng.core,e.ng_core,e.ng.router,e.extensions,e.rxjs.operators,e.ng_theme_shared,e.volo.abp.ng.payment,e.ng.forms,e.ng.common,e.page,e.core$1,e.abp_commercial_ng_ui)}(this,(function(e,t,a,n,o,i,r,s,l,p,c,d,m){"use strict";var u=function(){function e(e,t,a,n,o){var i=this;this.planService=e,this.list=t,this.injector=a,this.confirmationService=n,this.activatedRoute=o,this.isModalVisible=!1,this.modalBusy=!1,this.service=a.get(s.PlanAdminService),this.data$=this.list.hookToQuery((function(e){return i.service.getGatewayPlans(i.planId,e)}))}return Object.defineProperty(e.prototype,"planId",{get:function(){return this.activatedRoute.snapshot.params.planId},enumerable:!1,configurable:!0}),e.prototype.onEdit=function(e){var t=this;this.planService.getGatewayPlan(this.planId,e).pipe(i.take(1)).subscribe((function(e){t.selected=e,t.openModal()}))},e.prototype.onDelete=function(e){var t=this;this.confirmationService.warn("Payment::GatewayPlanDeletionConfirmationMessage","AbpUi::AreYouSure",{messageLocalizationParams:[e]}).subscribe((function(a){a===r.Confirmation.Status.confirm&&t.service.deleteGatewayPlan(t.planId,e).subscribe((function(){return t.list.get()}))}))},e.prototype.onAdd=function(){this.selected={},this.openModal()},e.prototype.openModal=function(){this.createForm(),this.isModalVisible=!0},e.prototype.save=function(){var e=this;this.form.valid&&(this.modalBusy=!0,(this.selected.gateway?this.service.updateGatewayPlan(this.planId,this.selected.gateway,this.form.value):this.service.createGatewayPlan(this.planId,this.form.value)).pipe(i.finalize((function(){return e.modalBusy=!1}))).subscribe((function(){e.list.get(),e.isModalVisible=!1})))},e.prototype.createForm=function(){var e=new o.FormPropData(this.injector,this.selected);this.form=o.generateFormFromProps(e)},e}();u.decorators=[{type:t.Component,args:[{selector:"abp-gateway-plans",template:'<ng-container *ngIf="data$ | async; let data">\n <abp-page [title]="\'Payment::GatewayPlans\' | abpLocalization" [toolbar]="data.items">\n <abp-entity-filter [list]="list"></abp-entity-filter>\n\n <div class="card">\n <div class="card-body">\n <abp-extensible-table [list]="list" [data]="data.items" [recordsTotal]="data.totalCount">\n </abp-extensible-table>\n </div>\n </div>\n </abp-page>\n\n <abp-modal size="md" [(visible)]="isModalVisible" [busy]="modalBusy">\n <ng-template #abpHeader>\n <h3>\n {{ (selected?.gateway ? \'Payment::Edit\' : \'Payment::NewGatewayPlan\') | abpLocalization }}\n </h3>\n </ng-template>\n\n <ng-template #abpBody>\n <form [formGroup]="form" (ngSubmit)="save()" validateOnSubmit>\n <abp-extensible-form [selectedRecord]="selected"></abp-extensible-form>\n </form>\n </ng-template>\n\n <ng-template #abpFooter>\n <button type="button" class="btn btn-secondary" abpClose>\n {{ \'AbpUi::Cancel\' | abpLocalization }}\n </button>\n <abp-button iconClass="fa fa-check" [disabled]="form?.invalid" (click)="save()">{{\n \'AbpUi::Save\' | abpLocalization\n }}</abp-button>\n </ng-template>\n </abp-modal>\n</ng-container>\n',encapsulation:t.ViewEncapsulation.None,providers:[a.ListService,{provide:o.EXTENSIONS_IDENTIFIER,useValue:"Payment.GatewayPlans"}]}]}],u.ctorParameters=function(){return[{type:s.PlanService},{type:a.ListService},{type:t.Injector},{type:r.ConfirmationService},{type:n.ActivatedRoute}]};var y=o.EntityAction.createMany([{text:"Payment::Edit",action:function(e){e.getInjected(u).onEdit(e.record.gateway)},permission:"Payment.Plans.GatewayPlans.Update"},{text:"Payment::Delete",action:function(e){e.getInjected(u).onDelete(e.record.gateway)},permission:"Payment.Plans.GatewayPlans.Delete"}]),P=o.EntityProp.createMany([{type:"string",name:"gateway",displayName:"Payment::DisplayName:Gateway",sortable:!0},{type:"string",name:"externalId",displayName:"Payment::DisplayName:ExternalId",sortable:!0}]),b={type:"string",name:"externalId",displayName:"Payment::DisplayName:ExternalId",id:"external-id",validators:function(){return[l.Validators.required]}},g=o.FormProp.createMany([{type:"string",name:"gateway",displayName:"Payment::DisplayName:Gateway",id:"gateway",options:function(e){return e.getInjected(s.GatewayService).getSubscriptionSupportedGateways().pipe(i.map((function(e){return e.map((function(e){return{key:e.displayName,value:e.name}}))})))},validators:function(){return[l.Validators.required]}},b]),f=o.FormProp.createMany([{type:"string",name:"gateway",displayName:"Payment::DisplayName:Gateway",id:"gateway",validators:function(){return[l.Validators.required]},disabled:function(){return!0}},b]),v=o.ToolbarAction.createMany([{text:"Payment::NewGatewayPlan",action:function(e){e.getInjected(u).onAdd()},permission:"Payment.Plans.GatewayPlans.Create",icon:"fa fa-plus"}]),h=function(){function e(e,t,a,n,o){this.list=e,this.injector=t,this.confirmationService=a,this.router=n,this.activatedRoute=o,this.isModalVisible=!1,this.modalBusy=!1,this.service=t.get(s.PlanAdminService),this.data$=this.list.hookToQuery(this.service.getList)}return e.prototype.onEdit=function(e){var t=this;this.service.get(e).pipe(i.take(1)).subscribe((function(e){t.selected=e,t.openModal()}))},e.prototype.goToGatewayPlans=function(e){this.router.navigate(["./",e],{relativeTo:this.activatedRoute})},e.prototype.onDelete=function(e,t){var a=this;this.confirmationService.warn("Payment::PlanDeletionConfirmationMessage","AbpUi::AreYouSure",{messageLocalizationParams:[t]}).subscribe((function(t){t===r.Confirmation.Status.confirm&&a.service.delete(e).subscribe((function(){return a.list.get()}))}))},e.prototype.onAdd=function(){this.selected={},this.openModal()},e.prototype.openModal=function(){this.createForm(),this.isModalVisible=!0},e.prototype.save=function(){var e=this;this.form.valid&&(this.modalBusy=!0,(this.selected.id?this.service.update(this.selected.id,this.form.value):this.service.create(this.form.value)).pipe(i.finalize((function(){return e.modalBusy=!1}))).subscribe((function(){e.list.get(),e.isModalVisible=!1})))},e.prototype.createForm=function(){var e=new o.FormPropData(this.injector,this.selected);this.form=o.generateFormFromProps(e)},e}();h.decorators=[{type:t.Component,args:[{selector:"abp-payment-plans",template:'<ng-container *ngIf="data$ | async; let data">\n <abp-page [title]="\'Payment::Plans\' | abpLocalization" [toolbar]="data.items">\n <abp-entity-filter [list]="list"></abp-entity-filter>\n\n <div class="card">\n <div class="card-body">\n <abp-extensible-table [list]="list" [data]="data.items" [recordsTotal]="data.totalCount">\n </abp-extensible-table>\n </div>\n </div>\n </abp-page>\n\n <abp-modal size="md" [(visible)]="isModalVisible" [busy]="modalBusy">\n <ng-template #abpHeader>\n <h3>{{ (selected?.id ? \'Payment::Edit\' : \'Payment::NewPlan\') | abpLocalization }}</h3>\n </ng-template>\n\n <ng-template #abpBody>\n <form [formGroup]="form" (ngSubmit)="save()" validateOnSubmit>\n <abp-extensible-form [selectedRecord]="selected"></abp-extensible-form>\n </form>\n </ng-template>\n\n <ng-template #abpFooter>\n <button type="button" class="btn btn-secondary" abpClose>\n {{ \'AbpUi::Cancel\' | abpLocalization }}\n </button>\n <abp-button iconClass="fa fa-check" [disabled]="form?.invalid" (click)="save()">{{\n \'AbpUi::Save\' | abpLocalization\n }}</abp-button>\n </ng-template>\n </abp-modal>\n</ng-container>\n',encapsulation:t.ViewEncapsulation.None,providers:[a.ListService,{provide:o.EXTENSIONS_IDENTIFIER,useValue:"Payment.Plans"}]}]}],h.ctorParameters=function(){return[{type:a.ListService},{type:t.Injector},{type:r.ConfirmationService},{type:n.Router},{type:n.ActivatedRoute}]};var T,A,_,N,E,M=function(e){e.getInjected(h).onDelete(e.record.id,e.record.name)},I=o.EntityAction.createMany([{text:"Payment::GatewayPlans",action:function(e){e.getInjected(h).goToGatewayPlans(e.record.id)},permission:"Payment.Plans.GatewayPlans"},{text:"Payment::Edit",action:function(e){e.getInjected(h).onEdit(e.record.id)},permission:"Payment.Plans.Update"},{text:"Payment::Delete",action:M,permission:"Payment.Plans.Delete"}]),C=o.EntityProp.createMany([{type:"string",name:"name",displayName:"Payment::DisplayName:Name",sortable:!0}]),R=o.FormProp.createMany([{type:"string",name:"name",displayName:"Payment::Name",id:"payment-name",validators:function(){return[l.Validators.required]}}]),S=R,O=o.ToolbarAction.createMany([{text:"Payment::NewPlan",action:function(e){e.getInjected(h).onAdd()},permission:"Payment.Plans.Create",icon:"fa fa-plus"}]),w=((T={})["Payment.Plans"]=I,T["Payment.GatewayPlans"]=y,T),F=((A={})["Payment.Plans"]=O,A["Payment.GatewayPlans"]=v,A),D=((_={})["Payment.Plans"]=C,_["Payment.GatewayPlans"]=P,_),L=((N={})["Payment.Plans"]=R,N["Payment.GatewayPlans"]=g,N),x=((E={})["Payment.Plans"]=S,E["Payment.GatewayPlans"]=f,E),j=new t.InjectionToken("PAYMENT_ENTITY_ACTION_CONTRIBUTORS"),G=new t.InjectionToken("PAYMENT_TOOLBAR_ACTION_CONTRIBUTORS"),U=new t.InjectionToken("PAYMENT_ENTITY_PROP_CONTRIBUTORS"),Y=new t.InjectionToken("PAYMENT_CREATE_FORM_PROP_CONTRIBUTORS"),B=new t.InjectionToken("PAYMENT_EDIT_FORM_PROP_CONTRIBUTORS"),V=function(){function e(e){this.injector=e}return e.prototype.canActivate=function(){var e=this.injector.get(o.ExtensionsService),t=this.injector.get(j,null)||{},n=this.injector.get(G,null)||{},r=this.injector.get(U,null)||{},s=this.injector.get(Y,null)||{},l=this.injector.get(B,null)||{},p=this.injector.get(a.ConfigStateService);return o.getObjectExtensionEntitiesFromStore(p,"Payment").pipe(i.map((function(e){return{}})),o.mapEntitiesToContributors(p,"Payment"),i.tap((function(a){o.mergeWithDefaultActions(e.entityActions,w,t),o.mergeWithDefaultActions(e.toolbarActions,F,n),o.mergeWithDefaultProps(e.entityProps,D,a.prop,r),o.mergeWithDefaultProps(e.createFormProps,L,a.createForm,s),o.mergeWithDefaultProps(e.editFormProps,x,a.editForm,l)})),i.mapTo(!0))},e}();V.decorators=[{type:t.Injectable}],V.ctorParameters=function(){return[{type:t.Injector}]};var q={requiredPolicy:"Payment.Plans",replaceableComponent:{key:"Payment.Plans",defaultComponent:h}},z={requiredPolicy:"Payment.Plans.GatewayPlans",replaceableComponent:{key:"Payment.GatewayPlans",defaultComponent:u}},k=[{path:"",redirectTo:"plans",pathMatch:"full"},{path:"",component:a.DynamicLayoutComponent,canActivate:[a.AuthGuard,a.PermissionGuard,V],children:[{path:"plans",component:a.ReplaceableRouteContainerComponent,data:q},{path:"plans/:planId",component:a.ReplaceableRouteContainerComponent,data:z}]}],W=function(){};W.decorators=[{type:t.NgModule,args:[{imports:[n.RouterModule.forChild(k)]}]}];var $=function(){};$.decorators=[{type:t.NgModule,args:[{imports:[p.CommonModule,c.PageModule,a.CoreModule,o.UiExtensionsModule,r.ThemeSharedModule,l.ReactiveFormsModule,d.NgxValidateCoreModule,m.EntityFilterModule],exports:[],declarations:[h],providers:[]}]}];var H=function(){};H.decorators=[{type:t.NgModule,args:[{imports:[p.CommonModule,c.PageModule,a.CoreModule,o.UiExtensionsModule,r.ThemeSharedModule,l.ReactiveFormsModule,d.NgxValidateCoreModule,m.EntityFilterModule],exports:[],declarations:[u],providers:[]}]}];var Q=function(){function e(){}return e.forChild=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[{provide:j,useValue:t.entityActionContributors},{provide:G,useValue:t.toolbarActionContributors},{provide:U,useValue:t.entityPropContributors},{provide:Y,useValue:t.createFormPropContributors},{provide:B,useValue:t.editFormPropContributors},V]}},e.forLazy=function(t){return void 0===t&&(t={}),new a.LazyModuleFactory(e.forChild(t))},e}();Q.decorators=[{type:t.NgModule,args:[{imports:[W,$,H]}]}],e.DEFAULT_GATEWAY_PLANS_ENTITY_ACTIONS=y,e.DEFAULT_GATEWAY_PLANS_ENTITY_PROPS=P,e.DEFAULT_PAYMENT_CREATE_FORM_PROPS=L,e.DEFAULT_PAYMENT_EDIT_FORM_PROPS=x,e.DEFAULT_PAYMENT_ENTITY_ACTIONS=w,e.DEFAULT_PAYMENT_ENTITY_PROPS=D,e.DEFAULT_PAYMENT_TOOLBAR_ACTIONS=F,e.DEFAULT_PLANS_CREATE_FORM_PROPS=R,e.DEFAULT_PLANS_EDIT_FORM_PROPS=S,e.DEFAULT_PLANS_ENTITY_ACTIONS=I,e.DEFAULT_PLANS_ENTITY_PROPS=C,e.DEFAULT_PLANS_TOOLBAR_ACTIONS=O,e.GatewayPlansComponent=u,e.GatewayPlansModule=H,e.PAYMENT_CREATE_FORM_PROP_CONTRIBUTORS=Y,e.PAYMENT_EDIT_FORM_PROP_CONTRIBUTORS=B,e.PAYMENT_ENTITY_ACTION_CONTRIBUTORS=j,e.PAYMENT_ENTITY_PROP_CONTRIBUTORS=U,e.PAYMENT_TOOLBAR_ACTION_CONTRIBUTORS=G,e.PaymentAdminModule=Q,e.PaymentAdminRoutingModule=W,e.PaymentInitializer=V,e.PaymentPlansComponent=h,e.PaymentPlansModule=$,e.ɵ0=q,e.ɵ1=z,e.ɵ2=M,e.ɵb=h,e.ɵc=u,e.ɵd=$,e.ɵe=H,e.ɵf=j,e.ɵg=G,e.ɵh=U,e.ɵi=Y,e.ɵj=B,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@abp/ng.core"),require("@angular/core")):"function"==typeof define&&define.amd?define("@volo/abp.ng.payment",["exports","@abp/ng.core","@angular/core"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).volo=e.volo||{},e.volo.abp=e.volo.abp||{},e.volo.abp.ng=e.volo.abp.ng||{},e.volo.abp.ng.payment={}),e.i1,e.ng.core)}(this,(function(e,t,a){"use strict";function r(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(a){if("default"!==a){var r=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,r.get?r:{enumerable:!0,get:function(){return e[a]}})}})),t.default=e,Object.freeze(t)}var n=r(t),i=r(a),o=function(e){var t=this;this.restService=e,this.apiName="AbpPaymentAdmin",this.create=function(e){return t.restService.request({method:"POST",url:"/api/payment-admin/plans",body:e},{apiName:t.apiName})},this.createGatewayPlan=function(e,a){return t.restService.request({method:"POST",url:"/api/payment-admin/plans/"+e+"/external-plans",body:a},{apiName:t.apiName})},this.delete=function(e){return t.restService.request({method:"DELETE",url:"/api/payment-admin/plans",params:{id:e}},{apiName:t.apiName})},this.deleteGatewayPlan=function(e,a){return t.restService.request({method:"DELETE",url:"/api/payment-admin/plans/"+e+"/external-plans/"+a},{apiName:t.apiName})},this.get=function(e){return t.restService.request({method:"GET",url:"/api/payment-admin/plans/"+e},{apiName:t.apiName})},this.getGatewayPlans=function(e,a){return t.restService.request({method:"GET",url:"/api/payment-admin/plans/"+e+"/external-plans",params:{filter:a.filter,sorting:a.sorting,skipCount:a.skipCount,maxResultCount:a.maxResultCount}},{apiName:t.apiName})},this.getList=function(e){return t.restService.request({method:"GET",url:"/api/payment-admin/plans",params:{filter:e.filter,sorting:e.sorting,skipCount:e.skipCount,maxResultCount:e.maxResultCount}},{apiName:t.apiName})},this.update=function(e,a){return t.restService.request({method:"PUT",url:"/api/payment-admin/plans/"+e,body:a},{apiName:t.apiName})},this.updateGatewayPlan=function(e,a,r){return t.restService.request({method:"PUT",url:"/api/payment-admin/plans/"+e+"/external-plans/"+a,body:r},{apiName:t.apiName})}};o.ɵprov=i.ɵɵdefineInjectable({factory:function(){return new o(i.ɵɵinject(n.RestService))},token:o,providedIn:"root"}),o.decorators=[{type:a.Injectable,args:[{providedIn:"root"}]}],o.ctorParameters=function(){return[{type:t.RestService}]};var p=function(e){var t=this;this.restService=e,this.apiName="AbpPaymentAdmin",this.getGatewayConfiguration=function(){return t.restService.request({method:"GET",url:"/api/payment/gateways"},{apiName:t.apiName})},this.getSubscriptionSupportedGateways=function(){return t.restService.request({method:"GET",url:"/api/payment/gateways/subscription-supported"},{apiName:t.apiName})}};p.ɵprov=i.ɵɵdefineInjectable({factory:function(){return new p(i.ɵɵinject(n.RestService))},token:p,providedIn:"root"}),p.decorators=[{type:a.Injectable,args:[{providedIn:"root"}]}],p.ctorParameters=function(){return[{type:t.RestService}]};var s=function(e){var t=this;this.restService=e,this.apiName="AbpPaymentAdmin",this.getGatewayPlan=function(e,a){return t.restService.request({method:"GET",url:"/api/payment/plans/"+e+"/"+a},{apiName:t.apiName})},this.getPlanList=function(){return t.restService.request({method:"GET",url:"/api/payment/plans"},{apiName:t.apiName})}};s.ɵprov=i.ɵɵdefineInjectable({factory:function(){return new s(i.ɵɵinject(n.RestService))},token:s,providedIn:"root"}),s.decorators=[{type:a.Injectable,args:[{providedIn:"root"}]}],s.ctorParameters=function(){return[{type:t.RestService}]},e.GatewayService=p,e.PlanAdminService=o,e.PlanService=s,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{RestService}from"@abp/ng.core";import{Injectable}from"@angular/core";import*as i0 from"@angular/core";import*as i1 from"@abp/ng.core";export class GatewayService{constructor(e){this.restService=e,this.apiName="AbpPaymentAdmin",this.getGatewayConfiguration=()=>this.restService.request({method:"GET",url:"/api/payment/gateways"},{apiName:this.apiName}),this.getSubscriptionSupportedGateways=()=>this.restService.request({method:"GET",url:"/api/payment/gateways/subscription-supported"},{apiName:this.apiName})}}GatewayService.ɵprov=i0.ɵɵdefineInjectable({factory:function(){return new GatewayService(i0.ɵɵinject(i1.RestService))},token:GatewayService,providedIn:"root"}),GatewayService.decorators=[{type:Injectable,args:[{providedIn:"root"}]}],GatewayService.ctorParameters=()=>[{type:RestService}];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{RestService}from"@abp/ng.core";import{Injectable}from"@angular/core";import*as i0 from"@angular/core";import*as i1 from"@abp/ng.core";export class PlanService{constructor(e){this.restService=e,this.apiName="AbpPaymentAdmin",this.getGatewayPlan=(e,r)=>this.restService.request({method:"GET",url:`/api/payment/plans/${e}/${r}`},{apiName:this.apiName}),this.getPlanList=()=>this.restService.request({method:"GET",url:"/api/payment/plans"},{apiName:this.apiName})}}PlanService.ɵprov=i0.ɵɵdefineInjectable({factory:function(){return new PlanService(i0.ɵɵinject(i1.RestService))},token:PlanService,providedIn:"root"}),PlanService.decorators=[{type:Injectable,args:[{providedIn:"root"}]}],PlanService.ctorParameters=()=>[{type:RestService}];
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { PagedAndSortedResultRequestDto } from '@abp/ng.core';
|
|
2
|
-
export interface GatewayPlanCreateInput {
|
|
3
|
-
gateway: string;
|
|
4
|
-
externalId: string;
|
|
5
|
-
extraProperties: Record<string, object>;
|
|
6
|
-
}
|
|
7
|
-
export interface GatewayPlanGetListInput extends PagedAndSortedResultRequestDto {
|
|
8
|
-
filter?: string;
|
|
9
|
-
}
|
|
10
|
-
export interface GatewayPlanUpdateInput {
|
|
11
|
-
externalId: string;
|
|
12
|
-
}
|
|
13
|
-
export interface PlanCreateUpdateInput {
|
|
14
|
-
name: string;
|
|
15
|
-
}
|
|
16
|
-
export interface PlanGetListInput extends PagedAndSortedResultRequestDto {
|
|
17
|
-
filter?: string;
|
|
18
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { EntityDto } from '@abp/ng.core';
|
|
2
|
-
export interface GatewayPlanDto extends EntityDto {
|
|
3
|
-
planId?: string;
|
|
4
|
-
gateway?: string;
|
|
5
|
-
externalId?: string;
|
|
6
|
-
extraProperties: Record<string, object>;
|
|
7
|
-
}
|
|
8
|
-
export interface PlanDto extends EntityDto<string> {
|
|
9
|
-
name?: string;
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"exports":[{"from":"./proxy/admin/plans"},{"from":"./proxy/gateways"},{"from":"./proxy/plans"}],"metadata":{},"origins":{},"importAs":"@volo/abp.ng.payment"}
|