zova-module-a-pay 5.0.2 → 5.0.3
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/cli/openapi.config.ts +1 -1
- package/dist/api/openapi/schemas.d.ts +10 -4
- package/dist/api/openapi/schemas.d.ts.map +1 -1
- package/dist/api/openapi/types.d.ts +292 -32
- package/dist/api/openapi/types.d.ts.map +1 -1
- package/dist/api/paymentSession.d.ts +34 -4
- package/dist/api/paymentSession.d.ts.map +1 -1
- package/dist/apiSchema/paymentSession.d.ts +1 -0
- package/dist/apiSchema/paymentSession.d.ts.map +1 -1
- package/dist/component/paymentNextAction/controller.d.ts +1 -1
- package/dist/component/paymentNextAction/controller.d.ts.map +1 -1
- package/dist/index.js +27 -8
- package/dist/index.js.map +1 -1
- package/dist/model/paymentSession.d.ts +22 -0
- package/dist/model/paymentSession.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/api/openapi/schemas.ts +20 -8
- package/src/api/openapi/types.ts +292 -32
- package/src/api/paymentSession.ts +26 -4
- package/src/apiSchema/paymentSession.ts +5 -0
- package/src/component/paymentNextAction/controller.tsx +2 -1
- package/src/model/paymentSession.ts +12 -0
|
@@ -95,7 +95,39 @@ export interface paths {
|
|
|
95
95
|
patch?: never;
|
|
96
96
|
trace?: never;
|
|
97
97
|
};
|
|
98
|
-
'/api/payment-
|
|
98
|
+
'/api/payment-callback/return': {
|
|
99
|
+
parameters: {
|
|
100
|
+
query?: never;
|
|
101
|
+
header?: never;
|
|
102
|
+
path?: never;
|
|
103
|
+
cookie?: never;
|
|
104
|
+
};
|
|
105
|
+
get: operations['PaymentCallback_returned'];
|
|
106
|
+
put?: never;
|
|
107
|
+
post?: never;
|
|
108
|
+
delete?: never;
|
|
109
|
+
options?: never;
|
|
110
|
+
head?: never;
|
|
111
|
+
patch?: never;
|
|
112
|
+
trace?: never;
|
|
113
|
+
};
|
|
114
|
+
'/api/payment-callback/cancel': {
|
|
115
|
+
parameters: {
|
|
116
|
+
query?: never;
|
|
117
|
+
header?: never;
|
|
118
|
+
path?: never;
|
|
119
|
+
cookie?: never;
|
|
120
|
+
};
|
|
121
|
+
get: operations['PaymentCallback_cancelled'];
|
|
122
|
+
put?: never;
|
|
123
|
+
post?: never;
|
|
124
|
+
delete?: never;
|
|
125
|
+
options?: never;
|
|
126
|
+
head?: never;
|
|
127
|
+
patch?: never;
|
|
128
|
+
trace?: never;
|
|
129
|
+
};
|
|
130
|
+
'/api/pay/payment-session/{id}/start': {
|
|
99
131
|
parameters: {
|
|
100
132
|
query?: never;
|
|
101
133
|
header?: never;
|
|
@@ -111,7 +143,23 @@ export interface paths {
|
|
|
111
143
|
patch?: never;
|
|
112
144
|
trace?: never;
|
|
113
145
|
};
|
|
114
|
-
'/api/payment-session/{id}': {
|
|
146
|
+
'/api/pay/payment-session/{id}/reconcile': {
|
|
147
|
+
parameters: {
|
|
148
|
+
query?: never;
|
|
149
|
+
header?: never;
|
|
150
|
+
path?: never;
|
|
151
|
+
cookie?: never;
|
|
152
|
+
};
|
|
153
|
+
get?: never;
|
|
154
|
+
put?: never;
|
|
155
|
+
post: operations['PaymentSession_reconcile'];
|
|
156
|
+
delete?: never;
|
|
157
|
+
options?: never;
|
|
158
|
+
head?: never;
|
|
159
|
+
patch?: never;
|
|
160
|
+
trace?: never;
|
|
161
|
+
};
|
|
162
|
+
'/api/pay/payment-session/{id}': {
|
|
115
163
|
parameters: {
|
|
116
164
|
query?: never;
|
|
117
165
|
header?: never;
|
|
@@ -527,6 +575,22 @@ export interface paths {
|
|
|
527
575
|
patch: operations['CommerceTradeCart_updateItem'];
|
|
528
576
|
trace?: never;
|
|
529
577
|
};
|
|
578
|
+
'/api/commerce/trade/checkout/payment-methods': {
|
|
579
|
+
parameters: {
|
|
580
|
+
query?: never;
|
|
581
|
+
header?: never;
|
|
582
|
+
path?: never;
|
|
583
|
+
cookie?: never;
|
|
584
|
+
};
|
|
585
|
+
get: operations['CommerceTradeCheckout_paymentMethods'];
|
|
586
|
+
put?: never;
|
|
587
|
+
post?: never;
|
|
588
|
+
delete?: never;
|
|
589
|
+
options?: never;
|
|
590
|
+
head?: never;
|
|
591
|
+
patch?: never;
|
|
592
|
+
trace?: never;
|
|
593
|
+
};
|
|
530
594
|
'/api/commerce/trade/checkout': {
|
|
531
595
|
parameters: {
|
|
532
596
|
query?: never;
|
|
@@ -623,7 +687,7 @@ export interface paths {
|
|
|
623
687
|
patch?: never;
|
|
624
688
|
trace?: never;
|
|
625
689
|
};
|
|
626
|
-
'/api/commerce/trade/order/{id}/
|
|
690
|
+
'/api/commerce/trade/order/{id}/executeRefund': {
|
|
627
691
|
parameters: {
|
|
628
692
|
query?: never;
|
|
629
693
|
header?: never;
|
|
@@ -632,7 +696,7 @@ export interface paths {
|
|
|
632
696
|
};
|
|
633
697
|
get?: never;
|
|
634
698
|
put?: never;
|
|
635
|
-
post: operations['
|
|
699
|
+
post: operations['CommerceTradeOrder_executeRefund'];
|
|
636
700
|
delete?: never;
|
|
637
701
|
options?: never;
|
|
638
702
|
head?: never;
|
|
@@ -1264,6 +1328,22 @@ export interface paths {
|
|
|
1264
1328
|
patch?: never;
|
|
1265
1329
|
trace?: never;
|
|
1266
1330
|
};
|
|
1331
|
+
'/api/pay/mock/payment-session/refund-operation/{id}/complete': {
|
|
1332
|
+
parameters: {
|
|
1333
|
+
query?: never;
|
|
1334
|
+
header?: never;
|
|
1335
|
+
path?: never;
|
|
1336
|
+
cookie?: never;
|
|
1337
|
+
};
|
|
1338
|
+
get?: never;
|
|
1339
|
+
put?: never;
|
|
1340
|
+
post: operations['PayMockPayment_completeRefund'];
|
|
1341
|
+
delete?: never;
|
|
1342
|
+
options?: never;
|
|
1343
|
+
head?: never;
|
|
1344
|
+
patch?: never;
|
|
1345
|
+
trace?: never;
|
|
1346
|
+
};
|
|
1267
1347
|
'/api/paypal/getRecord/{recordId}': {
|
|
1268
1348
|
parameters: {
|
|
1269
1349
|
query?: never;
|
|
@@ -2114,6 +2194,7 @@ export interface components {
|
|
|
2114
2194
|
pageNo: number;
|
|
2115
2195
|
};
|
|
2116
2196
|
'commerce-member.dto.addressMineItem': {
|
|
2197
|
+
/** @description ID */
|
|
2117
2198
|
id: number | string;
|
|
2118
2199
|
/** @description Recipient Name */
|
|
2119
2200
|
recipientName: string;
|
|
@@ -2133,6 +2214,7 @@ export interface components {
|
|
|
2133
2214
|
addressLine2?: string | undefined;
|
|
2134
2215
|
};
|
|
2135
2216
|
'commerce-member.dto.addressMineView_2d063d28bc7243bed02ebd8bddf1212a93c6305b': {
|
|
2217
|
+
/** @description ID */
|
|
2136
2218
|
id: number | string;
|
|
2137
2219
|
/** @description Recipient Name */
|
|
2138
2220
|
recipientName: string;
|
|
@@ -2405,20 +2487,39 @@ export interface components {
|
|
|
2405
2487
|
reason: string;
|
|
2406
2488
|
};
|
|
2407
2489
|
'commerce-promotion.dto.couponTemplateCreate': {
|
|
2490
|
+
/** @description Name */
|
|
2408
2491
|
name: string;
|
|
2409
|
-
/**
|
|
2492
|
+
/**
|
|
2493
|
+
* @description Template State
|
|
2494
|
+
* @enum {string}
|
|
2495
|
+
*/
|
|
2410
2496
|
state: 'draft' | 'active';
|
|
2411
|
-
/**
|
|
2497
|
+
/**
|
|
2498
|
+
* @description Currency
|
|
2499
|
+
* @enum {string}
|
|
2500
|
+
*/
|
|
2412
2501
|
currency: 'USD';
|
|
2502
|
+
/** @description Fixed Discount */
|
|
2413
2503
|
discountCents: number;
|
|
2504
|
+
/** @description Minimum Spend */
|
|
2414
2505
|
minSpendCents: number;
|
|
2415
|
-
/**
|
|
2506
|
+
/**
|
|
2507
|
+
* Format: date-time
|
|
2508
|
+
* @description Valid From
|
|
2509
|
+
*/
|
|
2416
2510
|
validFrom: Date;
|
|
2417
|
-
/**
|
|
2511
|
+
/**
|
|
2512
|
+
* Format: date-time
|
|
2513
|
+
* @description Valid Until
|
|
2514
|
+
*/
|
|
2418
2515
|
validUntil: Date;
|
|
2516
|
+
/** @description Total Issue Limit */
|
|
2419
2517
|
totalIssueLimit?: number | undefined;
|
|
2518
|
+
/** @description Total Usage Limit */
|
|
2420
2519
|
totalUsageLimit?: number | undefined;
|
|
2520
|
+
/** @description Per-customer Issue Limit */
|
|
2421
2521
|
perCustomerIssueLimit?: number | undefined;
|
|
2522
|
+
/** @description Description */
|
|
2422
2523
|
description?: string | undefined;
|
|
2423
2524
|
};
|
|
2424
2525
|
'commerce-promotion.dto.couponTemplateSelectRes': {
|
|
@@ -2463,9 +2564,9 @@ export interface components {
|
|
|
2463
2564
|
* @enum {string}
|
|
2464
2565
|
*/
|
|
2465
2566
|
currency: 'USD';
|
|
2466
|
-
/** @description Fixed Discount
|
|
2567
|
+
/** @description Fixed Discount */
|
|
2467
2568
|
discountCents: number;
|
|
2468
|
-
/** @description Minimum Spend
|
|
2569
|
+
/** @description Minimum Spend */
|
|
2469
2570
|
minSpendCents: number;
|
|
2470
2571
|
/**
|
|
2471
2572
|
* Format: date-time
|
|
@@ -2492,7 +2593,7 @@ export interface components {
|
|
|
2492
2593
|
/** @description Operations */
|
|
2493
2594
|
_operationsRow?: unknown;
|
|
2494
2595
|
};
|
|
2495
|
-
'commerce-promotion.dto.
|
|
2596
|
+
'commerce-promotion.dto.couponTemplateView_2d063d28bc7243bed02ebd8bddf1212a93c6305b_91abd8df366c0c4d47021b38af2a356349ee178b': {
|
|
2496
2597
|
/**
|
|
2497
2598
|
* Format: date-time
|
|
2498
2599
|
* @description Created At
|
|
@@ -2527,9 +2628,9 @@ export interface components {
|
|
|
2527
2628
|
* @enum {string}
|
|
2528
2629
|
*/
|
|
2529
2630
|
currency: 'USD';
|
|
2530
|
-
/** @description Fixed Discount
|
|
2631
|
+
/** @description Fixed Discount */
|
|
2531
2632
|
discountCents: number;
|
|
2532
|
-
/** @description Minimum Spend
|
|
2633
|
+
/** @description Minimum Spend */
|
|
2533
2634
|
minSpendCents: number;
|
|
2534
2635
|
/**
|
|
2535
2636
|
* Format: date-time
|
|
@@ -2586,6 +2687,16 @@ export interface components {
|
|
|
2586
2687
|
/** @description Quantity */
|
|
2587
2688
|
quantity: number;
|
|
2588
2689
|
};
|
|
2690
|
+
'commerce-trade.dto.checkoutPaymentMethods': {
|
|
2691
|
+
items: components['schemas']['commerce-trade.dto.checkoutPaymentMethod'][];
|
|
2692
|
+
defaultKey: string;
|
|
2693
|
+
};
|
|
2694
|
+
'commerce-trade.dto.checkoutPaymentMethod': {
|
|
2695
|
+
key: string;
|
|
2696
|
+
label: string;
|
|
2697
|
+
/** @enum {string} */
|
|
2698
|
+
interaction: 'redirect' | 'embedded';
|
|
2699
|
+
};
|
|
2589
2700
|
'commerce-trade.dto.checkoutResult': {
|
|
2590
2701
|
orderId: number | string;
|
|
2591
2702
|
paymentAttemptId: number | string;
|
|
@@ -2604,6 +2715,7 @@ export interface components {
|
|
|
2604
2715
|
addressId: number | string;
|
|
2605
2716
|
couponGrantId?: number | string | undefined;
|
|
2606
2717
|
correlationId: string;
|
|
2718
|
+
providerCandidateKey?: string | undefined;
|
|
2607
2719
|
};
|
|
2608
2720
|
'commerce-trade.dto.orderMineRes': {
|
|
2609
2721
|
list: components['schemas']['commerce-trade.dto.orderSummary'][];
|
|
@@ -2613,14 +2725,18 @@ export interface components {
|
|
|
2613
2725
|
pageNo: number;
|
|
2614
2726
|
};
|
|
2615
2727
|
'commerce-trade.dto.orderSummary': {
|
|
2728
|
+
/**
|
|
2729
|
+
* Format: date-time
|
|
2730
|
+
* @description Created At
|
|
2731
|
+
*/
|
|
2732
|
+
createdAt: Date;
|
|
2733
|
+
/** @description ID */
|
|
2616
2734
|
id: number | string;
|
|
2617
2735
|
/** @enum {string} */
|
|
2618
2736
|
state: 'awaiting_payment' | 'paid' | 'refund_requested' | 'refund_approved' | 'refund_rejected' | 'shipped' | 'refunded' | 'cancelled' | 'expired';
|
|
2619
2737
|
/** @enum {string} */
|
|
2620
2738
|
currency: 'USD';
|
|
2621
2739
|
payableTotalCents: number;
|
|
2622
|
-
/** Format: date-time */
|
|
2623
|
-
createdAt: Date;
|
|
2624
2740
|
};
|
|
2625
2741
|
'commerce-trade.dto.orderDetail_2d063d28bc7243bed02ebd8bddf1212a93c6305b': {
|
|
2626
2742
|
id: number | string;
|
|
@@ -2668,6 +2784,7 @@ export interface components {
|
|
|
2668
2784
|
appliedDiscountCents: number;
|
|
2669
2785
|
} | undefined;
|
|
2670
2786
|
'commerce-trade.dto.shipmentView_2d063d28bc7243bed02ebd8bddf1212a93c6305b': {
|
|
2787
|
+
/** @description ID */
|
|
2671
2788
|
id: number | string;
|
|
2672
2789
|
carrier: string;
|
|
2673
2790
|
trackingNumber: string;
|
|
@@ -2700,12 +2817,8 @@ export interface components {
|
|
|
2700
2817
|
reason: string;
|
|
2701
2818
|
idempotencyKey: string;
|
|
2702
2819
|
};
|
|
2703
|
-
'commerce-trade.dto.refundOutcomeCreate': {
|
|
2704
|
-
/** @enum {string} */
|
|
2705
|
-
outcome: 'succeeded' | 'failed';
|
|
2706
|
-
idempotencyKey: string;
|
|
2707
|
-
};
|
|
2708
2820
|
'commerce-trade.dto.shipmentView': {
|
|
2821
|
+
/** @description ID */
|
|
2709
2822
|
id: number | string;
|
|
2710
2823
|
carrier: string;
|
|
2711
2824
|
trackingNumber: string;
|
|
@@ -3543,7 +3656,7 @@ export interface components {
|
|
|
3543
3656
|
/** @description Description */
|
|
3544
3657
|
description?: string | undefined;
|
|
3545
3658
|
/** @description # */
|
|
3546
|
-
_lineNumber
|
|
3659
|
+
_lineNumber?: number | undefined;
|
|
3547
3660
|
/** @description Operations */
|
|
3548
3661
|
_operationsRow?: unknown;
|
|
3549
3662
|
};
|
|
@@ -3598,6 +3711,12 @@ export interface components {
|
|
|
3598
3711
|
dossierFileIds?: (number | string)[] | undefined;
|
|
3599
3712
|
/** @description Description */
|
|
3600
3713
|
description?: string | undefined;
|
|
3714
|
+
student?: {
|
|
3715
|
+
/** @description ID */
|
|
3716
|
+
id: number | string;
|
|
3717
|
+
/** @description Student Name */
|
|
3718
|
+
name: string;
|
|
3719
|
+
};
|
|
3601
3720
|
sceneImages?: components['schemas']['a-image.dto.imageView'][] | undefined;
|
|
3602
3721
|
/** @description Dossier Files */
|
|
3603
3722
|
dossierFiles?: components['schemas']['a-file.dto.fileView'][] | undefined;
|
|
@@ -3670,6 +3789,12 @@ export interface components {
|
|
|
3670
3789
|
dossierFileIds?: (number | string)[] | undefined;
|
|
3671
3790
|
/** @description Description */
|
|
3672
3791
|
description?: string | undefined;
|
|
3792
|
+
student?: {
|
|
3793
|
+
/** @description ID */
|
|
3794
|
+
id: number | string;
|
|
3795
|
+
/** @description Student Name */
|
|
3796
|
+
name: string;
|
|
3797
|
+
};
|
|
3673
3798
|
/** @description Student Training Record Details */
|
|
3674
3799
|
trainingRecordSubjects: {
|
|
3675
3800
|
/**
|
|
@@ -3859,7 +3984,7 @@ export interface components {
|
|
|
3859
3984
|
signed?: boolean | undefined;
|
|
3860
3985
|
}[] | undefined;
|
|
3861
3986
|
/** @description # */
|
|
3862
|
-
_lineNumber
|
|
3987
|
+
_lineNumber?: number | undefined;
|
|
3863
3988
|
/** @description Operations */
|
|
3864
3989
|
_operationsRow?: unknown;
|
|
3865
3990
|
};
|
|
@@ -4105,17 +4230,18 @@ export interface components {
|
|
|
4105
4230
|
_trainingRecords?: components['schemas']['training-student.dto.detailRecordResItem'][] | undefined;
|
|
4106
4231
|
};
|
|
4107
4232
|
'training-student.dto.studentSummary_2d063d28bc7243bed02ebd8bddf1212a93c6305b': {
|
|
4233
|
+
/** @description ID */
|
|
4108
4234
|
id: number | string;
|
|
4109
4235
|
/** @description Student Name */
|
|
4110
4236
|
name: string;
|
|
4237
|
+
/** @description Description */
|
|
4238
|
+
description?: string | undefined;
|
|
4111
4239
|
/** @description Mobile */
|
|
4112
4240
|
mobile: string;
|
|
4113
4241
|
/** @description Training Stage */
|
|
4114
|
-
level:
|
|
4242
|
+
level: 1 | 2 | 3;
|
|
4115
4243
|
/** @description Level Title */
|
|
4116
4244
|
levelTitle: string;
|
|
4117
|
-
/** @description Description */
|
|
4118
|
-
description?: string | undefined;
|
|
4119
4245
|
/** @description Description Length */
|
|
4120
4246
|
descriptionLength: number;
|
|
4121
4247
|
/** @description Summary */
|
|
@@ -4296,6 +4422,14 @@ export interface components {
|
|
|
4296
4422
|
/** @enum {string} */
|
|
4297
4423
|
outcome: 'succeeded' | 'failed' | 'cancelled';
|
|
4298
4424
|
};
|
|
4425
|
+
'pay-mock.dto.mockRefundReceipt': {
|
|
4426
|
+
refundOperationId: number | string;
|
|
4427
|
+
accepted: boolean;
|
|
4428
|
+
};
|
|
4429
|
+
'pay-mock.dto.mockRefundComplete': {
|
|
4430
|
+
/** @enum {string} */
|
|
4431
|
+
outcome: 'succeeded' | 'failed' | 'cancelled';
|
|
4432
|
+
};
|
|
4299
4433
|
'a-paypal.entity.paypalRecord': {
|
|
4300
4434
|
/**
|
|
4301
4435
|
* Format: date-time
|
|
@@ -5004,6 +5138,56 @@ export interface operations {
|
|
|
5004
5138
|
};
|
|
5005
5139
|
};
|
|
5006
5140
|
};
|
|
5141
|
+
PaymentCallback_returned: {
|
|
5142
|
+
parameters: {
|
|
5143
|
+
query: {
|
|
5144
|
+
state: string;
|
|
5145
|
+
};
|
|
5146
|
+
header?: never;
|
|
5147
|
+
path?: never;
|
|
5148
|
+
cookie?: never;
|
|
5149
|
+
};
|
|
5150
|
+
requestBody?: never;
|
|
5151
|
+
responses: {
|
|
5152
|
+
200: {
|
|
5153
|
+
headers: {
|
|
5154
|
+
[name: string]: unknown;
|
|
5155
|
+
};
|
|
5156
|
+
content: {
|
|
5157
|
+
'application/json': {
|
|
5158
|
+
code: string;
|
|
5159
|
+
message: string;
|
|
5160
|
+
data?: unknown;
|
|
5161
|
+
};
|
|
5162
|
+
};
|
|
5163
|
+
};
|
|
5164
|
+
};
|
|
5165
|
+
};
|
|
5166
|
+
PaymentCallback_cancelled: {
|
|
5167
|
+
parameters: {
|
|
5168
|
+
query: {
|
|
5169
|
+
state: string;
|
|
5170
|
+
};
|
|
5171
|
+
header?: never;
|
|
5172
|
+
path?: never;
|
|
5173
|
+
cookie?: never;
|
|
5174
|
+
};
|
|
5175
|
+
requestBody?: never;
|
|
5176
|
+
responses: {
|
|
5177
|
+
200: {
|
|
5178
|
+
headers: {
|
|
5179
|
+
[name: string]: unknown;
|
|
5180
|
+
};
|
|
5181
|
+
content: {
|
|
5182
|
+
'application/json': {
|
|
5183
|
+
code: string;
|
|
5184
|
+
message: string;
|
|
5185
|
+
data?: unknown;
|
|
5186
|
+
};
|
|
5187
|
+
};
|
|
5188
|
+
};
|
|
5189
|
+
};
|
|
5190
|
+
};
|
|
5007
5191
|
PaymentSession_start: {
|
|
5008
5192
|
parameters: {
|
|
5009
5193
|
query?: never;
|
|
@@ -5030,6 +5214,32 @@ export interface operations {
|
|
|
5030
5214
|
};
|
|
5031
5215
|
authToken: true;
|
|
5032
5216
|
};
|
|
5217
|
+
PaymentSession_reconcile: {
|
|
5218
|
+
parameters: {
|
|
5219
|
+
query?: never;
|
|
5220
|
+
header?: never;
|
|
5221
|
+
path: {
|
|
5222
|
+
id: number | string;
|
|
5223
|
+
};
|
|
5224
|
+
cookie?: never;
|
|
5225
|
+
};
|
|
5226
|
+
requestBody?: never;
|
|
5227
|
+
responses: {
|
|
5228
|
+
200: {
|
|
5229
|
+
headers: {
|
|
5230
|
+
[name: string]: unknown;
|
|
5231
|
+
};
|
|
5232
|
+
content: {
|
|
5233
|
+
'application/json': {
|
|
5234
|
+
code: string;
|
|
5235
|
+
message: string;
|
|
5236
|
+
data: components['schemas']['a-pay.dto.paymentSessionView'];
|
|
5237
|
+
};
|
|
5238
|
+
};
|
|
5239
|
+
};
|
|
5240
|
+
};
|
|
5241
|
+
authToken: true;
|
|
5242
|
+
};
|
|
5033
5243
|
PaymentSession_view: {
|
|
5034
5244
|
parameters: {
|
|
5035
5245
|
query?: never;
|
|
@@ -5690,7 +5900,7 @@ export interface operations {
|
|
|
5690
5900
|
'application/json': {
|
|
5691
5901
|
code: string;
|
|
5692
5902
|
message: string;
|
|
5693
|
-
data?: components['schemas']['commerce-promotion.dto.
|
|
5903
|
+
data?: components['schemas']['commerce-promotion.dto.couponTemplateView_2d063d28bc7243bed02ebd8bddf1212a93c6305b_91abd8df366c0c4d47021b38af2a356349ee178b'];
|
|
5694
5904
|
};
|
|
5695
5905
|
};
|
|
5696
5906
|
};
|
|
@@ -5885,6 +6095,30 @@ export interface operations {
|
|
|
5885
6095
|
};
|
|
5886
6096
|
authToken: true;
|
|
5887
6097
|
};
|
|
6098
|
+
CommerceTradeCheckout_paymentMethods: {
|
|
6099
|
+
parameters: {
|
|
6100
|
+
query?: never;
|
|
6101
|
+
header?: never;
|
|
6102
|
+
path?: never;
|
|
6103
|
+
cookie?: never;
|
|
6104
|
+
};
|
|
6105
|
+
requestBody?: never;
|
|
6106
|
+
responses: {
|
|
6107
|
+
200: {
|
|
6108
|
+
headers: {
|
|
6109
|
+
[name: string]: unknown;
|
|
6110
|
+
};
|
|
6111
|
+
content: {
|
|
6112
|
+
'application/json': {
|
|
6113
|
+
code: string;
|
|
6114
|
+
message: string;
|
|
6115
|
+
data: components['schemas']['commerce-trade.dto.checkoutPaymentMethods'];
|
|
6116
|
+
};
|
|
6117
|
+
};
|
|
6118
|
+
};
|
|
6119
|
+
};
|
|
6120
|
+
authToken: true;
|
|
6121
|
+
};
|
|
5888
6122
|
CommerceTradeCheckout_create: {
|
|
5889
6123
|
parameters: {
|
|
5890
6124
|
query?: never;
|
|
@@ -6063,7 +6297,7 @@ export interface operations {
|
|
|
6063
6297
|
};
|
|
6064
6298
|
authToken: true;
|
|
6065
6299
|
};
|
|
6066
|
-
|
|
6300
|
+
CommerceTradeOrder_executeRefund: {
|
|
6067
6301
|
parameters: {
|
|
6068
6302
|
query?: never;
|
|
6069
6303
|
header?: never;
|
|
@@ -6072,11 +6306,7 @@ export interface operations {
|
|
|
6072
6306
|
};
|
|
6073
6307
|
cookie?: never;
|
|
6074
6308
|
};
|
|
6075
|
-
requestBody
|
|
6076
|
-
content: {
|
|
6077
|
-
'application/json': components['schemas']['commerce-trade.dto.refundOutcomeCreate'];
|
|
6078
|
-
};
|
|
6079
|
-
};
|
|
6309
|
+
requestBody?: never;
|
|
6080
6310
|
responses: {
|
|
6081
6311
|
200: {
|
|
6082
6312
|
headers: {
|
|
@@ -7628,6 +7858,36 @@ export interface operations {
|
|
|
7628
7858
|
};
|
|
7629
7859
|
authToken: true;
|
|
7630
7860
|
};
|
|
7861
|
+
PayMockPayment_completeRefund: {
|
|
7862
|
+
parameters: {
|
|
7863
|
+
query?: never;
|
|
7864
|
+
header?: never;
|
|
7865
|
+
path: {
|
|
7866
|
+
id: number | string;
|
|
7867
|
+
};
|
|
7868
|
+
cookie?: never;
|
|
7869
|
+
};
|
|
7870
|
+
requestBody: {
|
|
7871
|
+
content: {
|
|
7872
|
+
'application/json': components['schemas']['pay-mock.dto.mockRefundComplete'];
|
|
7873
|
+
};
|
|
7874
|
+
};
|
|
7875
|
+
responses: {
|
|
7876
|
+
200: {
|
|
7877
|
+
headers: {
|
|
7878
|
+
[name: string]: unknown;
|
|
7879
|
+
};
|
|
7880
|
+
content: {
|
|
7881
|
+
'application/json': {
|
|
7882
|
+
code: string;
|
|
7883
|
+
message: string;
|
|
7884
|
+
data: components['schemas']['pay-mock.dto.mockRefundReceipt'];
|
|
7885
|
+
};
|
|
7886
|
+
};
|
|
7887
|
+
};
|
|
7888
|
+
};
|
|
7889
|
+
authToken: true;
|
|
7890
|
+
};
|
|
7631
7891
|
Paypal_getRecord: {
|
|
7632
7892
|
parameters: {
|
|
7633
7893
|
query?: never;
|