oneentry 1.0.144 → 1.0.146
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/admins/adminsInterfaces.d.ts +3 -0
- package/dist/admins/adminsSchemas.d.ts +2 -0
- package/dist/admins/adminsSchemas.js +2 -1
- package/dist/attribute-sets/attributeSetsSchemas.d.ts +0 -2
- package/dist/attribute-sets/attributeSetsSchemas.js +0 -3
- package/dist/auth-provider/authProviderSchemas.d.ts +27 -36
- package/dist/auth-provider/authProviderSchemas.js +17 -6
- package/dist/auth-provider/authProvidersInterfaces.d.ts +15 -10
- package/dist/base/syncModules.js +17 -5
- package/dist/base/utils.d.ts +15 -1
- package/dist/base/validation.d.ts +10 -30
- package/dist/base/validation.js +10 -17
- package/dist/blocks/blocksSchemas.d.ts +68 -100
- package/dist/discounts/discountsApi.d.ts +7 -7
- package/dist/discounts/discountsApi.js +3 -3
- package/dist/discounts/discountsInterfaces.d.ts +31 -15
- package/dist/forms/formsInterfaces.d.ts +19 -3
- package/dist/forms/formsSchemas.d.ts +3 -0
- package/dist/forms/formsSchemas.js +1 -0
- package/dist/forms-data/formsDataInterfaces.d.ts +3 -3
- package/dist/forms-data/formsDataSchemas.d.ts +4 -12
- package/dist/forms-data/formsDataSchemas.js +3 -3
- package/dist/orders/ordersApi.d.ts +4 -4
- package/dist/orders/ordersApi.js +2 -2
- package/dist/orders/ordersInterfaces.d.ts +21 -8
- package/dist/orders/ordersSchemas.d.ts +49 -34
- package/dist/orders/ordersSchemas.js +38 -29
- package/dist/pages/pagesSchemas.d.ts +7 -1
- package/dist/pages/pagesSchemas.js +5 -1
- package/dist/payments/paymentsApi.d.ts +3 -3
- package/dist/payments/paymentsApi.js +2 -2
- package/dist/payments/paymentsInterfaces.d.ts +5 -41
- package/dist/payments/paymentsSchemas.d.ts +8 -14
- package/dist/payments/paymentsSchemas.js +3 -12
- package/dist/products/productsSchemas.d.ts +68 -100
- package/dist/products/productsSchemas.js +17 -19
- package/dist/sitemap/sitemapApi.d.ts +4 -4
- package/dist/sitemap/sitemapApi.js +1 -1
- package/dist/sitemap/sitemapInterfaces.d.ts +30 -21
- package/dist/users/usersInterfaces.d.ts +3 -3
- package/dist/users/usersSchemas.d.ts +8 -14
- package/dist/users/usersSchemas.js +1 -4
- package/package.json +2 -2
|
@@ -24,21 +24,19 @@ exports.OrderItemSchema = zod_1.z.object({
|
|
|
24
24
|
*/
|
|
25
25
|
exports.OrderEntitySchema = zod_1.z.object({
|
|
26
26
|
id: zod_1.z.number(),
|
|
27
|
-
storageId: zod_1.z.number()
|
|
28
|
-
createdDate: zod_1.z.string()
|
|
27
|
+
storageId: zod_1.z.number(),
|
|
28
|
+
createdDate: zod_1.z.string(),
|
|
29
29
|
statusIdentifier: zod_1.z.string().optional(),
|
|
30
30
|
formIdentifier: zod_1.z.string().optional(),
|
|
31
|
-
formData: zod_1.z
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
products: zod_1.z.array(zod_1.z.any()).optional(),
|
|
41
|
-
isCompleted: zod_1.z.boolean().optional().nullable(),
|
|
31
|
+
formData: zod_1.z.union([zod_1.z.array(zod_1.z.any()), zod_1.z.record(zod_1.z.string(), zod_1.z.any())]),
|
|
32
|
+
attributeSetIdentifier: zod_1.z.string().optional(),
|
|
33
|
+
totalSum: zod_1.z.string(),
|
|
34
|
+
currency: zod_1.z.string(),
|
|
35
|
+
paymentAccountIdentifier: zod_1.z.string().optional(),
|
|
36
|
+
paymentAccountLocalizeInfos: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional(),
|
|
37
|
+
paymentUrl: zod_1.z.string().nullable(),
|
|
38
|
+
products: zod_1.z.array(zod_1.z.any()),
|
|
39
|
+
isCompleted: zod_1.z.boolean().nullable(),
|
|
42
40
|
statusLocalizeInfos: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).optional(),
|
|
43
41
|
});
|
|
44
42
|
/**
|
|
@@ -74,15 +72,20 @@ exports.OrdersStorageResponseSchema = zod_1.z.array(exports.OrderStorageSchema);
|
|
|
74
72
|
*/
|
|
75
73
|
exports.CreateOrderResponseSchema = zod_1.z.object({
|
|
76
74
|
id: zod_1.z.number(),
|
|
77
|
-
formIdentifier: zod_1.z.string()
|
|
78
|
-
paymentAccountIdentifier: zod_1.z.string()
|
|
79
|
-
formData: zod_1.z
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
currency: zod_1.z.string().optional(),
|
|
84
|
-
totalSum: zod_1.z.union([zod_1.z.number(), zod_1.z.string()]).optional(),
|
|
75
|
+
formIdentifier: zod_1.z.string(),
|
|
76
|
+
paymentAccountIdentifier: zod_1.z.string(),
|
|
77
|
+
formData: zod_1.z.union([zod_1.z.array(zod_1.z.any()), zod_1.z.record(zod_1.z.string(), zod_1.z.any())]),
|
|
78
|
+
products: zod_1.z.array(zod_1.z.any()),
|
|
79
|
+
currency: zod_1.z.string(),
|
|
80
|
+
totalSum: zod_1.z.number(),
|
|
85
81
|
createdDate: zod_1.z.string().optional(),
|
|
82
|
+
statusIdentifier: zod_1.z.string().optional(),
|
|
83
|
+
couponCode: zod_1.z.string().optional(),
|
|
84
|
+
additionalDiscountsMarkers: zod_1.z.array(zod_1.z.string()).optional(),
|
|
85
|
+
discountConfig: zod_1.z.unknown().optional(),
|
|
86
|
+
bonusAmount: zod_1.z.number().optional(),
|
|
87
|
+
bonusApplied: zod_1.z.number().optional(),
|
|
88
|
+
totalDue: zod_1.z.number().optional(),
|
|
86
89
|
});
|
|
87
90
|
/**
|
|
88
91
|
* Update order response schema
|
|
@@ -90,12 +93,18 @@ exports.CreateOrderResponseSchema = zod_1.z.object({
|
|
|
90
93
|
*/
|
|
91
94
|
exports.UpdateOrderResponseSchema = zod_1.z.object({
|
|
92
95
|
id: zod_1.z.number(),
|
|
93
|
-
formIdentifier: zod_1.z.string()
|
|
94
|
-
paymentAccountIdentifier: zod_1.z.string()
|
|
95
|
-
formData: zod_1.z
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
96
|
+
formIdentifier: zod_1.z.string(),
|
|
97
|
+
paymentAccountIdentifier: zod_1.z.string(),
|
|
98
|
+
formData: zod_1.z.union([zod_1.z.array(zod_1.z.any()), zod_1.z.record(zod_1.z.string(), zod_1.z.any())]),
|
|
99
|
+
products: zod_1.z.array(zod_1.z.any()),
|
|
100
|
+
currency: zod_1.z.string(),
|
|
101
|
+
totalSum: zod_1.z.number(),
|
|
102
|
+
createdDate: zod_1.z.string().optional(),
|
|
103
|
+
statusIdentifier: zod_1.z.string().optional(),
|
|
104
|
+
couponCode: zod_1.z.string().optional(),
|
|
105
|
+
additionalDiscountsMarkers: zod_1.z.array(zod_1.z.string()).optional(),
|
|
106
|
+
discountConfig: zod_1.z.unknown().optional(),
|
|
107
|
+
bonusAmount: zod_1.z.number().optional(),
|
|
108
|
+
bonusApplied: zod_1.z.number().optional(),
|
|
109
|
+
totalDue: zod_1.z.number().optional(),
|
|
101
110
|
});
|
|
@@ -19,6 +19,7 @@ export declare const PageEntitySchema: z.ZodObject<{
|
|
|
19
19
|
attributeSetIdentifier: z.ZodNullable<z.ZodString>;
|
|
20
20
|
attributeValues: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
21
21
|
moduleFormConfigs: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
22
|
+
rating: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
22
23
|
isSync: z.ZodBoolean;
|
|
23
24
|
template: z.ZodOptional<z.ZodAny>;
|
|
24
25
|
blocks: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodAny>, z.ZodArray<z.ZodString>]>>;
|
|
@@ -44,6 +45,7 @@ export declare const PagesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
44
45
|
attributeSetIdentifier: z.ZodNullable<z.ZodString>;
|
|
45
46
|
attributeValues: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
46
47
|
moduleFormConfigs: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
48
|
+
rating: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
47
49
|
isSync: z.ZodBoolean;
|
|
48
50
|
template: z.ZodOptional<z.ZodAny>;
|
|
49
51
|
blocks: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodAny>, z.ZodArray<z.ZodString>]>>;
|
|
@@ -69,6 +71,7 @@ export declare const SinglePageSchema: z.ZodObject<{
|
|
|
69
71
|
attributeSetIdentifier: z.ZodNullable<z.ZodString>;
|
|
70
72
|
attributeValues: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
71
73
|
moduleFormConfigs: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
74
|
+
rating: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
72
75
|
isSync: z.ZodBoolean;
|
|
73
76
|
template: z.ZodOptional<z.ZodAny>;
|
|
74
77
|
blocks: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodAny>, z.ZodArray<z.ZodString>]>>;
|
|
@@ -82,4 +85,7 @@ export declare const SinglePageSchema: z.ZodObject<{
|
|
|
82
85
|
/**
|
|
83
86
|
* Page config schema
|
|
84
87
|
*/
|
|
85
|
-
export declare const PageConfigSchema: z.
|
|
88
|
+
export declare const PageConfigSchema: z.ZodObject<{
|
|
89
|
+
rowsPerPage: z.ZodNullable<z.ZodNumber>;
|
|
90
|
+
productsPerRow: z.ZodNullable<z.ZodNumber>;
|
|
91
|
+
}, z.core.$strip>;
|
|
@@ -22,6 +22,7 @@ exports.PageEntitySchema = zod_1.z.object({
|
|
|
22
22
|
attributeSetIdentifier: zod_1.z.string().nullable(),
|
|
23
23
|
attributeValues: zod_1.z.record(zod_1.z.string(), zod_1.z.any()),
|
|
24
24
|
moduleFormConfigs: zod_1.z.array(zod_1.z.any()).optional(),
|
|
25
|
+
rating: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional(),
|
|
25
26
|
isSync: zod_1.z.boolean(),
|
|
26
27
|
template: zod_1.z.any().optional(),
|
|
27
28
|
blocks: zod_1.z.union([zod_1.z.array(zod_1.z.any()), zod_1.z.array(zod_1.z.string())]).optional(),
|
|
@@ -43,4 +44,7 @@ exports.SinglePageSchema = exports.PageEntitySchema;
|
|
|
43
44
|
/**
|
|
44
45
|
* Page config schema
|
|
45
46
|
*/
|
|
46
|
-
exports.PageConfigSchema = zod_1.z.
|
|
47
|
+
exports.PageConfigSchema = zod_1.z.object({
|
|
48
|
+
rowsPerPage: zod_1.z.number().nullable(),
|
|
49
|
+
productsPerRow: zod_1.z.number().nullable(),
|
|
50
|
+
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import AsyncModules from '../base/asyncModules';
|
|
2
2
|
import type StateModule from '../base/stateModule';
|
|
3
3
|
import type { IError } from '../base/utils';
|
|
4
|
-
import type { IAccountsEntity,
|
|
4
|
+
import type { IAccountsEntity, IPaymentsApi, ISessionEntity, ISessionsEntity } from './paymentsInterfaces';
|
|
5
5
|
/**
|
|
6
6
|
* Controllers for working with payments
|
|
7
7
|
* @handle /api/content/payments
|
|
@@ -53,12 +53,12 @@ export default class PaymentsApi extends AsyncModules implements IPaymentsApi {
|
|
|
53
53
|
* @param {number} orderId - Order identifier. Example: 12345.
|
|
54
54
|
* @param {'session' | 'intent'} type - Session type. Possible values: "session" or "intent". Example: 'session'.
|
|
55
55
|
* @param {boolean} [automaticTaxEnabled] - Automatic calculation of the tax rate. Default: false.
|
|
56
|
-
* @returns {Promise<
|
|
56
|
+
* @returns {Promise<ISessionEntity | IError>} Returns a single payment session object.
|
|
57
57
|
* @throws {IError} When isShell=false and an error occurs during the fetch
|
|
58
58
|
* @description This method creates a payment session. This method requires user authorization.
|
|
59
59
|
* @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
|
|
60
60
|
*/
|
|
61
|
-
createSession(orderId: number, type: 'session' | 'intent', automaticTaxEnabled?: boolean): Promise<
|
|
61
|
+
createSession(orderId: number, type: 'session' | 'intent', automaticTaxEnabled?: boolean): Promise<ISessionEntity | IError>;
|
|
62
62
|
/**
|
|
63
63
|
* Get all payment accounts as an array.
|
|
64
64
|
* @handleName getAccounts
|
|
@@ -74,7 +74,7 @@ class PaymentsApi extends asyncModules_1.default {
|
|
|
74
74
|
* @param {number} orderId - Order identifier. Example: 12345.
|
|
75
75
|
* @param {'session' | 'intent'} type - Session type. Possible values: "session" or "intent". Example: 'session'.
|
|
76
76
|
* @param {boolean} [automaticTaxEnabled] - Automatic calculation of the tax rate. Default: false.
|
|
77
|
-
* @returns {Promise<
|
|
77
|
+
* @returns {Promise<ISessionEntity | IError>} Returns a single payment session object.
|
|
78
78
|
* @throws {IError} When isShell=false and an error occurs during the fetch
|
|
79
79
|
* @description This method creates a payment session. This method requires user authorization.
|
|
80
80
|
* @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
|
|
@@ -86,7 +86,7 @@ class PaymentsApi extends asyncModules_1.default {
|
|
|
86
86
|
automaticTaxEnabled,
|
|
87
87
|
});
|
|
88
88
|
// Validate response if validation is enabled
|
|
89
|
-
const validated = this._validateResponse(result, paymentsSchemas_1.
|
|
89
|
+
const validated = this._validateResponse(result, paymentsSchemas_1.PaymentSessionSchema);
|
|
90
90
|
return validated;
|
|
91
91
|
}
|
|
92
92
|
/**
|
|
@@ -41,12 +41,12 @@ interface IPaymentsApi {
|
|
|
41
41
|
* @param {number} orderId - Order identifier. Example: 12345.
|
|
42
42
|
* @param {'session' | 'intent'} type - Session type. Possible values: "session" or "intent". Example: "session".
|
|
43
43
|
* @param {boolean} [automaticTaxEnabled] - Automatic calculation of the tax rate. Default: false.
|
|
44
|
-
* @returns {
|
|
44
|
+
* @returns {ISessionEntity} Returns a single payment session object.
|
|
45
45
|
* @throws {IError} If there is an error during the fetch operation, it will return an error object.
|
|
46
46
|
* @description This method creates a payment session. This method requires user authorization.
|
|
47
47
|
* @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
|
|
48
48
|
*/
|
|
49
|
-
createSession(orderId: number, type: 'session' | 'intent', automaticTaxEnabled?: boolean): Promise<
|
|
49
|
+
createSession(orderId: number, type: 'session' | 'intent', automaticTaxEnabled?: boolean): Promise<ISessionEntity | IError>;
|
|
50
50
|
/**
|
|
51
51
|
* Get all payment accounts as an array.
|
|
52
52
|
* @handleName getAccounts
|
|
@@ -101,6 +101,7 @@ interface ISessionsEntity {
|
|
|
101
101
|
* @property {number} orderId - Order identifier. Example: 1.
|
|
102
102
|
* @property {string | null} paymentUrl - payment link. Example: " https://www.sandbox.paypal.com/checkoutnow?token=9BE88048TU058770M".
|
|
103
103
|
* @property {number | null} [amount] - Amount of the payment session. Example: 100.
|
|
104
|
+
* @property {string} [clientSecret] - Client secret key returned by payment provider (e.g. Stripe) when creating a session. Example: "pi_3MtwBwLkdIwHu7ix28a3tqPa_secret_YrKJUKribcBjcG8HVhfZluoGH".
|
|
104
105
|
* @description This interface defines the structure of a session entity, including its quantity, amount, currency, name, and description.
|
|
105
106
|
*/
|
|
106
107
|
interface ISessionEntity {
|
|
@@ -113,6 +114,7 @@ interface ISessionEntity {
|
|
|
113
114
|
orderId: number;
|
|
114
115
|
paymentUrl: string | null;
|
|
115
116
|
amount?: number | null;
|
|
117
|
+
clientSecret?: string;
|
|
116
118
|
}
|
|
117
119
|
/**
|
|
118
120
|
* @interface IIntent
|
|
@@ -124,44 +126,6 @@ interface IIntent {
|
|
|
124
126
|
amount: number;
|
|
125
127
|
currency: string;
|
|
126
128
|
}
|
|
127
|
-
/**
|
|
128
|
-
* @interface ISessionItem
|
|
129
|
-
* @property {number} id - Object identifier. Example: 12345.
|
|
130
|
-
* @property {string} updatedDate - Object modification date. Example: "2023-10-01T12:00:00Z".
|
|
131
|
-
* @property {string} type - Type may be 'session' or 'intent'. Example: 'session'.
|
|
132
|
-
* @property {number} orderId - Order identifier. Example: 12345.
|
|
133
|
-
* @property {number} paymentAccountId - Payment account object identifier. Example: 12345.
|
|
134
|
-
* @property {string} paymentUrl - Payment link. Example: "https://example.com/payment/12345".
|
|
135
|
-
* @property {string} clientSecret - Client secret key. Example: "sk_test_4eC39HqLyjWDarjtT1zdp7dc".
|
|
136
|
-
* @property {string} status - payment status. Example: "pending".
|
|
137
|
-
* @description This interface defines the structure of a session item, which includes identifiers, payment details, and status information.
|
|
138
|
-
*/
|
|
139
|
-
interface ISessionItem {
|
|
140
|
-
id: number;
|
|
141
|
-
updatedDate: string;
|
|
142
|
-
type: 'session' | 'intent';
|
|
143
|
-
orderId: number;
|
|
144
|
-
paymentAccountId: number;
|
|
145
|
-
paymentUrl: string;
|
|
146
|
-
clientSecret: string;
|
|
147
|
-
status: string;
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* @interface ICreateSessionEntity
|
|
151
|
-
* @property {number} id - Object identifier. Example: 12345.
|
|
152
|
-
* @property {string} updatedDate - Object modification date. Example: "2023-10-01T12:00:00Z".
|
|
153
|
-
* @property {number} version - Version of the object. Example: 1.
|
|
154
|
-
* @property {string} identifier - Text identifier for the recording field. Example: "payment_12345".
|
|
155
|
-
* @property {string} paymentUrl - Payment link. Example: "https://example.com/payment/12345".
|
|
156
|
-
* @description This interface defines the structure of a session entity created during the payment process, including its identifiers, version, and payment URL.
|
|
157
|
-
*/
|
|
158
|
-
interface ICreateSessionEntity {
|
|
159
|
-
id: number;
|
|
160
|
-
updatedDate: string;
|
|
161
|
-
version: number;
|
|
162
|
-
identifier: string;
|
|
163
|
-
paymentUrl: string;
|
|
164
|
-
}
|
|
165
129
|
/**
|
|
166
130
|
* @interface IAccountsEntity
|
|
167
131
|
* @property {number} id - Object identifier. Example: 12345.
|
|
@@ -197,4 +161,4 @@ interface IAccountsEntity {
|
|
|
197
161
|
};
|
|
198
162
|
updatedDate: string;
|
|
199
163
|
}
|
|
200
|
-
export type { IAccountsEntity,
|
|
164
|
+
export type { IAccountsEntity, IIntent, IPaymentsApi, ISessionEntity, ISessionsEntity, };
|
|
@@ -6,13 +6,14 @@ import { z } from 'zod';
|
|
|
6
6
|
export declare const PaymentSessionSchema: z.ZodObject<{
|
|
7
7
|
id: z.ZodNumber;
|
|
8
8
|
orderId: z.ZodNumber;
|
|
9
|
-
amount: z.ZodNullable<z.ZodNumber
|
|
9
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
10
|
status: z.ZodString;
|
|
11
11
|
createdDate: z.ZodString;
|
|
12
12
|
updatedDate: z.ZodString;
|
|
13
13
|
type: z.ZodString;
|
|
14
14
|
paymentAccountId: z.ZodNumber;
|
|
15
15
|
paymentUrl: z.ZodNullable<z.ZodString>;
|
|
16
|
+
clientSecret: z.ZodOptional<z.ZodString>;
|
|
16
17
|
}, z.core.$strip>;
|
|
17
18
|
/**
|
|
18
19
|
* Payment sessions response schema
|
|
@@ -22,13 +23,14 @@ export declare const PaymentSessionsResponseSchema: z.ZodObject<{
|
|
|
22
23
|
items: z.ZodArray<z.ZodObject<{
|
|
23
24
|
id: z.ZodNumber;
|
|
24
25
|
orderId: z.ZodNumber;
|
|
25
|
-
amount: z.ZodNullable<z.ZodNumber
|
|
26
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
27
|
status: z.ZodString;
|
|
27
28
|
createdDate: z.ZodString;
|
|
28
29
|
updatedDate: z.ZodString;
|
|
29
30
|
type: z.ZodString;
|
|
30
31
|
paymentAccountId: z.ZodNumber;
|
|
31
32
|
paymentUrl: z.ZodNullable<z.ZodString>;
|
|
33
|
+
clientSecret: z.ZodOptional<z.ZodString>;
|
|
32
34
|
}, z.core.$strip>>;
|
|
33
35
|
total: z.ZodNumber;
|
|
34
36
|
}, z.core.$strip>;
|
|
@@ -39,23 +41,25 @@ export declare const PaymentSessionsResponseSchema: z.ZodObject<{
|
|
|
39
41
|
export declare const SinglePaymentSessionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
40
42
|
id: z.ZodNumber;
|
|
41
43
|
orderId: z.ZodNumber;
|
|
42
|
-
amount: z.ZodNullable<z.ZodNumber
|
|
44
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
45
|
status: z.ZodString;
|
|
44
46
|
createdDate: z.ZodString;
|
|
45
47
|
updatedDate: z.ZodString;
|
|
46
48
|
type: z.ZodString;
|
|
47
49
|
paymentAccountId: z.ZodNumber;
|
|
48
50
|
paymentUrl: z.ZodNullable<z.ZodString>;
|
|
51
|
+
clientSecret: z.ZodOptional<z.ZodString>;
|
|
49
52
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
50
53
|
id: z.ZodNumber;
|
|
51
54
|
orderId: z.ZodNumber;
|
|
52
|
-
amount: z.ZodNullable<z.ZodNumber
|
|
55
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
53
56
|
status: z.ZodString;
|
|
54
57
|
createdDate: z.ZodString;
|
|
55
58
|
updatedDate: z.ZodString;
|
|
56
59
|
type: z.ZodString;
|
|
57
60
|
paymentAccountId: z.ZodNumber;
|
|
58
61
|
paymentUrl: z.ZodNullable<z.ZodString>;
|
|
62
|
+
clientSecret: z.ZodOptional<z.ZodString>;
|
|
59
63
|
}, z.core.$strip>>]>;
|
|
60
64
|
/**
|
|
61
65
|
* Payment account schema
|
|
@@ -88,13 +92,3 @@ export declare const PaymentAccountsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
88
92
|
localizeInfos: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
89
93
|
updatedDate: z.ZodString;
|
|
90
94
|
}, z.core.$strip>>;
|
|
91
|
-
/**
|
|
92
|
-
* Create session response schema
|
|
93
|
-
*/
|
|
94
|
-
export declare const CreateSessionResponseSchema: z.ZodObject<{
|
|
95
|
-
id: z.ZodNumber;
|
|
96
|
-
updatedDate: z.ZodString;
|
|
97
|
-
version: z.ZodNumber;
|
|
98
|
-
identifier: z.ZodString;
|
|
99
|
-
paymentUrl: z.ZodString;
|
|
100
|
-
}, z.core.$strip>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.PaymentAccountsResponseSchema = exports.PaymentAccountSchema = exports.SinglePaymentSessionSchema = exports.PaymentSessionsResponseSchema = exports.PaymentSessionSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
/**
|
|
6
6
|
* Payment session schema
|
|
@@ -9,13 +9,14 @@ const zod_1 = require("zod");
|
|
|
9
9
|
exports.PaymentSessionSchema = zod_1.z.object({
|
|
10
10
|
id: zod_1.z.number(),
|
|
11
11
|
orderId: zod_1.z.number(),
|
|
12
|
-
amount: zod_1.z.number().nullable(),
|
|
12
|
+
amount: zod_1.z.number().nullable().optional(),
|
|
13
13
|
status: zod_1.z.string(),
|
|
14
14
|
createdDate: zod_1.z.string(),
|
|
15
15
|
updatedDate: zod_1.z.string(),
|
|
16
16
|
type: zod_1.z.string(),
|
|
17
17
|
paymentAccountId: zod_1.z.number(),
|
|
18
18
|
paymentUrl: zod_1.z.string().nullable(),
|
|
19
|
+
clientSecret: zod_1.z.string().optional(),
|
|
19
20
|
});
|
|
20
21
|
/**
|
|
21
22
|
* Payment sessions response schema
|
|
@@ -53,13 +54,3 @@ exports.PaymentAccountSchema = zod_1.z.object({
|
|
|
53
54
|
* Payment accounts response schema
|
|
54
55
|
*/
|
|
55
56
|
exports.PaymentAccountsResponseSchema = zod_1.z.array(exports.PaymentAccountSchema);
|
|
56
|
-
/**
|
|
57
|
-
* Create session response schema
|
|
58
|
-
*/
|
|
59
|
-
exports.CreateSessionResponseSchema = zod_1.z.object({
|
|
60
|
-
id: zod_1.z.number(),
|
|
61
|
-
updatedDate: zod_1.z.string(),
|
|
62
|
-
version: zod_1.z.number(),
|
|
63
|
-
identifier: zod_1.z.string(),
|
|
64
|
-
paymentUrl: zod_1.z.string(),
|
|
65
|
-
});
|
|
@@ -27,35 +27,27 @@ export declare const ProductImageSchema: z.ZodObject<{
|
|
|
27
27
|
*/
|
|
28
28
|
export declare const ProductEntitySchema: z.ZodObject<{
|
|
29
29
|
id: z.ZodNumber;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
30
|
+
localizeInfos: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
31
|
+
statusIdentifier: z.ZodNullable<z.ZodString>;
|
|
32
|
+
statusLocalizeInfos: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
33
|
+
attributeSetIdentifier: z.ZodNullable<z.ZodString>;
|
|
34
|
+
position: z.ZodNumber;
|
|
35
|
+
price: z.ZodNullable<z.ZodNumber>;
|
|
36
|
+
additional: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
37
|
+
sku: z.ZodNullable<z.ZodString>;
|
|
38
|
+
isSync: z.ZodBoolean;
|
|
39
|
+
attributeValues: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
40
|
+
categories: z.ZodArray<z.ZodString>;
|
|
41
|
+
isVisible: z.ZodBoolean;
|
|
42
|
+
moduleFormConfigs: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
43
|
+
rating: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
38
44
|
templateIdentifier: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
39
45
|
shortDescTemplateIdentifier: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
40
|
-
|
|
41
|
-
additional: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
42
|
-
sku: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
43
|
-
isSync: z.ZodOptional<z.ZodBoolean>;
|
|
44
|
-
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
45
|
-
attributeValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
46
|
+
signedPrice: z.ZodOptional<z.ZodString>;
|
|
46
47
|
productPages: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
47
48
|
blocks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
51
|
-
id: z.ZodNumber;
|
|
52
|
-
filename: z.ZodString;
|
|
53
|
-
url: z.ZodString;
|
|
54
|
-
size: z.ZodOptional<z.ZodNumber>;
|
|
55
|
-
type: z.ZodOptional<z.ZodString>;
|
|
56
|
-
}, z.core.$strip>>>;
|
|
57
|
-
relatedProducts: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
58
|
-
pageId: z.ZodOptional<z.ZodNumber>;
|
|
49
|
+
isPositionLocked: z.ZodOptional<z.ZodBoolean>;
|
|
50
|
+
relatedIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
59
51
|
paymentStages: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
60
52
|
discountConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
61
53
|
}, z.core.$strip>;
|
|
@@ -65,35 +57,27 @@ export declare const ProductEntitySchema: z.ZodObject<{
|
|
|
65
57
|
export declare const ProductsResponseSchema: z.ZodObject<{
|
|
66
58
|
items: z.ZodArray<z.ZodObject<{
|
|
67
59
|
id: z.ZodNumber;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
60
|
+
localizeInfos: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
61
|
+
statusIdentifier: z.ZodNullable<z.ZodString>;
|
|
62
|
+
statusLocalizeInfos: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
63
|
+
attributeSetIdentifier: z.ZodNullable<z.ZodString>;
|
|
64
|
+
position: z.ZodNumber;
|
|
65
|
+
price: z.ZodNullable<z.ZodNumber>;
|
|
66
|
+
additional: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
67
|
+
sku: z.ZodNullable<z.ZodString>;
|
|
68
|
+
isSync: z.ZodBoolean;
|
|
69
|
+
attributeValues: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
70
|
+
categories: z.ZodArray<z.ZodString>;
|
|
71
|
+
isVisible: z.ZodBoolean;
|
|
72
|
+
moduleFormConfigs: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
73
|
+
rating: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
76
74
|
templateIdentifier: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
77
75
|
shortDescTemplateIdentifier: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
78
|
-
|
|
79
|
-
additional: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
80
|
-
sku: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
81
|
-
isSync: z.ZodOptional<z.ZodBoolean>;
|
|
82
|
-
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
83
|
-
attributeValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
76
|
+
signedPrice: z.ZodOptional<z.ZodString>;
|
|
84
77
|
productPages: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
85
78
|
blocks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
89
|
-
id: z.ZodNumber;
|
|
90
|
-
filename: z.ZodString;
|
|
91
|
-
url: z.ZodString;
|
|
92
|
-
size: z.ZodOptional<z.ZodNumber>;
|
|
93
|
-
type: z.ZodOptional<z.ZodString>;
|
|
94
|
-
}, z.core.$strip>>>;
|
|
95
|
-
relatedProducts: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
96
|
-
pageId: z.ZodOptional<z.ZodNumber>;
|
|
79
|
+
isPositionLocked: z.ZodOptional<z.ZodBoolean>;
|
|
80
|
+
relatedIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
97
81
|
paymentStages: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
98
82
|
discountConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
99
83
|
}, z.core.$strip>>;
|
|
@@ -104,35 +88,27 @@ export declare const ProductsResponseSchema: z.ZodObject<{
|
|
|
104
88
|
*/
|
|
105
89
|
export declare const SingleProductSchema: z.ZodObject<{
|
|
106
90
|
id: z.ZodNumber;
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
91
|
+
localizeInfos: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
92
|
+
statusIdentifier: z.ZodNullable<z.ZodString>;
|
|
93
|
+
statusLocalizeInfos: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
94
|
+
attributeSetIdentifier: z.ZodNullable<z.ZodString>;
|
|
95
|
+
position: z.ZodNumber;
|
|
96
|
+
price: z.ZodNullable<z.ZodNumber>;
|
|
97
|
+
additional: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
98
|
+
sku: z.ZodNullable<z.ZodString>;
|
|
99
|
+
isSync: z.ZodBoolean;
|
|
100
|
+
attributeValues: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
101
|
+
categories: z.ZodArray<z.ZodString>;
|
|
102
|
+
isVisible: z.ZodBoolean;
|
|
103
|
+
moduleFormConfigs: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
104
|
+
rating: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
115
105
|
templateIdentifier: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
116
106
|
shortDescTemplateIdentifier: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
117
|
-
|
|
118
|
-
additional: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
119
|
-
sku: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
120
|
-
isSync: z.ZodOptional<z.ZodBoolean>;
|
|
121
|
-
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
122
|
-
attributeValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
107
|
+
signedPrice: z.ZodOptional<z.ZodString>;
|
|
123
108
|
productPages: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
124
109
|
blocks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
128
|
-
id: z.ZodNumber;
|
|
129
|
-
filename: z.ZodString;
|
|
130
|
-
url: z.ZodString;
|
|
131
|
-
size: z.ZodOptional<z.ZodNumber>;
|
|
132
|
-
type: z.ZodOptional<z.ZodString>;
|
|
133
|
-
}, z.core.$strip>>>;
|
|
134
|
-
relatedProducts: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
135
|
-
pageId: z.ZodOptional<z.ZodNumber>;
|
|
110
|
+
isPositionLocked: z.ZodOptional<z.ZodBoolean>;
|
|
111
|
+
relatedIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
136
112
|
paymentStages: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
137
113
|
discountConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
138
114
|
}, z.core.$strip>;
|
|
@@ -166,35 +142,27 @@ export declare const ProductBlockSchema: z.ZodObject<{
|
|
|
166
142
|
*/
|
|
167
143
|
export declare const RelatedProductsSchema: z.ZodArray<z.ZodObject<{
|
|
168
144
|
id: z.ZodNumber;
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
145
|
+
localizeInfos: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
146
|
+
statusIdentifier: z.ZodNullable<z.ZodString>;
|
|
147
|
+
statusLocalizeInfos: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
148
|
+
attributeSetIdentifier: z.ZodNullable<z.ZodString>;
|
|
149
|
+
position: z.ZodNumber;
|
|
150
|
+
price: z.ZodNullable<z.ZodNumber>;
|
|
151
|
+
additional: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
152
|
+
sku: z.ZodNullable<z.ZodString>;
|
|
153
|
+
isSync: z.ZodBoolean;
|
|
154
|
+
attributeValues: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
155
|
+
categories: z.ZodArray<z.ZodString>;
|
|
156
|
+
isVisible: z.ZodBoolean;
|
|
157
|
+
moduleFormConfigs: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
158
|
+
rating: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
177
159
|
templateIdentifier: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
178
160
|
shortDescTemplateIdentifier: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
179
|
-
|
|
180
|
-
additional: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
181
|
-
sku: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
182
|
-
isSync: z.ZodOptional<z.ZodBoolean>;
|
|
183
|
-
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
184
|
-
attributeValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
161
|
+
signedPrice: z.ZodOptional<z.ZodString>;
|
|
185
162
|
productPages: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
186
163
|
blocks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
190
|
-
id: z.ZodNumber;
|
|
191
|
-
filename: z.ZodString;
|
|
192
|
-
url: z.ZodString;
|
|
193
|
-
size: z.ZodOptional<z.ZodNumber>;
|
|
194
|
-
type: z.ZodOptional<z.ZodString>;
|
|
195
|
-
}, z.core.$strip>>>;
|
|
196
|
-
relatedProducts: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
197
|
-
pageId: z.ZodOptional<z.ZodNumber>;
|
|
164
|
+
isPositionLocked: z.ZodOptional<z.ZodBoolean>;
|
|
165
|
+
relatedIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
198
166
|
paymentStages: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
199
167
|
discountConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
200
168
|
}, z.core.$strip>>;
|
|
@@ -30,29 +30,27 @@ exports.ProductImageSchema = zod_1.z.object({
|
|
|
30
30
|
*/
|
|
31
31
|
exports.ProductEntitySchema = zod_1.z.object({
|
|
32
32
|
id: zod_1.z.number(),
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
33
|
+
localizeInfos: zod_1.z.record(zod_1.z.string(), zod_1.z.any()),
|
|
34
|
+
statusIdentifier: zod_1.z.string().nullable(),
|
|
35
|
+
statusLocalizeInfos: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()),
|
|
36
|
+
attributeSetIdentifier: zod_1.z.string().nullable(),
|
|
37
|
+
position: zod_1.z.number(),
|
|
38
|
+
price: zod_1.z.number().nullable(),
|
|
39
|
+
additional: zod_1.z.record(zod_1.z.string(), zod_1.z.any()),
|
|
40
|
+
sku: zod_1.z.string().nullable(),
|
|
41
|
+
isSync: zod_1.z.boolean(),
|
|
42
|
+
attributeValues: zod_1.z.record(zod_1.z.string(), zod_1.z.any()),
|
|
43
|
+
categories: zod_1.z.array(zod_1.z.string()),
|
|
44
|
+
isVisible: zod_1.z.boolean(),
|
|
45
|
+
moduleFormConfigs: zod_1.z.array(zod_1.z.any()).optional(),
|
|
46
|
+
rating: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional(),
|
|
41
47
|
templateIdentifier: zod_1.z.string().optional().nullable(),
|
|
42
48
|
shortDescTemplateIdentifier: zod_1.z.string().optional().nullable(),
|
|
43
|
-
|
|
44
|
-
additional: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).optional(),
|
|
45
|
-
sku: zod_1.z.string().optional().nullable(),
|
|
46
|
-
isSync: zod_1.z.boolean().optional(),
|
|
47
|
-
categories: zod_1.z.array(zod_1.z.string()).optional(),
|
|
48
|
-
attributeValues: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).optional(),
|
|
49
|
+
signedPrice: zod_1.z.string().optional(),
|
|
49
50
|
productPages: zod_1.z.array(zod_1.z.any()).optional(),
|
|
50
51
|
blocks: zod_1.z.array(zod_1.z.string()).optional(),
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
images: zod_1.z.array(exports.ProductImageSchema).optional(),
|
|
54
|
-
relatedProducts: zod_1.z.array(zod_1.z.number()).optional(),
|
|
55
|
-
pageId: zod_1.z.number().optional(),
|
|
52
|
+
isPositionLocked: zod_1.z.boolean().optional(),
|
|
53
|
+
relatedIds: zod_1.z.array(zod_1.z.number()).optional(),
|
|
56
54
|
paymentStages: zod_1.z.any().optional().nullable(),
|
|
57
55
|
discountConfig: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).optional(),
|
|
58
56
|
});
|