@munchi_oy/core 1.9.67 → 1.9.70
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/generated/api.d.ts +2030 -108
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/generated/api.ts +2715 -25
- package/package.json +13 -15
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -437,6 +437,50 @@ export declare const AutonomousVehicleType: {
|
|
|
437
437
|
readonly FlyingDrone: "VEHICLE_TYPE_FLYING_DRONE";
|
|
438
438
|
};
|
|
439
439
|
export type AutonomousVehicleType = typeof AutonomousVehicleType[keyof typeof AutonomousVehicleType];
|
|
440
|
+
/**
|
|
441
|
+
*
|
|
442
|
+
* @export
|
|
443
|
+
* @interface AvailablePaymentMethodDto
|
|
444
|
+
*/
|
|
445
|
+
export interface AvailablePaymentMethodDto {
|
|
446
|
+
/**
|
|
447
|
+
* Catalog method code to attach.
|
|
448
|
+
* @type {string}
|
|
449
|
+
* @memberof AvailablePaymentMethodDto
|
|
450
|
+
*/
|
|
451
|
+
'code': string;
|
|
452
|
+
/**
|
|
453
|
+
* Catalog type that drives the method\'s policy.
|
|
454
|
+
* @type {string}
|
|
455
|
+
* @memberof AvailablePaymentMethodDto
|
|
456
|
+
*/
|
|
457
|
+
'typeCode': string;
|
|
458
|
+
/**
|
|
459
|
+
* Resolved display name for the catalog entry.
|
|
460
|
+
* @type {string}
|
|
461
|
+
* @memberof AvailablePaymentMethodDto
|
|
462
|
+
*/
|
|
463
|
+
'label': string;
|
|
464
|
+
/**
|
|
465
|
+
* True for a 3rd-party gift card that needs username/password/posDeviceId.
|
|
466
|
+
* @type {boolean}
|
|
467
|
+
* @memberof AvailablePaymentMethodDto
|
|
468
|
+
*/
|
|
469
|
+
'requiresCredentials': boolean;
|
|
470
|
+
}
|
|
471
|
+
/**
|
|
472
|
+
*
|
|
473
|
+
* @export
|
|
474
|
+
* @interface BulkRankDto
|
|
475
|
+
*/
|
|
476
|
+
export interface BulkRankDto {
|
|
477
|
+
/**
|
|
478
|
+
* Only the items whose position changed (zero-based ranks).
|
|
479
|
+
* @type {Array<RankItemDto>}
|
|
480
|
+
* @memberof BulkRankDto
|
|
481
|
+
*/
|
|
482
|
+
'items': Array<RankItemDto>;
|
|
483
|
+
}
|
|
440
484
|
/**
|
|
441
485
|
*
|
|
442
486
|
* @export
|
|
@@ -2312,6 +2356,128 @@ export interface CashSessionTotalsDto {
|
|
|
2312
2356
|
*/
|
|
2313
2357
|
'cashOut': number;
|
|
2314
2358
|
}
|
|
2359
|
+
/**
|
|
2360
|
+
*
|
|
2361
|
+
* @export
|
|
2362
|
+
* @interface CatalogMethodDto
|
|
2363
|
+
*/
|
|
2364
|
+
export interface CatalogMethodDto {
|
|
2365
|
+
/**
|
|
2366
|
+
* Stable, immutable method code (catalog identity).
|
|
2367
|
+
* @type {string}
|
|
2368
|
+
* @memberof CatalogMethodDto
|
|
2369
|
+
*/
|
|
2370
|
+
'code': string;
|
|
2371
|
+
/**
|
|
2372
|
+
* Catalog type that drives this method\'s behavior.
|
|
2373
|
+
* @type {string}
|
|
2374
|
+
* @memberof CatalogMethodDto
|
|
2375
|
+
*/
|
|
2376
|
+
'typeCode': string;
|
|
2377
|
+
/**
|
|
2378
|
+
* Resolved display label for this code.
|
|
2379
|
+
* @type {string}
|
|
2380
|
+
* @memberof CatalogMethodDto
|
|
2381
|
+
*/
|
|
2382
|
+
'label': string;
|
|
2383
|
+
/**
|
|
2384
|
+
*
|
|
2385
|
+
* @type {CatalogMethodDtoCapabilities}
|
|
2386
|
+
* @memberof CatalogMethodDto
|
|
2387
|
+
*/
|
|
2388
|
+
'capabilities': CatalogMethodDtoCapabilities;
|
|
2389
|
+
}
|
|
2390
|
+
/**
|
|
2391
|
+
* Behavior resolved from the catalog type + per-method overrides.
|
|
2392
|
+
* @export
|
|
2393
|
+
* @interface CatalogMethodDtoCapabilities
|
|
2394
|
+
*/
|
|
2395
|
+
export interface CatalogMethodDtoCapabilities {
|
|
2396
|
+
/**
|
|
2397
|
+
* Whether this method can be refunded at all.
|
|
2398
|
+
* @type {boolean}
|
|
2399
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2400
|
+
*/
|
|
2401
|
+
'refundable': boolean;
|
|
2402
|
+
/**
|
|
2403
|
+
* Whether a refund can be split across this method and others.
|
|
2404
|
+
* @type {boolean}
|
|
2405
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2406
|
+
*/
|
|
2407
|
+
'refundSplittable': boolean;
|
|
2408
|
+
/**
|
|
2409
|
+
* Whether the customer may choose this method as a refund target.
|
|
2410
|
+
* @type {boolean}
|
|
2411
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2412
|
+
*/
|
|
2413
|
+
'refundChoiceEligible': boolean;
|
|
2414
|
+
/**
|
|
2415
|
+
* Refund allocation order (lower = refunded first); null when not refundable.
|
|
2416
|
+
* @type {number}
|
|
2417
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2418
|
+
*/
|
|
2419
|
+
'refundPriorityTier': number | null;
|
|
2420
|
+
/**
|
|
2421
|
+
* Within-tier refund order (seed-only; lower = earlier). null → sorted last in tier.
|
|
2422
|
+
* @type {number}
|
|
2423
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2424
|
+
*/
|
|
2425
|
+
'refundPriorityRank': number | null;
|
|
2426
|
+
/**
|
|
2427
|
+
*
|
|
2428
|
+
* @type {PaymentCheckoutFlow}
|
|
2429
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2430
|
+
*/
|
|
2431
|
+
'checkoutFlow': PaymentCheckoutFlow;
|
|
2432
|
+
/**
|
|
2433
|
+
*
|
|
2434
|
+
* @type {PaymentReportingBucket}
|
|
2435
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2436
|
+
*/
|
|
2437
|
+
'reportingBucket': PaymentReportingBucket;
|
|
2438
|
+
/**
|
|
2439
|
+
* Display tone/color key for badges and chips (e.g. info, edenred, voucherOrange).
|
|
2440
|
+
* @type {string}
|
|
2441
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2442
|
+
*/
|
|
2443
|
+
'tone': string;
|
|
2444
|
+
/**
|
|
2445
|
+
* Whether a refund is sent back to the original card via the terminal SDK.
|
|
2446
|
+
* @type {boolean}
|
|
2447
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2448
|
+
*/
|
|
2449
|
+
'refundToCard': boolean;
|
|
2450
|
+
/**
|
|
2451
|
+
* Whether refunding this method needs an active card provider (Viva/Nets).
|
|
2452
|
+
* @type {boolean}
|
|
2453
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2454
|
+
*/
|
|
2455
|
+
'requiresProvider': boolean;
|
|
2456
|
+
/**
|
|
2457
|
+
* Whether checkout needs a manual resolution step (cash rounding, voucher selection).
|
|
2458
|
+
* @type {boolean}
|
|
2459
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2460
|
+
*/
|
|
2461
|
+
'requiresManualResolution': boolean;
|
|
2462
|
+
/**
|
|
2463
|
+
* Whether receipts/print should show a forfeited (leftover) amount line.
|
|
2464
|
+
* @type {boolean}
|
|
2465
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2466
|
+
*/
|
|
2467
|
+
'shouldDisplayForfeitedAmount': boolean;
|
|
2468
|
+
/**
|
|
2469
|
+
* Benefit-confirmation issuer for the post-payment notification (e.g. edenred, wolt).
|
|
2470
|
+
* @type {string}
|
|
2471
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2472
|
+
*/
|
|
2473
|
+
'notificationIssuer': string | null;
|
|
2474
|
+
/**
|
|
2475
|
+
* Whether this method is checkout-only (cannot be a manual refund target).
|
|
2476
|
+
* @type {boolean}
|
|
2477
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2478
|
+
*/
|
|
2479
|
+
'checkoutOnly': boolean;
|
|
2480
|
+
}
|
|
2315
2481
|
/**
|
|
2316
2482
|
*
|
|
2317
2483
|
* @export
|
|
@@ -2677,11 +2843,11 @@ export interface CompletedStepDto {
|
|
|
2677
2843
|
*/
|
|
2678
2844
|
'sourceTransactionId': string | null;
|
|
2679
2845
|
/**
|
|
2680
|
-
*
|
|
2681
|
-
* @type {
|
|
2846
|
+
* Payment method code (dynamic, per-business catalog)
|
|
2847
|
+
* @type {string}
|
|
2682
2848
|
* @memberof CompletedStepDto
|
|
2683
2849
|
*/
|
|
2684
|
-
'type'?:
|
|
2850
|
+
'type'?: string | null;
|
|
2685
2851
|
/**
|
|
2686
2852
|
* Refund ID from the payment provider
|
|
2687
2853
|
* @type {string}
|
|
@@ -3854,6 +4020,104 @@ export interface CreateNetsTerminalPaymentDto {
|
|
|
3854
4020
|
*/
|
|
3855
4021
|
'options'?: NetsTerminalPaymentOptionsDto;
|
|
3856
4022
|
}
|
|
4023
|
+
/**
|
|
4024
|
+
*
|
|
4025
|
+
* @export
|
|
4026
|
+
* @interface CreatePaymentMethodDto
|
|
4027
|
+
*/
|
|
4028
|
+
export interface CreatePaymentMethodDto {
|
|
4029
|
+
/**
|
|
4030
|
+
* Attach an existing catalog method by its code (mutually exclusive with name+type).
|
|
4031
|
+
* @type {string}
|
|
4032
|
+
* @memberof CreatePaymentMethodDto
|
|
4033
|
+
*/
|
|
4034
|
+
'code'?: string;
|
|
4035
|
+
/**
|
|
4036
|
+
* Display name for a new custom method; required with type when code is absent.
|
|
4037
|
+
* @type {string}
|
|
4038
|
+
* @memberof CreatePaymentMethodDto
|
|
4039
|
+
*/
|
|
4040
|
+
'name'?: string;
|
|
4041
|
+
/**
|
|
4042
|
+
* Catalog type code for a new custom method (any seeded PaymentMethodType, e.g. CARD, VOUCHER, GIFT_CARD, MANUAL); required with name when code is absent.
|
|
4043
|
+
* @type {string}
|
|
4044
|
+
* @memberof CreatePaymentMethodDto
|
|
4045
|
+
*/
|
|
4046
|
+
'type'?: string;
|
|
4047
|
+
/**
|
|
4048
|
+
* Per-business name override.
|
|
4049
|
+
* @type {string}
|
|
4050
|
+
* @memberof CreatePaymentMethodDto
|
|
4051
|
+
*/
|
|
4052
|
+
'customName'?: string;
|
|
4053
|
+
/**
|
|
4054
|
+
* Per-business logo URL.
|
|
4055
|
+
* @type {string}
|
|
4056
|
+
* @memberof CreatePaymentMethodDto
|
|
4057
|
+
*/
|
|
4058
|
+
'logo'?: string;
|
|
4059
|
+
/**
|
|
4060
|
+
* Per-business description.
|
|
4061
|
+
* @type {string}
|
|
4062
|
+
* @memberof CreatePaymentMethodDto
|
|
4063
|
+
*/
|
|
4064
|
+
'description'?: string;
|
|
4065
|
+
/**
|
|
4066
|
+
* Parent method code for grouped vouchers.
|
|
4067
|
+
* @type {string}
|
|
4068
|
+
* @memberof CreatePaymentMethodDto
|
|
4069
|
+
*/
|
|
4070
|
+
'parentCode'?: string;
|
|
4071
|
+
/**
|
|
4072
|
+
* Preset amounts/denominations (vouchers).
|
|
4073
|
+
* @type {Array<number>}
|
|
4074
|
+
* @memberof CreatePaymentMethodDto
|
|
4075
|
+
*/
|
|
4076
|
+
'amounts'?: Array<number>;
|
|
4077
|
+
/**
|
|
4078
|
+
* Minimum order amount required to use this method.
|
|
4079
|
+
* @type {number}
|
|
4080
|
+
* @memberof CreatePaymentMethodDto
|
|
4081
|
+
*/
|
|
4082
|
+
'minimumCheckoutAmount'?: number;
|
|
4083
|
+
/**
|
|
4084
|
+
* Whether the method is enabled (defaults to true).
|
|
4085
|
+
* @type {boolean}
|
|
4086
|
+
* @memberof CreatePaymentMethodDto
|
|
4087
|
+
*/
|
|
4088
|
+
'enable'?: boolean;
|
|
4089
|
+
/**
|
|
4090
|
+
*
|
|
4091
|
+
* @type {CreatePaymentMethodDtoGiftCardCredentials}
|
|
4092
|
+
* @memberof CreatePaymentMethodDto
|
|
4093
|
+
*/
|
|
4094
|
+
'giftCardCredentials'?: CreatePaymentMethodDtoGiftCardCredentials;
|
|
4095
|
+
}
|
|
4096
|
+
/**
|
|
4097
|
+
* Only for a 3rd-party gift card: username/password (URLs come from constants).
|
|
4098
|
+
* @export
|
|
4099
|
+
* @interface CreatePaymentMethodDtoGiftCardCredentials
|
|
4100
|
+
*/
|
|
4101
|
+
export interface CreatePaymentMethodDtoGiftCardCredentials {
|
|
4102
|
+
/**
|
|
4103
|
+
* 3rd-party gift card account username.
|
|
4104
|
+
* @type {string}
|
|
4105
|
+
* @memberof CreatePaymentMethodDtoGiftCardCredentials
|
|
4106
|
+
*/
|
|
4107
|
+
'username'?: string;
|
|
4108
|
+
/**
|
|
4109
|
+
* 3rd-party gift card account password.
|
|
4110
|
+
* @type {string}
|
|
4111
|
+
* @memberof CreatePaymentMethodDtoGiftCardCredentials
|
|
4112
|
+
*/
|
|
4113
|
+
'password'?: string;
|
|
4114
|
+
/**
|
|
4115
|
+
* Unique POS device id for the 3rd-party gift card provider.
|
|
4116
|
+
* @type {string}
|
|
4117
|
+
* @memberof CreatePaymentMethodDtoGiftCardCredentials
|
|
4118
|
+
*/
|
|
4119
|
+
'uniquePosDeviceId'?: string;
|
|
4120
|
+
}
|
|
3857
4121
|
/**
|
|
3858
4122
|
*
|
|
3859
4123
|
* @export
|
|
@@ -6037,6 +6301,56 @@ export interface GiftCardCredentialsDto {
|
|
|
6037
6301
|
*/
|
|
6038
6302
|
'password'?: string;
|
|
6039
6303
|
}
|
|
6304
|
+
/**
|
|
6305
|
+
*
|
|
6306
|
+
* @export
|
|
6307
|
+
* @interface GiftCardCredentialsInputDto
|
|
6308
|
+
*/
|
|
6309
|
+
export interface GiftCardCredentialsInputDto {
|
|
6310
|
+
/**
|
|
6311
|
+
* 3rd-party gift card account username.
|
|
6312
|
+
* @type {string}
|
|
6313
|
+
* @memberof GiftCardCredentialsInputDto
|
|
6314
|
+
*/
|
|
6315
|
+
'username'?: string;
|
|
6316
|
+
/**
|
|
6317
|
+
* 3rd-party gift card account password.
|
|
6318
|
+
* @type {string}
|
|
6319
|
+
* @memberof GiftCardCredentialsInputDto
|
|
6320
|
+
*/
|
|
6321
|
+
'password'?: string;
|
|
6322
|
+
/**
|
|
6323
|
+
* Unique POS device id for the 3rd-party gift card provider.
|
|
6324
|
+
* @type {string}
|
|
6325
|
+
* @memberof GiftCardCredentialsInputDto
|
|
6326
|
+
*/
|
|
6327
|
+
'uniquePosDeviceId'?: string;
|
|
6328
|
+
}
|
|
6329
|
+
/**
|
|
6330
|
+
*
|
|
6331
|
+
* @export
|
|
6332
|
+
* @interface GiftCardCredentialsViewDto
|
|
6333
|
+
*/
|
|
6334
|
+
export interface GiftCardCredentialsViewDto {
|
|
6335
|
+
/**
|
|
6336
|
+
* Saved 3rd-party gift card username.
|
|
6337
|
+
* @type {string}
|
|
6338
|
+
* @memberof GiftCardCredentialsViewDto
|
|
6339
|
+
*/
|
|
6340
|
+
'username': string | null;
|
|
6341
|
+
/**
|
|
6342
|
+
* Saved 3rd-party gift card password.
|
|
6343
|
+
* @type {string}
|
|
6344
|
+
* @memberof GiftCardCredentialsViewDto
|
|
6345
|
+
*/
|
|
6346
|
+
'password': string | null;
|
|
6347
|
+
/**
|
|
6348
|
+
* Saved unique POS device id for the 3rd-party gift card provider.
|
|
6349
|
+
* @type {string}
|
|
6350
|
+
* @memberof GiftCardCredentialsViewDto
|
|
6351
|
+
*/
|
|
6352
|
+
'uniquePosDeviceId': string | null;
|
|
6353
|
+
}
|
|
6040
6354
|
/**
|
|
6041
6355
|
*
|
|
6042
6356
|
* @export
|
|
@@ -9381,6 +9695,49 @@ export interface NetsCancelTransactionDto {
|
|
|
9381
9695
|
*/
|
|
9382
9696
|
'businessId': number;
|
|
9383
9697
|
}
|
|
9698
|
+
/**
|
|
9699
|
+
*
|
|
9700
|
+
* @export
|
|
9701
|
+
* @interface NetsConfigResponseDto
|
|
9702
|
+
*/
|
|
9703
|
+
export interface NetsConfigResponseDto {
|
|
9704
|
+
/**
|
|
9705
|
+
* Whether the Nets integration is active.
|
|
9706
|
+
* @type {boolean}
|
|
9707
|
+
* @memberof NetsConfigResponseDto
|
|
9708
|
+
*/
|
|
9709
|
+
'isActive': boolean;
|
|
9710
|
+
/**
|
|
9711
|
+
* Display name.
|
|
9712
|
+
* @type {string}
|
|
9713
|
+
* @memberof NetsConfigResponseDto
|
|
9714
|
+
*/
|
|
9715
|
+
'name': string | null;
|
|
9716
|
+
/**
|
|
9717
|
+
* Nets secret key.
|
|
9718
|
+
* @type {string}
|
|
9719
|
+
* @memberof NetsConfigResponseDto
|
|
9720
|
+
*/
|
|
9721
|
+
'secretKey': string | null;
|
|
9722
|
+
/**
|
|
9723
|
+
* Nets public key.
|
|
9724
|
+
* @type {string}
|
|
9725
|
+
* @memberof NetsConfigResponseDto
|
|
9726
|
+
*/
|
|
9727
|
+
'publicKey': string | null;
|
|
9728
|
+
/**
|
|
9729
|
+
* Nets OAuth client id.
|
|
9730
|
+
* @type {string}
|
|
9731
|
+
* @memberof NetsConfigResponseDto
|
|
9732
|
+
*/
|
|
9733
|
+
'clientId': string | null;
|
|
9734
|
+
/**
|
|
9735
|
+
* Nets OAuth client secret.
|
|
9736
|
+
* @type {string}
|
|
9737
|
+
* @memberof NetsConfigResponseDto
|
|
9738
|
+
*/
|
|
9739
|
+
'clientSecret': string | null;
|
|
9740
|
+
}
|
|
9384
9741
|
/**
|
|
9385
9742
|
*
|
|
9386
9743
|
* @export
|
|
@@ -11514,6 +11871,20 @@ export interface PaginationDto {
|
|
|
11514
11871
|
*/
|
|
11515
11872
|
'totalPages': number;
|
|
11516
11873
|
}
|
|
11874
|
+
/**
|
|
11875
|
+
*
|
|
11876
|
+
* @export
|
|
11877
|
+
* @enum {string}
|
|
11878
|
+
*/
|
|
11879
|
+
export declare const PaymentCheckoutFlow: {
|
|
11880
|
+
readonly TerminalCard: "terminal_card";
|
|
11881
|
+
readonly CardManual: "card_manual";
|
|
11882
|
+
readonly Cash: "cash";
|
|
11883
|
+
readonly GroupedVoucher: "grouped_voucher";
|
|
11884
|
+
readonly GiftCard: "gift_card";
|
|
11885
|
+
readonly Static: "static";
|
|
11886
|
+
};
|
|
11887
|
+
export type PaymentCheckoutFlow = typeof PaymentCheckoutFlow[keyof typeof PaymentCheckoutFlow];
|
|
11517
11888
|
/**
|
|
11518
11889
|
*
|
|
11519
11890
|
* @export
|
|
@@ -11731,57 +12102,149 @@ export declare const PaymentMethod: {
|
|
|
11731
12102
|
readonly Exchange: "Exchange";
|
|
11732
12103
|
readonly Tilisiirto: "Tilisiirto";
|
|
11733
12104
|
readonly LoyaltyPoints: "LoyaltyPoints";
|
|
12105
|
+
readonly DiningByAmex: "DiningByAmex";
|
|
11734
12106
|
};
|
|
11735
12107
|
export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
|
|
11736
12108
|
/**
|
|
11737
12109
|
*
|
|
11738
12110
|
* @export
|
|
11739
|
-
* @interface
|
|
12111
|
+
* @interface PaymentMethodCapabilitiesDto
|
|
11740
12112
|
*/
|
|
11741
|
-
export interface
|
|
12113
|
+
export interface PaymentMethodCapabilitiesDto {
|
|
11742
12114
|
/**
|
|
11743
|
-
*
|
|
11744
|
-
* @type {
|
|
11745
|
-
* @memberof
|
|
12115
|
+
* Whether this method can be refunded at all.
|
|
12116
|
+
* @type {boolean}
|
|
12117
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
11746
12118
|
*/
|
|
11747
|
-
'
|
|
12119
|
+
'refundable': boolean;
|
|
11748
12120
|
/**
|
|
11749
|
-
*
|
|
11750
|
-
* @type {
|
|
11751
|
-
* @memberof
|
|
12121
|
+
* Whether a refund can be split across this method and others.
|
|
12122
|
+
* @type {boolean}
|
|
12123
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
11752
12124
|
*/
|
|
11753
|
-
'
|
|
12125
|
+
'refundSplittable': boolean;
|
|
11754
12126
|
/**
|
|
11755
|
-
*
|
|
11756
|
-
* @type {
|
|
11757
|
-
* @memberof
|
|
12127
|
+
* Whether the customer may choose this method as a refund target.
|
|
12128
|
+
* @type {boolean}
|
|
12129
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
11758
12130
|
*/
|
|
11759
|
-
'
|
|
12131
|
+
'refundChoiceEligible': boolean;
|
|
12132
|
+
/**
|
|
12133
|
+
* Refund allocation order (lower = refunded first); null when not refundable.
|
|
12134
|
+
* @type {number}
|
|
12135
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12136
|
+
*/
|
|
12137
|
+
'refundPriorityTier': number | null;
|
|
12138
|
+
/**
|
|
12139
|
+
* Within-tier refund order (seed-only; lower = earlier). null → sorted last in tier.
|
|
12140
|
+
* @type {number}
|
|
12141
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12142
|
+
*/
|
|
12143
|
+
'refundPriorityRank': number | null;
|
|
11760
12144
|
/**
|
|
11761
12145
|
*
|
|
11762
|
-
* @type {
|
|
11763
|
-
* @memberof
|
|
12146
|
+
* @type {PaymentCheckoutFlow}
|
|
12147
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
11764
12148
|
*/
|
|
11765
|
-
'
|
|
12149
|
+
'checkoutFlow': PaymentCheckoutFlow;
|
|
11766
12150
|
/**
|
|
11767
12151
|
*
|
|
11768
|
-
* @type {
|
|
11769
|
-
* @memberof
|
|
12152
|
+
* @type {PaymentReportingBucket}
|
|
12153
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
11770
12154
|
*/
|
|
11771
|
-
'
|
|
11772
|
-
}
|
|
11773
|
-
/**
|
|
11774
|
-
* Affirm payment details
|
|
11775
|
-
* @export
|
|
11776
|
-
* @interface PaymentMethodDetailsDtoAffirmDetails
|
|
11777
|
-
*/
|
|
11778
|
-
export interface PaymentMethodDetailsDtoAffirmDetails {
|
|
12155
|
+
'reportingBucket': PaymentReportingBucket;
|
|
11779
12156
|
/**
|
|
11780
|
-
*
|
|
12157
|
+
* Display tone/color key for badges and chips (e.g. info, edenred, voucherOrange).
|
|
11781
12158
|
* @type {string}
|
|
11782
|
-
* @memberof
|
|
12159
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
11783
12160
|
*/
|
|
11784
|
-
'
|
|
12161
|
+
'tone': string;
|
|
12162
|
+
/**
|
|
12163
|
+
* Whether a refund is sent back to the original card via the terminal SDK.
|
|
12164
|
+
* @type {boolean}
|
|
12165
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12166
|
+
*/
|
|
12167
|
+
'refundToCard': boolean;
|
|
12168
|
+
/**
|
|
12169
|
+
* Whether refunding this method needs an active card provider (Viva/Nets).
|
|
12170
|
+
* @type {boolean}
|
|
12171
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12172
|
+
*/
|
|
12173
|
+
'requiresProvider': boolean;
|
|
12174
|
+
/**
|
|
12175
|
+
* Whether checkout needs a manual resolution step (cash rounding, voucher selection).
|
|
12176
|
+
* @type {boolean}
|
|
12177
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12178
|
+
*/
|
|
12179
|
+
'requiresManualResolution': boolean;
|
|
12180
|
+
/**
|
|
12181
|
+
* Whether receipts/print should show a forfeited (leftover) amount line.
|
|
12182
|
+
* @type {boolean}
|
|
12183
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12184
|
+
*/
|
|
12185
|
+
'shouldDisplayForfeitedAmount': boolean;
|
|
12186
|
+
/**
|
|
12187
|
+
* Benefit-confirmation issuer for the post-payment notification (e.g. edenred, wolt).
|
|
12188
|
+
* @type {string}
|
|
12189
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12190
|
+
*/
|
|
12191
|
+
'notificationIssuer': string | null;
|
|
12192
|
+
/**
|
|
12193
|
+
* Whether this method is checkout-only (cannot be a manual refund target).
|
|
12194
|
+
* @type {boolean}
|
|
12195
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12196
|
+
*/
|
|
12197
|
+
'checkoutOnly': boolean;
|
|
12198
|
+
}
|
|
12199
|
+
/**
|
|
12200
|
+
*
|
|
12201
|
+
* @export
|
|
12202
|
+
* @interface PaymentMethodDetailsDto
|
|
12203
|
+
*/
|
|
12204
|
+
export interface PaymentMethodDetailsDto {
|
|
12205
|
+
/**
|
|
12206
|
+
* Payment method type
|
|
12207
|
+
* @type {string}
|
|
12208
|
+
* @memberof PaymentMethodDetailsDto
|
|
12209
|
+
*/
|
|
12210
|
+
'type': string;
|
|
12211
|
+
/**
|
|
12212
|
+
*
|
|
12213
|
+
* @type {PaymentMethodDetailsDtoCardPresentDetails}
|
|
12214
|
+
* @memberof PaymentMethodDetailsDto
|
|
12215
|
+
*/
|
|
12216
|
+
'cardPresentDetails'?: PaymentMethodDetailsDtoCardPresentDetails;
|
|
12217
|
+
/**
|
|
12218
|
+
*
|
|
12219
|
+
* @type {PaymentMethodDetailsDtoInteracPresentDetails}
|
|
12220
|
+
* @memberof PaymentMethodDetailsDto
|
|
12221
|
+
*/
|
|
12222
|
+
'interacPresentDetails'?: PaymentMethodDetailsDtoInteracPresentDetails;
|
|
12223
|
+
/**
|
|
12224
|
+
*
|
|
12225
|
+
* @type {PaymentMethodDetailsDtoWechatPayDetails}
|
|
12226
|
+
* @memberof PaymentMethodDetailsDto
|
|
12227
|
+
*/
|
|
12228
|
+
'wechatPayDetails'?: PaymentMethodDetailsDtoWechatPayDetails;
|
|
12229
|
+
/**
|
|
12230
|
+
*
|
|
12231
|
+
* @type {PaymentMethodDetailsDtoAffirmDetails}
|
|
12232
|
+
* @memberof PaymentMethodDetailsDto
|
|
12233
|
+
*/
|
|
12234
|
+
'affirmDetails'?: PaymentMethodDetailsDtoAffirmDetails;
|
|
12235
|
+
}
|
|
12236
|
+
/**
|
|
12237
|
+
* Affirm payment details
|
|
12238
|
+
* @export
|
|
12239
|
+
* @interface PaymentMethodDetailsDtoAffirmDetails
|
|
12240
|
+
*/
|
|
12241
|
+
export interface PaymentMethodDetailsDtoAffirmDetails {
|
|
12242
|
+
/**
|
|
12243
|
+
* Payment location
|
|
12244
|
+
* @type {string}
|
|
12245
|
+
* @memberof PaymentMethodDetailsDtoAffirmDetails
|
|
12246
|
+
*/
|
|
12247
|
+
'location'?: string | null;
|
|
11785
12248
|
/**
|
|
11786
12249
|
* Reader identifier
|
|
11787
12250
|
* @type {string}
|
|
@@ -12050,6 +12513,256 @@ export interface PaymentMethodDetailsDtoWechatPayDetails {
|
|
|
12050
12513
|
*/
|
|
12051
12514
|
'transactionId'?: string | null;
|
|
12052
12515
|
}
|
|
12516
|
+
/**
|
|
12517
|
+
*
|
|
12518
|
+
* @export
|
|
12519
|
+
* @interface PaymentMethodDto
|
|
12520
|
+
*/
|
|
12521
|
+
export interface PaymentMethodDto {
|
|
12522
|
+
/**
|
|
12523
|
+
* PaymentMethodOption id; use it for update/delete/reorder.
|
|
12524
|
+
* @type {string}
|
|
12525
|
+
* @memberof PaymentMethodDto
|
|
12526
|
+
*/
|
|
12527
|
+
'id': string;
|
|
12528
|
+
/**
|
|
12529
|
+
* Stable, immutable method code (catalog identity).
|
|
12530
|
+
* @type {string}
|
|
12531
|
+
* @memberof PaymentMethodDto
|
|
12532
|
+
*/
|
|
12533
|
+
'code': string;
|
|
12534
|
+
/**
|
|
12535
|
+
* Catalog type that drives this method\'s policy/behavior.
|
|
12536
|
+
* @type {string}
|
|
12537
|
+
* @memberof PaymentMethodDto
|
|
12538
|
+
*/
|
|
12539
|
+
'typeCode': string;
|
|
12540
|
+
/**
|
|
12541
|
+
* Display name: per-business customName, else catalog translation, else code.
|
|
12542
|
+
* @type {string}
|
|
12543
|
+
* @memberof PaymentMethodDto
|
|
12544
|
+
*/
|
|
12545
|
+
'label': string;
|
|
12546
|
+
/**
|
|
12547
|
+
* Per-business name override; null means inherit the catalog label.
|
|
12548
|
+
* @type {string}
|
|
12549
|
+
* @memberof PaymentMethodDto
|
|
12550
|
+
*/
|
|
12551
|
+
'customName': string | null;
|
|
12552
|
+
/**
|
|
12553
|
+
* Per-business logo URL.
|
|
12554
|
+
* @type {string}
|
|
12555
|
+
* @memberof PaymentMethodDto
|
|
12556
|
+
*/
|
|
12557
|
+
'logo': string | null;
|
|
12558
|
+
/**
|
|
12559
|
+
* Per-business description.
|
|
12560
|
+
* @type {string}
|
|
12561
|
+
* @memberof PaymentMethodDto
|
|
12562
|
+
*/
|
|
12563
|
+
'description': string | null;
|
|
12564
|
+
/**
|
|
12565
|
+
* Parent method code for grouped vouchers; null when standalone.
|
|
12566
|
+
* @type {string}
|
|
12567
|
+
* @memberof PaymentMethodDto
|
|
12568
|
+
*/
|
|
12569
|
+
'parentCode': string | null;
|
|
12570
|
+
/**
|
|
12571
|
+
* Sort order within the business (ascending).
|
|
12572
|
+
* @type {number}
|
|
12573
|
+
* @memberof PaymentMethodDto
|
|
12574
|
+
*/
|
|
12575
|
+
'position': number;
|
|
12576
|
+
/**
|
|
12577
|
+
* Whether the method is shown/usable (off = hidden, not deleted).
|
|
12578
|
+
* @type {boolean}
|
|
12579
|
+
* @memberof PaymentMethodDto
|
|
12580
|
+
*/
|
|
12581
|
+
'enable': boolean;
|
|
12582
|
+
/**
|
|
12583
|
+
* Preset amounts/denominations (vouchers).
|
|
12584
|
+
* @type {Array<number>}
|
|
12585
|
+
* @memberof PaymentMethodDto
|
|
12586
|
+
*/
|
|
12587
|
+
'amounts': Array<number>;
|
|
12588
|
+
/**
|
|
12589
|
+
* Minimum order amount required to use this method (decimal as string).
|
|
12590
|
+
* @type {string}
|
|
12591
|
+
* @memberof PaymentMethodDto
|
|
12592
|
+
*/
|
|
12593
|
+
'minimumCheckoutAmount': string | null;
|
|
12594
|
+
/**
|
|
12595
|
+
*
|
|
12596
|
+
* @type {PaymentMethodDtoCapabilities}
|
|
12597
|
+
* @memberof PaymentMethodDto
|
|
12598
|
+
*/
|
|
12599
|
+
'capabilities': PaymentMethodDtoCapabilities;
|
|
12600
|
+
/**
|
|
12601
|
+
* True for a 3rd-party gift card whose credentials the merchant can edit.
|
|
12602
|
+
* @type {boolean}
|
|
12603
|
+
* @memberof PaymentMethodDto
|
|
12604
|
+
*/
|
|
12605
|
+
'requiresCredentials': boolean;
|
|
12606
|
+
/**
|
|
12607
|
+
*
|
|
12608
|
+
* @type {PaymentMethodDtoGiftCardCredentials}
|
|
12609
|
+
* @memberof PaymentMethodDto
|
|
12610
|
+
*/
|
|
12611
|
+
'giftCardCredentials': PaymentMethodDtoGiftCardCredentials | null;
|
|
12612
|
+
/**
|
|
12613
|
+
* Auto-managed grouped children (e.g. Card→Debit/Credit, LunchVoucher→its vouchers). Empty for standalone methods.
|
|
12614
|
+
* @type {Array<PaymentMethodDto>}
|
|
12615
|
+
* @memberof PaymentMethodDto
|
|
12616
|
+
*/
|
|
12617
|
+
'children': Array<PaymentMethodDto>;
|
|
12618
|
+
}
|
|
12619
|
+
/**
|
|
12620
|
+
* Refund behavior resolved from the catalog type + per-method overrides.
|
|
12621
|
+
* @export
|
|
12622
|
+
* @interface PaymentMethodDtoCapabilities
|
|
12623
|
+
*/
|
|
12624
|
+
export interface PaymentMethodDtoCapabilities {
|
|
12625
|
+
/**
|
|
12626
|
+
* Whether this method can be refunded at all.
|
|
12627
|
+
* @type {boolean}
|
|
12628
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12629
|
+
*/
|
|
12630
|
+
'refundable': boolean;
|
|
12631
|
+
/**
|
|
12632
|
+
* Whether a refund can be split across this method and others.
|
|
12633
|
+
* @type {boolean}
|
|
12634
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12635
|
+
*/
|
|
12636
|
+
'refundSplittable': boolean;
|
|
12637
|
+
/**
|
|
12638
|
+
* Whether the customer may choose this method as a refund target.
|
|
12639
|
+
* @type {boolean}
|
|
12640
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12641
|
+
*/
|
|
12642
|
+
'refundChoiceEligible': boolean;
|
|
12643
|
+
/**
|
|
12644
|
+
* Refund allocation order (lower = refunded first); null when not refundable.
|
|
12645
|
+
* @type {number}
|
|
12646
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12647
|
+
*/
|
|
12648
|
+
'refundPriorityTier': number | null;
|
|
12649
|
+
/**
|
|
12650
|
+
* Within-tier refund order (seed-only; lower = earlier). null → sorted last in tier.
|
|
12651
|
+
* @type {number}
|
|
12652
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12653
|
+
*/
|
|
12654
|
+
'refundPriorityRank': number | null;
|
|
12655
|
+
/**
|
|
12656
|
+
*
|
|
12657
|
+
* @type {PaymentCheckoutFlow}
|
|
12658
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12659
|
+
*/
|
|
12660
|
+
'checkoutFlow': PaymentCheckoutFlow;
|
|
12661
|
+
/**
|
|
12662
|
+
*
|
|
12663
|
+
* @type {PaymentReportingBucket}
|
|
12664
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12665
|
+
*/
|
|
12666
|
+
'reportingBucket': PaymentReportingBucket;
|
|
12667
|
+
/**
|
|
12668
|
+
* Display tone/color key for badges and chips (e.g. info, edenred, voucherOrange).
|
|
12669
|
+
* @type {string}
|
|
12670
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12671
|
+
*/
|
|
12672
|
+
'tone': string;
|
|
12673
|
+
/**
|
|
12674
|
+
* Whether a refund is sent back to the original card via the terminal SDK.
|
|
12675
|
+
* @type {boolean}
|
|
12676
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12677
|
+
*/
|
|
12678
|
+
'refundToCard': boolean;
|
|
12679
|
+
/**
|
|
12680
|
+
* Whether refunding this method needs an active card provider (Viva/Nets).
|
|
12681
|
+
* @type {boolean}
|
|
12682
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12683
|
+
*/
|
|
12684
|
+
'requiresProvider': boolean;
|
|
12685
|
+
/**
|
|
12686
|
+
* Whether checkout needs a manual resolution step (cash rounding, voucher selection).
|
|
12687
|
+
* @type {boolean}
|
|
12688
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12689
|
+
*/
|
|
12690
|
+
'requiresManualResolution': boolean;
|
|
12691
|
+
/**
|
|
12692
|
+
* Whether receipts/print should show a forfeited (leftover) amount line.
|
|
12693
|
+
* @type {boolean}
|
|
12694
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12695
|
+
*/
|
|
12696
|
+
'shouldDisplayForfeitedAmount': boolean;
|
|
12697
|
+
/**
|
|
12698
|
+
* Benefit-confirmation issuer for the post-payment notification (e.g. edenred, wolt).
|
|
12699
|
+
* @type {string}
|
|
12700
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12701
|
+
*/
|
|
12702
|
+
'notificationIssuer': string | null;
|
|
12703
|
+
/**
|
|
12704
|
+
* Whether this method is checkout-only (cannot be a manual refund target).
|
|
12705
|
+
* @type {boolean}
|
|
12706
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12707
|
+
*/
|
|
12708
|
+
'checkoutOnly': boolean;
|
|
12709
|
+
}
|
|
12710
|
+
/**
|
|
12711
|
+
* Saved 3rd-party gift card credentials for pre-fill; null when not applicable.
|
|
12712
|
+
* @export
|
|
12713
|
+
* @interface PaymentMethodDtoGiftCardCredentials
|
|
12714
|
+
*/
|
|
12715
|
+
export interface PaymentMethodDtoGiftCardCredentials {
|
|
12716
|
+
/**
|
|
12717
|
+
* Saved 3rd-party gift card username.
|
|
12718
|
+
* @type {string}
|
|
12719
|
+
* @memberof PaymentMethodDtoGiftCardCredentials
|
|
12720
|
+
*/
|
|
12721
|
+
'username': string | null;
|
|
12722
|
+
/**
|
|
12723
|
+
* Saved 3rd-party gift card password.
|
|
12724
|
+
* @type {string}
|
|
12725
|
+
* @memberof PaymentMethodDtoGiftCardCredentials
|
|
12726
|
+
*/
|
|
12727
|
+
'password': string | null;
|
|
12728
|
+
/**
|
|
12729
|
+
* Saved unique POS device id for the 3rd-party gift card provider.
|
|
12730
|
+
* @type {string}
|
|
12731
|
+
* @memberof PaymentMethodDtoGiftCardCredentials
|
|
12732
|
+
*/
|
|
12733
|
+
'uniquePosDeviceId': string | null;
|
|
12734
|
+
}
|
|
12735
|
+
/**
|
|
12736
|
+
*
|
|
12737
|
+
* @export
|
|
12738
|
+
* @interface PaymentMethodTypeDto
|
|
12739
|
+
*/
|
|
12740
|
+
export interface PaymentMethodTypeDto {
|
|
12741
|
+
/**
|
|
12742
|
+
* Catalog type code (e.g. CARD, VOUCHER, GIFT_CARD).
|
|
12743
|
+
* @type {string}
|
|
12744
|
+
* @memberof PaymentMethodTypeDto
|
|
12745
|
+
*/
|
|
12746
|
+
'code': string;
|
|
12747
|
+
/**
|
|
12748
|
+
* Human-readable type label for display.
|
|
12749
|
+
* @type {string}
|
|
12750
|
+
* @memberof PaymentMethodTypeDto
|
|
12751
|
+
*/
|
|
12752
|
+
'label': string;
|
|
12753
|
+
/**
|
|
12754
|
+
* Short explanation of what this category means, to guide the user.
|
|
12755
|
+
* @type {string}
|
|
12756
|
+
* @memberof PaymentMethodTypeDto
|
|
12757
|
+
*/
|
|
12758
|
+
'description': string;
|
|
12759
|
+
/**
|
|
12760
|
+
* Whether methods of this type take preset amounts/denominations.
|
|
12761
|
+
* @type {boolean}
|
|
12762
|
+
* @memberof PaymentMethodTypeDto
|
|
12763
|
+
*/
|
|
12764
|
+
'supportsAmounts': boolean;
|
|
12765
|
+
}
|
|
12053
12766
|
/**
|
|
12054
12767
|
*
|
|
12055
12768
|
* @export
|
|
@@ -12395,6 +13108,18 @@ export interface PaymentRefundLineAllocationDto {
|
|
|
12395
13108
|
*/
|
|
12396
13109
|
'quantity': number;
|
|
12397
13110
|
}
|
|
13111
|
+
/**
|
|
13112
|
+
*
|
|
13113
|
+
* @export
|
|
13114
|
+
* @enum {string}
|
|
13115
|
+
*/
|
|
13116
|
+
export declare const PaymentReportingBucket: {
|
|
13117
|
+
readonly Cards: "cards";
|
|
13118
|
+
readonly EdenredVoucher: "edenred_voucher";
|
|
13119
|
+
readonly SmartumVoucher: "smartum_voucher";
|
|
13120
|
+
readonly Other: "other";
|
|
13121
|
+
};
|
|
13122
|
+
export type PaymentReportingBucket = typeof PaymentReportingBucket[keyof typeof PaymentReportingBucket];
|
|
12398
13123
|
/**
|
|
12399
13124
|
*
|
|
12400
13125
|
* @export
|
|
@@ -16192,6 +16917,43 @@ export interface ProviderSupportedIntegrationsDto {
|
|
|
16192
16917
|
*/
|
|
16193
16918
|
'supportedIntegrations': Array<IntegrationType>;
|
|
16194
16919
|
}
|
|
16920
|
+
/**
|
|
16921
|
+
*
|
|
16922
|
+
* @export
|
|
16923
|
+
* @interface ProvidersConfigResponseDto
|
|
16924
|
+
*/
|
|
16925
|
+
export interface ProvidersConfigResponseDto {
|
|
16926
|
+
/**
|
|
16927
|
+
*
|
|
16928
|
+
* @type {PaymentProvider}
|
|
16929
|
+
* @memberof ProvidersConfigResponseDto
|
|
16930
|
+
*/
|
|
16931
|
+
'selectedPaymentProvider': PaymentProvider | null;
|
|
16932
|
+
/**
|
|
16933
|
+
*
|
|
16934
|
+
* @type {VivaConfigResponseDto}
|
|
16935
|
+
* @memberof ProvidersConfigResponseDto
|
|
16936
|
+
*/
|
|
16937
|
+
'viva': VivaConfigResponseDto | null;
|
|
16938
|
+
/**
|
|
16939
|
+
*
|
|
16940
|
+
* @type {NetsConfigResponseDto}
|
|
16941
|
+
* @memberof ProvidersConfigResponseDto
|
|
16942
|
+
*/
|
|
16943
|
+
'nets': NetsConfigResponseDto | null;
|
|
16944
|
+
/**
|
|
16945
|
+
*
|
|
16946
|
+
* @type {StripeConfigResponseDto}
|
|
16947
|
+
* @memberof ProvidersConfigResponseDto
|
|
16948
|
+
*/
|
|
16949
|
+
'stripe': StripeConfigResponseDto | null;
|
|
16950
|
+
/**
|
|
16951
|
+
*
|
|
16952
|
+
* @type {WorldlineConfigResponseDto}
|
|
16953
|
+
* @memberof ProvidersConfigResponseDto
|
|
16954
|
+
*/
|
|
16955
|
+
'worldline': WorldlineConfigResponseDto | null;
|
|
16956
|
+
}
|
|
16195
16957
|
/**
|
|
16196
16958
|
*
|
|
16197
16959
|
* @export
|
|
@@ -16211,6 +16973,25 @@ export declare const PubSubTarget: {
|
|
|
16211
16973
|
readonly Kds: "KDS";
|
|
16212
16974
|
};
|
|
16213
16975
|
export type PubSubTarget = typeof PubSubTarget[keyof typeof PubSubTarget];
|
|
16976
|
+
/**
|
|
16977
|
+
*
|
|
16978
|
+
* @export
|
|
16979
|
+
* @interface RankItemDto
|
|
16980
|
+
*/
|
|
16981
|
+
export interface RankItemDto {
|
|
16982
|
+
/**
|
|
16983
|
+
* PaymentMethodOption id to position.
|
|
16984
|
+
* @type {string}
|
|
16985
|
+
* @memberof RankItemDto
|
|
16986
|
+
*/
|
|
16987
|
+
'id': string;
|
|
16988
|
+
/**
|
|
16989
|
+
* New zero-based sort position.
|
|
16990
|
+
* @type {number}
|
|
16991
|
+
* @memberof RankItemDto
|
|
16992
|
+
*/
|
|
16993
|
+
'rank': number;
|
|
16994
|
+
}
|
|
16214
16995
|
/**
|
|
16215
16996
|
*
|
|
16216
16997
|
* @export
|
|
@@ -18165,17 +18946,48 @@ export type Status = typeof Status[keyof typeof Status];
|
|
|
18165
18946
|
/**
|
|
18166
18947
|
*
|
|
18167
18948
|
* @export
|
|
18168
|
-
* @interface
|
|
18949
|
+
* @interface StripeConfigResponseDto
|
|
18169
18950
|
*/
|
|
18170
|
-
export interface
|
|
18951
|
+
export interface StripeConfigResponseDto {
|
|
18171
18952
|
/**
|
|
18172
|
-
*
|
|
18173
|
-
* @type {
|
|
18174
|
-
* @memberof
|
|
18953
|
+
* Whether the Stripe integration is active.
|
|
18954
|
+
* @type {boolean}
|
|
18955
|
+
* @memberof StripeConfigResponseDto
|
|
18175
18956
|
*/
|
|
18176
|
-
'
|
|
18957
|
+
'isActive': boolean;
|
|
18177
18958
|
/**
|
|
18178
|
-
*
|
|
18959
|
+
* Display name.
|
|
18960
|
+
* @type {string}
|
|
18961
|
+
* @memberof StripeConfigResponseDto
|
|
18962
|
+
*/
|
|
18963
|
+
'name': string | null;
|
|
18964
|
+
/**
|
|
18965
|
+
* Stripe secret key.
|
|
18966
|
+
* @type {string}
|
|
18967
|
+
* @memberof StripeConfigResponseDto
|
|
18968
|
+
*/
|
|
18969
|
+
'secretKey': string | null;
|
|
18970
|
+
/**
|
|
18971
|
+
* Stripe location id.
|
|
18972
|
+
* @type {string}
|
|
18973
|
+
* @memberof StripeConfigResponseDto
|
|
18974
|
+
*/
|
|
18975
|
+
'locationId': string | null;
|
|
18976
|
+
}
|
|
18977
|
+
/**
|
|
18978
|
+
*
|
|
18979
|
+
* @export
|
|
18980
|
+
* @interface SubOptionDto
|
|
18981
|
+
*/
|
|
18982
|
+
export interface SubOptionDto {
|
|
18983
|
+
/**
|
|
18984
|
+
* SubOption ID
|
|
18985
|
+
* @type {string}
|
|
18986
|
+
* @memberof SubOptionDto
|
|
18987
|
+
*/
|
|
18988
|
+
'id': string;
|
|
18989
|
+
/**
|
|
18990
|
+
* SubOption external ID
|
|
18179
18991
|
* @type {string}
|
|
18180
18992
|
* @memberof SubOptionDto
|
|
18181
18993
|
*/
|
|
@@ -20508,6 +21320,86 @@ export interface UpdateInvoiceCompanyDto {
|
|
|
20508
21320
|
*/
|
|
20509
21321
|
'address'?: string;
|
|
20510
21322
|
}
|
|
21323
|
+
/**
|
|
21324
|
+
*
|
|
21325
|
+
* @export
|
|
21326
|
+
* @interface UpdatePaymentMethodOptionDto
|
|
21327
|
+
*/
|
|
21328
|
+
export interface UpdatePaymentMethodOptionDto {
|
|
21329
|
+
/**
|
|
21330
|
+
* Per-business name override.
|
|
21331
|
+
* @type {string}
|
|
21332
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
21333
|
+
*/
|
|
21334
|
+
'customName'?: string;
|
|
21335
|
+
/**
|
|
21336
|
+
* Per-business logo URL.
|
|
21337
|
+
* @type {string}
|
|
21338
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
21339
|
+
*/
|
|
21340
|
+
'logo'?: string;
|
|
21341
|
+
/**
|
|
21342
|
+
* Per-business description.
|
|
21343
|
+
* @type {string}
|
|
21344
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
21345
|
+
*/
|
|
21346
|
+
'description'?: string;
|
|
21347
|
+
/**
|
|
21348
|
+
* Parent method code for grouped vouchers.
|
|
21349
|
+
* @type {string}
|
|
21350
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
21351
|
+
*/
|
|
21352
|
+
'parentCode'?: string;
|
|
21353
|
+
/**
|
|
21354
|
+
* Preset amounts/denominations (vouchers).
|
|
21355
|
+
* @type {Array<number>}
|
|
21356
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
21357
|
+
*/
|
|
21358
|
+
'amounts'?: Array<number>;
|
|
21359
|
+
/**
|
|
21360
|
+
* Minimum order amount required to use this method.
|
|
21361
|
+
* @type {number}
|
|
21362
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
21363
|
+
*/
|
|
21364
|
+
'minimumCheckoutAmount'?: number;
|
|
21365
|
+
/**
|
|
21366
|
+
* Whether the method is enabled.
|
|
21367
|
+
* @type {boolean}
|
|
21368
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
21369
|
+
*/
|
|
21370
|
+
'enable'?: boolean;
|
|
21371
|
+
/**
|
|
21372
|
+
*
|
|
21373
|
+
* @type {UpdatePaymentMethodOptionDtoGiftCardCredentials}
|
|
21374
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
21375
|
+
*/
|
|
21376
|
+
'giftCardCredentials'?: UpdatePaymentMethodOptionDtoGiftCardCredentials;
|
|
21377
|
+
}
|
|
21378
|
+
/**
|
|
21379
|
+
* Only for a 3rd-party gift card: username/password/posDeviceId (URLs are constants).
|
|
21380
|
+
* @export
|
|
21381
|
+
* @interface UpdatePaymentMethodOptionDtoGiftCardCredentials
|
|
21382
|
+
*/
|
|
21383
|
+
export interface UpdatePaymentMethodOptionDtoGiftCardCredentials {
|
|
21384
|
+
/**
|
|
21385
|
+
* 3rd-party gift card account username.
|
|
21386
|
+
* @type {string}
|
|
21387
|
+
* @memberof UpdatePaymentMethodOptionDtoGiftCardCredentials
|
|
21388
|
+
*/
|
|
21389
|
+
'username'?: string;
|
|
21390
|
+
/**
|
|
21391
|
+
* 3rd-party gift card account password.
|
|
21392
|
+
* @type {string}
|
|
21393
|
+
* @memberof UpdatePaymentMethodOptionDtoGiftCardCredentials
|
|
21394
|
+
*/
|
|
21395
|
+
'password'?: string;
|
|
21396
|
+
/**
|
|
21397
|
+
* Unique POS device id for the 3rd-party gift card provider.
|
|
21398
|
+
* @type {string}
|
|
21399
|
+
* @memberof UpdatePaymentMethodOptionDtoGiftCardCredentials
|
|
21400
|
+
*/
|
|
21401
|
+
'uniquePosDeviceId'?: string;
|
|
21402
|
+
}
|
|
20511
21403
|
/**
|
|
20512
21404
|
*
|
|
20513
21405
|
* @export
|
|
@@ -20952,7 +21844,7 @@ export interface UpsertNetsDto {
|
|
|
20952
21844
|
* @type {string}
|
|
20953
21845
|
* @memberof UpsertNetsDto
|
|
20954
21846
|
*/
|
|
20955
|
-
'name'
|
|
21847
|
+
'name': string;
|
|
20956
21848
|
/**
|
|
20957
21849
|
*
|
|
20958
21850
|
* @type {boolean}
|
|
@@ -21100,6 +21992,7 @@ export declare const NameEnum: {
|
|
|
21100
21992
|
readonly Exchange: "Exchange";
|
|
21101
21993
|
readonly Tilisiirto: "Tilisiirto";
|
|
21102
21994
|
readonly LoyaltyPoints: "LoyaltyPoints";
|
|
21995
|
+
readonly DiningByAmex: "DiningByAmex";
|
|
21103
21996
|
};
|
|
21104
21997
|
export type NameEnum = typeof NameEnum[keyof typeof NameEnum];
|
|
21105
21998
|
/**
|
|
@@ -21177,6 +22070,85 @@ export interface UpsertProductPrintPolicyDto {
|
|
|
21177
22070
|
*/
|
|
21178
22071
|
'printerIds': Array<number>;
|
|
21179
22072
|
}
|
|
22073
|
+
/**
|
|
22074
|
+
*
|
|
22075
|
+
* @export
|
|
22076
|
+
* @interface UpsertProvidersDto
|
|
22077
|
+
*/
|
|
22078
|
+
export interface UpsertProvidersDto {
|
|
22079
|
+
/**
|
|
22080
|
+
*
|
|
22081
|
+
* @type {PaymentProvider}
|
|
22082
|
+
* @memberof UpsertProvidersDto
|
|
22083
|
+
*/
|
|
22084
|
+
'provider': PaymentProvider;
|
|
22085
|
+
/**
|
|
22086
|
+
*
|
|
22087
|
+
* @type {string}
|
|
22088
|
+
* @memberof UpsertProvidersDto
|
|
22089
|
+
*/
|
|
22090
|
+
'name': string;
|
|
22091
|
+
/**
|
|
22092
|
+
*
|
|
22093
|
+
* @type {boolean}
|
|
22094
|
+
* @memberof UpsertProvidersDto
|
|
22095
|
+
*/
|
|
22096
|
+
'isActive'?: boolean;
|
|
22097
|
+
/**
|
|
22098
|
+
* Viva merchant id.
|
|
22099
|
+
* @type {string}
|
|
22100
|
+
* @memberof UpsertProvidersDto
|
|
22101
|
+
*/
|
|
22102
|
+
'merchantId'?: string;
|
|
22103
|
+
/**
|
|
22104
|
+
* Viva source code.
|
|
22105
|
+
* @type {string}
|
|
22106
|
+
* @memberof UpsertProvidersDto
|
|
22107
|
+
*/
|
|
22108
|
+
'sourceCode'?: string;
|
|
22109
|
+
/**
|
|
22110
|
+
* Viva commission/surcharge rate.
|
|
22111
|
+
* @type {number}
|
|
22112
|
+
* @memberof UpsertProvidersDto
|
|
22113
|
+
*/
|
|
22114
|
+
'rate'?: number;
|
|
22115
|
+
/**
|
|
22116
|
+
* Viva additional amount.
|
|
22117
|
+
* @type {number}
|
|
22118
|
+
* @memberof UpsertProvidersDto
|
|
22119
|
+
*/
|
|
22120
|
+
'additionalAmount'?: number;
|
|
22121
|
+
/**
|
|
22122
|
+
* Nets / Stripe / Worldline secret key.
|
|
22123
|
+
* @type {string}
|
|
22124
|
+
* @memberof UpsertProvidersDto
|
|
22125
|
+
*/
|
|
22126
|
+
'secretKey'?: string;
|
|
22127
|
+
/**
|
|
22128
|
+
* Nets / Worldline public key.
|
|
22129
|
+
* @type {string}
|
|
22130
|
+
* @memberof UpsertProvidersDto
|
|
22131
|
+
*/
|
|
22132
|
+
'publicKey'?: string;
|
|
22133
|
+
/**
|
|
22134
|
+
* Nets OAuth client id.
|
|
22135
|
+
* @type {string}
|
|
22136
|
+
* @memberof UpsertProvidersDto
|
|
22137
|
+
*/
|
|
22138
|
+
'clientId'?: string;
|
|
22139
|
+
/**
|
|
22140
|
+
* Nets OAuth client secret.
|
|
22141
|
+
* @type {string}
|
|
22142
|
+
* @memberof UpsertProvidersDto
|
|
22143
|
+
*/
|
|
22144
|
+
'clientSecret'?: string;
|
|
22145
|
+
/**
|
|
22146
|
+
* Stripe location id.
|
|
22147
|
+
* @type {string}
|
|
22148
|
+
* @memberof UpsertProvidersDto
|
|
22149
|
+
*/
|
|
22150
|
+
'locationId'?: string;
|
|
22151
|
+
}
|
|
21180
22152
|
/**
|
|
21181
22153
|
*
|
|
21182
22154
|
* @export
|
|
@@ -21219,7 +22191,7 @@ export interface UpsertStripeDto {
|
|
|
21219
22191
|
* @type {string}
|
|
21220
22192
|
* @memberof UpsertStripeDto
|
|
21221
22193
|
*/
|
|
21222
|
-
'name'
|
|
22194
|
+
'name': string;
|
|
21223
22195
|
/**
|
|
21224
22196
|
*
|
|
21225
22197
|
* @type {boolean}
|
|
@@ -21250,7 +22222,7 @@ export interface UpsertVivaDto {
|
|
|
21250
22222
|
* @type {string}
|
|
21251
22223
|
* @memberof UpsertVivaDto
|
|
21252
22224
|
*/
|
|
21253
|
-
'name'
|
|
22225
|
+
'name': string;
|
|
21254
22226
|
/**
|
|
21255
22227
|
*
|
|
21256
22228
|
* @type {boolean}
|
|
@@ -21644,6 +22616,43 @@ export interface VivaConfigDto {
|
|
|
21644
22616
|
*/
|
|
21645
22617
|
'additionalAmount'?: number;
|
|
21646
22618
|
}
|
|
22619
|
+
/**
|
|
22620
|
+
*
|
|
22621
|
+
* @export
|
|
22622
|
+
* @interface VivaConfigResponseDto
|
|
22623
|
+
*/
|
|
22624
|
+
export interface VivaConfigResponseDto {
|
|
22625
|
+
/**
|
|
22626
|
+
* Whether the Viva integration is active.
|
|
22627
|
+
* @type {boolean}
|
|
22628
|
+
* @memberof VivaConfigResponseDto
|
|
22629
|
+
*/
|
|
22630
|
+
'isActive': boolean;
|
|
22631
|
+
/**
|
|
22632
|
+
* Display name.
|
|
22633
|
+
* @type {string}
|
|
22634
|
+
* @memberof VivaConfigResponseDto
|
|
22635
|
+
*/
|
|
22636
|
+
'name': string | null;
|
|
22637
|
+
/**
|
|
22638
|
+
* Viva merchant id.
|
|
22639
|
+
* @type {string}
|
|
22640
|
+
* @memberof VivaConfigResponseDto
|
|
22641
|
+
*/
|
|
22642
|
+
'merchantId': string | null;
|
|
22643
|
+
/**
|
|
22644
|
+
* Viva source code.
|
|
22645
|
+
* @type {string}
|
|
22646
|
+
* @memberof VivaConfigResponseDto
|
|
22647
|
+
*/
|
|
22648
|
+
'sourceCode': string | null;
|
|
22649
|
+
/**
|
|
22650
|
+
* Commission/surcharge rate.
|
|
22651
|
+
* @type {number}
|
|
22652
|
+
* @memberof VivaConfigResponseDto
|
|
22653
|
+
*/
|
|
22654
|
+
'rate': number | null;
|
|
22655
|
+
}
|
|
21647
22656
|
/**
|
|
21648
22657
|
*
|
|
21649
22658
|
* @export
|
|
@@ -23101,6 +24110,37 @@ export interface WorldlineAmountsRequestDto {
|
|
|
23101
24110
|
*/
|
|
23102
24111
|
'tip'?: number;
|
|
23103
24112
|
}
|
|
24113
|
+
/**
|
|
24114
|
+
*
|
|
24115
|
+
* @export
|
|
24116
|
+
* @interface WorldlineConfigResponseDto
|
|
24117
|
+
*/
|
|
24118
|
+
export interface WorldlineConfigResponseDto {
|
|
24119
|
+
/**
|
|
24120
|
+
* Whether the Worldline integration is active.
|
|
24121
|
+
* @type {boolean}
|
|
24122
|
+
* @memberof WorldlineConfigResponseDto
|
|
24123
|
+
*/
|
|
24124
|
+
'isActive': boolean;
|
|
24125
|
+
/**
|
|
24126
|
+
* Display name.
|
|
24127
|
+
* @type {string}
|
|
24128
|
+
* @memberof WorldlineConfigResponseDto
|
|
24129
|
+
*/
|
|
24130
|
+
'name': string | null;
|
|
24131
|
+
/**
|
|
24132
|
+
* Worldline secret key.
|
|
24133
|
+
* @type {string}
|
|
24134
|
+
* @memberof WorldlineConfigResponseDto
|
|
24135
|
+
*/
|
|
24136
|
+
'secretKey': string | null;
|
|
24137
|
+
/**
|
|
24138
|
+
* Worldline public key.
|
|
24139
|
+
* @type {string}
|
|
24140
|
+
* @memberof WorldlineConfigResponseDto
|
|
24141
|
+
*/
|
|
24142
|
+
'publicKey': string | null;
|
|
24143
|
+
}
|
|
23104
24144
|
/**
|
|
23105
24145
|
*
|
|
23106
24146
|
* @export
|
|
@@ -25473,6 +26513,15 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
25473
26513
|
* @throws {RequiredError}
|
|
25474
26514
|
*/
|
|
25475
26515
|
configConfigureMunchiGiftCard: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
26516
|
+
/**
|
|
26517
|
+
*
|
|
26518
|
+
* @summary Get payment providers config
|
|
26519
|
+
* @param {number} businessId
|
|
26520
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26521
|
+
* @param {*} [options] Override http request option.
|
|
26522
|
+
* @throws {RequiredError}
|
|
26523
|
+
*/
|
|
26524
|
+
configGetProviders: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25476
26525
|
/**
|
|
25477
26526
|
*
|
|
25478
26527
|
* @summary Manual sync trigger
|
|
@@ -25550,6 +26599,16 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
25550
26599
|
* @throws {RequiredError}
|
|
25551
26600
|
*/
|
|
25552
26601
|
configUpsertPaymentOptions: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
26602
|
+
/**
|
|
26603
|
+
*
|
|
26604
|
+
* @summary Set active provider and upsert its credentials
|
|
26605
|
+
* @param {number} businessId
|
|
26606
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26607
|
+
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
26608
|
+
* @param {*} [options] Override http request option.
|
|
26609
|
+
* @throws {RequiredError}
|
|
26610
|
+
*/
|
|
26611
|
+
configUpsertProviders: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25553
26612
|
/**
|
|
25554
26613
|
*
|
|
25555
26614
|
* @summary Upsert Stripe payment config
|
|
@@ -25586,6 +26645,15 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
25586
26645
|
* @throws {RequiredError}
|
|
25587
26646
|
*/
|
|
25588
26647
|
configConfigureMunchiGiftCard(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>>;
|
|
26648
|
+
/**
|
|
26649
|
+
*
|
|
26650
|
+
* @summary Get payment providers config
|
|
26651
|
+
* @param {number} businessId
|
|
26652
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26653
|
+
* @param {*} [options] Override http request option.
|
|
26654
|
+
* @throws {RequiredError}
|
|
26655
|
+
*/
|
|
26656
|
+
configGetProviders(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvidersConfigResponseDto>>;
|
|
25589
26657
|
/**
|
|
25590
26658
|
*
|
|
25591
26659
|
* @summary Manual sync trigger
|
|
@@ -25663,6 +26731,16 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
25663
26731
|
* @throws {RequiredError}
|
|
25664
26732
|
*/
|
|
25665
26733
|
configUpsertPaymentOptions(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>>;
|
|
26734
|
+
/**
|
|
26735
|
+
*
|
|
26736
|
+
* @summary Set active provider and upsert its credentials
|
|
26737
|
+
* @param {number} businessId
|
|
26738
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26739
|
+
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
26740
|
+
* @param {*} [options] Override http request option.
|
|
26741
|
+
* @throws {RequiredError}
|
|
26742
|
+
*/
|
|
26743
|
+
configUpsertProviders(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvidersConfigResponseDto>>;
|
|
25666
26744
|
/**
|
|
25667
26745
|
*
|
|
25668
26746
|
* @summary Upsert Stripe payment config
|
|
@@ -25699,6 +26777,15 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
25699
26777
|
* @throws {RequiredError}
|
|
25700
26778
|
*/
|
|
25701
26779
|
configConfigureMunchiGiftCard(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
26780
|
+
/**
|
|
26781
|
+
*
|
|
26782
|
+
* @summary Get payment providers config
|
|
26783
|
+
* @param {number} businessId
|
|
26784
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26785
|
+
* @param {*} [options] Override http request option.
|
|
26786
|
+
* @throws {RequiredError}
|
|
26787
|
+
*/
|
|
26788
|
+
configGetProviders(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", options?: any): AxiosPromise<ProvidersConfigResponseDto>;
|
|
25702
26789
|
/**
|
|
25703
26790
|
*
|
|
25704
26791
|
* @summary Manual sync trigger
|
|
@@ -25776,6 +26863,16 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
25776
26863
|
* @throws {RequiredError}
|
|
25777
26864
|
*/
|
|
25778
26865
|
configUpsertPaymentOptions(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
26866
|
+
/**
|
|
26867
|
+
*
|
|
26868
|
+
* @summary Set active provider and upsert its credentials
|
|
26869
|
+
* @param {number} businessId
|
|
26870
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26871
|
+
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
26872
|
+
* @param {*} [options] Override http request option.
|
|
26873
|
+
* @throws {RequiredError}
|
|
26874
|
+
*/
|
|
26875
|
+
configUpsertProviders(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", upsertProvidersDto: UpsertProvidersDto, options?: any): AxiosPromise<ProvidersConfigResponseDto>;
|
|
25779
26876
|
/**
|
|
25780
26877
|
*
|
|
25781
26878
|
* @summary Upsert Stripe payment config
|
|
@@ -25814,6 +26911,16 @@ export interface ConfigManagementApiInterface {
|
|
|
25814
26911
|
* @memberof ConfigManagementApiInterface
|
|
25815
26912
|
*/
|
|
25816
26913
|
configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
26914
|
+
/**
|
|
26915
|
+
*
|
|
26916
|
+
* @summary Get payment providers config
|
|
26917
|
+
* @param {number} businessId
|
|
26918
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26919
|
+
* @param {*} [options] Override http request option.
|
|
26920
|
+
* @throws {RequiredError}
|
|
26921
|
+
* @memberof ConfigManagementApiInterface
|
|
26922
|
+
*/
|
|
26923
|
+
configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: AxiosRequestConfig): AxiosPromise<ProvidersConfigResponseDto>;
|
|
25817
26924
|
/**
|
|
25818
26925
|
*
|
|
25819
26926
|
* @summary Manual sync trigger
|
|
@@ -25899,6 +27006,17 @@ export interface ConfigManagementApiInterface {
|
|
|
25899
27006
|
* @memberof ConfigManagementApiInterface
|
|
25900
27007
|
*/
|
|
25901
27008
|
configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
27009
|
+
/**
|
|
27010
|
+
*
|
|
27011
|
+
* @summary Set active provider and upsert its credentials
|
|
27012
|
+
* @param {number} businessId
|
|
27013
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
27014
|
+
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
27015
|
+
* @param {*} [options] Override http request option.
|
|
27016
|
+
* @throws {RequiredError}
|
|
27017
|
+
* @memberof ConfigManagementApiInterface
|
|
27018
|
+
*/
|
|
27019
|
+
configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig): AxiosPromise<ProvidersConfigResponseDto>;
|
|
25902
27020
|
/**
|
|
25903
27021
|
*
|
|
25904
27022
|
* @summary Upsert Stripe payment config
|
|
@@ -25940,6 +27058,16 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
25940
27058
|
* @memberof ConfigManagementApi
|
|
25941
27059
|
*/
|
|
25942
27060
|
configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigManagementResponseDto, any, {}>>;
|
|
27061
|
+
/**
|
|
27062
|
+
*
|
|
27063
|
+
* @summary Get payment providers config
|
|
27064
|
+
* @param {number} businessId
|
|
27065
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
27066
|
+
* @param {*} [options] Override http request option.
|
|
27067
|
+
* @throws {RequiredError}
|
|
27068
|
+
* @memberof ConfigManagementApi
|
|
27069
|
+
*/
|
|
27070
|
+
configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProvidersConfigResponseDto, any, {}>>;
|
|
25943
27071
|
/**
|
|
25944
27072
|
*
|
|
25945
27073
|
* @summary Manual sync trigger
|
|
@@ -26025,6 +27153,17 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
26025
27153
|
* @memberof ConfigManagementApi
|
|
26026
27154
|
*/
|
|
26027
27155
|
configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigManagementResponseDto, any, {}>>;
|
|
27156
|
+
/**
|
|
27157
|
+
*
|
|
27158
|
+
* @summary Set active provider and upsert its credentials
|
|
27159
|
+
* @param {number} businessId
|
|
27160
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
27161
|
+
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
27162
|
+
* @param {*} [options] Override http request option.
|
|
27163
|
+
* @throws {RequiredError}
|
|
27164
|
+
* @memberof ConfigManagementApi
|
|
27165
|
+
*/
|
|
27166
|
+
configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProvidersConfigResponseDto, any, {}>>;
|
|
26028
27167
|
/**
|
|
26029
27168
|
*
|
|
26030
27169
|
* @summary Upsert Stripe payment config
|
|
@@ -30984,14 +32123,423 @@ export declare class PaymentApi extends BaseAPI implements PaymentApiInterface {
|
|
|
30984
32123
|
refundVivaTransactionV4(refundPayloadDtoV4: RefundPayloadDtoV4, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VivaPaymentResultDto, any, {}>>;
|
|
30985
32124
|
}
|
|
30986
32125
|
/**
|
|
30987
|
-
*
|
|
32126
|
+
* PaymentMethodsApi - axios parameter creator
|
|
30988
32127
|
* @export
|
|
30989
32128
|
*/
|
|
30990
|
-
export declare const
|
|
32129
|
+
export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
30991
32130
|
/**
|
|
30992
|
-
*
|
|
30993
|
-
* @
|
|
30994
|
-
* @param {
|
|
32131
|
+
*
|
|
32132
|
+
* @param {number} businessId
|
|
32133
|
+
* @param {ProviderEnum} channel
|
|
32134
|
+
* @param {CreatePaymentMethodDto} createPaymentMethodDto
|
|
32135
|
+
* @param {*} [options] Override http request option.
|
|
32136
|
+
* @throws {RequiredError}
|
|
32137
|
+
*/
|
|
32138
|
+
createPaymentMethod: (businessId: number, channel: ProviderEnum, createPaymentMethodDto: CreatePaymentMethodDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32139
|
+
/**
|
|
32140
|
+
*
|
|
32141
|
+
* @param {number} businessId
|
|
32142
|
+
* @param {ProviderEnum} channel
|
|
32143
|
+
* @param {string} id
|
|
32144
|
+
* @param {*} [options] Override http request option.
|
|
32145
|
+
* @throws {RequiredError}
|
|
32146
|
+
*/
|
|
32147
|
+
deletePaymentMethodOption: (businessId: number, channel: ProviderEnum, id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32148
|
+
/**
|
|
32149
|
+
*
|
|
32150
|
+
* @param {number} businessId
|
|
32151
|
+
* @param {ProviderEnum} channel
|
|
32152
|
+
* @param {any} [locale]
|
|
32153
|
+
* @param {*} [options] Override http request option.
|
|
32154
|
+
* @throws {RequiredError}
|
|
32155
|
+
*/
|
|
32156
|
+
getCatalog: (businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32157
|
+
/**
|
|
32158
|
+
*
|
|
32159
|
+
* @param {ProviderEnum} channel
|
|
32160
|
+
* @param {number} businessId
|
|
32161
|
+
* @param {any} [locale]
|
|
32162
|
+
* @param {*} [options] Override http request option.
|
|
32163
|
+
* @throws {RequiredError}
|
|
32164
|
+
*/
|
|
32165
|
+
getGlobalCatalog: (channel: ProviderEnum, businessId: number, locale?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32166
|
+
/**
|
|
32167
|
+
*
|
|
32168
|
+
* @param {number} businessId
|
|
32169
|
+
* @param {ProviderEnum} channel
|
|
32170
|
+
* @param {any} [locale]
|
|
32171
|
+
* @param {*} [options] Override http request option.
|
|
32172
|
+
* @throws {RequiredError}
|
|
32173
|
+
*/
|
|
32174
|
+
getPaymentMethods: (businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32175
|
+
/**
|
|
32176
|
+
*
|
|
32177
|
+
* @param {ProviderEnum} channel
|
|
32178
|
+
* @param {number} businessId
|
|
32179
|
+
* @param {*} [options] Override http request option.
|
|
32180
|
+
* @throws {RequiredError}
|
|
32181
|
+
*/
|
|
32182
|
+
getTypes: (channel: ProviderEnum, businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32183
|
+
/**
|
|
32184
|
+
*
|
|
32185
|
+
* @param {number} businessId
|
|
32186
|
+
* @param {ProviderEnum} channel
|
|
32187
|
+
* @param {BulkRankDto} bulkRankDto
|
|
32188
|
+
* @param {*} [options] Override http request option.
|
|
32189
|
+
* @throws {RequiredError}
|
|
32190
|
+
*/
|
|
32191
|
+
reorder: (businessId: number, channel: ProviderEnum, bulkRankDto: BulkRankDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32192
|
+
/**
|
|
32193
|
+
*
|
|
32194
|
+
* @param {number} businessId
|
|
32195
|
+
* @param {ProviderEnum} channel
|
|
32196
|
+
* @param {string} id
|
|
32197
|
+
* @param {UpdatePaymentMethodOptionDto} updatePaymentMethodOptionDto
|
|
32198
|
+
* @param {*} [options] Override http request option.
|
|
32199
|
+
* @throws {RequiredError}
|
|
32200
|
+
*/
|
|
32201
|
+
updatePaymentMethodOption: (businessId: number, channel: ProviderEnum, id: string, updatePaymentMethodOptionDto: UpdatePaymentMethodOptionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32202
|
+
};
|
|
32203
|
+
/**
|
|
32204
|
+
* PaymentMethodsApi - functional programming interface
|
|
32205
|
+
* @export
|
|
32206
|
+
*/
|
|
32207
|
+
export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
|
|
32208
|
+
/**
|
|
32209
|
+
*
|
|
32210
|
+
* @param {number} businessId
|
|
32211
|
+
* @param {ProviderEnum} channel
|
|
32212
|
+
* @param {CreatePaymentMethodDto} createPaymentMethodDto
|
|
32213
|
+
* @param {*} [options] Override http request option.
|
|
32214
|
+
* @throws {RequiredError}
|
|
32215
|
+
*/
|
|
32216
|
+
createPaymentMethod(businessId: number, channel: ProviderEnum, createPaymentMethodDto: CreatePaymentMethodDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentMethodDto>>;
|
|
32217
|
+
/**
|
|
32218
|
+
*
|
|
32219
|
+
* @param {number} businessId
|
|
32220
|
+
* @param {ProviderEnum} channel
|
|
32221
|
+
* @param {string} id
|
|
32222
|
+
* @param {*} [options] Override http request option.
|
|
32223
|
+
* @throws {RequiredError}
|
|
32224
|
+
*/
|
|
32225
|
+
deletePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
32226
|
+
/**
|
|
32227
|
+
*
|
|
32228
|
+
* @param {number} businessId
|
|
32229
|
+
* @param {ProviderEnum} channel
|
|
32230
|
+
* @param {any} [locale]
|
|
32231
|
+
* @param {*} [options] Override http request option.
|
|
32232
|
+
* @throws {RequiredError}
|
|
32233
|
+
*/
|
|
32234
|
+
getCatalog(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AvailablePaymentMethodDto>>>;
|
|
32235
|
+
/**
|
|
32236
|
+
*
|
|
32237
|
+
* @param {ProviderEnum} channel
|
|
32238
|
+
* @param {number} businessId
|
|
32239
|
+
* @param {any} [locale]
|
|
32240
|
+
* @param {*} [options] Override http request option.
|
|
32241
|
+
* @throws {RequiredError}
|
|
32242
|
+
*/
|
|
32243
|
+
getGlobalCatalog(channel: ProviderEnum, businessId: number, locale?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CatalogMethodDto>>>;
|
|
32244
|
+
/**
|
|
32245
|
+
*
|
|
32246
|
+
* @param {number} businessId
|
|
32247
|
+
* @param {ProviderEnum} channel
|
|
32248
|
+
* @param {any} [locale]
|
|
32249
|
+
* @param {*} [options] Override http request option.
|
|
32250
|
+
* @throws {RequiredError}
|
|
32251
|
+
*/
|
|
32252
|
+
getPaymentMethods(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PaymentMethodDto>>>;
|
|
32253
|
+
/**
|
|
32254
|
+
*
|
|
32255
|
+
* @param {ProviderEnum} channel
|
|
32256
|
+
* @param {number} businessId
|
|
32257
|
+
* @param {*} [options] Override http request option.
|
|
32258
|
+
* @throws {RequiredError}
|
|
32259
|
+
*/
|
|
32260
|
+
getTypes(channel: ProviderEnum, businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PaymentMethodTypeDto>>>;
|
|
32261
|
+
/**
|
|
32262
|
+
*
|
|
32263
|
+
* @param {number} businessId
|
|
32264
|
+
* @param {ProviderEnum} channel
|
|
32265
|
+
* @param {BulkRankDto} bulkRankDto
|
|
32266
|
+
* @param {*} [options] Override http request option.
|
|
32267
|
+
* @throws {RequiredError}
|
|
32268
|
+
*/
|
|
32269
|
+
reorder(businessId: number, channel: ProviderEnum, bulkRankDto: BulkRankDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
32270
|
+
/**
|
|
32271
|
+
*
|
|
32272
|
+
* @param {number} businessId
|
|
32273
|
+
* @param {ProviderEnum} channel
|
|
32274
|
+
* @param {string} id
|
|
32275
|
+
* @param {UpdatePaymentMethodOptionDto} updatePaymentMethodOptionDto
|
|
32276
|
+
* @param {*} [options] Override http request option.
|
|
32277
|
+
* @throws {RequiredError}
|
|
32278
|
+
*/
|
|
32279
|
+
updatePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, updatePaymentMethodOptionDto: UpdatePaymentMethodOptionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentMethodDto>>;
|
|
32280
|
+
};
|
|
32281
|
+
/**
|
|
32282
|
+
* PaymentMethodsApi - factory interface
|
|
32283
|
+
* @export
|
|
32284
|
+
*/
|
|
32285
|
+
export declare const PaymentMethodsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
32286
|
+
/**
|
|
32287
|
+
*
|
|
32288
|
+
* @param {number} businessId
|
|
32289
|
+
* @param {ProviderEnum} channel
|
|
32290
|
+
* @param {CreatePaymentMethodDto} createPaymentMethodDto
|
|
32291
|
+
* @param {*} [options] Override http request option.
|
|
32292
|
+
* @throws {RequiredError}
|
|
32293
|
+
*/
|
|
32294
|
+
createPaymentMethod(businessId: number, channel: ProviderEnum, createPaymentMethodDto: CreatePaymentMethodDto, options?: any): AxiosPromise<PaymentMethodDto>;
|
|
32295
|
+
/**
|
|
32296
|
+
*
|
|
32297
|
+
* @param {number} businessId
|
|
32298
|
+
* @param {ProviderEnum} channel
|
|
32299
|
+
* @param {string} id
|
|
32300
|
+
* @param {*} [options] Override http request option.
|
|
32301
|
+
* @throws {RequiredError}
|
|
32302
|
+
*/
|
|
32303
|
+
deletePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, options?: any): AxiosPromise<void>;
|
|
32304
|
+
/**
|
|
32305
|
+
*
|
|
32306
|
+
* @param {number} businessId
|
|
32307
|
+
* @param {ProviderEnum} channel
|
|
32308
|
+
* @param {any} [locale]
|
|
32309
|
+
* @param {*} [options] Override http request option.
|
|
32310
|
+
* @throws {RequiredError}
|
|
32311
|
+
*/
|
|
32312
|
+
getCatalog(businessId: number, channel: ProviderEnum, locale?: any, options?: any): AxiosPromise<Array<AvailablePaymentMethodDto>>;
|
|
32313
|
+
/**
|
|
32314
|
+
*
|
|
32315
|
+
* @param {ProviderEnum} channel
|
|
32316
|
+
* @param {number} businessId
|
|
32317
|
+
* @param {any} [locale]
|
|
32318
|
+
* @param {*} [options] Override http request option.
|
|
32319
|
+
* @throws {RequiredError}
|
|
32320
|
+
*/
|
|
32321
|
+
getGlobalCatalog(channel: ProviderEnum, businessId: number, locale?: any, options?: any): AxiosPromise<Array<CatalogMethodDto>>;
|
|
32322
|
+
/**
|
|
32323
|
+
*
|
|
32324
|
+
* @param {number} businessId
|
|
32325
|
+
* @param {ProviderEnum} channel
|
|
32326
|
+
* @param {any} [locale]
|
|
32327
|
+
* @param {*} [options] Override http request option.
|
|
32328
|
+
* @throws {RequiredError}
|
|
32329
|
+
*/
|
|
32330
|
+
getPaymentMethods(businessId: number, channel: ProviderEnum, locale?: any, options?: any): AxiosPromise<Array<PaymentMethodDto>>;
|
|
32331
|
+
/**
|
|
32332
|
+
*
|
|
32333
|
+
* @param {ProviderEnum} channel
|
|
32334
|
+
* @param {number} businessId
|
|
32335
|
+
* @param {*} [options] Override http request option.
|
|
32336
|
+
* @throws {RequiredError}
|
|
32337
|
+
*/
|
|
32338
|
+
getTypes(channel: ProviderEnum, businessId: number, options?: any): AxiosPromise<Array<PaymentMethodTypeDto>>;
|
|
32339
|
+
/**
|
|
32340
|
+
*
|
|
32341
|
+
* @param {number} businessId
|
|
32342
|
+
* @param {ProviderEnum} channel
|
|
32343
|
+
* @param {BulkRankDto} bulkRankDto
|
|
32344
|
+
* @param {*} [options] Override http request option.
|
|
32345
|
+
* @throws {RequiredError}
|
|
32346
|
+
*/
|
|
32347
|
+
reorder(businessId: number, channel: ProviderEnum, bulkRankDto: BulkRankDto, options?: any): AxiosPromise<void>;
|
|
32348
|
+
/**
|
|
32349
|
+
*
|
|
32350
|
+
* @param {number} businessId
|
|
32351
|
+
* @param {ProviderEnum} channel
|
|
32352
|
+
* @param {string} id
|
|
32353
|
+
* @param {UpdatePaymentMethodOptionDto} updatePaymentMethodOptionDto
|
|
32354
|
+
* @param {*} [options] Override http request option.
|
|
32355
|
+
* @throws {RequiredError}
|
|
32356
|
+
*/
|
|
32357
|
+
updatePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, updatePaymentMethodOptionDto: UpdatePaymentMethodOptionDto, options?: any): AxiosPromise<PaymentMethodDto>;
|
|
32358
|
+
};
|
|
32359
|
+
/**
|
|
32360
|
+
* PaymentMethodsApi - interface
|
|
32361
|
+
* @export
|
|
32362
|
+
* @interface PaymentMethodsApi
|
|
32363
|
+
*/
|
|
32364
|
+
export interface PaymentMethodsApiInterface {
|
|
32365
|
+
/**
|
|
32366
|
+
*
|
|
32367
|
+
* @param {number} businessId
|
|
32368
|
+
* @param {ProviderEnum} channel
|
|
32369
|
+
* @param {CreatePaymentMethodDto} createPaymentMethodDto
|
|
32370
|
+
* @param {*} [options] Override http request option.
|
|
32371
|
+
* @throws {RequiredError}
|
|
32372
|
+
* @memberof PaymentMethodsApiInterface
|
|
32373
|
+
*/
|
|
32374
|
+
createPaymentMethod(businessId: number, channel: ProviderEnum, createPaymentMethodDto: CreatePaymentMethodDto, options?: AxiosRequestConfig): AxiosPromise<PaymentMethodDto>;
|
|
32375
|
+
/**
|
|
32376
|
+
*
|
|
32377
|
+
* @param {number} businessId
|
|
32378
|
+
* @param {ProviderEnum} channel
|
|
32379
|
+
* @param {string} id
|
|
32380
|
+
* @param {*} [options] Override http request option.
|
|
32381
|
+
* @throws {RequiredError}
|
|
32382
|
+
* @memberof PaymentMethodsApiInterface
|
|
32383
|
+
*/
|
|
32384
|
+
deletePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
32385
|
+
/**
|
|
32386
|
+
*
|
|
32387
|
+
* @param {number} businessId
|
|
32388
|
+
* @param {ProviderEnum} channel
|
|
32389
|
+
* @param {any} [locale]
|
|
32390
|
+
* @param {*} [options] Override http request option.
|
|
32391
|
+
* @throws {RequiredError}
|
|
32392
|
+
* @memberof PaymentMethodsApiInterface
|
|
32393
|
+
*/
|
|
32394
|
+
getCatalog(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): AxiosPromise<Array<AvailablePaymentMethodDto>>;
|
|
32395
|
+
/**
|
|
32396
|
+
*
|
|
32397
|
+
* @param {ProviderEnum} channel
|
|
32398
|
+
* @param {number} businessId
|
|
32399
|
+
* @param {any} [locale]
|
|
32400
|
+
* @param {*} [options] Override http request option.
|
|
32401
|
+
* @throws {RequiredError}
|
|
32402
|
+
* @memberof PaymentMethodsApiInterface
|
|
32403
|
+
*/
|
|
32404
|
+
getGlobalCatalog(channel: ProviderEnum, businessId: number, locale?: any, options?: AxiosRequestConfig): AxiosPromise<Array<CatalogMethodDto>>;
|
|
32405
|
+
/**
|
|
32406
|
+
*
|
|
32407
|
+
* @param {number} businessId
|
|
32408
|
+
* @param {ProviderEnum} channel
|
|
32409
|
+
* @param {any} [locale]
|
|
32410
|
+
* @param {*} [options] Override http request option.
|
|
32411
|
+
* @throws {RequiredError}
|
|
32412
|
+
* @memberof PaymentMethodsApiInterface
|
|
32413
|
+
*/
|
|
32414
|
+
getPaymentMethods(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): AxiosPromise<Array<PaymentMethodDto>>;
|
|
32415
|
+
/**
|
|
32416
|
+
*
|
|
32417
|
+
* @param {ProviderEnum} channel
|
|
32418
|
+
* @param {number} businessId
|
|
32419
|
+
* @param {*} [options] Override http request option.
|
|
32420
|
+
* @throws {RequiredError}
|
|
32421
|
+
* @memberof PaymentMethodsApiInterface
|
|
32422
|
+
*/
|
|
32423
|
+
getTypes(channel: ProviderEnum, businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<PaymentMethodTypeDto>>;
|
|
32424
|
+
/**
|
|
32425
|
+
*
|
|
32426
|
+
* @param {number} businessId
|
|
32427
|
+
* @param {ProviderEnum} channel
|
|
32428
|
+
* @param {BulkRankDto} bulkRankDto
|
|
32429
|
+
* @param {*} [options] Override http request option.
|
|
32430
|
+
* @throws {RequiredError}
|
|
32431
|
+
* @memberof PaymentMethodsApiInterface
|
|
32432
|
+
*/
|
|
32433
|
+
reorder(businessId: number, channel: ProviderEnum, bulkRankDto: BulkRankDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
32434
|
+
/**
|
|
32435
|
+
*
|
|
32436
|
+
* @param {number} businessId
|
|
32437
|
+
* @param {ProviderEnum} channel
|
|
32438
|
+
* @param {string} id
|
|
32439
|
+
* @param {UpdatePaymentMethodOptionDto} updatePaymentMethodOptionDto
|
|
32440
|
+
* @param {*} [options] Override http request option.
|
|
32441
|
+
* @throws {RequiredError}
|
|
32442
|
+
* @memberof PaymentMethodsApiInterface
|
|
32443
|
+
*/
|
|
32444
|
+
updatePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, updatePaymentMethodOptionDto: UpdatePaymentMethodOptionDto, options?: AxiosRequestConfig): AxiosPromise<PaymentMethodDto>;
|
|
32445
|
+
}
|
|
32446
|
+
/**
|
|
32447
|
+
* PaymentMethodsApi - object-oriented interface
|
|
32448
|
+
* @export
|
|
32449
|
+
* @class PaymentMethodsApi
|
|
32450
|
+
* @extends {BaseAPI}
|
|
32451
|
+
*/
|
|
32452
|
+
export declare class PaymentMethodsApi extends BaseAPI implements PaymentMethodsApiInterface {
|
|
32453
|
+
/**
|
|
32454
|
+
*
|
|
32455
|
+
* @param {number} businessId
|
|
32456
|
+
* @param {ProviderEnum} channel
|
|
32457
|
+
* @param {CreatePaymentMethodDto} createPaymentMethodDto
|
|
32458
|
+
* @param {*} [options] Override http request option.
|
|
32459
|
+
* @throws {RequiredError}
|
|
32460
|
+
* @memberof PaymentMethodsApi
|
|
32461
|
+
*/
|
|
32462
|
+
createPaymentMethod(businessId: number, channel: ProviderEnum, createPaymentMethodDto: CreatePaymentMethodDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodDto, any, {}>>;
|
|
32463
|
+
/**
|
|
32464
|
+
*
|
|
32465
|
+
* @param {number} businessId
|
|
32466
|
+
* @param {ProviderEnum} channel
|
|
32467
|
+
* @param {string} id
|
|
32468
|
+
* @param {*} [options] Override http request option.
|
|
32469
|
+
* @throws {RequiredError}
|
|
32470
|
+
* @memberof PaymentMethodsApi
|
|
32471
|
+
*/
|
|
32472
|
+
deletePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
32473
|
+
/**
|
|
32474
|
+
*
|
|
32475
|
+
* @param {number} businessId
|
|
32476
|
+
* @param {ProviderEnum} channel
|
|
32477
|
+
* @param {any} [locale]
|
|
32478
|
+
* @param {*} [options] Override http request option.
|
|
32479
|
+
* @throws {RequiredError}
|
|
32480
|
+
* @memberof PaymentMethodsApi
|
|
32481
|
+
*/
|
|
32482
|
+
getCatalog(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AvailablePaymentMethodDto[], any, {}>>;
|
|
32483
|
+
/**
|
|
32484
|
+
*
|
|
32485
|
+
* @param {ProviderEnum} channel
|
|
32486
|
+
* @param {number} businessId
|
|
32487
|
+
* @param {any} [locale]
|
|
32488
|
+
* @param {*} [options] Override http request option.
|
|
32489
|
+
* @throws {RequiredError}
|
|
32490
|
+
* @memberof PaymentMethodsApi
|
|
32491
|
+
*/
|
|
32492
|
+
getGlobalCatalog(channel: ProviderEnum, businessId: number, locale?: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CatalogMethodDto[], any, {}>>;
|
|
32493
|
+
/**
|
|
32494
|
+
*
|
|
32495
|
+
* @param {number} businessId
|
|
32496
|
+
* @param {ProviderEnum} channel
|
|
32497
|
+
* @param {any} [locale]
|
|
32498
|
+
* @param {*} [options] Override http request option.
|
|
32499
|
+
* @throws {RequiredError}
|
|
32500
|
+
* @memberof PaymentMethodsApi
|
|
32501
|
+
*/
|
|
32502
|
+
getPaymentMethods(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodDto[], any, {}>>;
|
|
32503
|
+
/**
|
|
32504
|
+
*
|
|
32505
|
+
* @param {ProviderEnum} channel
|
|
32506
|
+
* @param {number} businessId
|
|
32507
|
+
* @param {*} [options] Override http request option.
|
|
32508
|
+
* @throws {RequiredError}
|
|
32509
|
+
* @memberof PaymentMethodsApi
|
|
32510
|
+
*/
|
|
32511
|
+
getTypes(channel: ProviderEnum, businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodTypeDto[], any, {}>>;
|
|
32512
|
+
/**
|
|
32513
|
+
*
|
|
32514
|
+
* @param {number} businessId
|
|
32515
|
+
* @param {ProviderEnum} channel
|
|
32516
|
+
* @param {BulkRankDto} bulkRankDto
|
|
32517
|
+
* @param {*} [options] Override http request option.
|
|
32518
|
+
* @throws {RequiredError}
|
|
32519
|
+
* @memberof PaymentMethodsApi
|
|
32520
|
+
*/
|
|
32521
|
+
reorder(businessId: number, channel: ProviderEnum, bulkRankDto: BulkRankDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
32522
|
+
/**
|
|
32523
|
+
*
|
|
32524
|
+
* @param {number} businessId
|
|
32525
|
+
* @param {ProviderEnum} channel
|
|
32526
|
+
* @param {string} id
|
|
32527
|
+
* @param {UpdatePaymentMethodOptionDto} updatePaymentMethodOptionDto
|
|
32528
|
+
* @param {*} [options] Override http request option.
|
|
32529
|
+
* @throws {RequiredError}
|
|
32530
|
+
* @memberof PaymentMethodsApi
|
|
32531
|
+
*/
|
|
32532
|
+
updatePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, updatePaymentMethodOptionDto: UpdatePaymentMethodOptionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodDto, any, {}>>;
|
|
32533
|
+
}
|
|
32534
|
+
/**
|
|
32535
|
+
* PaymentSessionApi - axios parameter creator
|
|
32536
|
+
* @export
|
|
32537
|
+
*/
|
|
32538
|
+
export declare const PaymentSessionApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
32539
|
+
/**
|
|
32540
|
+
* Arms cancelRequestedAt + aborts the Viva terminal session. Does not flip status — the webhook/sweep resolves the real outcome, and a late success is auto-voided. Viva card only.
|
|
32541
|
+
* @summary Cancel an in-flight Viva payment session
|
|
32542
|
+
* @param {string} clientToken
|
|
30995
32543
|
* @param {*} [options] Override http request option.
|
|
30996
32544
|
* @throws {RequiredError}
|
|
30997
32545
|
*/
|
|
@@ -32160,102 +33708,317 @@ export declare class ProviderApi extends BaseAPI implements ProviderApiInterface
|
|
|
32160
33708
|
* @param {number} businessId
|
|
32161
33709
|
* @param {*} [options] Override http request option.
|
|
32162
33710
|
* @throws {RequiredError}
|
|
32163
|
-
* @memberof ProviderApi
|
|
33711
|
+
* @memberof ProviderApi
|
|
33712
|
+
*/
|
|
33713
|
+
getSupportedChannels(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSupportedChannelsResponseDto, any, {}>>;
|
|
33714
|
+
/**
|
|
33715
|
+
*
|
|
33716
|
+
* @param {object} body
|
|
33717
|
+
* @param {*} [options] Override http request option.
|
|
33718
|
+
* @throws {RequiredError}
|
|
33719
|
+
* @memberof ProviderApi
|
|
33720
|
+
*/
|
|
33721
|
+
registerCredential(body: object, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
33722
|
+
/**
|
|
33723
|
+
*
|
|
33724
|
+
* @param {object} body
|
|
33725
|
+
* @param {*} [options] Override http request option.
|
|
33726
|
+
* @throws {RequiredError}
|
|
33727
|
+
* @memberof ProviderApi
|
|
33728
|
+
*/
|
|
33729
|
+
registerProvider(body: object, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
33730
|
+
}
|
|
33731
|
+
/**
|
|
33732
|
+
* RefundsApi - axios parameter creator
|
|
33733
|
+
* @export
|
|
33734
|
+
*/
|
|
33735
|
+
export declare const RefundsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
33736
|
+
/**
|
|
33737
|
+
*
|
|
33738
|
+
* @param {string} businessId
|
|
33739
|
+
* @param {string} orderId
|
|
33740
|
+
* @param {string} refundId
|
|
33741
|
+
* @param {*} [options] Override http request option.
|
|
33742
|
+
* @throws {RequiredError}
|
|
33743
|
+
*/
|
|
33744
|
+
cancelPlan: (businessId: string, orderId: string, refundId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33745
|
+
/**
|
|
33746
|
+
*
|
|
33747
|
+
* @summary
|
|
33748
|
+
* @param {string} businessId
|
|
33749
|
+
* @param {string} orderId
|
|
33750
|
+
* @param {string} refundId
|
|
33751
|
+
* @param {*} [options] Override http request option.
|
|
33752
|
+
* @throws {RequiredError}
|
|
33753
|
+
*/
|
|
33754
|
+
cancelPlanV2: (businessId: string, orderId: string, refundId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33755
|
+
/**
|
|
33756
|
+
*
|
|
33757
|
+
* @param {string} businessId
|
|
33758
|
+
* @param {string} orderId
|
|
33759
|
+
* @param {CreateRefundPlanDto} createRefundPlanDto
|
|
33760
|
+
* @param {*} [options] Override http request option.
|
|
33761
|
+
* @throws {RequiredError}
|
|
33762
|
+
*/
|
|
33763
|
+
createRefundPlan: (businessId: string, orderId: string, createRefundPlanDto: CreateRefundPlanDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33764
|
+
/**
|
|
33765
|
+
*
|
|
33766
|
+
* @summary
|
|
33767
|
+
* @param {string} businessId
|
|
33768
|
+
* @param {string} orderId
|
|
33769
|
+
* @param {CreateRefundPlanDto} createRefundPlanDto
|
|
33770
|
+
* @param {*} [options] Override http request option.
|
|
33771
|
+
* @throws {RequiredError}
|
|
33772
|
+
*/
|
|
33773
|
+
createRefundPlanV2: (businessId: string, orderId: string, createRefundPlanDto: CreateRefundPlanDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33774
|
+
/**
|
|
33775
|
+
*
|
|
33776
|
+
* @param {string} businessId
|
|
33777
|
+
* @param {string} orderId
|
|
33778
|
+
* @param {any} status
|
|
33779
|
+
* @param {*} [options] Override http request option.
|
|
33780
|
+
* @throws {RequiredError}
|
|
33781
|
+
*/
|
|
33782
|
+
getRefundPlan: (businessId: string, orderId: string, status: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33783
|
+
/**
|
|
33784
|
+
*
|
|
33785
|
+
* @summary
|
|
33786
|
+
* @param {string} businessId
|
|
33787
|
+
* @param {string} orderId
|
|
33788
|
+
* @param {any} status
|
|
33789
|
+
* @param {*} [options] Override http request option.
|
|
33790
|
+
* @throws {RequiredError}
|
|
33791
|
+
*/
|
|
33792
|
+
getRefundPlanV2: (businessId: string, orderId: string, status: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33793
|
+
/**
|
|
33794
|
+
*
|
|
33795
|
+
* @param {string} businessId
|
|
33796
|
+
* @param {string} orderId
|
|
33797
|
+
* @param {string} refundId
|
|
33798
|
+
* @param {CompletedStepDto} completedStepDto
|
|
33799
|
+
* @param {*} [options] Override http request option.
|
|
33800
|
+
* @throws {RequiredError}
|
|
33801
|
+
*/
|
|
33802
|
+
recordRefundPlan: (businessId: string, orderId: string, refundId: string, completedStepDto: CompletedStepDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33803
|
+
/**
|
|
33804
|
+
*
|
|
33805
|
+
* @summary
|
|
33806
|
+
* @param {string} businessId
|
|
33807
|
+
* @param {string} orderId
|
|
33808
|
+
* @param {string} refundId
|
|
33809
|
+
* @param {CompletedStepDto} completedStepDto
|
|
33810
|
+
* @param {*} [options] Override http request option.
|
|
33811
|
+
* @throws {RequiredError}
|
|
33812
|
+
*/
|
|
33813
|
+
recordRefundPlanV2: (businessId: string, orderId: string, refundId: string, completedStepDto: CompletedStepDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33814
|
+
/**
|
|
33815
|
+
*
|
|
33816
|
+
* @param {string} businessId
|
|
33817
|
+
* @param {string} orderId
|
|
33818
|
+
* @param {any} provider
|
|
33819
|
+
* @param {*} [options] Override http request option.
|
|
33820
|
+
* @throws {RequiredError}
|
|
33821
|
+
*/
|
|
33822
|
+
refundOnlineOrder: (businessId: string, orderId: string, provider: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33823
|
+
/**
|
|
33824
|
+
*
|
|
33825
|
+
* @summary
|
|
33826
|
+
* @param {string} businessId
|
|
33827
|
+
* @param {string} orderId
|
|
33828
|
+
* @param {any} provider
|
|
33829
|
+
* @param {*} [options] Override http request option.
|
|
33830
|
+
* @throws {RequiredError}
|
|
33831
|
+
*/
|
|
33832
|
+
refundOnlineOrderV2: (businessId: string, orderId: string, provider: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33833
|
+
/**
|
|
33834
|
+
*
|
|
33835
|
+
* @param {string} businessId
|
|
33836
|
+
* @param {string} orderId
|
|
33837
|
+
* @param {string} refundId
|
|
33838
|
+
* @param {ResolveChoiceDto} resolveChoiceDto
|
|
33839
|
+
* @param {*} [options] Override http request option.
|
|
33840
|
+
* @throws {RequiredError}
|
|
33841
|
+
*/
|
|
33842
|
+
resolveRefundChoice: (businessId: string, orderId: string, refundId: string, resolveChoiceDto: ResolveChoiceDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33843
|
+
/**
|
|
33844
|
+
*
|
|
33845
|
+
* @summary
|
|
33846
|
+
* @param {string} businessId
|
|
33847
|
+
* @param {string} orderId
|
|
33848
|
+
* @param {string} refundId
|
|
33849
|
+
* @param {ResolveChoiceDto} resolveChoiceDto
|
|
33850
|
+
* @param {*} [options] Override http request option.
|
|
33851
|
+
* @throws {RequiredError}
|
|
33852
|
+
*/
|
|
33853
|
+
resolveRefundChoiceV2: (businessId: string, orderId: string, refundId: string, resolveChoiceDto: ResolveChoiceDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33854
|
+
/**
|
|
33855
|
+
*
|
|
33856
|
+
* @param {string} businessId
|
|
33857
|
+
* @param {string} orderId
|
|
33858
|
+
* @param {string} refundId
|
|
33859
|
+
* @param {*} [options] Override http request option.
|
|
33860
|
+
* @throws {RequiredError}
|
|
33861
|
+
*/
|
|
33862
|
+
startProcessPlan: (businessId: string, orderId: string, refundId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33863
|
+
/**
|
|
33864
|
+
*
|
|
33865
|
+
* @summary
|
|
33866
|
+
* @param {string} businessId
|
|
33867
|
+
* @param {string} orderId
|
|
33868
|
+
* @param {string} refundId
|
|
33869
|
+
* @param {*} [options] Override http request option.
|
|
33870
|
+
* @throws {RequiredError}
|
|
33871
|
+
*/
|
|
33872
|
+
startProcessPlanV2: (businessId: string, orderId: string, refundId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33873
|
+
};
|
|
33874
|
+
/**
|
|
33875
|
+
* RefundsApi - functional programming interface
|
|
33876
|
+
* @export
|
|
33877
|
+
*/
|
|
33878
|
+
export declare const RefundsApiFp: (configuration?: Configuration) => {
|
|
33879
|
+
/**
|
|
33880
|
+
*
|
|
33881
|
+
* @param {string} businessId
|
|
33882
|
+
* @param {string} orderId
|
|
33883
|
+
* @param {string} refundId
|
|
33884
|
+
* @param {*} [options] Override http request option.
|
|
33885
|
+
* @throws {RequiredError}
|
|
33886
|
+
*/
|
|
33887
|
+
cancelPlan(businessId: string, orderId: string, refundId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
33888
|
+
/**
|
|
33889
|
+
*
|
|
33890
|
+
* @summary
|
|
33891
|
+
* @param {string} businessId
|
|
33892
|
+
* @param {string} orderId
|
|
33893
|
+
* @param {string} refundId
|
|
33894
|
+
* @param {*} [options] Override http request option.
|
|
33895
|
+
* @throws {RequiredError}
|
|
33896
|
+
*/
|
|
33897
|
+
cancelPlanV2(businessId: string, orderId: string, refundId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
33898
|
+
/**
|
|
33899
|
+
*
|
|
33900
|
+
* @param {string} businessId
|
|
33901
|
+
* @param {string} orderId
|
|
33902
|
+
* @param {CreateRefundPlanDto} createRefundPlanDto
|
|
33903
|
+
* @param {*} [options] Override http request option.
|
|
33904
|
+
* @throws {RequiredError}
|
|
33905
|
+
*/
|
|
33906
|
+
createRefundPlan(businessId: string, orderId: string, createRefundPlanDto: CreateRefundPlanDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RefundPlanDto>>;
|
|
33907
|
+
/**
|
|
33908
|
+
*
|
|
33909
|
+
* @summary
|
|
33910
|
+
* @param {string} businessId
|
|
33911
|
+
* @param {string} orderId
|
|
33912
|
+
* @param {CreateRefundPlanDto} createRefundPlanDto
|
|
33913
|
+
* @param {*} [options] Override http request option.
|
|
33914
|
+
* @throws {RequiredError}
|
|
33915
|
+
*/
|
|
33916
|
+
createRefundPlanV2(businessId: string, orderId: string, createRefundPlanDto: CreateRefundPlanDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RefundPlanDto>>;
|
|
33917
|
+
/**
|
|
33918
|
+
*
|
|
33919
|
+
* @param {string} businessId
|
|
33920
|
+
* @param {string} orderId
|
|
33921
|
+
* @param {any} status
|
|
33922
|
+
* @param {*} [options] Override http request option.
|
|
33923
|
+
* @throws {RequiredError}
|
|
32164
33924
|
*/
|
|
32165
|
-
|
|
33925
|
+
getRefundPlan(businessId: string, orderId: string, status: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RefundPlanDto>>>;
|
|
32166
33926
|
/**
|
|
32167
33927
|
*
|
|
32168
|
-
* @
|
|
33928
|
+
* @summary
|
|
33929
|
+
* @param {string} businessId
|
|
33930
|
+
* @param {string} orderId
|
|
33931
|
+
* @param {any} status
|
|
32169
33932
|
* @param {*} [options] Override http request option.
|
|
32170
33933
|
* @throws {RequiredError}
|
|
32171
|
-
* @memberof ProviderApi
|
|
32172
33934
|
*/
|
|
32173
|
-
|
|
33935
|
+
getRefundPlanV2(businessId: string, orderId: string, status: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RefundPlanDto>>>;
|
|
32174
33936
|
/**
|
|
32175
33937
|
*
|
|
32176
|
-
* @param {
|
|
33938
|
+
* @param {string} businessId
|
|
33939
|
+
* @param {string} orderId
|
|
33940
|
+
* @param {string} refundId
|
|
33941
|
+
* @param {CompletedStepDto} completedStepDto
|
|
32177
33942
|
* @param {*} [options] Override http request option.
|
|
32178
33943
|
* @throws {RequiredError}
|
|
32179
|
-
* @memberof ProviderApi
|
|
32180
33944
|
*/
|
|
32181
|
-
|
|
32182
|
-
}
|
|
32183
|
-
/**
|
|
32184
|
-
* RefundsApi - axios parameter creator
|
|
32185
|
-
* @export
|
|
32186
|
-
*/
|
|
32187
|
-
export declare const RefundsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
33945
|
+
recordRefundPlan(businessId: string, orderId: string, refundId: string, completedStepDto: CompletedStepDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RefundPlanDto>>;
|
|
32188
33946
|
/**
|
|
32189
33947
|
*
|
|
33948
|
+
* @summary
|
|
32190
33949
|
* @param {string} businessId
|
|
32191
33950
|
* @param {string} orderId
|
|
32192
33951
|
* @param {string} refundId
|
|
33952
|
+
* @param {CompletedStepDto} completedStepDto
|
|
32193
33953
|
* @param {*} [options] Override http request option.
|
|
32194
33954
|
* @throws {RequiredError}
|
|
32195
33955
|
*/
|
|
32196
|
-
|
|
33956
|
+
recordRefundPlanV2(businessId: string, orderId: string, refundId: string, completedStepDto: CompletedStepDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RefundPlanDto>>;
|
|
32197
33957
|
/**
|
|
32198
33958
|
*
|
|
32199
33959
|
* @param {string} businessId
|
|
32200
33960
|
* @param {string} orderId
|
|
32201
|
-
* @param {
|
|
33961
|
+
* @param {any} provider
|
|
32202
33962
|
* @param {*} [options] Override http request option.
|
|
32203
33963
|
* @throws {RequiredError}
|
|
32204
33964
|
*/
|
|
32205
|
-
|
|
33965
|
+
refundOnlineOrder(businessId: string, orderId: string, provider: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
32206
33966
|
/**
|
|
32207
33967
|
*
|
|
33968
|
+
* @summary
|
|
32208
33969
|
* @param {string} businessId
|
|
32209
33970
|
* @param {string} orderId
|
|
32210
|
-
* @param {any}
|
|
33971
|
+
* @param {any} provider
|
|
32211
33972
|
* @param {*} [options] Override http request option.
|
|
32212
33973
|
* @throws {RequiredError}
|
|
32213
33974
|
*/
|
|
32214
|
-
|
|
33975
|
+
refundOnlineOrderV2(businessId: string, orderId: string, provider: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
32215
33976
|
/**
|
|
32216
33977
|
*
|
|
32217
33978
|
* @param {string} businessId
|
|
32218
33979
|
* @param {string} orderId
|
|
32219
33980
|
* @param {string} refundId
|
|
32220
|
-
* @param {
|
|
33981
|
+
* @param {ResolveChoiceDto} resolveChoiceDto
|
|
32221
33982
|
* @param {*} [options] Override http request option.
|
|
32222
33983
|
* @throws {RequiredError}
|
|
32223
33984
|
*/
|
|
32224
|
-
|
|
33985
|
+
resolveRefundChoice(businessId: string, orderId: string, refundId: string, resolveChoiceDto: ResolveChoiceDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RefundPlanDto>>;
|
|
32225
33986
|
/**
|
|
32226
33987
|
*
|
|
33988
|
+
* @summary
|
|
32227
33989
|
* @param {string} businessId
|
|
32228
33990
|
* @param {string} orderId
|
|
32229
|
-
* @param {
|
|
33991
|
+
* @param {string} refundId
|
|
33992
|
+
* @param {ResolveChoiceDto} resolveChoiceDto
|
|
32230
33993
|
* @param {*} [options] Override http request option.
|
|
32231
33994
|
* @throws {RequiredError}
|
|
32232
33995
|
*/
|
|
32233
|
-
|
|
33996
|
+
resolveRefundChoiceV2(businessId: string, orderId: string, refundId: string, resolveChoiceDto: ResolveChoiceDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RefundPlanDto>>;
|
|
32234
33997
|
/**
|
|
32235
33998
|
*
|
|
32236
33999
|
* @param {string} businessId
|
|
32237
34000
|
* @param {string} orderId
|
|
32238
34001
|
* @param {string} refundId
|
|
32239
|
-
* @param {ResolveChoiceDto} resolveChoiceDto
|
|
32240
34002
|
* @param {*} [options] Override http request option.
|
|
32241
34003
|
* @throws {RequiredError}
|
|
32242
34004
|
*/
|
|
32243
|
-
|
|
34005
|
+
startProcessPlan(businessId: string, orderId: string, refundId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RefundPlanDto>>;
|
|
32244
34006
|
/**
|
|
32245
34007
|
*
|
|
34008
|
+
* @summary
|
|
32246
34009
|
* @param {string} businessId
|
|
32247
34010
|
* @param {string} orderId
|
|
32248
34011
|
* @param {string} refundId
|
|
32249
34012
|
* @param {*} [options] Override http request option.
|
|
32250
34013
|
* @throws {RequiredError}
|
|
32251
34014
|
*/
|
|
32252
|
-
|
|
34015
|
+
startProcessPlanV2(businessId: string, orderId: string, refundId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RefundPlanDto>>;
|
|
32253
34016
|
};
|
|
32254
34017
|
/**
|
|
32255
|
-
* RefundsApi -
|
|
34018
|
+
* RefundsApi - factory interface
|
|
32256
34019
|
* @export
|
|
32257
34020
|
*/
|
|
32258
|
-
export declare const
|
|
34021
|
+
export declare const RefundsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
32259
34022
|
/**
|
|
32260
34023
|
*
|
|
32261
34024
|
* @param {string} businessId
|
|
@@ -32264,134 +34027,135 @@ export declare const RefundsApiFp: (configuration?: Configuration) => {
|
|
|
32264
34027
|
* @param {*} [options] Override http request option.
|
|
32265
34028
|
* @throws {RequiredError}
|
|
32266
34029
|
*/
|
|
32267
|
-
cancelPlan(businessId: string, orderId: string, refundId: string, options?:
|
|
34030
|
+
cancelPlan(businessId: string, orderId: string, refundId: string, options?: any): AxiosPromise<void>;
|
|
32268
34031
|
/**
|
|
32269
34032
|
*
|
|
34033
|
+
* @summary
|
|
32270
34034
|
* @param {string} businessId
|
|
32271
34035
|
* @param {string} orderId
|
|
32272
|
-
* @param {
|
|
34036
|
+
* @param {string} refundId
|
|
32273
34037
|
* @param {*} [options] Override http request option.
|
|
32274
34038
|
* @throws {RequiredError}
|
|
32275
34039
|
*/
|
|
32276
|
-
|
|
34040
|
+
cancelPlanV2(businessId: string, orderId: string, refundId: string, options?: any): AxiosPromise<void>;
|
|
32277
34041
|
/**
|
|
32278
34042
|
*
|
|
32279
34043
|
* @param {string} businessId
|
|
32280
34044
|
* @param {string} orderId
|
|
32281
|
-
* @param {
|
|
34045
|
+
* @param {CreateRefundPlanDto} createRefundPlanDto
|
|
32282
34046
|
* @param {*} [options] Override http request option.
|
|
32283
34047
|
* @throws {RequiredError}
|
|
32284
34048
|
*/
|
|
32285
|
-
|
|
34049
|
+
createRefundPlan(businessId: string, orderId: string, createRefundPlanDto: CreateRefundPlanDto, options?: any): AxiosPromise<RefundPlanDto>;
|
|
32286
34050
|
/**
|
|
32287
34051
|
*
|
|
34052
|
+
* @summary
|
|
32288
34053
|
* @param {string} businessId
|
|
32289
34054
|
* @param {string} orderId
|
|
32290
|
-
* @param {
|
|
32291
|
-
* @param {CompletedStepDto} completedStepDto
|
|
34055
|
+
* @param {CreateRefundPlanDto} createRefundPlanDto
|
|
32292
34056
|
* @param {*} [options] Override http request option.
|
|
32293
34057
|
* @throws {RequiredError}
|
|
32294
34058
|
*/
|
|
32295
|
-
|
|
34059
|
+
createRefundPlanV2(businessId: string, orderId: string, createRefundPlanDto: CreateRefundPlanDto, options?: any): AxiosPromise<RefundPlanDto>;
|
|
32296
34060
|
/**
|
|
32297
34061
|
*
|
|
32298
34062
|
* @param {string} businessId
|
|
32299
34063
|
* @param {string} orderId
|
|
32300
|
-
* @param {any}
|
|
34064
|
+
* @param {any} status
|
|
32301
34065
|
* @param {*} [options] Override http request option.
|
|
32302
34066
|
* @throws {RequiredError}
|
|
32303
34067
|
*/
|
|
32304
|
-
|
|
34068
|
+
getRefundPlan(businessId: string, orderId: string, status: any, options?: any): AxiosPromise<Array<RefundPlanDto>>;
|
|
32305
34069
|
/**
|
|
32306
34070
|
*
|
|
34071
|
+
* @summary
|
|
32307
34072
|
* @param {string} businessId
|
|
32308
34073
|
* @param {string} orderId
|
|
32309
|
-
* @param {
|
|
32310
|
-
* @param {ResolveChoiceDto} resolveChoiceDto
|
|
34074
|
+
* @param {any} status
|
|
32311
34075
|
* @param {*} [options] Override http request option.
|
|
32312
34076
|
* @throws {RequiredError}
|
|
32313
34077
|
*/
|
|
32314
|
-
|
|
34078
|
+
getRefundPlanV2(businessId: string, orderId: string, status: any, options?: any): AxiosPromise<Array<RefundPlanDto>>;
|
|
32315
34079
|
/**
|
|
32316
34080
|
*
|
|
32317
34081
|
* @param {string} businessId
|
|
32318
34082
|
* @param {string} orderId
|
|
32319
34083
|
* @param {string} refundId
|
|
34084
|
+
* @param {CompletedStepDto} completedStepDto
|
|
32320
34085
|
* @param {*} [options] Override http request option.
|
|
32321
34086
|
* @throws {RequiredError}
|
|
32322
34087
|
*/
|
|
32323
|
-
|
|
32324
|
-
};
|
|
32325
|
-
/**
|
|
32326
|
-
* RefundsApi - factory interface
|
|
32327
|
-
* @export
|
|
32328
|
-
*/
|
|
32329
|
-
export declare const RefundsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
34088
|
+
recordRefundPlan(businessId: string, orderId: string, refundId: string, completedStepDto: CompletedStepDto, options?: any): AxiosPromise<RefundPlanDto>;
|
|
32330
34089
|
/**
|
|
32331
34090
|
*
|
|
34091
|
+
* @summary
|
|
32332
34092
|
* @param {string} businessId
|
|
32333
34093
|
* @param {string} orderId
|
|
32334
34094
|
* @param {string} refundId
|
|
34095
|
+
* @param {CompletedStepDto} completedStepDto
|
|
32335
34096
|
* @param {*} [options] Override http request option.
|
|
32336
34097
|
* @throws {RequiredError}
|
|
32337
34098
|
*/
|
|
32338
|
-
|
|
34099
|
+
recordRefundPlanV2(businessId: string, orderId: string, refundId: string, completedStepDto: CompletedStepDto, options?: any): AxiosPromise<RefundPlanDto>;
|
|
32339
34100
|
/**
|
|
32340
34101
|
*
|
|
32341
34102
|
* @param {string} businessId
|
|
32342
34103
|
* @param {string} orderId
|
|
32343
|
-
* @param {
|
|
34104
|
+
* @param {any} provider
|
|
32344
34105
|
* @param {*} [options] Override http request option.
|
|
32345
34106
|
* @throws {RequiredError}
|
|
32346
34107
|
*/
|
|
32347
|
-
|
|
34108
|
+
refundOnlineOrder(businessId: string, orderId: string, provider: any, options?: any): AxiosPromise<void>;
|
|
32348
34109
|
/**
|
|
32349
34110
|
*
|
|
34111
|
+
* @summary
|
|
32350
34112
|
* @param {string} businessId
|
|
32351
34113
|
* @param {string} orderId
|
|
32352
|
-
* @param {any}
|
|
34114
|
+
* @param {any} provider
|
|
32353
34115
|
* @param {*} [options] Override http request option.
|
|
32354
34116
|
* @throws {RequiredError}
|
|
32355
34117
|
*/
|
|
32356
|
-
|
|
34118
|
+
refundOnlineOrderV2(businessId: string, orderId: string, provider: any, options?: any): AxiosPromise<void>;
|
|
32357
34119
|
/**
|
|
32358
34120
|
*
|
|
32359
34121
|
* @param {string} businessId
|
|
32360
34122
|
* @param {string} orderId
|
|
32361
34123
|
* @param {string} refundId
|
|
32362
|
-
* @param {
|
|
34124
|
+
* @param {ResolveChoiceDto} resolveChoiceDto
|
|
32363
34125
|
* @param {*} [options] Override http request option.
|
|
32364
34126
|
* @throws {RequiredError}
|
|
32365
34127
|
*/
|
|
32366
|
-
|
|
34128
|
+
resolveRefundChoice(businessId: string, orderId: string, refundId: string, resolveChoiceDto: ResolveChoiceDto, options?: any): AxiosPromise<RefundPlanDto>;
|
|
32367
34129
|
/**
|
|
32368
34130
|
*
|
|
34131
|
+
* @summary
|
|
32369
34132
|
* @param {string} businessId
|
|
32370
34133
|
* @param {string} orderId
|
|
32371
|
-
* @param {
|
|
34134
|
+
* @param {string} refundId
|
|
34135
|
+
* @param {ResolveChoiceDto} resolveChoiceDto
|
|
32372
34136
|
* @param {*} [options] Override http request option.
|
|
32373
34137
|
* @throws {RequiredError}
|
|
32374
34138
|
*/
|
|
32375
|
-
|
|
34139
|
+
resolveRefundChoiceV2(businessId: string, orderId: string, refundId: string, resolveChoiceDto: ResolveChoiceDto, options?: any): AxiosPromise<RefundPlanDto>;
|
|
32376
34140
|
/**
|
|
32377
34141
|
*
|
|
32378
34142
|
* @param {string} businessId
|
|
32379
34143
|
* @param {string} orderId
|
|
32380
34144
|
* @param {string} refundId
|
|
32381
|
-
* @param {ResolveChoiceDto} resolveChoiceDto
|
|
32382
34145
|
* @param {*} [options] Override http request option.
|
|
32383
34146
|
* @throws {RequiredError}
|
|
32384
34147
|
*/
|
|
32385
|
-
|
|
34148
|
+
startProcessPlan(businessId: string, orderId: string, refundId: string, options?: any): AxiosPromise<RefundPlanDto>;
|
|
32386
34149
|
/**
|
|
32387
34150
|
*
|
|
34151
|
+
* @summary
|
|
32388
34152
|
* @param {string} businessId
|
|
32389
34153
|
* @param {string} orderId
|
|
32390
34154
|
* @param {string} refundId
|
|
32391
34155
|
* @param {*} [options] Override http request option.
|
|
32392
34156
|
* @throws {RequiredError}
|
|
32393
34157
|
*/
|
|
32394
|
-
|
|
34158
|
+
startProcessPlanV2(businessId: string, orderId: string, refundId: string, options?: any): AxiosPromise<RefundPlanDto>;
|
|
32395
34159
|
};
|
|
32396
34160
|
/**
|
|
32397
34161
|
* RefundsApi - interface
|
|
@@ -32409,6 +34173,17 @@ export interface RefundsApiInterface {
|
|
|
32409
34173
|
* @memberof RefundsApiInterface
|
|
32410
34174
|
*/
|
|
32411
34175
|
cancelPlan(businessId: string, orderId: string, refundId: string, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
34176
|
+
/**
|
|
34177
|
+
*
|
|
34178
|
+
* @summary
|
|
34179
|
+
* @param {string} businessId
|
|
34180
|
+
* @param {string} orderId
|
|
34181
|
+
* @param {string} refundId
|
|
34182
|
+
* @param {*} [options] Override http request option.
|
|
34183
|
+
* @throws {RequiredError}
|
|
34184
|
+
* @memberof RefundsApiInterface
|
|
34185
|
+
*/
|
|
34186
|
+
cancelPlanV2(businessId: string, orderId: string, refundId: string, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
32412
34187
|
/**
|
|
32413
34188
|
*
|
|
32414
34189
|
* @param {string} businessId
|
|
@@ -32419,6 +34194,17 @@ export interface RefundsApiInterface {
|
|
|
32419
34194
|
* @memberof RefundsApiInterface
|
|
32420
34195
|
*/
|
|
32421
34196
|
createRefundPlan(businessId: string, orderId: string, createRefundPlanDto: CreateRefundPlanDto, options?: AxiosRequestConfig): AxiosPromise<RefundPlanDto>;
|
|
34197
|
+
/**
|
|
34198
|
+
*
|
|
34199
|
+
* @summary
|
|
34200
|
+
* @param {string} businessId
|
|
34201
|
+
* @param {string} orderId
|
|
34202
|
+
* @param {CreateRefundPlanDto} createRefundPlanDto
|
|
34203
|
+
* @param {*} [options] Override http request option.
|
|
34204
|
+
* @throws {RequiredError}
|
|
34205
|
+
* @memberof RefundsApiInterface
|
|
34206
|
+
*/
|
|
34207
|
+
createRefundPlanV2(businessId: string, orderId: string, createRefundPlanDto: CreateRefundPlanDto, options?: AxiosRequestConfig): AxiosPromise<RefundPlanDto>;
|
|
32422
34208
|
/**
|
|
32423
34209
|
*
|
|
32424
34210
|
* @param {string} businessId
|
|
@@ -32429,6 +34215,17 @@ export interface RefundsApiInterface {
|
|
|
32429
34215
|
* @memberof RefundsApiInterface
|
|
32430
34216
|
*/
|
|
32431
34217
|
getRefundPlan(businessId: string, orderId: string, status: any, options?: AxiosRequestConfig): AxiosPromise<Array<RefundPlanDto>>;
|
|
34218
|
+
/**
|
|
34219
|
+
*
|
|
34220
|
+
* @summary
|
|
34221
|
+
* @param {string} businessId
|
|
34222
|
+
* @param {string} orderId
|
|
34223
|
+
* @param {any} status
|
|
34224
|
+
* @param {*} [options] Override http request option.
|
|
34225
|
+
* @throws {RequiredError}
|
|
34226
|
+
* @memberof RefundsApiInterface
|
|
34227
|
+
*/
|
|
34228
|
+
getRefundPlanV2(businessId: string, orderId: string, status: any, options?: AxiosRequestConfig): AxiosPromise<Array<RefundPlanDto>>;
|
|
32432
34229
|
/**
|
|
32433
34230
|
*
|
|
32434
34231
|
* @param {string} businessId
|
|
@@ -32440,6 +34237,18 @@ export interface RefundsApiInterface {
|
|
|
32440
34237
|
* @memberof RefundsApiInterface
|
|
32441
34238
|
*/
|
|
32442
34239
|
recordRefundPlan(businessId: string, orderId: string, refundId: string, completedStepDto: CompletedStepDto, options?: AxiosRequestConfig): AxiosPromise<RefundPlanDto>;
|
|
34240
|
+
/**
|
|
34241
|
+
*
|
|
34242
|
+
* @summary
|
|
34243
|
+
* @param {string} businessId
|
|
34244
|
+
* @param {string} orderId
|
|
34245
|
+
* @param {string} refundId
|
|
34246
|
+
* @param {CompletedStepDto} completedStepDto
|
|
34247
|
+
* @param {*} [options] Override http request option.
|
|
34248
|
+
* @throws {RequiredError}
|
|
34249
|
+
* @memberof RefundsApiInterface
|
|
34250
|
+
*/
|
|
34251
|
+
recordRefundPlanV2(businessId: string, orderId: string, refundId: string, completedStepDto: CompletedStepDto, options?: AxiosRequestConfig): AxiosPromise<RefundPlanDto>;
|
|
32443
34252
|
/**
|
|
32444
34253
|
*
|
|
32445
34254
|
* @param {string} businessId
|
|
@@ -32450,6 +34259,17 @@ export interface RefundsApiInterface {
|
|
|
32450
34259
|
* @memberof RefundsApiInterface
|
|
32451
34260
|
*/
|
|
32452
34261
|
refundOnlineOrder(businessId: string, orderId: string, provider: any, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
34262
|
+
/**
|
|
34263
|
+
*
|
|
34264
|
+
* @summary
|
|
34265
|
+
* @param {string} businessId
|
|
34266
|
+
* @param {string} orderId
|
|
34267
|
+
* @param {any} provider
|
|
34268
|
+
* @param {*} [options] Override http request option.
|
|
34269
|
+
* @throws {RequiredError}
|
|
34270
|
+
* @memberof RefundsApiInterface
|
|
34271
|
+
*/
|
|
34272
|
+
refundOnlineOrderV2(businessId: string, orderId: string, provider: any, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
32453
34273
|
/**
|
|
32454
34274
|
*
|
|
32455
34275
|
* @param {string} businessId
|
|
@@ -32461,6 +34281,18 @@ export interface RefundsApiInterface {
|
|
|
32461
34281
|
* @memberof RefundsApiInterface
|
|
32462
34282
|
*/
|
|
32463
34283
|
resolveRefundChoice(businessId: string, orderId: string, refundId: string, resolveChoiceDto: ResolveChoiceDto, options?: AxiosRequestConfig): AxiosPromise<RefundPlanDto>;
|
|
34284
|
+
/**
|
|
34285
|
+
*
|
|
34286
|
+
* @summary
|
|
34287
|
+
* @param {string} businessId
|
|
34288
|
+
* @param {string} orderId
|
|
34289
|
+
* @param {string} refundId
|
|
34290
|
+
* @param {ResolveChoiceDto} resolveChoiceDto
|
|
34291
|
+
* @param {*} [options] Override http request option.
|
|
34292
|
+
* @throws {RequiredError}
|
|
34293
|
+
* @memberof RefundsApiInterface
|
|
34294
|
+
*/
|
|
34295
|
+
resolveRefundChoiceV2(businessId: string, orderId: string, refundId: string, resolveChoiceDto: ResolveChoiceDto, options?: AxiosRequestConfig): AxiosPromise<RefundPlanDto>;
|
|
32464
34296
|
/**
|
|
32465
34297
|
*
|
|
32466
34298
|
* @param {string} businessId
|
|
@@ -32471,6 +34303,17 @@ export interface RefundsApiInterface {
|
|
|
32471
34303
|
* @memberof RefundsApiInterface
|
|
32472
34304
|
*/
|
|
32473
34305
|
startProcessPlan(businessId: string, orderId: string, refundId: string, options?: AxiosRequestConfig): AxiosPromise<RefundPlanDto>;
|
|
34306
|
+
/**
|
|
34307
|
+
*
|
|
34308
|
+
* @summary
|
|
34309
|
+
* @param {string} businessId
|
|
34310
|
+
* @param {string} orderId
|
|
34311
|
+
* @param {string} refundId
|
|
34312
|
+
* @param {*} [options] Override http request option.
|
|
34313
|
+
* @throws {RequiredError}
|
|
34314
|
+
* @memberof RefundsApiInterface
|
|
34315
|
+
*/
|
|
34316
|
+
startProcessPlanV2(businessId: string, orderId: string, refundId: string, options?: AxiosRequestConfig): AxiosPromise<RefundPlanDto>;
|
|
32474
34317
|
}
|
|
32475
34318
|
/**
|
|
32476
34319
|
* RefundsApi - object-oriented interface
|
|
@@ -32489,6 +34332,17 @@ export declare class RefundsApi extends BaseAPI implements RefundsApiInterface {
|
|
|
32489
34332
|
* @memberof RefundsApi
|
|
32490
34333
|
*/
|
|
32491
34334
|
cancelPlan(businessId: string, orderId: string, refundId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
34335
|
+
/**
|
|
34336
|
+
*
|
|
34337
|
+
* @summary
|
|
34338
|
+
* @param {string} businessId
|
|
34339
|
+
* @param {string} orderId
|
|
34340
|
+
* @param {string} refundId
|
|
34341
|
+
* @param {*} [options] Override http request option.
|
|
34342
|
+
* @throws {RequiredError}
|
|
34343
|
+
* @memberof RefundsApi
|
|
34344
|
+
*/
|
|
34345
|
+
cancelPlanV2(businessId: string, orderId: string, refundId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
32492
34346
|
/**
|
|
32493
34347
|
*
|
|
32494
34348
|
* @param {string} businessId
|
|
@@ -32499,6 +34353,17 @@ export declare class RefundsApi extends BaseAPI implements RefundsApiInterface {
|
|
|
32499
34353
|
* @memberof RefundsApi
|
|
32500
34354
|
*/
|
|
32501
34355
|
createRefundPlan(businessId: string, orderId: string, createRefundPlanDto: CreateRefundPlanDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RefundPlanDto, any, {}>>;
|
|
34356
|
+
/**
|
|
34357
|
+
*
|
|
34358
|
+
* @summary
|
|
34359
|
+
* @param {string} businessId
|
|
34360
|
+
* @param {string} orderId
|
|
34361
|
+
* @param {CreateRefundPlanDto} createRefundPlanDto
|
|
34362
|
+
* @param {*} [options] Override http request option.
|
|
34363
|
+
* @throws {RequiredError}
|
|
34364
|
+
* @memberof RefundsApi
|
|
34365
|
+
*/
|
|
34366
|
+
createRefundPlanV2(businessId: string, orderId: string, createRefundPlanDto: CreateRefundPlanDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RefundPlanDto, any, {}>>;
|
|
32502
34367
|
/**
|
|
32503
34368
|
*
|
|
32504
34369
|
* @param {string} businessId
|
|
@@ -32509,6 +34374,17 @@ export declare class RefundsApi extends BaseAPI implements RefundsApiInterface {
|
|
|
32509
34374
|
* @memberof RefundsApi
|
|
32510
34375
|
*/
|
|
32511
34376
|
getRefundPlan(businessId: string, orderId: string, status: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RefundPlanDto[], any, {}>>;
|
|
34377
|
+
/**
|
|
34378
|
+
*
|
|
34379
|
+
* @summary
|
|
34380
|
+
* @param {string} businessId
|
|
34381
|
+
* @param {string} orderId
|
|
34382
|
+
* @param {any} status
|
|
34383
|
+
* @param {*} [options] Override http request option.
|
|
34384
|
+
* @throws {RequiredError}
|
|
34385
|
+
* @memberof RefundsApi
|
|
34386
|
+
*/
|
|
34387
|
+
getRefundPlanV2(businessId: string, orderId: string, status: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RefundPlanDto[], any, {}>>;
|
|
32512
34388
|
/**
|
|
32513
34389
|
*
|
|
32514
34390
|
* @param {string} businessId
|
|
@@ -32520,6 +34396,18 @@ export declare class RefundsApi extends BaseAPI implements RefundsApiInterface {
|
|
|
32520
34396
|
* @memberof RefundsApi
|
|
32521
34397
|
*/
|
|
32522
34398
|
recordRefundPlan(businessId: string, orderId: string, refundId: string, completedStepDto: CompletedStepDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RefundPlanDto, any, {}>>;
|
|
34399
|
+
/**
|
|
34400
|
+
*
|
|
34401
|
+
* @summary
|
|
34402
|
+
* @param {string} businessId
|
|
34403
|
+
* @param {string} orderId
|
|
34404
|
+
* @param {string} refundId
|
|
34405
|
+
* @param {CompletedStepDto} completedStepDto
|
|
34406
|
+
* @param {*} [options] Override http request option.
|
|
34407
|
+
* @throws {RequiredError}
|
|
34408
|
+
* @memberof RefundsApi
|
|
34409
|
+
*/
|
|
34410
|
+
recordRefundPlanV2(businessId: string, orderId: string, refundId: string, completedStepDto: CompletedStepDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RefundPlanDto, any, {}>>;
|
|
32523
34411
|
/**
|
|
32524
34412
|
*
|
|
32525
34413
|
* @param {string} businessId
|
|
@@ -32530,6 +34418,17 @@ export declare class RefundsApi extends BaseAPI implements RefundsApiInterface {
|
|
|
32530
34418
|
* @memberof RefundsApi
|
|
32531
34419
|
*/
|
|
32532
34420
|
refundOnlineOrder(businessId: string, orderId: string, provider: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
34421
|
+
/**
|
|
34422
|
+
*
|
|
34423
|
+
* @summary
|
|
34424
|
+
* @param {string} businessId
|
|
34425
|
+
* @param {string} orderId
|
|
34426
|
+
* @param {any} provider
|
|
34427
|
+
* @param {*} [options] Override http request option.
|
|
34428
|
+
* @throws {RequiredError}
|
|
34429
|
+
* @memberof RefundsApi
|
|
34430
|
+
*/
|
|
34431
|
+
refundOnlineOrderV2(businessId: string, orderId: string, provider: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
32533
34432
|
/**
|
|
32534
34433
|
*
|
|
32535
34434
|
* @param {string} businessId
|
|
@@ -32541,6 +34440,18 @@ export declare class RefundsApi extends BaseAPI implements RefundsApiInterface {
|
|
|
32541
34440
|
* @memberof RefundsApi
|
|
32542
34441
|
*/
|
|
32543
34442
|
resolveRefundChoice(businessId: string, orderId: string, refundId: string, resolveChoiceDto: ResolveChoiceDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RefundPlanDto, any, {}>>;
|
|
34443
|
+
/**
|
|
34444
|
+
*
|
|
34445
|
+
* @summary
|
|
34446
|
+
* @param {string} businessId
|
|
34447
|
+
* @param {string} orderId
|
|
34448
|
+
* @param {string} refundId
|
|
34449
|
+
* @param {ResolveChoiceDto} resolveChoiceDto
|
|
34450
|
+
* @param {*} [options] Override http request option.
|
|
34451
|
+
* @throws {RequiredError}
|
|
34452
|
+
* @memberof RefundsApi
|
|
34453
|
+
*/
|
|
34454
|
+
resolveRefundChoiceV2(businessId: string, orderId: string, refundId: string, resolveChoiceDto: ResolveChoiceDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RefundPlanDto, any, {}>>;
|
|
32544
34455
|
/**
|
|
32545
34456
|
*
|
|
32546
34457
|
* @param {string} businessId
|
|
@@ -32551,6 +34462,17 @@ export declare class RefundsApi extends BaseAPI implements RefundsApiInterface {
|
|
|
32551
34462
|
* @memberof RefundsApi
|
|
32552
34463
|
*/
|
|
32553
34464
|
startProcessPlan(businessId: string, orderId: string, refundId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RefundPlanDto, any, {}>>;
|
|
34465
|
+
/**
|
|
34466
|
+
*
|
|
34467
|
+
* @summary
|
|
34468
|
+
* @param {string} businessId
|
|
34469
|
+
* @param {string} orderId
|
|
34470
|
+
* @param {string} refundId
|
|
34471
|
+
* @param {*} [options] Override http request option.
|
|
34472
|
+
* @throws {RequiredError}
|
|
34473
|
+
* @memberof RefundsApi
|
|
34474
|
+
*/
|
|
34475
|
+
startProcessPlanV2(businessId: string, orderId: string, refundId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RefundPlanDto, any, {}>>;
|
|
32554
34476
|
}
|
|
32555
34477
|
/**
|
|
32556
34478
|
* ReportApi - axios parameter creator
|