@munchi_oy/core 1.9.47 → 1.9.55
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 +1503 -23
- 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 +1950 -11
- package/package.json +1 -1
- 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,110 @@ 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
|
+
*
|
|
2422
|
+
* @type {PaymentCheckoutFlow}
|
|
2423
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2424
|
+
*/
|
|
2425
|
+
'checkoutFlow': PaymentCheckoutFlow;
|
|
2426
|
+
/**
|
|
2427
|
+
* Display tone/color key for badges and chips (e.g. info, edenred, voucherOrange).
|
|
2428
|
+
* @type {string}
|
|
2429
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2430
|
+
*/
|
|
2431
|
+
'tone': string;
|
|
2432
|
+
/**
|
|
2433
|
+
* Whether a refund is sent back to the original card via the terminal SDK.
|
|
2434
|
+
* @type {boolean}
|
|
2435
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2436
|
+
*/
|
|
2437
|
+
'refundToCard': boolean;
|
|
2438
|
+
/**
|
|
2439
|
+
* Whether refunding this method needs an active card provider (Viva/Nets).
|
|
2440
|
+
* @type {boolean}
|
|
2441
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2442
|
+
*/
|
|
2443
|
+
'requiresProvider': boolean;
|
|
2444
|
+
/**
|
|
2445
|
+
* Whether checkout needs a manual resolution step (cash rounding, voucher selection).
|
|
2446
|
+
* @type {boolean}
|
|
2447
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2448
|
+
*/
|
|
2449
|
+
'requiresManualResolution': boolean;
|
|
2450
|
+
/**
|
|
2451
|
+
* Whether receipts/print should show a forfeited (leftover) amount line.
|
|
2452
|
+
* @type {boolean}
|
|
2453
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2454
|
+
*/
|
|
2455
|
+
'shouldDisplayForfeitedAmount': boolean;
|
|
2456
|
+
/**
|
|
2457
|
+
* Benefit-confirmation issuer for the post-payment notification (e.g. edenred, wolt).
|
|
2458
|
+
* @type {string}
|
|
2459
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2460
|
+
*/
|
|
2461
|
+
'notificationIssuer': string | null;
|
|
2462
|
+
}
|
|
2315
2463
|
/**
|
|
2316
2464
|
*
|
|
2317
2465
|
* @export
|
|
@@ -3848,6 +3996,104 @@ export interface CreateNetsTerminalPaymentDto {
|
|
|
3848
3996
|
*/
|
|
3849
3997
|
'options'?: NetsTerminalPaymentOptionsDto;
|
|
3850
3998
|
}
|
|
3999
|
+
/**
|
|
4000
|
+
*
|
|
4001
|
+
* @export
|
|
4002
|
+
* @interface CreatePaymentMethodDto
|
|
4003
|
+
*/
|
|
4004
|
+
export interface CreatePaymentMethodDto {
|
|
4005
|
+
/**
|
|
4006
|
+
* Attach an existing catalog method by its code (mutually exclusive with name+type).
|
|
4007
|
+
* @type {string}
|
|
4008
|
+
* @memberof CreatePaymentMethodDto
|
|
4009
|
+
*/
|
|
4010
|
+
'code'?: string;
|
|
4011
|
+
/**
|
|
4012
|
+
* Display name for a new custom method; required with type when code is absent.
|
|
4013
|
+
* @type {string}
|
|
4014
|
+
* @memberof CreatePaymentMethodDto
|
|
4015
|
+
*/
|
|
4016
|
+
'name'?: string;
|
|
4017
|
+
/**
|
|
4018
|
+
* 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.
|
|
4019
|
+
* @type {string}
|
|
4020
|
+
* @memberof CreatePaymentMethodDto
|
|
4021
|
+
*/
|
|
4022
|
+
'type'?: string;
|
|
4023
|
+
/**
|
|
4024
|
+
* Per-business name override.
|
|
4025
|
+
* @type {string}
|
|
4026
|
+
* @memberof CreatePaymentMethodDto
|
|
4027
|
+
*/
|
|
4028
|
+
'customName'?: string;
|
|
4029
|
+
/**
|
|
4030
|
+
* Per-business logo URL.
|
|
4031
|
+
* @type {string}
|
|
4032
|
+
* @memberof CreatePaymentMethodDto
|
|
4033
|
+
*/
|
|
4034
|
+
'logo'?: string;
|
|
4035
|
+
/**
|
|
4036
|
+
* Per-business description.
|
|
4037
|
+
* @type {string}
|
|
4038
|
+
* @memberof CreatePaymentMethodDto
|
|
4039
|
+
*/
|
|
4040
|
+
'description'?: string;
|
|
4041
|
+
/**
|
|
4042
|
+
* Parent method code for grouped vouchers.
|
|
4043
|
+
* @type {string}
|
|
4044
|
+
* @memberof CreatePaymentMethodDto
|
|
4045
|
+
*/
|
|
4046
|
+
'parentCode'?: string;
|
|
4047
|
+
/**
|
|
4048
|
+
* Preset amounts/denominations (vouchers).
|
|
4049
|
+
* @type {Array<number>}
|
|
4050
|
+
* @memberof CreatePaymentMethodDto
|
|
4051
|
+
*/
|
|
4052
|
+
'amounts'?: Array<number>;
|
|
4053
|
+
/**
|
|
4054
|
+
* Minimum order amount required to use this method.
|
|
4055
|
+
* @type {number}
|
|
4056
|
+
* @memberof CreatePaymentMethodDto
|
|
4057
|
+
*/
|
|
4058
|
+
'minimumCheckoutAmount'?: number;
|
|
4059
|
+
/**
|
|
4060
|
+
* Whether the method is enabled (defaults to true).
|
|
4061
|
+
* @type {boolean}
|
|
4062
|
+
* @memberof CreatePaymentMethodDto
|
|
4063
|
+
*/
|
|
4064
|
+
'enable'?: boolean;
|
|
4065
|
+
/**
|
|
4066
|
+
*
|
|
4067
|
+
* @type {CreatePaymentMethodDtoGiftCardCredentials}
|
|
4068
|
+
* @memberof CreatePaymentMethodDto
|
|
4069
|
+
*/
|
|
4070
|
+
'giftCardCredentials'?: CreatePaymentMethodDtoGiftCardCredentials;
|
|
4071
|
+
}
|
|
4072
|
+
/**
|
|
4073
|
+
* Only for a 3rd-party gift card: username/password (URLs come from constants).
|
|
4074
|
+
* @export
|
|
4075
|
+
* @interface CreatePaymentMethodDtoGiftCardCredentials
|
|
4076
|
+
*/
|
|
4077
|
+
export interface CreatePaymentMethodDtoGiftCardCredentials {
|
|
4078
|
+
/**
|
|
4079
|
+
* 3rd-party gift card account username.
|
|
4080
|
+
* @type {string}
|
|
4081
|
+
* @memberof CreatePaymentMethodDtoGiftCardCredentials
|
|
4082
|
+
*/
|
|
4083
|
+
'username'?: string;
|
|
4084
|
+
/**
|
|
4085
|
+
* 3rd-party gift card account password.
|
|
4086
|
+
* @type {string}
|
|
4087
|
+
* @memberof CreatePaymentMethodDtoGiftCardCredentials
|
|
4088
|
+
*/
|
|
4089
|
+
'password'?: string;
|
|
4090
|
+
/**
|
|
4091
|
+
* Unique POS device id for the 3rd-party gift card provider.
|
|
4092
|
+
* @type {string}
|
|
4093
|
+
* @memberof CreatePaymentMethodDtoGiftCardCredentials
|
|
4094
|
+
*/
|
|
4095
|
+
'uniquePosDeviceId'?: string;
|
|
4096
|
+
}
|
|
3851
4097
|
/**
|
|
3852
4098
|
*
|
|
3853
4099
|
* @export
|
|
@@ -6025,6 +6271,56 @@ export interface GiftCardCredentialsDto {
|
|
|
6025
6271
|
*/
|
|
6026
6272
|
'password'?: string;
|
|
6027
6273
|
}
|
|
6274
|
+
/**
|
|
6275
|
+
*
|
|
6276
|
+
* @export
|
|
6277
|
+
* @interface GiftCardCredentialsInputDto
|
|
6278
|
+
*/
|
|
6279
|
+
export interface GiftCardCredentialsInputDto {
|
|
6280
|
+
/**
|
|
6281
|
+
* 3rd-party gift card account username.
|
|
6282
|
+
* @type {string}
|
|
6283
|
+
* @memberof GiftCardCredentialsInputDto
|
|
6284
|
+
*/
|
|
6285
|
+
'username'?: string;
|
|
6286
|
+
/**
|
|
6287
|
+
* 3rd-party gift card account password.
|
|
6288
|
+
* @type {string}
|
|
6289
|
+
* @memberof GiftCardCredentialsInputDto
|
|
6290
|
+
*/
|
|
6291
|
+
'password'?: string;
|
|
6292
|
+
/**
|
|
6293
|
+
* Unique POS device id for the 3rd-party gift card provider.
|
|
6294
|
+
* @type {string}
|
|
6295
|
+
* @memberof GiftCardCredentialsInputDto
|
|
6296
|
+
*/
|
|
6297
|
+
'uniquePosDeviceId'?: string;
|
|
6298
|
+
}
|
|
6299
|
+
/**
|
|
6300
|
+
*
|
|
6301
|
+
* @export
|
|
6302
|
+
* @interface GiftCardCredentialsViewDto
|
|
6303
|
+
*/
|
|
6304
|
+
export interface GiftCardCredentialsViewDto {
|
|
6305
|
+
/**
|
|
6306
|
+
* Saved 3rd-party gift card username.
|
|
6307
|
+
* @type {string}
|
|
6308
|
+
* @memberof GiftCardCredentialsViewDto
|
|
6309
|
+
*/
|
|
6310
|
+
'username': string | null;
|
|
6311
|
+
/**
|
|
6312
|
+
* Saved 3rd-party gift card password.
|
|
6313
|
+
* @type {string}
|
|
6314
|
+
* @memberof GiftCardCredentialsViewDto
|
|
6315
|
+
*/
|
|
6316
|
+
'password': string | null;
|
|
6317
|
+
/**
|
|
6318
|
+
* Saved unique POS device id for the 3rd-party gift card provider.
|
|
6319
|
+
* @type {string}
|
|
6320
|
+
* @memberof GiftCardCredentialsViewDto
|
|
6321
|
+
*/
|
|
6322
|
+
'uniquePosDeviceId': string | null;
|
|
6323
|
+
}
|
|
6028
6324
|
/**
|
|
6029
6325
|
*
|
|
6030
6326
|
* @export
|
|
@@ -9356,6 +9652,49 @@ export interface NetsCancelTransactionDto {
|
|
|
9356
9652
|
*/
|
|
9357
9653
|
'businessId': number;
|
|
9358
9654
|
}
|
|
9655
|
+
/**
|
|
9656
|
+
*
|
|
9657
|
+
* @export
|
|
9658
|
+
* @interface NetsConfigResponseDto
|
|
9659
|
+
*/
|
|
9660
|
+
export interface NetsConfigResponseDto {
|
|
9661
|
+
/**
|
|
9662
|
+
* Whether the Nets integration is active.
|
|
9663
|
+
* @type {boolean}
|
|
9664
|
+
* @memberof NetsConfigResponseDto
|
|
9665
|
+
*/
|
|
9666
|
+
'isActive': boolean;
|
|
9667
|
+
/**
|
|
9668
|
+
* Display name.
|
|
9669
|
+
* @type {string}
|
|
9670
|
+
* @memberof NetsConfigResponseDto
|
|
9671
|
+
*/
|
|
9672
|
+
'name': string | null;
|
|
9673
|
+
/**
|
|
9674
|
+
* Nets secret key.
|
|
9675
|
+
* @type {string}
|
|
9676
|
+
* @memberof NetsConfigResponseDto
|
|
9677
|
+
*/
|
|
9678
|
+
'secretKey': string | null;
|
|
9679
|
+
/**
|
|
9680
|
+
* Nets public key.
|
|
9681
|
+
* @type {string}
|
|
9682
|
+
* @memberof NetsConfigResponseDto
|
|
9683
|
+
*/
|
|
9684
|
+
'publicKey': string | null;
|
|
9685
|
+
/**
|
|
9686
|
+
* Nets OAuth client id.
|
|
9687
|
+
* @type {string}
|
|
9688
|
+
* @memberof NetsConfigResponseDto
|
|
9689
|
+
*/
|
|
9690
|
+
'clientId': string | null;
|
|
9691
|
+
/**
|
|
9692
|
+
* Nets OAuth client secret.
|
|
9693
|
+
* @type {string}
|
|
9694
|
+
* @memberof NetsConfigResponseDto
|
|
9695
|
+
*/
|
|
9696
|
+
'clientSecret': string | null;
|
|
9697
|
+
}
|
|
9359
9698
|
/**
|
|
9360
9699
|
*
|
|
9361
9700
|
* @export
|
|
@@ -11489,6 +11828,20 @@ export interface PaginationDto {
|
|
|
11489
11828
|
*/
|
|
11490
11829
|
'totalPages': number;
|
|
11491
11830
|
}
|
|
11831
|
+
/**
|
|
11832
|
+
*
|
|
11833
|
+
* @export
|
|
11834
|
+
* @enum {string}
|
|
11835
|
+
*/
|
|
11836
|
+
export declare const PaymentCheckoutFlow: {
|
|
11837
|
+
readonly TerminalCard: "terminal_card";
|
|
11838
|
+
readonly CardManual: "card_manual";
|
|
11839
|
+
readonly Cash: "cash";
|
|
11840
|
+
readonly GroupedVoucher: "grouped_voucher";
|
|
11841
|
+
readonly GiftCard: "gift_card";
|
|
11842
|
+
readonly Static: "static";
|
|
11843
|
+
};
|
|
11844
|
+
export type PaymentCheckoutFlow = typeof PaymentCheckoutFlow[keyof typeof PaymentCheckoutFlow];
|
|
11492
11845
|
/**
|
|
11493
11846
|
*
|
|
11494
11847
|
* @export
|
|
@@ -11708,6 +12061,79 @@ export declare const PaymentMethod: {
|
|
|
11708
12061
|
readonly LoyaltyPoints: "LoyaltyPoints";
|
|
11709
12062
|
};
|
|
11710
12063
|
export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
|
|
12064
|
+
/**
|
|
12065
|
+
*
|
|
12066
|
+
* @export
|
|
12067
|
+
* @interface PaymentMethodCapabilitiesDto
|
|
12068
|
+
*/
|
|
12069
|
+
export interface PaymentMethodCapabilitiesDto {
|
|
12070
|
+
/**
|
|
12071
|
+
* Whether this method can be refunded at all.
|
|
12072
|
+
* @type {boolean}
|
|
12073
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12074
|
+
*/
|
|
12075
|
+
'refundable': boolean;
|
|
12076
|
+
/**
|
|
12077
|
+
* Whether a refund can be split across this method and others.
|
|
12078
|
+
* @type {boolean}
|
|
12079
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12080
|
+
*/
|
|
12081
|
+
'refundSplittable': boolean;
|
|
12082
|
+
/**
|
|
12083
|
+
* Whether the customer may choose this method as a refund target.
|
|
12084
|
+
* @type {boolean}
|
|
12085
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12086
|
+
*/
|
|
12087
|
+
'refundChoiceEligible': boolean;
|
|
12088
|
+
/**
|
|
12089
|
+
* Refund allocation order (lower = refunded first); null when not refundable.
|
|
12090
|
+
* @type {number}
|
|
12091
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12092
|
+
*/
|
|
12093
|
+
'refundPriorityTier': number | null;
|
|
12094
|
+
/**
|
|
12095
|
+
*
|
|
12096
|
+
* @type {PaymentCheckoutFlow}
|
|
12097
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12098
|
+
*/
|
|
12099
|
+
'checkoutFlow': PaymentCheckoutFlow;
|
|
12100
|
+
/**
|
|
12101
|
+
* Display tone/color key for badges and chips (e.g. info, edenred, voucherOrange).
|
|
12102
|
+
* @type {string}
|
|
12103
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12104
|
+
*/
|
|
12105
|
+
'tone': string;
|
|
12106
|
+
/**
|
|
12107
|
+
* Whether a refund is sent back to the original card via the terminal SDK.
|
|
12108
|
+
* @type {boolean}
|
|
12109
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12110
|
+
*/
|
|
12111
|
+
'refundToCard': boolean;
|
|
12112
|
+
/**
|
|
12113
|
+
* Whether refunding this method needs an active card provider (Viva/Nets).
|
|
12114
|
+
* @type {boolean}
|
|
12115
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12116
|
+
*/
|
|
12117
|
+
'requiresProvider': boolean;
|
|
12118
|
+
/**
|
|
12119
|
+
* Whether checkout needs a manual resolution step (cash rounding, voucher selection).
|
|
12120
|
+
* @type {boolean}
|
|
12121
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12122
|
+
*/
|
|
12123
|
+
'requiresManualResolution': boolean;
|
|
12124
|
+
/**
|
|
12125
|
+
* Whether receipts/print should show a forfeited (leftover) amount line.
|
|
12126
|
+
* @type {boolean}
|
|
12127
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12128
|
+
*/
|
|
12129
|
+
'shouldDisplayForfeitedAmount': boolean;
|
|
12130
|
+
/**
|
|
12131
|
+
* Benefit-confirmation issuer for the post-payment notification (e.g. edenred, wolt).
|
|
12132
|
+
* @type {string}
|
|
12133
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12134
|
+
*/
|
|
12135
|
+
'notificationIssuer': string | null;
|
|
12136
|
+
}
|
|
11711
12137
|
/**
|
|
11712
12138
|
*
|
|
11713
12139
|
* @export
|
|
@@ -12028,25 +12454,257 @@ export interface PaymentMethodDetailsDtoWechatPayDetails {
|
|
|
12028
12454
|
/**
|
|
12029
12455
|
*
|
|
12030
12456
|
* @export
|
|
12031
|
-
* @interface
|
|
12457
|
+
* @interface PaymentMethodDto
|
|
12032
12458
|
*/
|
|
12033
|
-
export interface
|
|
12459
|
+
export interface PaymentMethodDto {
|
|
12034
12460
|
/**
|
|
12035
|
-
*
|
|
12461
|
+
* PaymentMethodOption id; use it for update/delete/reorder.
|
|
12036
12462
|
* @type {string}
|
|
12037
|
-
* @memberof
|
|
12463
|
+
* @memberof PaymentMethodDto
|
|
12038
12464
|
*/
|
|
12039
12465
|
'id': string;
|
|
12040
12466
|
/**
|
|
12041
|
-
*
|
|
12042
|
-
* @type {
|
|
12043
|
-
* @memberof
|
|
12467
|
+
* Stable, immutable method code (catalog identity).
|
|
12468
|
+
* @type {string}
|
|
12469
|
+
* @memberof PaymentMethodDto
|
|
12044
12470
|
*/
|
|
12045
|
-
'
|
|
12471
|
+
'code': string;
|
|
12046
12472
|
/**
|
|
12047
|
-
*
|
|
12048
|
-
* @type {
|
|
12049
|
-
* @memberof
|
|
12473
|
+
* Catalog type that drives this method\'s policy/behavior.
|
|
12474
|
+
* @type {string}
|
|
12475
|
+
* @memberof PaymentMethodDto
|
|
12476
|
+
*/
|
|
12477
|
+
'typeCode': string;
|
|
12478
|
+
/**
|
|
12479
|
+
* Display name: per-business customName, else catalog translation, else code.
|
|
12480
|
+
* @type {string}
|
|
12481
|
+
* @memberof PaymentMethodDto
|
|
12482
|
+
*/
|
|
12483
|
+
'label': string;
|
|
12484
|
+
/**
|
|
12485
|
+
* Per-business name override; null means inherit the catalog label.
|
|
12486
|
+
* @type {string}
|
|
12487
|
+
* @memberof PaymentMethodDto
|
|
12488
|
+
*/
|
|
12489
|
+
'customName': string | null;
|
|
12490
|
+
/**
|
|
12491
|
+
* Per-business logo URL.
|
|
12492
|
+
* @type {string}
|
|
12493
|
+
* @memberof PaymentMethodDto
|
|
12494
|
+
*/
|
|
12495
|
+
'logo': string | null;
|
|
12496
|
+
/**
|
|
12497
|
+
* Per-business description.
|
|
12498
|
+
* @type {string}
|
|
12499
|
+
* @memberof PaymentMethodDto
|
|
12500
|
+
*/
|
|
12501
|
+
'description': string | null;
|
|
12502
|
+
/**
|
|
12503
|
+
* Parent method code for grouped vouchers; null when standalone.
|
|
12504
|
+
* @type {string}
|
|
12505
|
+
* @memberof PaymentMethodDto
|
|
12506
|
+
*/
|
|
12507
|
+
'parentCode': string | null;
|
|
12508
|
+
/**
|
|
12509
|
+
* Sort order within the business (ascending).
|
|
12510
|
+
* @type {number}
|
|
12511
|
+
* @memberof PaymentMethodDto
|
|
12512
|
+
*/
|
|
12513
|
+
'position': number;
|
|
12514
|
+
/**
|
|
12515
|
+
* Whether the method is shown/usable (off = hidden, not deleted).
|
|
12516
|
+
* @type {boolean}
|
|
12517
|
+
* @memberof PaymentMethodDto
|
|
12518
|
+
*/
|
|
12519
|
+
'enable': boolean;
|
|
12520
|
+
/**
|
|
12521
|
+
* Preset amounts/denominations (vouchers).
|
|
12522
|
+
* @type {Array<number>}
|
|
12523
|
+
* @memberof PaymentMethodDto
|
|
12524
|
+
*/
|
|
12525
|
+
'amounts': Array<number>;
|
|
12526
|
+
/**
|
|
12527
|
+
* Minimum order amount required to use this method (decimal as string).
|
|
12528
|
+
* @type {string}
|
|
12529
|
+
* @memberof PaymentMethodDto
|
|
12530
|
+
*/
|
|
12531
|
+
'minimumCheckoutAmount': string | null;
|
|
12532
|
+
/**
|
|
12533
|
+
*
|
|
12534
|
+
* @type {PaymentMethodDtoCapabilities}
|
|
12535
|
+
* @memberof PaymentMethodDto
|
|
12536
|
+
*/
|
|
12537
|
+
'capabilities': PaymentMethodDtoCapabilities;
|
|
12538
|
+
/**
|
|
12539
|
+
* True for a 3rd-party gift card whose credentials the merchant can edit.
|
|
12540
|
+
* @type {boolean}
|
|
12541
|
+
* @memberof PaymentMethodDto
|
|
12542
|
+
*/
|
|
12543
|
+
'requiresCredentials': boolean;
|
|
12544
|
+
/**
|
|
12545
|
+
*
|
|
12546
|
+
* @type {PaymentMethodDtoGiftCardCredentials}
|
|
12547
|
+
* @memberof PaymentMethodDto
|
|
12548
|
+
*/
|
|
12549
|
+
'giftCardCredentials': PaymentMethodDtoGiftCardCredentials | null;
|
|
12550
|
+
/**
|
|
12551
|
+
* Auto-managed grouped children (e.g. Card→Debit/Credit, LunchVoucher→its vouchers). Empty for standalone methods.
|
|
12552
|
+
* @type {Array<PaymentMethodDto>}
|
|
12553
|
+
* @memberof PaymentMethodDto
|
|
12554
|
+
*/
|
|
12555
|
+
'children': Array<PaymentMethodDto>;
|
|
12556
|
+
}
|
|
12557
|
+
/**
|
|
12558
|
+
* Refund behavior resolved from the catalog type + per-method overrides.
|
|
12559
|
+
* @export
|
|
12560
|
+
* @interface PaymentMethodDtoCapabilities
|
|
12561
|
+
*/
|
|
12562
|
+
export interface PaymentMethodDtoCapabilities {
|
|
12563
|
+
/**
|
|
12564
|
+
* Whether this method can be refunded at all.
|
|
12565
|
+
* @type {boolean}
|
|
12566
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12567
|
+
*/
|
|
12568
|
+
'refundable': boolean;
|
|
12569
|
+
/**
|
|
12570
|
+
* Whether a refund can be split across this method and others.
|
|
12571
|
+
* @type {boolean}
|
|
12572
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12573
|
+
*/
|
|
12574
|
+
'refundSplittable': boolean;
|
|
12575
|
+
/**
|
|
12576
|
+
* Whether the customer may choose this method as a refund target.
|
|
12577
|
+
* @type {boolean}
|
|
12578
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12579
|
+
*/
|
|
12580
|
+
'refundChoiceEligible': boolean;
|
|
12581
|
+
/**
|
|
12582
|
+
* Refund allocation order (lower = refunded first); null when not refundable.
|
|
12583
|
+
* @type {number}
|
|
12584
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12585
|
+
*/
|
|
12586
|
+
'refundPriorityTier': number | null;
|
|
12587
|
+
/**
|
|
12588
|
+
*
|
|
12589
|
+
* @type {PaymentCheckoutFlow}
|
|
12590
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12591
|
+
*/
|
|
12592
|
+
'checkoutFlow': PaymentCheckoutFlow;
|
|
12593
|
+
/**
|
|
12594
|
+
* Display tone/color key for badges and chips (e.g. info, edenred, voucherOrange).
|
|
12595
|
+
* @type {string}
|
|
12596
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12597
|
+
*/
|
|
12598
|
+
'tone': string;
|
|
12599
|
+
/**
|
|
12600
|
+
* Whether a refund is sent back to the original card via the terminal SDK.
|
|
12601
|
+
* @type {boolean}
|
|
12602
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12603
|
+
*/
|
|
12604
|
+
'refundToCard': boolean;
|
|
12605
|
+
/**
|
|
12606
|
+
* Whether refunding this method needs an active card provider (Viva/Nets).
|
|
12607
|
+
* @type {boolean}
|
|
12608
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12609
|
+
*/
|
|
12610
|
+
'requiresProvider': boolean;
|
|
12611
|
+
/**
|
|
12612
|
+
* Whether checkout needs a manual resolution step (cash rounding, voucher selection).
|
|
12613
|
+
* @type {boolean}
|
|
12614
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12615
|
+
*/
|
|
12616
|
+
'requiresManualResolution': boolean;
|
|
12617
|
+
/**
|
|
12618
|
+
* Whether receipts/print should show a forfeited (leftover) amount line.
|
|
12619
|
+
* @type {boolean}
|
|
12620
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12621
|
+
*/
|
|
12622
|
+
'shouldDisplayForfeitedAmount': boolean;
|
|
12623
|
+
/**
|
|
12624
|
+
* Benefit-confirmation issuer for the post-payment notification (e.g. edenred, wolt).
|
|
12625
|
+
* @type {string}
|
|
12626
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12627
|
+
*/
|
|
12628
|
+
'notificationIssuer': string | null;
|
|
12629
|
+
}
|
|
12630
|
+
/**
|
|
12631
|
+
* Saved 3rd-party gift card credentials for pre-fill; null when not applicable.
|
|
12632
|
+
* @export
|
|
12633
|
+
* @interface PaymentMethodDtoGiftCardCredentials
|
|
12634
|
+
*/
|
|
12635
|
+
export interface PaymentMethodDtoGiftCardCredentials {
|
|
12636
|
+
/**
|
|
12637
|
+
* Saved 3rd-party gift card username.
|
|
12638
|
+
* @type {string}
|
|
12639
|
+
* @memberof PaymentMethodDtoGiftCardCredentials
|
|
12640
|
+
*/
|
|
12641
|
+
'username': string | null;
|
|
12642
|
+
/**
|
|
12643
|
+
* Saved 3rd-party gift card password.
|
|
12644
|
+
* @type {string}
|
|
12645
|
+
* @memberof PaymentMethodDtoGiftCardCredentials
|
|
12646
|
+
*/
|
|
12647
|
+
'password': string | null;
|
|
12648
|
+
/**
|
|
12649
|
+
* Saved unique POS device id for the 3rd-party gift card provider.
|
|
12650
|
+
* @type {string}
|
|
12651
|
+
* @memberof PaymentMethodDtoGiftCardCredentials
|
|
12652
|
+
*/
|
|
12653
|
+
'uniquePosDeviceId': string | null;
|
|
12654
|
+
}
|
|
12655
|
+
/**
|
|
12656
|
+
*
|
|
12657
|
+
* @export
|
|
12658
|
+
* @interface PaymentMethodTypeDto
|
|
12659
|
+
*/
|
|
12660
|
+
export interface PaymentMethodTypeDto {
|
|
12661
|
+
/**
|
|
12662
|
+
* Catalog type code (e.g. CARD, VOUCHER, GIFT_CARD).
|
|
12663
|
+
* @type {string}
|
|
12664
|
+
* @memberof PaymentMethodTypeDto
|
|
12665
|
+
*/
|
|
12666
|
+
'code': string;
|
|
12667
|
+
/**
|
|
12668
|
+
* Human-readable type label for display.
|
|
12669
|
+
* @type {string}
|
|
12670
|
+
* @memberof PaymentMethodTypeDto
|
|
12671
|
+
*/
|
|
12672
|
+
'label': string;
|
|
12673
|
+
/**
|
|
12674
|
+
* Short explanation of what this category means, to guide the user.
|
|
12675
|
+
* @type {string}
|
|
12676
|
+
* @memberof PaymentMethodTypeDto
|
|
12677
|
+
*/
|
|
12678
|
+
'description': string;
|
|
12679
|
+
/**
|
|
12680
|
+
* Whether methods of this type take preset amounts/denominations.
|
|
12681
|
+
* @type {boolean}
|
|
12682
|
+
* @memberof PaymentMethodTypeDto
|
|
12683
|
+
*/
|
|
12684
|
+
'supportsAmounts': boolean;
|
|
12685
|
+
}
|
|
12686
|
+
/**
|
|
12687
|
+
*
|
|
12688
|
+
* @export
|
|
12689
|
+
* @interface PaymentMethodsResponseDto
|
|
12690
|
+
*/
|
|
12691
|
+
export interface PaymentMethodsResponseDto {
|
|
12692
|
+
/**
|
|
12693
|
+
* Unique identifier of the payment method
|
|
12694
|
+
* @type {string}
|
|
12695
|
+
* @memberof PaymentMethodsResponseDto
|
|
12696
|
+
*/
|
|
12697
|
+
'id': string;
|
|
12698
|
+
/**
|
|
12699
|
+
*
|
|
12700
|
+
* @type {PaymentMethod}
|
|
12701
|
+
* @memberof PaymentMethodsResponseDto
|
|
12702
|
+
*/
|
|
12703
|
+
'name': PaymentMethod;
|
|
12704
|
+
/**
|
|
12705
|
+
* Display position/order of the payment method in UI
|
|
12706
|
+
* @type {number}
|
|
12707
|
+
* @memberof PaymentMethodsResponseDto
|
|
12050
12708
|
*/
|
|
12051
12709
|
'position': number;
|
|
12052
12710
|
/**
|
|
@@ -15923,6 +16581,43 @@ export interface ProviderSupportedIntegrationsDto {
|
|
|
15923
16581
|
*/
|
|
15924
16582
|
'supportedIntegrations': Array<IntegrationType>;
|
|
15925
16583
|
}
|
|
16584
|
+
/**
|
|
16585
|
+
*
|
|
16586
|
+
* @export
|
|
16587
|
+
* @interface ProvidersConfigResponseDto
|
|
16588
|
+
*/
|
|
16589
|
+
export interface ProvidersConfigResponseDto {
|
|
16590
|
+
/**
|
|
16591
|
+
*
|
|
16592
|
+
* @type {PaymentProvider}
|
|
16593
|
+
* @memberof ProvidersConfigResponseDto
|
|
16594
|
+
*/
|
|
16595
|
+
'selectedPaymentProvider': PaymentProvider | null;
|
|
16596
|
+
/**
|
|
16597
|
+
*
|
|
16598
|
+
* @type {VivaConfigResponseDto}
|
|
16599
|
+
* @memberof ProvidersConfigResponseDto
|
|
16600
|
+
*/
|
|
16601
|
+
'viva': VivaConfigResponseDto | null;
|
|
16602
|
+
/**
|
|
16603
|
+
*
|
|
16604
|
+
* @type {NetsConfigResponseDto}
|
|
16605
|
+
* @memberof ProvidersConfigResponseDto
|
|
16606
|
+
*/
|
|
16607
|
+
'nets': NetsConfigResponseDto | null;
|
|
16608
|
+
/**
|
|
16609
|
+
*
|
|
16610
|
+
* @type {StripeConfigResponseDto}
|
|
16611
|
+
* @memberof ProvidersConfigResponseDto
|
|
16612
|
+
*/
|
|
16613
|
+
'stripe': StripeConfigResponseDto | null;
|
|
16614
|
+
/**
|
|
16615
|
+
*
|
|
16616
|
+
* @type {WorldlineConfigResponseDto}
|
|
16617
|
+
* @memberof ProvidersConfigResponseDto
|
|
16618
|
+
*/
|
|
16619
|
+
'worldline': WorldlineConfigResponseDto | null;
|
|
16620
|
+
}
|
|
15926
16621
|
/**
|
|
15927
16622
|
*
|
|
15928
16623
|
* @export
|
|
@@ -15942,6 +16637,25 @@ export declare const PubSubTarget: {
|
|
|
15942
16637
|
readonly Kds: "KDS";
|
|
15943
16638
|
};
|
|
15944
16639
|
export type PubSubTarget = typeof PubSubTarget[keyof typeof PubSubTarget];
|
|
16640
|
+
/**
|
|
16641
|
+
*
|
|
16642
|
+
* @export
|
|
16643
|
+
* @interface RankItemDto
|
|
16644
|
+
*/
|
|
16645
|
+
export interface RankItemDto {
|
|
16646
|
+
/**
|
|
16647
|
+
* PaymentMethodOption id to position.
|
|
16648
|
+
* @type {string}
|
|
16649
|
+
* @memberof RankItemDto
|
|
16650
|
+
*/
|
|
16651
|
+
'id': string;
|
|
16652
|
+
/**
|
|
16653
|
+
* New zero-based sort position.
|
|
16654
|
+
* @type {number}
|
|
16655
|
+
* @memberof RankItemDto
|
|
16656
|
+
*/
|
|
16657
|
+
'rank': number;
|
|
16658
|
+
}
|
|
15945
16659
|
/**
|
|
15946
16660
|
*
|
|
15947
16661
|
* @export
|
|
@@ -17887,6 +18601,37 @@ export declare const Status: {
|
|
|
17887
18601
|
readonly Inactive: "INACTIVE";
|
|
17888
18602
|
};
|
|
17889
18603
|
export type Status = typeof Status[keyof typeof Status];
|
|
18604
|
+
/**
|
|
18605
|
+
*
|
|
18606
|
+
* @export
|
|
18607
|
+
* @interface StripeConfigResponseDto
|
|
18608
|
+
*/
|
|
18609
|
+
export interface StripeConfigResponseDto {
|
|
18610
|
+
/**
|
|
18611
|
+
* Whether the Stripe integration is active.
|
|
18612
|
+
* @type {boolean}
|
|
18613
|
+
* @memberof StripeConfigResponseDto
|
|
18614
|
+
*/
|
|
18615
|
+
'isActive': boolean;
|
|
18616
|
+
/**
|
|
18617
|
+
* Display name.
|
|
18618
|
+
* @type {string}
|
|
18619
|
+
* @memberof StripeConfigResponseDto
|
|
18620
|
+
*/
|
|
18621
|
+
'name': string | null;
|
|
18622
|
+
/**
|
|
18623
|
+
* Stripe secret key.
|
|
18624
|
+
* @type {string}
|
|
18625
|
+
* @memberof StripeConfigResponseDto
|
|
18626
|
+
*/
|
|
18627
|
+
'secretKey': string | null;
|
|
18628
|
+
/**
|
|
18629
|
+
* Stripe location id.
|
|
18630
|
+
* @type {string}
|
|
18631
|
+
* @memberof StripeConfigResponseDto
|
|
18632
|
+
*/
|
|
18633
|
+
'locationId': string | null;
|
|
18634
|
+
}
|
|
17890
18635
|
/**
|
|
17891
18636
|
*
|
|
17892
18637
|
* @export
|
|
@@ -20186,6 +20931,86 @@ export interface UpdateInvoiceCompanyDto {
|
|
|
20186
20931
|
*/
|
|
20187
20932
|
'address'?: string;
|
|
20188
20933
|
}
|
|
20934
|
+
/**
|
|
20935
|
+
*
|
|
20936
|
+
* @export
|
|
20937
|
+
* @interface UpdatePaymentMethodOptionDto
|
|
20938
|
+
*/
|
|
20939
|
+
export interface UpdatePaymentMethodOptionDto {
|
|
20940
|
+
/**
|
|
20941
|
+
* Per-business name override.
|
|
20942
|
+
* @type {string}
|
|
20943
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
20944
|
+
*/
|
|
20945
|
+
'customName'?: string;
|
|
20946
|
+
/**
|
|
20947
|
+
* Per-business logo URL.
|
|
20948
|
+
* @type {string}
|
|
20949
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
20950
|
+
*/
|
|
20951
|
+
'logo'?: string;
|
|
20952
|
+
/**
|
|
20953
|
+
* Per-business description.
|
|
20954
|
+
* @type {string}
|
|
20955
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
20956
|
+
*/
|
|
20957
|
+
'description'?: string;
|
|
20958
|
+
/**
|
|
20959
|
+
* Parent method code for grouped vouchers.
|
|
20960
|
+
* @type {string}
|
|
20961
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
20962
|
+
*/
|
|
20963
|
+
'parentCode'?: string;
|
|
20964
|
+
/**
|
|
20965
|
+
* Preset amounts/denominations (vouchers).
|
|
20966
|
+
* @type {Array<number>}
|
|
20967
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
20968
|
+
*/
|
|
20969
|
+
'amounts'?: Array<number>;
|
|
20970
|
+
/**
|
|
20971
|
+
* Minimum order amount required to use this method.
|
|
20972
|
+
* @type {number}
|
|
20973
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
20974
|
+
*/
|
|
20975
|
+
'minimumCheckoutAmount'?: number;
|
|
20976
|
+
/**
|
|
20977
|
+
* Whether the method is enabled.
|
|
20978
|
+
* @type {boolean}
|
|
20979
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
20980
|
+
*/
|
|
20981
|
+
'enable'?: boolean;
|
|
20982
|
+
/**
|
|
20983
|
+
*
|
|
20984
|
+
* @type {UpdatePaymentMethodOptionDtoGiftCardCredentials}
|
|
20985
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
20986
|
+
*/
|
|
20987
|
+
'giftCardCredentials'?: UpdatePaymentMethodOptionDtoGiftCardCredentials;
|
|
20988
|
+
}
|
|
20989
|
+
/**
|
|
20990
|
+
* Only for a 3rd-party gift card: username/password/posDeviceId (URLs are constants).
|
|
20991
|
+
* @export
|
|
20992
|
+
* @interface UpdatePaymentMethodOptionDtoGiftCardCredentials
|
|
20993
|
+
*/
|
|
20994
|
+
export interface UpdatePaymentMethodOptionDtoGiftCardCredentials {
|
|
20995
|
+
/**
|
|
20996
|
+
* 3rd-party gift card account username.
|
|
20997
|
+
* @type {string}
|
|
20998
|
+
* @memberof UpdatePaymentMethodOptionDtoGiftCardCredentials
|
|
20999
|
+
*/
|
|
21000
|
+
'username'?: string;
|
|
21001
|
+
/**
|
|
21002
|
+
* 3rd-party gift card account password.
|
|
21003
|
+
* @type {string}
|
|
21004
|
+
* @memberof UpdatePaymentMethodOptionDtoGiftCardCredentials
|
|
21005
|
+
*/
|
|
21006
|
+
'password'?: string;
|
|
21007
|
+
/**
|
|
21008
|
+
* Unique POS device id for the 3rd-party gift card provider.
|
|
21009
|
+
* @type {string}
|
|
21010
|
+
* @memberof UpdatePaymentMethodOptionDtoGiftCardCredentials
|
|
21011
|
+
*/
|
|
21012
|
+
'uniquePosDeviceId'?: string;
|
|
21013
|
+
}
|
|
20189
21014
|
/**
|
|
20190
21015
|
*
|
|
20191
21016
|
* @export
|
|
@@ -20630,7 +21455,7 @@ export interface UpsertNetsDto {
|
|
|
20630
21455
|
* @type {string}
|
|
20631
21456
|
* @memberof UpsertNetsDto
|
|
20632
21457
|
*/
|
|
20633
|
-
'name'
|
|
21458
|
+
'name': string;
|
|
20634
21459
|
/**
|
|
20635
21460
|
*
|
|
20636
21461
|
* @type {boolean}
|
|
@@ -20858,21 +21683,100 @@ export interface UpsertProductPrintPolicyDto {
|
|
|
20858
21683
|
/**
|
|
20859
21684
|
*
|
|
20860
21685
|
* @export
|
|
20861
|
-
* @interface
|
|
21686
|
+
* @interface UpsertProvidersDto
|
|
20862
21687
|
*/
|
|
20863
|
-
export interface
|
|
21688
|
+
export interface UpsertProvidersDto {
|
|
20864
21689
|
/**
|
|
20865
21690
|
*
|
|
20866
|
-
* @type {
|
|
20867
|
-
* @memberof
|
|
21691
|
+
* @type {PaymentProvider}
|
|
21692
|
+
* @memberof UpsertProvidersDto
|
|
20868
21693
|
*/
|
|
20869
|
-
'
|
|
21694
|
+
'provider': PaymentProvider;
|
|
20870
21695
|
/**
|
|
20871
|
-
*
|
|
20872
|
-
* @type {
|
|
20873
|
-
* @memberof
|
|
21696
|
+
*
|
|
21697
|
+
* @type {string}
|
|
21698
|
+
* @memberof UpsertProvidersDto
|
|
20874
21699
|
*/
|
|
20875
|
-
'
|
|
21700
|
+
'name': string;
|
|
21701
|
+
/**
|
|
21702
|
+
*
|
|
21703
|
+
* @type {boolean}
|
|
21704
|
+
* @memberof UpsertProvidersDto
|
|
21705
|
+
*/
|
|
21706
|
+
'isActive'?: boolean;
|
|
21707
|
+
/**
|
|
21708
|
+
* Viva merchant id.
|
|
21709
|
+
* @type {string}
|
|
21710
|
+
* @memberof UpsertProvidersDto
|
|
21711
|
+
*/
|
|
21712
|
+
'merchantId'?: string;
|
|
21713
|
+
/**
|
|
21714
|
+
* Viva source code.
|
|
21715
|
+
* @type {string}
|
|
21716
|
+
* @memberof UpsertProvidersDto
|
|
21717
|
+
*/
|
|
21718
|
+
'sourceCode'?: string;
|
|
21719
|
+
/**
|
|
21720
|
+
* Viva commission/surcharge rate.
|
|
21721
|
+
* @type {number}
|
|
21722
|
+
* @memberof UpsertProvidersDto
|
|
21723
|
+
*/
|
|
21724
|
+
'rate'?: number;
|
|
21725
|
+
/**
|
|
21726
|
+
* Viva additional amount.
|
|
21727
|
+
* @type {number}
|
|
21728
|
+
* @memberof UpsertProvidersDto
|
|
21729
|
+
*/
|
|
21730
|
+
'additionalAmount'?: number;
|
|
21731
|
+
/**
|
|
21732
|
+
* Nets / Stripe / Worldline secret key.
|
|
21733
|
+
* @type {string}
|
|
21734
|
+
* @memberof UpsertProvidersDto
|
|
21735
|
+
*/
|
|
21736
|
+
'secretKey'?: string;
|
|
21737
|
+
/**
|
|
21738
|
+
* Nets / Worldline public key.
|
|
21739
|
+
* @type {string}
|
|
21740
|
+
* @memberof UpsertProvidersDto
|
|
21741
|
+
*/
|
|
21742
|
+
'publicKey'?: string;
|
|
21743
|
+
/**
|
|
21744
|
+
* Nets OAuth client id.
|
|
21745
|
+
* @type {string}
|
|
21746
|
+
* @memberof UpsertProvidersDto
|
|
21747
|
+
*/
|
|
21748
|
+
'clientId'?: string;
|
|
21749
|
+
/**
|
|
21750
|
+
* Nets OAuth client secret.
|
|
21751
|
+
* @type {string}
|
|
21752
|
+
* @memberof UpsertProvidersDto
|
|
21753
|
+
*/
|
|
21754
|
+
'clientSecret'?: string;
|
|
21755
|
+
/**
|
|
21756
|
+
* Stripe location id.
|
|
21757
|
+
* @type {string}
|
|
21758
|
+
* @memberof UpsertProvidersDto
|
|
21759
|
+
*/
|
|
21760
|
+
'locationId'?: string;
|
|
21761
|
+
}
|
|
21762
|
+
/**
|
|
21763
|
+
*
|
|
21764
|
+
* @export
|
|
21765
|
+
* @interface UpsertScheduleDayDto
|
|
21766
|
+
*/
|
|
21767
|
+
export interface UpsertScheduleDayDto {
|
|
21768
|
+
/**
|
|
21769
|
+
*
|
|
21770
|
+
* @type {DayOfWeek}
|
|
21771
|
+
* @memberof UpsertScheduleDayDto
|
|
21772
|
+
*/
|
|
21773
|
+
'day': DayOfWeek;
|
|
21774
|
+
/**
|
|
21775
|
+
* Whether the business is open on this day
|
|
21776
|
+
* @type {boolean}
|
|
21777
|
+
* @memberof UpsertScheduleDayDto
|
|
21778
|
+
*/
|
|
21779
|
+
'enabled': boolean;
|
|
20876
21780
|
/**
|
|
20877
21781
|
*
|
|
20878
21782
|
* @type {ScheduleType}
|
|
@@ -20897,7 +21801,7 @@ export interface UpsertStripeDto {
|
|
|
20897
21801
|
* @type {string}
|
|
20898
21802
|
* @memberof UpsertStripeDto
|
|
20899
21803
|
*/
|
|
20900
|
-
'name'
|
|
21804
|
+
'name': string;
|
|
20901
21805
|
/**
|
|
20902
21806
|
*
|
|
20903
21807
|
* @type {boolean}
|
|
@@ -20928,7 +21832,7 @@ export interface UpsertVivaDto {
|
|
|
20928
21832
|
* @type {string}
|
|
20929
21833
|
* @memberof UpsertVivaDto
|
|
20930
21834
|
*/
|
|
20931
|
-
'name'
|
|
21835
|
+
'name': string;
|
|
20932
21836
|
/**
|
|
20933
21837
|
*
|
|
20934
21838
|
* @type {boolean}
|
|
@@ -21322,6 +22226,43 @@ export interface VivaConfigDto {
|
|
|
21322
22226
|
*/
|
|
21323
22227
|
'additionalAmount'?: number;
|
|
21324
22228
|
}
|
|
22229
|
+
/**
|
|
22230
|
+
*
|
|
22231
|
+
* @export
|
|
22232
|
+
* @interface VivaConfigResponseDto
|
|
22233
|
+
*/
|
|
22234
|
+
export interface VivaConfigResponseDto {
|
|
22235
|
+
/**
|
|
22236
|
+
* Whether the Viva integration is active.
|
|
22237
|
+
* @type {boolean}
|
|
22238
|
+
* @memberof VivaConfigResponseDto
|
|
22239
|
+
*/
|
|
22240
|
+
'isActive': boolean;
|
|
22241
|
+
/**
|
|
22242
|
+
* Display name.
|
|
22243
|
+
* @type {string}
|
|
22244
|
+
* @memberof VivaConfigResponseDto
|
|
22245
|
+
*/
|
|
22246
|
+
'name': string | null;
|
|
22247
|
+
/**
|
|
22248
|
+
* Viva merchant id.
|
|
22249
|
+
* @type {string}
|
|
22250
|
+
* @memberof VivaConfigResponseDto
|
|
22251
|
+
*/
|
|
22252
|
+
'merchantId': string | null;
|
|
22253
|
+
/**
|
|
22254
|
+
* Viva source code.
|
|
22255
|
+
* @type {string}
|
|
22256
|
+
* @memberof VivaConfigResponseDto
|
|
22257
|
+
*/
|
|
22258
|
+
'sourceCode': string | null;
|
|
22259
|
+
/**
|
|
22260
|
+
* Commission/surcharge rate.
|
|
22261
|
+
* @type {number}
|
|
22262
|
+
* @memberof VivaConfigResponseDto
|
|
22263
|
+
*/
|
|
22264
|
+
'rate': number | null;
|
|
22265
|
+
}
|
|
21325
22266
|
/**
|
|
21326
22267
|
*
|
|
21327
22268
|
* @export
|
|
@@ -22694,6 +23635,37 @@ export interface WorldlineAmountsRequestDto {
|
|
|
22694
23635
|
*/
|
|
22695
23636
|
'tip'?: number;
|
|
22696
23637
|
}
|
|
23638
|
+
/**
|
|
23639
|
+
*
|
|
23640
|
+
* @export
|
|
23641
|
+
* @interface WorldlineConfigResponseDto
|
|
23642
|
+
*/
|
|
23643
|
+
export interface WorldlineConfigResponseDto {
|
|
23644
|
+
/**
|
|
23645
|
+
* Whether the Worldline integration is active.
|
|
23646
|
+
* @type {boolean}
|
|
23647
|
+
* @memberof WorldlineConfigResponseDto
|
|
23648
|
+
*/
|
|
23649
|
+
'isActive': boolean;
|
|
23650
|
+
/**
|
|
23651
|
+
* Display name.
|
|
23652
|
+
* @type {string}
|
|
23653
|
+
* @memberof WorldlineConfigResponseDto
|
|
23654
|
+
*/
|
|
23655
|
+
'name': string | null;
|
|
23656
|
+
/**
|
|
23657
|
+
* Worldline secret key.
|
|
23658
|
+
* @type {string}
|
|
23659
|
+
* @memberof WorldlineConfigResponseDto
|
|
23660
|
+
*/
|
|
23661
|
+
'secretKey': string | null;
|
|
23662
|
+
/**
|
|
23663
|
+
* Worldline public key.
|
|
23664
|
+
* @type {string}
|
|
23665
|
+
* @memberof WorldlineConfigResponseDto
|
|
23666
|
+
*/
|
|
23667
|
+
'publicKey': string | null;
|
|
23668
|
+
}
|
|
22697
23669
|
/**
|
|
22698
23670
|
*
|
|
22699
23671
|
* @export
|
|
@@ -24934,6 +25906,15 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
24934
25906
|
* @throws {RequiredError}
|
|
24935
25907
|
*/
|
|
24936
25908
|
configConfigureMunchiGiftCard: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25909
|
+
/**
|
|
25910
|
+
*
|
|
25911
|
+
* @summary Get payment providers config
|
|
25912
|
+
* @param {number} businessId
|
|
25913
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
25914
|
+
* @param {*} [options] Override http request option.
|
|
25915
|
+
* @throws {RequiredError}
|
|
25916
|
+
*/
|
|
25917
|
+
configGetProviders: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24937
25918
|
/**
|
|
24938
25919
|
*
|
|
24939
25920
|
* @summary Manual sync trigger
|
|
@@ -25011,6 +25992,16 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
25011
25992
|
* @throws {RequiredError}
|
|
25012
25993
|
*/
|
|
25013
25994
|
configUpsertPaymentOptions: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25995
|
+
/**
|
|
25996
|
+
*
|
|
25997
|
+
* @summary Set active provider and upsert its credentials
|
|
25998
|
+
* @param {number} businessId
|
|
25999
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26000
|
+
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
26001
|
+
* @param {*} [options] Override http request option.
|
|
26002
|
+
* @throws {RequiredError}
|
|
26003
|
+
*/
|
|
26004
|
+
configUpsertProviders: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25014
26005
|
/**
|
|
25015
26006
|
*
|
|
25016
26007
|
* @summary Upsert Stripe payment config
|
|
@@ -25047,6 +26038,15 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
25047
26038
|
* @throws {RequiredError}
|
|
25048
26039
|
*/
|
|
25049
26040
|
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>>;
|
|
26041
|
+
/**
|
|
26042
|
+
*
|
|
26043
|
+
* @summary Get payment providers config
|
|
26044
|
+
* @param {number} businessId
|
|
26045
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26046
|
+
* @param {*} [options] Override http request option.
|
|
26047
|
+
* @throws {RequiredError}
|
|
26048
|
+
*/
|
|
26049
|
+
configGetProviders(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvidersConfigResponseDto>>;
|
|
25050
26050
|
/**
|
|
25051
26051
|
*
|
|
25052
26052
|
* @summary Manual sync trigger
|
|
@@ -25124,6 +26124,16 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
25124
26124
|
* @throws {RequiredError}
|
|
25125
26125
|
*/
|
|
25126
26126
|
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>>;
|
|
26127
|
+
/**
|
|
26128
|
+
*
|
|
26129
|
+
* @summary Set active provider and upsert its credentials
|
|
26130
|
+
* @param {number} businessId
|
|
26131
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26132
|
+
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
26133
|
+
* @param {*} [options] Override http request option.
|
|
26134
|
+
* @throws {RequiredError}
|
|
26135
|
+
*/
|
|
26136
|
+
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>>;
|
|
25127
26137
|
/**
|
|
25128
26138
|
*
|
|
25129
26139
|
* @summary Upsert Stripe payment config
|
|
@@ -25160,6 +26170,15 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
25160
26170
|
* @throws {RequiredError}
|
|
25161
26171
|
*/
|
|
25162
26172
|
configConfigureMunchiGiftCard(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
26173
|
+
/**
|
|
26174
|
+
*
|
|
26175
|
+
* @summary Get payment providers config
|
|
26176
|
+
* @param {number} businessId
|
|
26177
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26178
|
+
* @param {*} [options] Override http request option.
|
|
26179
|
+
* @throws {RequiredError}
|
|
26180
|
+
*/
|
|
26181
|
+
configGetProviders(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", options?: any): AxiosPromise<ProvidersConfigResponseDto>;
|
|
25163
26182
|
/**
|
|
25164
26183
|
*
|
|
25165
26184
|
* @summary Manual sync trigger
|
|
@@ -25237,6 +26256,16 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
25237
26256
|
* @throws {RequiredError}
|
|
25238
26257
|
*/
|
|
25239
26258
|
configUpsertPaymentOptions(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
26259
|
+
/**
|
|
26260
|
+
*
|
|
26261
|
+
* @summary Set active provider and upsert its credentials
|
|
26262
|
+
* @param {number} businessId
|
|
26263
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26264
|
+
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
26265
|
+
* @param {*} [options] Override http request option.
|
|
26266
|
+
* @throws {RequiredError}
|
|
26267
|
+
*/
|
|
26268
|
+
configUpsertProviders(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", upsertProvidersDto: UpsertProvidersDto, options?: any): AxiosPromise<ProvidersConfigResponseDto>;
|
|
25240
26269
|
/**
|
|
25241
26270
|
*
|
|
25242
26271
|
* @summary Upsert Stripe payment config
|
|
@@ -25275,6 +26304,16 @@ export interface ConfigManagementApiInterface {
|
|
|
25275
26304
|
* @memberof ConfigManagementApiInterface
|
|
25276
26305
|
*/
|
|
25277
26306
|
configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
26307
|
+
/**
|
|
26308
|
+
*
|
|
26309
|
+
* @summary Get payment providers config
|
|
26310
|
+
* @param {number} businessId
|
|
26311
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26312
|
+
* @param {*} [options] Override http request option.
|
|
26313
|
+
* @throws {RequiredError}
|
|
26314
|
+
* @memberof ConfigManagementApiInterface
|
|
26315
|
+
*/
|
|
26316
|
+
configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: AxiosRequestConfig): AxiosPromise<ProvidersConfigResponseDto>;
|
|
25278
26317
|
/**
|
|
25279
26318
|
*
|
|
25280
26319
|
* @summary Manual sync trigger
|
|
@@ -25360,6 +26399,17 @@ export interface ConfigManagementApiInterface {
|
|
|
25360
26399
|
* @memberof ConfigManagementApiInterface
|
|
25361
26400
|
*/
|
|
25362
26401
|
configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
26402
|
+
/**
|
|
26403
|
+
*
|
|
26404
|
+
* @summary Set active provider and upsert its credentials
|
|
26405
|
+
* @param {number} businessId
|
|
26406
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26407
|
+
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
26408
|
+
* @param {*} [options] Override http request option.
|
|
26409
|
+
* @throws {RequiredError}
|
|
26410
|
+
* @memberof ConfigManagementApiInterface
|
|
26411
|
+
*/
|
|
26412
|
+
configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig): AxiosPromise<ProvidersConfigResponseDto>;
|
|
25363
26413
|
/**
|
|
25364
26414
|
*
|
|
25365
26415
|
* @summary Upsert Stripe payment config
|
|
@@ -25401,6 +26451,16 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
25401
26451
|
* @memberof ConfigManagementApi
|
|
25402
26452
|
*/
|
|
25403
26453
|
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, {}>>;
|
|
26454
|
+
/**
|
|
26455
|
+
*
|
|
26456
|
+
* @summary Get payment providers config
|
|
26457
|
+
* @param {number} businessId
|
|
26458
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26459
|
+
* @param {*} [options] Override http request option.
|
|
26460
|
+
* @throws {RequiredError}
|
|
26461
|
+
* @memberof ConfigManagementApi
|
|
26462
|
+
*/
|
|
26463
|
+
configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProvidersConfigResponseDto, any, {}>>;
|
|
25404
26464
|
/**
|
|
25405
26465
|
*
|
|
25406
26466
|
* @summary Manual sync trigger
|
|
@@ -25486,6 +26546,17 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
25486
26546
|
* @memberof ConfigManagementApi
|
|
25487
26547
|
*/
|
|
25488
26548
|
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, {}>>;
|
|
26549
|
+
/**
|
|
26550
|
+
*
|
|
26551
|
+
* @summary Set active provider and upsert its credentials
|
|
26552
|
+
* @param {number} businessId
|
|
26553
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26554
|
+
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
26555
|
+
* @param {*} [options] Override http request option.
|
|
26556
|
+
* @throws {RequiredError}
|
|
26557
|
+
* @memberof ConfigManagementApi
|
|
26558
|
+
*/
|
|
26559
|
+
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, {}>>;
|
|
25489
26560
|
/**
|
|
25490
26561
|
*
|
|
25491
26562
|
* @summary Upsert Stripe payment config
|
|
@@ -30204,6 +31275,415 @@ export declare class PaymentApi extends BaseAPI implements PaymentApiInterface {
|
|
|
30204
31275
|
*/
|
|
30205
31276
|
refundVivaTransactionV4(refundPayloadDtoV4: RefundPayloadDtoV4, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VivaPaymentResultDto, any, {}>>;
|
|
30206
31277
|
}
|
|
31278
|
+
/**
|
|
31279
|
+
* PaymentMethodsApi - axios parameter creator
|
|
31280
|
+
* @export
|
|
31281
|
+
*/
|
|
31282
|
+
export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
31283
|
+
/**
|
|
31284
|
+
*
|
|
31285
|
+
* @param {number} businessId
|
|
31286
|
+
* @param {ProviderEnum} channel
|
|
31287
|
+
* @param {CreatePaymentMethodDto} createPaymentMethodDto
|
|
31288
|
+
* @param {*} [options] Override http request option.
|
|
31289
|
+
* @throws {RequiredError}
|
|
31290
|
+
*/
|
|
31291
|
+
createPaymentMethod: (businessId: number, channel: ProviderEnum, createPaymentMethodDto: CreatePaymentMethodDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31292
|
+
/**
|
|
31293
|
+
*
|
|
31294
|
+
* @param {number} businessId
|
|
31295
|
+
* @param {ProviderEnum} channel
|
|
31296
|
+
* @param {string} id
|
|
31297
|
+
* @param {*} [options] Override http request option.
|
|
31298
|
+
* @throws {RequiredError}
|
|
31299
|
+
*/
|
|
31300
|
+
deletePaymentMethodOption: (businessId: number, channel: ProviderEnum, id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31301
|
+
/**
|
|
31302
|
+
*
|
|
31303
|
+
* @param {number} businessId
|
|
31304
|
+
* @param {ProviderEnum} channel
|
|
31305
|
+
* @param {any} [locale]
|
|
31306
|
+
* @param {*} [options] Override http request option.
|
|
31307
|
+
* @throws {RequiredError}
|
|
31308
|
+
*/
|
|
31309
|
+
getCatalog: (businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31310
|
+
/**
|
|
31311
|
+
*
|
|
31312
|
+
* @param {ProviderEnum} channel
|
|
31313
|
+
* @param {number} businessId
|
|
31314
|
+
* @param {any} [locale]
|
|
31315
|
+
* @param {*} [options] Override http request option.
|
|
31316
|
+
* @throws {RequiredError}
|
|
31317
|
+
*/
|
|
31318
|
+
getGlobalCatalog: (channel: ProviderEnum, businessId: number, locale?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31319
|
+
/**
|
|
31320
|
+
*
|
|
31321
|
+
* @param {number} businessId
|
|
31322
|
+
* @param {ProviderEnum} channel
|
|
31323
|
+
* @param {any} [locale]
|
|
31324
|
+
* @param {*} [options] Override http request option.
|
|
31325
|
+
* @throws {RequiredError}
|
|
31326
|
+
*/
|
|
31327
|
+
getPaymentMethods: (businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31328
|
+
/**
|
|
31329
|
+
*
|
|
31330
|
+
* @param {ProviderEnum} channel
|
|
31331
|
+
* @param {number} businessId
|
|
31332
|
+
* @param {*} [options] Override http request option.
|
|
31333
|
+
* @throws {RequiredError}
|
|
31334
|
+
*/
|
|
31335
|
+
getTypes: (channel: ProviderEnum, businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31336
|
+
/**
|
|
31337
|
+
*
|
|
31338
|
+
* @param {number} businessId
|
|
31339
|
+
* @param {ProviderEnum} channel
|
|
31340
|
+
* @param {BulkRankDto} bulkRankDto
|
|
31341
|
+
* @param {*} [options] Override http request option.
|
|
31342
|
+
* @throws {RequiredError}
|
|
31343
|
+
*/
|
|
31344
|
+
reorder: (businessId: number, channel: ProviderEnum, bulkRankDto: BulkRankDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31345
|
+
/**
|
|
31346
|
+
*
|
|
31347
|
+
* @param {number} businessId
|
|
31348
|
+
* @param {ProviderEnum} channel
|
|
31349
|
+
* @param {string} id
|
|
31350
|
+
* @param {UpdatePaymentMethodOptionDto} updatePaymentMethodOptionDto
|
|
31351
|
+
* @param {*} [options] Override http request option.
|
|
31352
|
+
* @throws {RequiredError}
|
|
31353
|
+
*/
|
|
31354
|
+
updatePaymentMethodOption: (businessId: number, channel: ProviderEnum, id: string, updatePaymentMethodOptionDto: UpdatePaymentMethodOptionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31355
|
+
};
|
|
31356
|
+
/**
|
|
31357
|
+
* PaymentMethodsApi - functional programming interface
|
|
31358
|
+
* @export
|
|
31359
|
+
*/
|
|
31360
|
+
export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
|
|
31361
|
+
/**
|
|
31362
|
+
*
|
|
31363
|
+
* @param {number} businessId
|
|
31364
|
+
* @param {ProviderEnum} channel
|
|
31365
|
+
* @param {CreatePaymentMethodDto} createPaymentMethodDto
|
|
31366
|
+
* @param {*} [options] Override http request option.
|
|
31367
|
+
* @throws {RequiredError}
|
|
31368
|
+
*/
|
|
31369
|
+
createPaymentMethod(businessId: number, channel: ProviderEnum, createPaymentMethodDto: CreatePaymentMethodDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentMethodDto>>;
|
|
31370
|
+
/**
|
|
31371
|
+
*
|
|
31372
|
+
* @param {number} businessId
|
|
31373
|
+
* @param {ProviderEnum} channel
|
|
31374
|
+
* @param {string} id
|
|
31375
|
+
* @param {*} [options] Override http request option.
|
|
31376
|
+
* @throws {RequiredError}
|
|
31377
|
+
*/
|
|
31378
|
+
deletePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
31379
|
+
/**
|
|
31380
|
+
*
|
|
31381
|
+
* @param {number} businessId
|
|
31382
|
+
* @param {ProviderEnum} channel
|
|
31383
|
+
* @param {any} [locale]
|
|
31384
|
+
* @param {*} [options] Override http request option.
|
|
31385
|
+
* @throws {RequiredError}
|
|
31386
|
+
*/
|
|
31387
|
+
getCatalog(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AvailablePaymentMethodDto>>>;
|
|
31388
|
+
/**
|
|
31389
|
+
*
|
|
31390
|
+
* @param {ProviderEnum} channel
|
|
31391
|
+
* @param {number} businessId
|
|
31392
|
+
* @param {any} [locale]
|
|
31393
|
+
* @param {*} [options] Override http request option.
|
|
31394
|
+
* @throws {RequiredError}
|
|
31395
|
+
*/
|
|
31396
|
+
getGlobalCatalog(channel: ProviderEnum, businessId: number, locale?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CatalogMethodDto>>>;
|
|
31397
|
+
/**
|
|
31398
|
+
*
|
|
31399
|
+
* @param {number} businessId
|
|
31400
|
+
* @param {ProviderEnum} channel
|
|
31401
|
+
* @param {any} [locale]
|
|
31402
|
+
* @param {*} [options] Override http request option.
|
|
31403
|
+
* @throws {RequiredError}
|
|
31404
|
+
*/
|
|
31405
|
+
getPaymentMethods(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PaymentMethodDto>>>;
|
|
31406
|
+
/**
|
|
31407
|
+
*
|
|
31408
|
+
* @param {ProviderEnum} channel
|
|
31409
|
+
* @param {number} businessId
|
|
31410
|
+
* @param {*} [options] Override http request option.
|
|
31411
|
+
* @throws {RequiredError}
|
|
31412
|
+
*/
|
|
31413
|
+
getTypes(channel: ProviderEnum, businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PaymentMethodTypeDto>>>;
|
|
31414
|
+
/**
|
|
31415
|
+
*
|
|
31416
|
+
* @param {number} businessId
|
|
31417
|
+
* @param {ProviderEnum} channel
|
|
31418
|
+
* @param {BulkRankDto} bulkRankDto
|
|
31419
|
+
* @param {*} [options] Override http request option.
|
|
31420
|
+
* @throws {RequiredError}
|
|
31421
|
+
*/
|
|
31422
|
+
reorder(businessId: number, channel: ProviderEnum, bulkRankDto: BulkRankDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
31423
|
+
/**
|
|
31424
|
+
*
|
|
31425
|
+
* @param {number} businessId
|
|
31426
|
+
* @param {ProviderEnum} channel
|
|
31427
|
+
* @param {string} id
|
|
31428
|
+
* @param {UpdatePaymentMethodOptionDto} updatePaymentMethodOptionDto
|
|
31429
|
+
* @param {*} [options] Override http request option.
|
|
31430
|
+
* @throws {RequiredError}
|
|
31431
|
+
*/
|
|
31432
|
+
updatePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, updatePaymentMethodOptionDto: UpdatePaymentMethodOptionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentMethodDto>>;
|
|
31433
|
+
};
|
|
31434
|
+
/**
|
|
31435
|
+
* PaymentMethodsApi - factory interface
|
|
31436
|
+
* @export
|
|
31437
|
+
*/
|
|
31438
|
+
export declare const PaymentMethodsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
31439
|
+
/**
|
|
31440
|
+
*
|
|
31441
|
+
* @param {number} businessId
|
|
31442
|
+
* @param {ProviderEnum} channel
|
|
31443
|
+
* @param {CreatePaymentMethodDto} createPaymentMethodDto
|
|
31444
|
+
* @param {*} [options] Override http request option.
|
|
31445
|
+
* @throws {RequiredError}
|
|
31446
|
+
*/
|
|
31447
|
+
createPaymentMethod(businessId: number, channel: ProviderEnum, createPaymentMethodDto: CreatePaymentMethodDto, options?: any): AxiosPromise<PaymentMethodDto>;
|
|
31448
|
+
/**
|
|
31449
|
+
*
|
|
31450
|
+
* @param {number} businessId
|
|
31451
|
+
* @param {ProviderEnum} channel
|
|
31452
|
+
* @param {string} id
|
|
31453
|
+
* @param {*} [options] Override http request option.
|
|
31454
|
+
* @throws {RequiredError}
|
|
31455
|
+
*/
|
|
31456
|
+
deletePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, options?: any): AxiosPromise<void>;
|
|
31457
|
+
/**
|
|
31458
|
+
*
|
|
31459
|
+
* @param {number} businessId
|
|
31460
|
+
* @param {ProviderEnum} channel
|
|
31461
|
+
* @param {any} [locale]
|
|
31462
|
+
* @param {*} [options] Override http request option.
|
|
31463
|
+
* @throws {RequiredError}
|
|
31464
|
+
*/
|
|
31465
|
+
getCatalog(businessId: number, channel: ProviderEnum, locale?: any, options?: any): AxiosPromise<Array<AvailablePaymentMethodDto>>;
|
|
31466
|
+
/**
|
|
31467
|
+
*
|
|
31468
|
+
* @param {ProviderEnum} channel
|
|
31469
|
+
* @param {number} businessId
|
|
31470
|
+
* @param {any} [locale]
|
|
31471
|
+
* @param {*} [options] Override http request option.
|
|
31472
|
+
* @throws {RequiredError}
|
|
31473
|
+
*/
|
|
31474
|
+
getGlobalCatalog(channel: ProviderEnum, businessId: number, locale?: any, options?: any): AxiosPromise<Array<CatalogMethodDto>>;
|
|
31475
|
+
/**
|
|
31476
|
+
*
|
|
31477
|
+
* @param {number} businessId
|
|
31478
|
+
* @param {ProviderEnum} channel
|
|
31479
|
+
* @param {any} [locale]
|
|
31480
|
+
* @param {*} [options] Override http request option.
|
|
31481
|
+
* @throws {RequiredError}
|
|
31482
|
+
*/
|
|
31483
|
+
getPaymentMethods(businessId: number, channel: ProviderEnum, locale?: any, options?: any): AxiosPromise<Array<PaymentMethodDto>>;
|
|
31484
|
+
/**
|
|
31485
|
+
*
|
|
31486
|
+
* @param {ProviderEnum} channel
|
|
31487
|
+
* @param {number} businessId
|
|
31488
|
+
* @param {*} [options] Override http request option.
|
|
31489
|
+
* @throws {RequiredError}
|
|
31490
|
+
*/
|
|
31491
|
+
getTypes(channel: ProviderEnum, businessId: number, options?: any): AxiosPromise<Array<PaymentMethodTypeDto>>;
|
|
31492
|
+
/**
|
|
31493
|
+
*
|
|
31494
|
+
* @param {number} businessId
|
|
31495
|
+
* @param {ProviderEnum} channel
|
|
31496
|
+
* @param {BulkRankDto} bulkRankDto
|
|
31497
|
+
* @param {*} [options] Override http request option.
|
|
31498
|
+
* @throws {RequiredError}
|
|
31499
|
+
*/
|
|
31500
|
+
reorder(businessId: number, channel: ProviderEnum, bulkRankDto: BulkRankDto, options?: any): AxiosPromise<void>;
|
|
31501
|
+
/**
|
|
31502
|
+
*
|
|
31503
|
+
* @param {number} businessId
|
|
31504
|
+
* @param {ProviderEnum} channel
|
|
31505
|
+
* @param {string} id
|
|
31506
|
+
* @param {UpdatePaymentMethodOptionDto} updatePaymentMethodOptionDto
|
|
31507
|
+
* @param {*} [options] Override http request option.
|
|
31508
|
+
* @throws {RequiredError}
|
|
31509
|
+
*/
|
|
31510
|
+
updatePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, updatePaymentMethodOptionDto: UpdatePaymentMethodOptionDto, options?: any): AxiosPromise<PaymentMethodDto>;
|
|
31511
|
+
};
|
|
31512
|
+
/**
|
|
31513
|
+
* PaymentMethodsApi - interface
|
|
31514
|
+
* @export
|
|
31515
|
+
* @interface PaymentMethodsApi
|
|
31516
|
+
*/
|
|
31517
|
+
export interface PaymentMethodsApiInterface {
|
|
31518
|
+
/**
|
|
31519
|
+
*
|
|
31520
|
+
* @param {number} businessId
|
|
31521
|
+
* @param {ProviderEnum} channel
|
|
31522
|
+
* @param {CreatePaymentMethodDto} createPaymentMethodDto
|
|
31523
|
+
* @param {*} [options] Override http request option.
|
|
31524
|
+
* @throws {RequiredError}
|
|
31525
|
+
* @memberof PaymentMethodsApiInterface
|
|
31526
|
+
*/
|
|
31527
|
+
createPaymentMethod(businessId: number, channel: ProviderEnum, createPaymentMethodDto: CreatePaymentMethodDto, options?: AxiosRequestConfig): AxiosPromise<PaymentMethodDto>;
|
|
31528
|
+
/**
|
|
31529
|
+
*
|
|
31530
|
+
* @param {number} businessId
|
|
31531
|
+
* @param {ProviderEnum} channel
|
|
31532
|
+
* @param {string} id
|
|
31533
|
+
* @param {*} [options] Override http request option.
|
|
31534
|
+
* @throws {RequiredError}
|
|
31535
|
+
* @memberof PaymentMethodsApiInterface
|
|
31536
|
+
*/
|
|
31537
|
+
deletePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
31538
|
+
/**
|
|
31539
|
+
*
|
|
31540
|
+
* @param {number} businessId
|
|
31541
|
+
* @param {ProviderEnum} channel
|
|
31542
|
+
* @param {any} [locale]
|
|
31543
|
+
* @param {*} [options] Override http request option.
|
|
31544
|
+
* @throws {RequiredError}
|
|
31545
|
+
* @memberof PaymentMethodsApiInterface
|
|
31546
|
+
*/
|
|
31547
|
+
getCatalog(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): AxiosPromise<Array<AvailablePaymentMethodDto>>;
|
|
31548
|
+
/**
|
|
31549
|
+
*
|
|
31550
|
+
* @param {ProviderEnum} channel
|
|
31551
|
+
* @param {number} businessId
|
|
31552
|
+
* @param {any} [locale]
|
|
31553
|
+
* @param {*} [options] Override http request option.
|
|
31554
|
+
* @throws {RequiredError}
|
|
31555
|
+
* @memberof PaymentMethodsApiInterface
|
|
31556
|
+
*/
|
|
31557
|
+
getGlobalCatalog(channel: ProviderEnum, businessId: number, locale?: any, options?: AxiosRequestConfig): AxiosPromise<Array<CatalogMethodDto>>;
|
|
31558
|
+
/**
|
|
31559
|
+
*
|
|
31560
|
+
* @param {number} businessId
|
|
31561
|
+
* @param {ProviderEnum} channel
|
|
31562
|
+
* @param {any} [locale]
|
|
31563
|
+
* @param {*} [options] Override http request option.
|
|
31564
|
+
* @throws {RequiredError}
|
|
31565
|
+
* @memberof PaymentMethodsApiInterface
|
|
31566
|
+
*/
|
|
31567
|
+
getPaymentMethods(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): AxiosPromise<Array<PaymentMethodDto>>;
|
|
31568
|
+
/**
|
|
31569
|
+
*
|
|
31570
|
+
* @param {ProviderEnum} channel
|
|
31571
|
+
* @param {number} businessId
|
|
31572
|
+
* @param {*} [options] Override http request option.
|
|
31573
|
+
* @throws {RequiredError}
|
|
31574
|
+
* @memberof PaymentMethodsApiInterface
|
|
31575
|
+
*/
|
|
31576
|
+
getTypes(channel: ProviderEnum, businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<PaymentMethodTypeDto>>;
|
|
31577
|
+
/**
|
|
31578
|
+
*
|
|
31579
|
+
* @param {number} businessId
|
|
31580
|
+
* @param {ProviderEnum} channel
|
|
31581
|
+
* @param {BulkRankDto} bulkRankDto
|
|
31582
|
+
* @param {*} [options] Override http request option.
|
|
31583
|
+
* @throws {RequiredError}
|
|
31584
|
+
* @memberof PaymentMethodsApiInterface
|
|
31585
|
+
*/
|
|
31586
|
+
reorder(businessId: number, channel: ProviderEnum, bulkRankDto: BulkRankDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
31587
|
+
/**
|
|
31588
|
+
*
|
|
31589
|
+
* @param {number} businessId
|
|
31590
|
+
* @param {ProviderEnum} channel
|
|
31591
|
+
* @param {string} id
|
|
31592
|
+
* @param {UpdatePaymentMethodOptionDto} updatePaymentMethodOptionDto
|
|
31593
|
+
* @param {*} [options] Override http request option.
|
|
31594
|
+
* @throws {RequiredError}
|
|
31595
|
+
* @memberof PaymentMethodsApiInterface
|
|
31596
|
+
*/
|
|
31597
|
+
updatePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, updatePaymentMethodOptionDto: UpdatePaymentMethodOptionDto, options?: AxiosRequestConfig): AxiosPromise<PaymentMethodDto>;
|
|
31598
|
+
}
|
|
31599
|
+
/**
|
|
31600
|
+
* PaymentMethodsApi - object-oriented interface
|
|
31601
|
+
* @export
|
|
31602
|
+
* @class PaymentMethodsApi
|
|
31603
|
+
* @extends {BaseAPI}
|
|
31604
|
+
*/
|
|
31605
|
+
export declare class PaymentMethodsApi extends BaseAPI implements PaymentMethodsApiInterface {
|
|
31606
|
+
/**
|
|
31607
|
+
*
|
|
31608
|
+
* @param {number} businessId
|
|
31609
|
+
* @param {ProviderEnum} channel
|
|
31610
|
+
* @param {CreatePaymentMethodDto} createPaymentMethodDto
|
|
31611
|
+
* @param {*} [options] Override http request option.
|
|
31612
|
+
* @throws {RequiredError}
|
|
31613
|
+
* @memberof PaymentMethodsApi
|
|
31614
|
+
*/
|
|
31615
|
+
createPaymentMethod(businessId: number, channel: ProviderEnum, createPaymentMethodDto: CreatePaymentMethodDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodDto, any, {}>>;
|
|
31616
|
+
/**
|
|
31617
|
+
*
|
|
31618
|
+
* @param {number} businessId
|
|
31619
|
+
* @param {ProviderEnum} channel
|
|
31620
|
+
* @param {string} id
|
|
31621
|
+
* @param {*} [options] Override http request option.
|
|
31622
|
+
* @throws {RequiredError}
|
|
31623
|
+
* @memberof PaymentMethodsApi
|
|
31624
|
+
*/
|
|
31625
|
+
deletePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
31626
|
+
/**
|
|
31627
|
+
*
|
|
31628
|
+
* @param {number} businessId
|
|
31629
|
+
* @param {ProviderEnum} channel
|
|
31630
|
+
* @param {any} [locale]
|
|
31631
|
+
* @param {*} [options] Override http request option.
|
|
31632
|
+
* @throws {RequiredError}
|
|
31633
|
+
* @memberof PaymentMethodsApi
|
|
31634
|
+
*/
|
|
31635
|
+
getCatalog(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AvailablePaymentMethodDto[], any, {}>>;
|
|
31636
|
+
/**
|
|
31637
|
+
*
|
|
31638
|
+
* @param {ProviderEnum} channel
|
|
31639
|
+
* @param {number} businessId
|
|
31640
|
+
* @param {any} [locale]
|
|
31641
|
+
* @param {*} [options] Override http request option.
|
|
31642
|
+
* @throws {RequiredError}
|
|
31643
|
+
* @memberof PaymentMethodsApi
|
|
31644
|
+
*/
|
|
31645
|
+
getGlobalCatalog(channel: ProviderEnum, businessId: number, locale?: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CatalogMethodDto[], any, {}>>;
|
|
31646
|
+
/**
|
|
31647
|
+
*
|
|
31648
|
+
* @param {number} businessId
|
|
31649
|
+
* @param {ProviderEnum} channel
|
|
31650
|
+
* @param {any} [locale]
|
|
31651
|
+
* @param {*} [options] Override http request option.
|
|
31652
|
+
* @throws {RequiredError}
|
|
31653
|
+
* @memberof PaymentMethodsApi
|
|
31654
|
+
*/
|
|
31655
|
+
getPaymentMethods(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodDto[], any, {}>>;
|
|
31656
|
+
/**
|
|
31657
|
+
*
|
|
31658
|
+
* @param {ProviderEnum} channel
|
|
31659
|
+
* @param {number} businessId
|
|
31660
|
+
* @param {*} [options] Override http request option.
|
|
31661
|
+
* @throws {RequiredError}
|
|
31662
|
+
* @memberof PaymentMethodsApi
|
|
31663
|
+
*/
|
|
31664
|
+
getTypes(channel: ProviderEnum, businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodTypeDto[], any, {}>>;
|
|
31665
|
+
/**
|
|
31666
|
+
*
|
|
31667
|
+
* @param {number} businessId
|
|
31668
|
+
* @param {ProviderEnum} channel
|
|
31669
|
+
* @param {BulkRankDto} bulkRankDto
|
|
31670
|
+
* @param {*} [options] Override http request option.
|
|
31671
|
+
* @throws {RequiredError}
|
|
31672
|
+
* @memberof PaymentMethodsApi
|
|
31673
|
+
*/
|
|
31674
|
+
reorder(businessId: number, channel: ProviderEnum, bulkRankDto: BulkRankDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
31675
|
+
/**
|
|
31676
|
+
*
|
|
31677
|
+
* @param {number} businessId
|
|
31678
|
+
* @param {ProviderEnum} channel
|
|
31679
|
+
* @param {string} id
|
|
31680
|
+
* @param {UpdatePaymentMethodOptionDto} updatePaymentMethodOptionDto
|
|
31681
|
+
* @param {*} [options] Override http request option.
|
|
31682
|
+
* @throws {RequiredError}
|
|
31683
|
+
* @memberof PaymentMethodsApi
|
|
31684
|
+
*/
|
|
31685
|
+
updatePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, updatePaymentMethodOptionDto: UpdatePaymentMethodOptionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodDto, any, {}>>;
|
|
31686
|
+
}
|
|
30207
31687
|
/**
|
|
30208
31688
|
* PaymentSessionApi - axios parameter creator
|
|
30209
31689
|
* @export
|