cabloy 5.1.126 → 5.1.128
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/.cabloy-version +1 -1
- package/CHANGELOG.md +37 -0
- package/cabloy-docs/backend/error-guide.md +17 -0
- package/cabloy-docs/backend/i18n-guide.md +86 -7
- package/e2e/specs/a-commerce/commerce.spec.ts +222 -6
- package/package.json +1 -1
- package/vona/env/.env +2 -0
- package/vona/env/.env.prod +6 -2
- package/vona/packages-cli/cabloy-cli/package.json +1 -1
- package/vona/packages-cli/cli/package.json +1 -1
- package/vona/packages-cli/cli-set-api/package.json +1 -1
- package/vona/packages-utils/module-glob/package.json +1 -1
- package/vona/packages-utils/utils/package.json +1 -1
- package/vona/packages-utils/utils/src/vona.ts +8 -1
- package/vona/packages-vona/vona/package.json +1 -1
- package/vona/packages-vona/vona-core/package.json +1 -1
- package/vona/packages-vona/vona-core/src/lib/bean/resource/error/errorClass.ts +21 -4
- package/vona/packages-vona/vona-core/src/lib/bean/resource/error/errorObject.ts +1 -0
- package/vona/packages-vona/vona-core/src/lib/bean/type.ts +3 -1
- package/vona/packages-vona/vona-core/src/types/interface/module.ts +6 -1
- package/vona/packages-vona/vona-mock/package.json +1 -1
- package/vona/pnpm-lock.yaml +15 -44
- package/vona/src/suite/a-commerce/modules/commerce-catalog/src/.metadata/index.ts +37 -2
- package/vona/src/suite/a-commerce/modules/commerce-catalog/src/config/locale/en-us.ts +1 -0
- package/vona/src/suite/a-commerce/modules/commerce-catalog/src/config/locale/zh-cn.ts +1 -0
- package/vona/src/suite/a-commerce/modules/commerce-catalog/src/dto/categorySelectResItem.tsx +3 -1
- package/vona/src/suite/a-commerce/modules/commerce-catalog/src/dto/categoryView.tsx +3 -1
- package/vona/src/suite/a-commerce/modules/commerce-catalog/src/dto/productSelectResItem.tsx +3 -1
- package/vona/src/suite/a-commerce/modules/commerce-catalog/src/dto/productView.tsx +3 -1
- package/vona/src/suite/a-commerce/modules/commerce-catalog/src/entity/category.tsx +21 -2
- package/vona/src/suite/a-commerce/modules/commerce-catalog/src/entity/product.tsx +23 -3
- package/vona/src/suite/a-commerce/modules/commerce-catalog/src/model/category.ts +11 -1
- package/vona/src/suite/a-commerce/modules/commerce-catalog/src/model/product.ts +1 -0
- package/vona/src/suite/a-commerce/modules/commerce-catalog/src/service/category.ts +7 -2
- package/vona/src/suite/a-commerce/modules/commerce-catalog/src/service/product.ts +7 -2
- package/vona/src/suite/a-commerce/modules/commerce-catalog/test/categoryPresentation.test.ts +218 -0
- package/vona/src/suite/a-commerce/modules/commerce-catalog/test/productPresentation.test.ts +214 -0
- package/vona/src/suite/a-commerce/modules/commerce-payment/src/bean/payScene.commerceOrder.ts +39 -3
- package/vona/src/suite/a-commerce/modules/commerce-payment/src/service/commercePayScene.ts +14 -1
- package/vona/src/suite/a-commerce/modules/commerce-payment/src/service/paymentAttempt.ts +5 -1
- package/vona/src/suite/a-commerce/modules/commerce-trade/src/.metadata/index.ts +17 -0
- package/vona/src/suite/a-commerce/modules/commerce-trade/src/controller/checkout.ts +18 -0
- package/vona/src/suite/a-commerce/modules/commerce-trade/src/dto/checkoutCreate.tsx +3 -0
- package/vona/src/suite/a-commerce/modules/commerce-trade/src/dto/checkoutPaymentMethod.tsx +19 -0
- package/vona/src/suite/a-commerce/modules/commerce-trade/src/dto/checkoutPaymentMethods.tsx +17 -0
- package/vona/src/suite/a-commerce/modules/commerce-trade/src/dto/refundResult.tsx +3 -0
- package/vona/src/suite/a-commerce/modules/commerce-trade/src/service/order.ts +53 -1
- package/vona/src/suite/a-commerce/modules/commerce-trade/test/paymentOutcome.test.ts +2 -1
- package/vona/src/suite/a-commerce/modules/commerce-trade/test/refundLifecycle.test.ts +111 -3
- package/vona/src/suite-vendor/a-pay/modules/a-pay/package.json +1 -1
- package/vona/src/suite-vendor/a-pay/modules/a-pay/src/.metadata/index.ts +94 -55
- package/vona/src/suite-vendor/a-pay/modules/a-pay/src/bean/bean.payScene.ts +65 -1
- package/vona/src/suite-vendor/a-pay/modules/a-pay/src/bean/meta.redlock.ts +2 -0
- package/vona/src/suite-vendor/a-pay/modules/a-pay/src/controller/paymentCallback.ts +32 -0
- package/vona/src/suite-vendor/a-pay/modules/a-pay/src/controller/paymentSession.ts +26 -8
- package/vona/src/suite-vendor/a-pay/modules/a-pay/src/service/paymentCallback.ts +99 -0
- package/vona/src/suite-vendor/a-pay/modules/a-pay/src/service/paymentSession.ts +26 -3
- package/vona/src/suite-vendor/a-pay/modules/a-pay/src/service/providerOperation.ts +214 -82
- package/vona/src/suite-vendor/a-pay/modules/a-pay/src/service/refundOperation.ts +27 -2
- package/vona/src/suite-vendor/a-pay/modules/a-pay/src/types/payScene.ts +9 -0
- package/vona/src/suite-vendor/a-pay/modules/a-pay/src/types/payment.ts +5 -0
- package/vona/src/suite-vendor/a-pay/modules/pay-mock/package.json +1 -1
- package/vona/src/suite-vendor/a-pay/modules/pay-mock/src/bean/payProvider.mock.ts +7 -0
- package/vona/src/suite-vendor/a-pay/modules/pay-paypal/package.json +1 -1
- package/vona/src/suite-vendor/a-pay/modules/pay-paypal/src/bean/payProvider.paypal.ts +395 -84
- package/vona/src/suite-vendor/a-pay/modules/pay-paypal/src/lib/index.ts +1 -1
- package/vona/src/suite-vendor/a-pay/modules/pay-paypal/src/lib/paypalGateway.ts +129 -0
- package/vona/src/suite-vendor/a-pay/modules/pay-paypal/src/types/index.ts +2 -0
- package/vona/src/suite-vendor/a-pay/modules/pay-stripe/package.json +1 -1
- package/vona/src/suite-vendor/a-pay/modules/pay-stripe/src/bean/payProvider.stripe.ts +7 -0
- package/vona/src/suite-vendor/a-pay/package.json +5 -5
- package/vona/src/suite-vendor/a-vona/modules/a-core/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/package.json +1 -1
- package/zova/packages-cli/cli/package.json +3 -3
- package/zova/packages-cli/cli-set-front/package.json +4 -4
- package/zova/packages-utils/zova-jsx/package.json +3 -3
- package/zova/packages-utils/zova-vite/package.json +2 -2
- package/zova/packages-zova/zova/package.json +3 -3
- package/zova/packages-zova/zova-core/package.json +2 -2
- package/zova/src/suite/a-commerce/modules/commerce-member/src/api/openapi/schemas.ts +16 -4
- package/zova/src/suite/a-commerce/modules/commerce-member/src/api/openapi/types.ts +240 -19
- package/zova/src/suite/a-commerce/modules/commerce-trade/cli/openapi.config.ts +1 -0
- package/zova/src/suite/a-commerce/modules/commerce-trade/src/api/commerceTradeCheckout.ts +16 -0
- package/zova/src/suite/a-commerce/modules/commerce-trade/src/api/openapi/schemas.ts +8 -0
- package/zova/src/suite/a-commerce/modules/commerce-trade/src/api/openapi/types.ts +184 -8
- package/zova/src/suite/a-commerce/modules/commerce-trade/src/apiSchema/commerceTradeCheckout.ts +12 -1
- package/zova/src/suite/a-commerce/modules/commerce-trade/src/model/cart.ts +11 -0
- package/zova/src/suite/a-commerce/modules/commerce-trade/src/page/checkout/controller.tsx +25 -1
- package/zova/src/suite/a-commerce/modules/commerce-trade/src/page/payment/controller.tsx +27 -4
- package/zova/src/suite/cabloy-basic/modules/basic-select/src/bean/tableCell.select.tsx +12 -6
- package/zova/src/suite/cabloy-basic/modules/basic-select/src/component/formFieldSelect/controller.tsx +6 -3
- package/zova/src/suite-vendor/a-pay/modules/a-pay/cli/openapi.config.ts +1 -1
- package/zova/src/suite-vendor/a-pay/modules/a-pay/package.json +1 -1
- package/zova/src/suite-vendor/a-pay/modules/a-pay/src/api/openapi/schemas.ts +20 -8
- package/zova/src/suite-vendor/a-pay/modules/a-pay/src/api/openapi/types.ts +292 -32
- package/zova/src/suite-vendor/a-pay/modules/a-pay/src/api/paymentSession.ts +26 -4
- package/zova/src/suite-vendor/a-pay/modules/a-pay/src/apiSchema/paymentSession.ts +5 -0
- package/zova/src/suite-vendor/a-pay/modules/a-pay/src/component/paymentNextAction/controller.tsx +2 -1
- package/zova/src/suite-vendor/a-pay/modules/a-pay/src/model/paymentSession.ts +12 -0
- package/zova/src/suite-vendor/a-pay/package.json +2 -2
- package/zova/src/suite-vendor/a-zova/modules/a-zova/package.json +4 -4
- package/zova/src/suite-vendor/a-zova/package.json +2 -2
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Client,
|
|
3
|
+
Environment,
|
|
4
|
+
OrdersController,
|
|
5
|
+
PaymentsController,
|
|
6
|
+
} from '@cabloy/paypal-server-sdk';
|
|
7
|
+
|
|
8
|
+
export interface IPaypalGatewayOptions {
|
|
9
|
+
environment: 'sandbox' | 'live';
|
|
10
|
+
clientId: string;
|
|
11
|
+
clientSecret: string;
|
|
12
|
+
webhookId: string;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface IPaypalGateway {
|
|
16
|
+
createOrder(options: IPaypalGatewayOptions, input: unknown): Promise<unknown>;
|
|
17
|
+
captureOrder(options: IPaypalGatewayOptions, input: unknown): Promise<unknown>;
|
|
18
|
+
getOrder(options: IPaypalGatewayOptions, input: unknown): Promise<unknown>;
|
|
19
|
+
refundCapturedPayment(options: IPaypalGatewayOptions, input: unknown): Promise<unknown>;
|
|
20
|
+
getRefund(options: IPaypalGatewayOptions, input: unknown): Promise<unknown>;
|
|
21
|
+
verifyWebhookSignature(
|
|
22
|
+
options: IPaypalGatewayOptions,
|
|
23
|
+
input: { headers: Record<string, string | string[] | undefined>; body: unknown },
|
|
24
|
+
): Promise<void>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export class PaypalGatewayError extends Error {
|
|
28
|
+
constructor(
|
|
29
|
+
readonly status: number,
|
|
30
|
+
message: string,
|
|
31
|
+
) {
|
|
32
|
+
super(message);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export function createPaypalGateway(fetcher: typeof fetch): IPaypalGateway {
|
|
37
|
+
return {
|
|
38
|
+
async createOrder(options, input) {
|
|
39
|
+
return (await new OrdersController(createClient(options)).createOrder(input as never)).result;
|
|
40
|
+
},
|
|
41
|
+
async captureOrder(options, input) {
|
|
42
|
+
return (await new OrdersController(createClient(options)).captureOrder(input as never))
|
|
43
|
+
.result;
|
|
44
|
+
},
|
|
45
|
+
async getOrder(options, input) {
|
|
46
|
+
return (await new OrdersController(createClient(options)).getOrder(input as never)).result;
|
|
47
|
+
},
|
|
48
|
+
async refundCapturedPayment(options, input) {
|
|
49
|
+
return (
|
|
50
|
+
await new PaymentsController(createClient(options)).refundCapturedPayment(input as never)
|
|
51
|
+
).result;
|
|
52
|
+
},
|
|
53
|
+
async getRefund(options, input) {
|
|
54
|
+
return (await new PaymentsController(createClient(options)).getRefund(input as never)).result;
|
|
55
|
+
},
|
|
56
|
+
async verifyWebhookSignature(options, input) {
|
|
57
|
+
const transmissionId = getHeader(input.headers, 'paypal-transmission-id');
|
|
58
|
+
const transmissionTime = getHeader(input.headers, 'paypal-transmission-time');
|
|
59
|
+
const certUrl = getHeader(input.headers, 'paypal-cert-url');
|
|
60
|
+
const authAlgo = getHeader(input.headers, 'paypal-auth-algo');
|
|
61
|
+
const transmissionSig = getHeader(input.headers, 'paypal-transmission-sig');
|
|
62
|
+
if (!transmissionId || !transmissionTime || !certUrl || !authAlgo || !transmissionSig) {
|
|
63
|
+
throw new PaypalGatewayError(401, 'PayPal webhook transmission headers are invalid');
|
|
64
|
+
}
|
|
65
|
+
const apiBaseUrl =
|
|
66
|
+
options.environment === 'sandbox'
|
|
67
|
+
? 'https://api-m.sandbox.paypal.com'
|
|
68
|
+
: 'https://api-m.paypal.com';
|
|
69
|
+
const tokenResponse = await fetcher(`${apiBaseUrl}/v1/oauth2/token`, {
|
|
70
|
+
method: 'POST',
|
|
71
|
+
headers: {
|
|
72
|
+
'authorization': `Basic ${Buffer.from(`${options.clientId}:${options.clientSecret}`).toString('base64')}`,
|
|
73
|
+
'content-type': 'application/x-www-form-urlencoded',
|
|
74
|
+
},
|
|
75
|
+
body: 'grant_type=client_credentials',
|
|
76
|
+
});
|
|
77
|
+
const token = asRecord(tokenResponse.ok ? await tokenResponse.json() : undefined);
|
|
78
|
+
const accessToken = readString(token.access_token);
|
|
79
|
+
if (!accessToken) {
|
|
80
|
+
throw new PaypalGatewayError(401, 'PayPal webhook verification authentication failed');
|
|
81
|
+
}
|
|
82
|
+
const response = await fetcher(`${apiBaseUrl}/v1/notifications/verify-webhook-signature`, {
|
|
83
|
+
method: 'POST',
|
|
84
|
+
headers: {
|
|
85
|
+
'authorization': `Bearer ${accessToken}`,
|
|
86
|
+
'content-type': 'application/json',
|
|
87
|
+
},
|
|
88
|
+
body: JSON.stringify({
|
|
89
|
+
auth_algo: authAlgo,
|
|
90
|
+
cert_url: certUrl,
|
|
91
|
+
transmission_id: transmissionId,
|
|
92
|
+
transmission_sig: transmissionSig,
|
|
93
|
+
transmission_time: transmissionTime,
|
|
94
|
+
webhook_id: options.webhookId,
|
|
95
|
+
webhook_event: input.body,
|
|
96
|
+
}),
|
|
97
|
+
});
|
|
98
|
+
if (!response.ok) throw new PaypalGatewayError(401, 'PayPal webhook verification failed');
|
|
99
|
+
const result = asRecord(await response.json());
|
|
100
|
+
if (readString(result.verification_status) !== 'SUCCESS') {
|
|
101
|
+
throw new PaypalGatewayError(401, 'PayPal webhook signature is invalid');
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
function createClient(options: IPaypalGatewayOptions) {
|
|
108
|
+
return new Client({
|
|
109
|
+
clientCredentialsAuthCredentials: {
|
|
110
|
+
oAuthClientId: options.clientId,
|
|
111
|
+
oAuthClientSecret: options.clientSecret,
|
|
112
|
+
},
|
|
113
|
+
timeout: 0,
|
|
114
|
+
environment: options.environment === 'live' ? Environment.Production : Environment.Sandbox,
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
function asRecord(value: unknown): Record<string, unknown> {
|
|
119
|
+
return value && typeof value === 'object' ? (value as Record<string, unknown>) : {};
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
function readString(value: unknown): string | undefined {
|
|
123
|
+
return typeof value === 'string' && value ? value : undefined;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
function getHeader(headers: Record<string, string | string[] | undefined>, key: string) {
|
|
127
|
+
const value = headers[key];
|
|
128
|
+
return Array.isArray(value) ? value[0] : value;
|
|
129
|
+
}
|
|
@@ -59,6 +59,13 @@ export class PayProviderStripe
|
|
|
59
59
|
this.app.throw(501, 'Stripe provider is not implemented');
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
+
async confirmPayment(
|
|
63
|
+
_input: IPayProviderPaymentInput,
|
|
64
|
+
_clientOptions: IPayProviderStripeClientOptions,
|
|
65
|
+
): Promise<IPayProviderPaymentSnapshot> {
|
|
66
|
+
this.app.throw(501, 'Stripe provider is not implemented');
|
|
67
|
+
}
|
|
68
|
+
|
|
62
69
|
async queryPayment(
|
|
63
70
|
_input: IPayProviderPaymentInput,
|
|
64
71
|
_clientOptions: IPayProviderStripeClientOptions,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vona-suite-a-pay",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "",
|
|
6
6
|
"files": [],
|
|
7
7
|
"type": "module",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"vona-module-a-pay": "^5.0.
|
|
10
|
-
"vona-module-pay-mock": "^5.0.
|
|
11
|
-
"vona-module-pay-paypal": "^5.0.
|
|
12
|
-
"vona-module-pay-stripe": "^5.0.
|
|
9
|
+
"vona-module-a-pay": "^5.0.4",
|
|
10
|
+
"vona-module-pay-mock": "^5.0.4",
|
|
11
|
+
"vona-module-pay-paypal": "^5.0.4",
|
|
12
|
+
"vona-module-pay-stripe": "^5.0.4"
|
|
13
13
|
},
|
|
14
14
|
"title": "a-pay"
|
|
15
15
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zova-cli",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.102",
|
|
4
4
|
"gitHead": "6f675a8cc46d596142c591c28a40cc4d82fcc6cc",
|
|
5
5
|
"description": "zova cli",
|
|
6
6
|
"keywords": [
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"postpack": "clean-package restore"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@cabloy/cli": "^3.1.
|
|
43
|
+
"@cabloy/cli": "^3.1.29",
|
|
44
44
|
"@cabloy/process-helper": "^3.1.8",
|
|
45
45
|
"fs-extra": "^11.3.5",
|
|
46
46
|
"semver": "^7.6.2",
|
|
47
|
-
"zova-cli-set-front": "^1.2.
|
|
47
|
+
"zova-cli-set-front": "^1.2.100"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"clean-package": "^2.2.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zova-cli-set-front",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.100",
|
|
4
4
|
"gitHead": "6f675a8cc46d596142c591c28a40cc4d82fcc6cc",
|
|
5
5
|
"description": "zova cli-set-front",
|
|
6
6
|
"keywords": [
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
"@babel/plugin-proposal-decorators": "^7.29.0",
|
|
42
42
|
"@babel/plugin-transform-class-properties": "^7.28.6",
|
|
43
43
|
"@babel/plugin-transform-typescript": "^7.28.6",
|
|
44
|
-
"@cabloy/cli": "^3.1.
|
|
44
|
+
"@cabloy/cli": "^3.1.29",
|
|
45
45
|
"@cabloy/extend": "^3.2.8",
|
|
46
46
|
"@cabloy/module-info": "^2.0.3",
|
|
47
47
|
"@cabloy/openapi-typescript": "^7.9.2",
|
|
48
|
-
"@cabloy/utils": "^2.1.
|
|
48
|
+
"@cabloy/utils": "^2.1.27",
|
|
49
49
|
"@cabloy/vite-plugin-babel": "^1.3.3",
|
|
50
50
|
"@cabloy/vue-babel-plugin-jsx": "^2.0.1",
|
|
51
51
|
"@cabloy/word-utils": "^2.1.14",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"vite": "^8.0.14",
|
|
71
71
|
"yaml": "^2.8.3",
|
|
72
72
|
"zova-openapi": "^1.1.17",
|
|
73
|
-
"zova-vite": "^1.1.
|
|
73
|
+
"zova-vite": "^1.1.44"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"clean-package": "^2.2.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zova-jsx",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.82",
|
|
4
4
|
"gitHead": "2c5c19284bab738e492856189acb6fad74b8a7b7",
|
|
5
5
|
"description": "Zova JSX",
|
|
6
6
|
"keywords": [
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@cabloy/compose": "^2.1.9",
|
|
49
|
-
"@cabloy/utils": "^2.1.
|
|
49
|
+
"@cabloy/utils": "^2.1.27",
|
|
50
50
|
"@cabloy/word-utils": "^2.1.14",
|
|
51
51
|
"typestyle": "^2.4.0",
|
|
52
52
|
"vue": "^3.5.38",
|
|
53
|
-
"zova-core": "^5.1.
|
|
53
|
+
"zova-core": "^5.1.82"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"clean-package": "^2.2.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zova-vite",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.44",
|
|
4
4
|
"gitHead": "09d901d17140a80ee0764211b441cda72fd94663",
|
|
5
5
|
"description": "zova vite",
|
|
6
6
|
"keywords": [
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@babel/plugin-transform-typescript": "^7.28.6",
|
|
43
43
|
"@cabloy/dotenv": "^1.2.8",
|
|
44
44
|
"@cabloy/extend": "^3.2.8",
|
|
45
|
-
"@cabloy/module-glob": "^5.3.
|
|
45
|
+
"@cabloy/module-glob": "^5.3.18",
|
|
46
46
|
"@cabloy/module-info": "^2.0.3",
|
|
47
47
|
"@cabloy/vite-plugin-babel": "^1.3.3",
|
|
48
48
|
"@cabloy/vue-babel-plugin-jsx": "^2.0.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zova",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.145",
|
|
4
4
|
"gitHead": "2c5c19284bab738e492856189acb6fad74b8a7b7",
|
|
5
5
|
"description": "A vue3 framework with ioc",
|
|
6
6
|
"keywords": [
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"postpack": "clean-package restore"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"zova-core": "^5.1.
|
|
49
|
-
"zova-suite-a-zova": "^5.1.
|
|
48
|
+
"zova-core": "^5.1.82",
|
|
49
|
+
"zova-suite-a-zova": "^5.1.144"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"clean-package": "^2.2.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zova-core",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.82",
|
|
4
4
|
"gitHead": "2c5c19284bab738e492856189acb6fad74b8a7b7",
|
|
5
5
|
"description": "A vue3 framework with ioc",
|
|
6
6
|
"keywords": [
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@cabloy/localeutil": "^2.1.8",
|
|
53
53
|
"@cabloy/logger": "^1.1.24",
|
|
54
54
|
"@cabloy/module-info": "^2.0.3",
|
|
55
|
-
"@cabloy/utils": "^2.1.
|
|
55
|
+
"@cabloy/utils": "^2.1.27",
|
|
56
56
|
"@cabloy/vue-compiler-sfc": "^3.5.14",
|
|
57
57
|
"@cabloy/vue-reactivity": "^3.5.16",
|
|
58
58
|
"@cabloy/vue-router": "^4.4.16",
|
|
@@ -117,6 +117,14 @@ export type ApiSchemaCommerceTradeDtoCartUpdateItem =
|
|
|
117
117
|
components['schemas']['commerce-trade.dto.cartUpdateItem'];
|
|
118
118
|
export type ApiSchemaCommerceTradeDtoCartUpdateItemPartial =
|
|
119
119
|
Partial<ApiSchemaCommerceTradeDtoCartUpdateItem>;
|
|
120
|
+
export type ApiSchemaCommerceTradeDtoCheckoutPaymentMethods =
|
|
121
|
+
components['schemas']['commerce-trade.dto.checkoutPaymentMethods'];
|
|
122
|
+
export type ApiSchemaCommerceTradeDtoCheckoutPaymentMethodsPartial =
|
|
123
|
+
Partial<ApiSchemaCommerceTradeDtoCheckoutPaymentMethods>;
|
|
124
|
+
export type ApiSchemaCommerceTradeDtoCheckoutPaymentMethod =
|
|
125
|
+
components['schemas']['commerce-trade.dto.checkoutPaymentMethod'];
|
|
126
|
+
export type ApiSchemaCommerceTradeDtoCheckoutPaymentMethodPartial =
|
|
127
|
+
Partial<ApiSchemaCommerceTradeDtoCheckoutPaymentMethod>;
|
|
120
128
|
export type ApiSchemaCommerceTradeDtoCheckoutResult =
|
|
121
129
|
components['schemas']['commerce-trade.dto.checkoutResult'];
|
|
122
130
|
export type ApiSchemaCommerceTradeDtoCheckoutResultPartial =
|
|
@@ -165,10 +173,6 @@ export type ApiSchemaCommerceTradeDtoRefundReview =
|
|
|
165
173
|
components['schemas']['commerce-trade.dto.refundReview'];
|
|
166
174
|
export type ApiSchemaCommerceTradeDtoRefundReviewPartial =
|
|
167
175
|
Partial<ApiSchemaCommerceTradeDtoRefundReview>;
|
|
168
|
-
export type ApiSchemaCommerceTradeDtoRefundOutcomeCreate =
|
|
169
|
-
components['schemas']['commerce-trade.dto.refundOutcomeCreate'];
|
|
170
|
-
export type ApiSchemaCommerceTradeDtoRefundOutcomeCreatePartial =
|
|
171
|
-
Partial<ApiSchemaCommerceTradeDtoRefundOutcomeCreate>;
|
|
172
176
|
export type ApiSchemaCommerceTradeDtoShipmentView =
|
|
173
177
|
components['schemas']['commerce-trade.dto.shipmentView'];
|
|
174
178
|
export type ApiSchemaCommerceTradeDtoShipmentViewPartial =
|
|
@@ -461,6 +465,14 @@ export type ApiSchemaPayMockDtoMockPaymentComplete =
|
|
|
461
465
|
components['schemas']['pay-mock.dto.mockPaymentComplete'];
|
|
462
466
|
export type ApiSchemaPayMockDtoMockPaymentCompletePartial =
|
|
463
467
|
Partial<ApiSchemaPayMockDtoMockPaymentComplete>;
|
|
468
|
+
export type ApiSchemaPayMockDtoMockRefundReceipt =
|
|
469
|
+
components['schemas']['pay-mock.dto.mockRefundReceipt'];
|
|
470
|
+
export type ApiSchemaPayMockDtoMockRefundReceiptPartial =
|
|
471
|
+
Partial<ApiSchemaPayMockDtoMockRefundReceipt>;
|
|
472
|
+
export type ApiSchemaPayMockDtoMockRefundComplete =
|
|
473
|
+
components['schemas']['pay-mock.dto.mockRefundComplete'];
|
|
474
|
+
export type ApiSchemaPayMockDtoMockRefundCompletePartial =
|
|
475
|
+
Partial<ApiSchemaPayMockDtoMockRefundComplete>;
|
|
464
476
|
export type ApiSchemaAPaypalEntityPaypalRecord =
|
|
465
477
|
components['schemas']['a-paypal.entity.paypalRecord'];
|
|
466
478
|
export type ApiSchemaAPaypalEntityPaypalRecordPartial = Partial<ApiSchemaAPaypalEntityPaypalRecord>;
|