@munchi_oy/core 1.9.55 → 1.9.56
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 +44 -1504
- 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 +33 -1952
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -437,50 +437,6 @@ 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
|
-
}
|
|
484
440
|
/**
|
|
485
441
|
*
|
|
486
442
|
* @export
|
|
@@ -2356,110 +2312,6 @@ export interface CashSessionTotalsDto {
|
|
|
2356
2312
|
*/
|
|
2357
2313
|
'cashOut': number;
|
|
2358
2314
|
}
|
|
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
|
-
}
|
|
2463
2315
|
/**
|
|
2464
2316
|
*
|
|
2465
2317
|
* @export
|
|
@@ -3996,104 +3848,6 @@ export interface CreateNetsTerminalPaymentDto {
|
|
|
3996
3848
|
*/
|
|
3997
3849
|
'options'?: NetsTerminalPaymentOptionsDto;
|
|
3998
3850
|
}
|
|
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
|
-
}
|
|
4097
3851
|
/**
|
|
4098
3852
|
*
|
|
4099
3853
|
* @export
|
|
@@ -6271,56 +6025,6 @@ export interface GiftCardCredentialsDto {
|
|
|
6271
6025
|
*/
|
|
6272
6026
|
'password'?: string;
|
|
6273
6027
|
}
|
|
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
|
-
}
|
|
6324
6028
|
/**
|
|
6325
6029
|
*
|
|
6326
6030
|
* @export
|
|
@@ -9652,49 +9356,6 @@ export interface NetsCancelTransactionDto {
|
|
|
9652
9356
|
*/
|
|
9653
9357
|
'businessId': number;
|
|
9654
9358
|
}
|
|
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
|
-
}
|
|
9698
9359
|
/**
|
|
9699
9360
|
*
|
|
9700
9361
|
* @export
|
|
@@ -11828,20 +11489,6 @@ export interface PaginationDto {
|
|
|
11828
11489
|
*/
|
|
11829
11490
|
'totalPages': number;
|
|
11830
11491
|
}
|
|
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];
|
|
11845
11492
|
/**
|
|
11846
11493
|
*
|
|
11847
11494
|
* @export
|
|
@@ -12061,79 +11708,6 @@ export declare const PaymentMethod: {
|
|
|
12061
11708
|
readonly LoyaltyPoints: "LoyaltyPoints";
|
|
12062
11709
|
};
|
|
12063
11710
|
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
|
-
}
|
|
12137
11711
|
/**
|
|
12138
11712
|
*
|
|
12139
11713
|
* @export
|
|
@@ -12454,257 +12028,25 @@ export interface PaymentMethodDetailsDtoWechatPayDetails {
|
|
|
12454
12028
|
/**
|
|
12455
12029
|
*
|
|
12456
12030
|
* @export
|
|
12457
|
-
* @interface
|
|
12031
|
+
* @interface PaymentMethodsResponseDto
|
|
12458
12032
|
*/
|
|
12459
|
-
export interface
|
|
12033
|
+
export interface PaymentMethodsResponseDto {
|
|
12460
12034
|
/**
|
|
12461
|
-
*
|
|
12035
|
+
* Unique identifier of the payment method
|
|
12462
12036
|
* @type {string}
|
|
12463
|
-
* @memberof
|
|
12037
|
+
* @memberof PaymentMethodsResponseDto
|
|
12464
12038
|
*/
|
|
12465
12039
|
'id': string;
|
|
12466
12040
|
/**
|
|
12467
|
-
*
|
|
12468
|
-
* @type {
|
|
12469
|
-
* @memberof
|
|
12041
|
+
*
|
|
12042
|
+
* @type {PaymentMethod}
|
|
12043
|
+
* @memberof PaymentMethodsResponseDto
|
|
12470
12044
|
*/
|
|
12471
|
-
'
|
|
12045
|
+
'name': PaymentMethod;
|
|
12472
12046
|
/**
|
|
12473
|
-
*
|
|
12474
|
-
* @type {
|
|
12475
|
-
* @memberof
|
|
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
|
|
12047
|
+
* Display position/order of the payment method in UI
|
|
12048
|
+
* @type {number}
|
|
12049
|
+
* @memberof PaymentMethodsResponseDto
|
|
12708
12050
|
*/
|
|
12709
12051
|
'position': number;
|
|
12710
12052
|
/**
|
|
@@ -15280,20 +14622,40 @@ export declare const PosPermission: {
|
|
|
15280
14622
|
readonly PageProducts: "Page::Products";
|
|
15281
14623
|
readonly PageReports: "Page::Reports";
|
|
15282
14624
|
readonly PageSettings: "Page::Settings";
|
|
14625
|
+
readonly PageFloorPlan: "Page::FloorPlan";
|
|
15283
14626
|
readonly Cart: "Cart::*";
|
|
15284
14627
|
readonly CartAddItem: "Cart::AddItem";
|
|
15285
14628
|
readonly CartRemoveItem: "Cart::RemoveItem";
|
|
15286
14629
|
readonly CartApplyDiscount: "Cart::ApplyDiscount";
|
|
15287
14630
|
readonly CartVoidItem: "Cart::VoidItem";
|
|
15288
14631
|
readonly CartClear: "Cart::Clear";
|
|
14632
|
+
readonly CartRemoveDiscount: "Cart::RemoveDiscount";
|
|
14633
|
+
readonly CartVoidPayment: "Cart::VoidPayment";
|
|
14634
|
+
readonly Cash: "Cash::*";
|
|
14635
|
+
readonly CashOpenDay: "Cash::OpenDay";
|
|
14636
|
+
readonly CashCloseDay: "Cash::CloseDay";
|
|
14637
|
+
readonly CashCashIn: "Cash::CashIn";
|
|
14638
|
+
readonly CashCashOut: "Cash::CashOut";
|
|
14639
|
+
readonly CashOpenDrawer: "Cash::OpenDrawer";
|
|
14640
|
+
readonly CashPrintReport: "Cash::PrintReport";
|
|
14641
|
+
readonly CashSendReport: "Cash::SendReport";
|
|
15289
14642
|
readonly Transaction: "Transaction::*";
|
|
15290
|
-
readonly TransactionView: "Transaction::View";
|
|
15291
14643
|
readonly TransactionRefund: "Transaction::Refund";
|
|
14644
|
+
readonly Order: "Order::*";
|
|
14645
|
+
readonly OrderSendReceipt: "Order::SendReceipt";
|
|
14646
|
+
readonly OpenOrdersDelete: "OpenOrders::Delete";
|
|
14647
|
+
readonly OpenOrdersSendToKitchen: "OpenOrders::SendToKitchen";
|
|
14648
|
+
readonly OpenOrdersFireCourse: "OpenOrders::FireCourse";
|
|
15292
14649
|
readonly Shift: "Shift::*";
|
|
15293
14650
|
readonly ShiftForceClockOut: "Shift::ForceClockOut";
|
|
14651
|
+
readonly FloorPlan: "FloorPlan::*";
|
|
14652
|
+
readonly FloorPlanEditLayout: "FloorPlan::EditLayout";
|
|
14653
|
+
readonly FloorPlanChangeTableStatus: "FloorPlan::ChangeTableStatus";
|
|
14654
|
+
readonly FloorPlanManageSections: "FloorPlan::ManageSections";
|
|
15294
14655
|
readonly Settings: "Settings::*";
|
|
15295
14656
|
readonly SettingsEditProfile: "Settings::EditProfile";
|
|
15296
|
-
readonly
|
|
14657
|
+
readonly Report: "Report::*";
|
|
14658
|
+
readonly ReportSendEmail: "Report::SendEmail";
|
|
15297
14659
|
};
|
|
15298
14660
|
export type PosPermission = typeof PosPermission[keyof typeof PosPermission];
|
|
15299
14661
|
/**
|
|
@@ -16581,43 +15943,6 @@ export interface ProviderSupportedIntegrationsDto {
|
|
|
16581
15943
|
*/
|
|
16582
15944
|
'supportedIntegrations': Array<IntegrationType>;
|
|
16583
15945
|
}
|
|
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
|
-
}
|
|
16621
15946
|
/**
|
|
16622
15947
|
*
|
|
16623
15948
|
* @export
|
|
@@ -16637,25 +15962,6 @@ export declare const PubSubTarget: {
|
|
|
16637
15962
|
readonly Kds: "KDS";
|
|
16638
15963
|
};
|
|
16639
15964
|
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
|
-
}
|
|
16659
15965
|
/**
|
|
16660
15966
|
*
|
|
16661
15967
|
* @export
|
|
@@ -18601,37 +17907,6 @@ export declare const Status: {
|
|
|
18601
17907
|
readonly Inactive: "INACTIVE";
|
|
18602
17908
|
};
|
|
18603
17909
|
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
|
-
}
|
|
18635
17910
|
/**
|
|
18636
17911
|
*
|
|
18637
17912
|
* @export
|
|
@@ -20931,86 +20206,6 @@ export interface UpdateInvoiceCompanyDto {
|
|
|
20931
20206
|
*/
|
|
20932
20207
|
'address'?: string;
|
|
20933
20208
|
}
|
|
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
|
-
}
|
|
21014
20209
|
/**
|
|
21015
20210
|
*
|
|
21016
20211
|
* @export
|
|
@@ -21455,7 +20650,7 @@ export interface UpsertNetsDto {
|
|
|
21455
20650
|
* @type {string}
|
|
21456
20651
|
* @memberof UpsertNetsDto
|
|
21457
20652
|
*/
|
|
21458
|
-
'name'
|
|
20653
|
+
'name'?: string;
|
|
21459
20654
|
/**
|
|
21460
20655
|
*
|
|
21461
20656
|
* @type {boolean}
|
|
@@ -21683,98 +20878,19 @@ export interface UpsertProductPrintPolicyDto {
|
|
|
21683
20878
|
/**
|
|
21684
20879
|
*
|
|
21685
20880
|
* @export
|
|
21686
|
-
* @interface
|
|
20881
|
+
* @interface UpsertScheduleDayDto
|
|
21687
20882
|
*/
|
|
21688
|
-
export interface
|
|
20883
|
+
export interface UpsertScheduleDayDto {
|
|
21689
20884
|
/**
|
|
21690
20885
|
*
|
|
21691
|
-
* @type {
|
|
21692
|
-
* @memberof
|
|
20886
|
+
* @type {DayOfWeek}
|
|
20887
|
+
* @memberof UpsertScheduleDayDto
|
|
21693
20888
|
*/
|
|
21694
|
-
'
|
|
20889
|
+
'day': DayOfWeek;
|
|
21695
20890
|
/**
|
|
21696
|
-
*
|
|
21697
|
-
* @type {
|
|
21698
|
-
* @memberof
|
|
21699
|
-
*/
|
|
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
|
|
20891
|
+
* Whether the business is open on this day
|
|
20892
|
+
* @type {boolean}
|
|
20893
|
+
* @memberof UpsertScheduleDayDto
|
|
21778
20894
|
*/
|
|
21779
20895
|
'enabled': boolean;
|
|
21780
20896
|
/**
|
|
@@ -21801,7 +20917,7 @@ export interface UpsertStripeDto {
|
|
|
21801
20917
|
* @type {string}
|
|
21802
20918
|
* @memberof UpsertStripeDto
|
|
21803
20919
|
*/
|
|
21804
|
-
'name'
|
|
20920
|
+
'name'?: string;
|
|
21805
20921
|
/**
|
|
21806
20922
|
*
|
|
21807
20923
|
* @type {boolean}
|
|
@@ -21832,7 +20948,7 @@ export interface UpsertVivaDto {
|
|
|
21832
20948
|
* @type {string}
|
|
21833
20949
|
* @memberof UpsertVivaDto
|
|
21834
20950
|
*/
|
|
21835
|
-
'name'
|
|
20951
|
+
'name'?: string;
|
|
21836
20952
|
/**
|
|
21837
20953
|
*
|
|
21838
20954
|
* @type {boolean}
|
|
@@ -22226,43 +21342,6 @@ export interface VivaConfigDto {
|
|
|
22226
21342
|
*/
|
|
22227
21343
|
'additionalAmount'?: number;
|
|
22228
21344
|
}
|
|
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
|
-
}
|
|
22266
21345
|
/**
|
|
22267
21346
|
*
|
|
22268
21347
|
* @export
|
|
@@ -23635,37 +22714,6 @@ export interface WorldlineAmountsRequestDto {
|
|
|
23635
22714
|
*/
|
|
23636
22715
|
'tip'?: number;
|
|
23637
22716
|
}
|
|
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
|
-
}
|
|
23669
22717
|
/**
|
|
23670
22718
|
*
|
|
23671
22719
|
* @export
|
|
@@ -25906,15 +24954,6 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
25906
24954
|
* @throws {RequiredError}
|
|
25907
24955
|
*/
|
|
25908
24956
|
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>;
|
|
25918
24957
|
/**
|
|
25919
24958
|
*
|
|
25920
24959
|
* @summary Manual sync trigger
|
|
@@ -25992,16 +25031,6 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
25992
25031
|
* @throws {RequiredError}
|
|
25993
25032
|
*/
|
|
25994
25033
|
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>;
|
|
26005
25034
|
/**
|
|
26006
25035
|
*
|
|
26007
25036
|
* @summary Upsert Stripe payment config
|
|
@@ -26038,15 +25067,6 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
26038
25067
|
* @throws {RequiredError}
|
|
26039
25068
|
*/
|
|
26040
25069
|
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>>;
|
|
26050
25070
|
/**
|
|
26051
25071
|
*
|
|
26052
25072
|
* @summary Manual sync trigger
|
|
@@ -26124,16 +25144,6 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
26124
25144
|
* @throws {RequiredError}
|
|
26125
25145
|
*/
|
|
26126
25146
|
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>>;
|
|
26137
25147
|
/**
|
|
26138
25148
|
*
|
|
26139
25149
|
* @summary Upsert Stripe payment config
|
|
@@ -26170,15 +25180,6 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
26170
25180
|
* @throws {RequiredError}
|
|
26171
25181
|
*/
|
|
26172
25182
|
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>;
|
|
26182
25183
|
/**
|
|
26183
25184
|
*
|
|
26184
25185
|
* @summary Manual sync trigger
|
|
@@ -26256,16 +25257,6 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
26256
25257
|
* @throws {RequiredError}
|
|
26257
25258
|
*/
|
|
26258
25259
|
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>;
|
|
26269
25260
|
/**
|
|
26270
25261
|
*
|
|
26271
25262
|
* @summary Upsert Stripe payment config
|
|
@@ -26304,16 +25295,6 @@ export interface ConfigManagementApiInterface {
|
|
|
26304
25295
|
* @memberof ConfigManagementApiInterface
|
|
26305
25296
|
*/
|
|
26306
25297
|
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>;
|
|
26317
25298
|
/**
|
|
26318
25299
|
*
|
|
26319
25300
|
* @summary Manual sync trigger
|
|
@@ -26399,17 +25380,6 @@ export interface ConfigManagementApiInterface {
|
|
|
26399
25380
|
* @memberof ConfigManagementApiInterface
|
|
26400
25381
|
*/
|
|
26401
25382
|
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>;
|
|
26413
25383
|
/**
|
|
26414
25384
|
*
|
|
26415
25385
|
* @summary Upsert Stripe payment config
|
|
@@ -26451,16 +25421,6 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
26451
25421
|
* @memberof ConfigManagementApi
|
|
26452
25422
|
*/
|
|
26453
25423
|
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, {}>>;
|
|
26464
25424
|
/**
|
|
26465
25425
|
*
|
|
26466
25426
|
* @summary Manual sync trigger
|
|
@@ -26546,17 +25506,6 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
26546
25506
|
* @memberof ConfigManagementApi
|
|
26547
25507
|
*/
|
|
26548
25508
|
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, {}>>;
|
|
26560
25509
|
/**
|
|
26561
25510
|
*
|
|
26562
25511
|
* @summary Upsert Stripe payment config
|
|
@@ -31275,415 +30224,6 @@ export declare class PaymentApi extends BaseAPI implements PaymentApiInterface {
|
|
|
31275
30224
|
*/
|
|
31276
30225
|
refundVivaTransactionV4(refundPayloadDtoV4: RefundPayloadDtoV4, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VivaPaymentResultDto, any, {}>>;
|
|
31277
30226
|
}
|
|
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
|
-
}
|
|
31687
30227
|
/**
|
|
31688
30228
|
* PaymentSessionApi - axios parameter creator
|
|
31689
30229
|
* @export
|