@munchi_oy/core 1.9.67 → 1.9.68
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 +1539 -11
- 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 +2238 -247
- package/package.json +13 -15
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -437,6 +437,50 @@ export declare const AutonomousVehicleType: {
|
|
|
437
437
|
readonly FlyingDrone: "VEHICLE_TYPE_FLYING_DRONE";
|
|
438
438
|
};
|
|
439
439
|
export type AutonomousVehicleType = typeof AutonomousVehicleType[keyof typeof AutonomousVehicleType];
|
|
440
|
+
/**
|
|
441
|
+
*
|
|
442
|
+
* @export
|
|
443
|
+
* @interface AvailablePaymentMethodDto
|
|
444
|
+
*/
|
|
445
|
+
export interface AvailablePaymentMethodDto {
|
|
446
|
+
/**
|
|
447
|
+
* Catalog method code to attach.
|
|
448
|
+
* @type {string}
|
|
449
|
+
* @memberof AvailablePaymentMethodDto
|
|
450
|
+
*/
|
|
451
|
+
'code': string;
|
|
452
|
+
/**
|
|
453
|
+
* Catalog type that drives the method\'s policy.
|
|
454
|
+
* @type {string}
|
|
455
|
+
* @memberof AvailablePaymentMethodDto
|
|
456
|
+
*/
|
|
457
|
+
'typeCode': string;
|
|
458
|
+
/**
|
|
459
|
+
* Resolved display name for the catalog entry.
|
|
460
|
+
* @type {string}
|
|
461
|
+
* @memberof AvailablePaymentMethodDto
|
|
462
|
+
*/
|
|
463
|
+
'label': string;
|
|
464
|
+
/**
|
|
465
|
+
* True for a 3rd-party gift card that needs username/password/posDeviceId.
|
|
466
|
+
* @type {boolean}
|
|
467
|
+
* @memberof AvailablePaymentMethodDto
|
|
468
|
+
*/
|
|
469
|
+
'requiresCredentials': boolean;
|
|
470
|
+
}
|
|
471
|
+
/**
|
|
472
|
+
*
|
|
473
|
+
* @export
|
|
474
|
+
* @interface BulkRankDto
|
|
475
|
+
*/
|
|
476
|
+
export interface BulkRankDto {
|
|
477
|
+
/**
|
|
478
|
+
* Only the items whose position changed (zero-based ranks).
|
|
479
|
+
* @type {Array<RankItemDto>}
|
|
480
|
+
* @memberof BulkRankDto
|
|
481
|
+
*/
|
|
482
|
+
'items': Array<RankItemDto>;
|
|
483
|
+
}
|
|
440
484
|
/**
|
|
441
485
|
*
|
|
442
486
|
* @export
|
|
@@ -2312,6 +2356,122 @@ 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
|
+
*
|
|
2428
|
+
* @type {PaymentReportingBucket}
|
|
2429
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2430
|
+
*/
|
|
2431
|
+
'reportingBucket': PaymentReportingBucket;
|
|
2432
|
+
/**
|
|
2433
|
+
* Display tone/color key for badges and chips (e.g. info, edenred, voucherOrange).
|
|
2434
|
+
* @type {string}
|
|
2435
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2436
|
+
*/
|
|
2437
|
+
'tone': string;
|
|
2438
|
+
/**
|
|
2439
|
+
* Whether a refund is sent back to the original card via the terminal SDK.
|
|
2440
|
+
* @type {boolean}
|
|
2441
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2442
|
+
*/
|
|
2443
|
+
'refundToCard': boolean;
|
|
2444
|
+
/**
|
|
2445
|
+
* Whether refunding this method needs an active card provider (Viva/Nets).
|
|
2446
|
+
* @type {boolean}
|
|
2447
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2448
|
+
*/
|
|
2449
|
+
'requiresProvider': boolean;
|
|
2450
|
+
/**
|
|
2451
|
+
* Whether checkout needs a manual resolution step (cash rounding, voucher selection).
|
|
2452
|
+
* @type {boolean}
|
|
2453
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2454
|
+
*/
|
|
2455
|
+
'requiresManualResolution': boolean;
|
|
2456
|
+
/**
|
|
2457
|
+
* Whether receipts/print should show a forfeited (leftover) amount line.
|
|
2458
|
+
* @type {boolean}
|
|
2459
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2460
|
+
*/
|
|
2461
|
+
'shouldDisplayForfeitedAmount': boolean;
|
|
2462
|
+
/**
|
|
2463
|
+
* Benefit-confirmation issuer for the post-payment notification (e.g. edenred, wolt).
|
|
2464
|
+
* @type {string}
|
|
2465
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2466
|
+
*/
|
|
2467
|
+
'notificationIssuer': string | null;
|
|
2468
|
+
/**
|
|
2469
|
+
* Whether this method is checkout-only (cannot be a manual refund target).
|
|
2470
|
+
* @type {boolean}
|
|
2471
|
+
* @memberof CatalogMethodDtoCapabilities
|
|
2472
|
+
*/
|
|
2473
|
+
'checkoutOnly': boolean;
|
|
2474
|
+
}
|
|
2315
2475
|
/**
|
|
2316
2476
|
*
|
|
2317
2477
|
* @export
|
|
@@ -3854,6 +4014,104 @@ export interface CreateNetsTerminalPaymentDto {
|
|
|
3854
4014
|
*/
|
|
3855
4015
|
'options'?: NetsTerminalPaymentOptionsDto;
|
|
3856
4016
|
}
|
|
4017
|
+
/**
|
|
4018
|
+
*
|
|
4019
|
+
* @export
|
|
4020
|
+
* @interface CreatePaymentMethodDto
|
|
4021
|
+
*/
|
|
4022
|
+
export interface CreatePaymentMethodDto {
|
|
4023
|
+
/**
|
|
4024
|
+
* Attach an existing catalog method by its code (mutually exclusive with name+type).
|
|
4025
|
+
* @type {string}
|
|
4026
|
+
* @memberof CreatePaymentMethodDto
|
|
4027
|
+
*/
|
|
4028
|
+
'code'?: string;
|
|
4029
|
+
/**
|
|
4030
|
+
* Display name for a new custom method; required with type when code is absent.
|
|
4031
|
+
* @type {string}
|
|
4032
|
+
* @memberof CreatePaymentMethodDto
|
|
4033
|
+
*/
|
|
4034
|
+
'name'?: string;
|
|
4035
|
+
/**
|
|
4036
|
+
* 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.
|
|
4037
|
+
* @type {string}
|
|
4038
|
+
* @memberof CreatePaymentMethodDto
|
|
4039
|
+
*/
|
|
4040
|
+
'type'?: string;
|
|
4041
|
+
/**
|
|
4042
|
+
* Per-business name override.
|
|
4043
|
+
* @type {string}
|
|
4044
|
+
* @memberof CreatePaymentMethodDto
|
|
4045
|
+
*/
|
|
4046
|
+
'customName'?: string;
|
|
4047
|
+
/**
|
|
4048
|
+
* Per-business logo URL.
|
|
4049
|
+
* @type {string}
|
|
4050
|
+
* @memberof CreatePaymentMethodDto
|
|
4051
|
+
*/
|
|
4052
|
+
'logo'?: string;
|
|
4053
|
+
/**
|
|
4054
|
+
* Per-business description.
|
|
4055
|
+
* @type {string}
|
|
4056
|
+
* @memberof CreatePaymentMethodDto
|
|
4057
|
+
*/
|
|
4058
|
+
'description'?: string;
|
|
4059
|
+
/**
|
|
4060
|
+
* Parent method code for grouped vouchers.
|
|
4061
|
+
* @type {string}
|
|
4062
|
+
* @memberof CreatePaymentMethodDto
|
|
4063
|
+
*/
|
|
4064
|
+
'parentCode'?: string;
|
|
4065
|
+
/**
|
|
4066
|
+
* Preset amounts/denominations (vouchers).
|
|
4067
|
+
* @type {Array<number>}
|
|
4068
|
+
* @memberof CreatePaymentMethodDto
|
|
4069
|
+
*/
|
|
4070
|
+
'amounts'?: Array<number>;
|
|
4071
|
+
/**
|
|
4072
|
+
* Minimum order amount required to use this method.
|
|
4073
|
+
* @type {number}
|
|
4074
|
+
* @memberof CreatePaymentMethodDto
|
|
4075
|
+
*/
|
|
4076
|
+
'minimumCheckoutAmount'?: number;
|
|
4077
|
+
/**
|
|
4078
|
+
* Whether the method is enabled (defaults to true).
|
|
4079
|
+
* @type {boolean}
|
|
4080
|
+
* @memberof CreatePaymentMethodDto
|
|
4081
|
+
*/
|
|
4082
|
+
'enable'?: boolean;
|
|
4083
|
+
/**
|
|
4084
|
+
*
|
|
4085
|
+
* @type {CreatePaymentMethodDtoGiftCardCredentials}
|
|
4086
|
+
* @memberof CreatePaymentMethodDto
|
|
4087
|
+
*/
|
|
4088
|
+
'giftCardCredentials'?: CreatePaymentMethodDtoGiftCardCredentials;
|
|
4089
|
+
}
|
|
4090
|
+
/**
|
|
4091
|
+
* Only for a 3rd-party gift card: username/password (URLs come from constants).
|
|
4092
|
+
* @export
|
|
4093
|
+
* @interface CreatePaymentMethodDtoGiftCardCredentials
|
|
4094
|
+
*/
|
|
4095
|
+
export interface CreatePaymentMethodDtoGiftCardCredentials {
|
|
4096
|
+
/**
|
|
4097
|
+
* 3rd-party gift card account username.
|
|
4098
|
+
* @type {string}
|
|
4099
|
+
* @memberof CreatePaymentMethodDtoGiftCardCredentials
|
|
4100
|
+
*/
|
|
4101
|
+
'username'?: string;
|
|
4102
|
+
/**
|
|
4103
|
+
* 3rd-party gift card account password.
|
|
4104
|
+
* @type {string}
|
|
4105
|
+
* @memberof CreatePaymentMethodDtoGiftCardCredentials
|
|
4106
|
+
*/
|
|
4107
|
+
'password'?: string;
|
|
4108
|
+
/**
|
|
4109
|
+
* Unique POS device id for the 3rd-party gift card provider.
|
|
4110
|
+
* @type {string}
|
|
4111
|
+
* @memberof CreatePaymentMethodDtoGiftCardCredentials
|
|
4112
|
+
*/
|
|
4113
|
+
'uniquePosDeviceId'?: string;
|
|
4114
|
+
}
|
|
3857
4115
|
/**
|
|
3858
4116
|
*
|
|
3859
4117
|
* @export
|
|
@@ -6037,6 +6295,56 @@ export interface GiftCardCredentialsDto {
|
|
|
6037
6295
|
*/
|
|
6038
6296
|
'password'?: string;
|
|
6039
6297
|
}
|
|
6298
|
+
/**
|
|
6299
|
+
*
|
|
6300
|
+
* @export
|
|
6301
|
+
* @interface GiftCardCredentialsInputDto
|
|
6302
|
+
*/
|
|
6303
|
+
export interface GiftCardCredentialsInputDto {
|
|
6304
|
+
/**
|
|
6305
|
+
* 3rd-party gift card account username.
|
|
6306
|
+
* @type {string}
|
|
6307
|
+
* @memberof GiftCardCredentialsInputDto
|
|
6308
|
+
*/
|
|
6309
|
+
'username'?: string;
|
|
6310
|
+
/**
|
|
6311
|
+
* 3rd-party gift card account password.
|
|
6312
|
+
* @type {string}
|
|
6313
|
+
* @memberof GiftCardCredentialsInputDto
|
|
6314
|
+
*/
|
|
6315
|
+
'password'?: string;
|
|
6316
|
+
/**
|
|
6317
|
+
* Unique POS device id for the 3rd-party gift card provider.
|
|
6318
|
+
* @type {string}
|
|
6319
|
+
* @memberof GiftCardCredentialsInputDto
|
|
6320
|
+
*/
|
|
6321
|
+
'uniquePosDeviceId'?: string;
|
|
6322
|
+
}
|
|
6323
|
+
/**
|
|
6324
|
+
*
|
|
6325
|
+
* @export
|
|
6326
|
+
* @interface GiftCardCredentialsViewDto
|
|
6327
|
+
*/
|
|
6328
|
+
export interface GiftCardCredentialsViewDto {
|
|
6329
|
+
/**
|
|
6330
|
+
* Saved 3rd-party gift card username.
|
|
6331
|
+
* @type {string}
|
|
6332
|
+
* @memberof GiftCardCredentialsViewDto
|
|
6333
|
+
*/
|
|
6334
|
+
'username': string | null;
|
|
6335
|
+
/**
|
|
6336
|
+
* Saved 3rd-party gift card password.
|
|
6337
|
+
* @type {string}
|
|
6338
|
+
* @memberof GiftCardCredentialsViewDto
|
|
6339
|
+
*/
|
|
6340
|
+
'password': string | null;
|
|
6341
|
+
/**
|
|
6342
|
+
* Saved unique POS device id for the 3rd-party gift card provider.
|
|
6343
|
+
* @type {string}
|
|
6344
|
+
* @memberof GiftCardCredentialsViewDto
|
|
6345
|
+
*/
|
|
6346
|
+
'uniquePosDeviceId': string | null;
|
|
6347
|
+
}
|
|
6040
6348
|
/**
|
|
6041
6349
|
*
|
|
6042
6350
|
* @export
|
|
@@ -9381,6 +9689,49 @@ export interface NetsCancelTransactionDto {
|
|
|
9381
9689
|
*/
|
|
9382
9690
|
'businessId': number;
|
|
9383
9691
|
}
|
|
9692
|
+
/**
|
|
9693
|
+
*
|
|
9694
|
+
* @export
|
|
9695
|
+
* @interface NetsConfigResponseDto
|
|
9696
|
+
*/
|
|
9697
|
+
export interface NetsConfigResponseDto {
|
|
9698
|
+
/**
|
|
9699
|
+
* Whether the Nets integration is active.
|
|
9700
|
+
* @type {boolean}
|
|
9701
|
+
* @memberof NetsConfigResponseDto
|
|
9702
|
+
*/
|
|
9703
|
+
'isActive': boolean;
|
|
9704
|
+
/**
|
|
9705
|
+
* Display name.
|
|
9706
|
+
* @type {string}
|
|
9707
|
+
* @memberof NetsConfigResponseDto
|
|
9708
|
+
*/
|
|
9709
|
+
'name': string | null;
|
|
9710
|
+
/**
|
|
9711
|
+
* Nets secret key.
|
|
9712
|
+
* @type {string}
|
|
9713
|
+
* @memberof NetsConfigResponseDto
|
|
9714
|
+
*/
|
|
9715
|
+
'secretKey': string | null;
|
|
9716
|
+
/**
|
|
9717
|
+
* Nets public key.
|
|
9718
|
+
* @type {string}
|
|
9719
|
+
* @memberof NetsConfigResponseDto
|
|
9720
|
+
*/
|
|
9721
|
+
'publicKey': string | null;
|
|
9722
|
+
/**
|
|
9723
|
+
* Nets OAuth client id.
|
|
9724
|
+
* @type {string}
|
|
9725
|
+
* @memberof NetsConfigResponseDto
|
|
9726
|
+
*/
|
|
9727
|
+
'clientId': string | null;
|
|
9728
|
+
/**
|
|
9729
|
+
* Nets OAuth client secret.
|
|
9730
|
+
* @type {string}
|
|
9731
|
+
* @memberof NetsConfigResponseDto
|
|
9732
|
+
*/
|
|
9733
|
+
'clientSecret': string | null;
|
|
9734
|
+
}
|
|
9384
9735
|
/**
|
|
9385
9736
|
*
|
|
9386
9737
|
* @export
|
|
@@ -11514,6 +11865,20 @@ export interface PaginationDto {
|
|
|
11514
11865
|
*/
|
|
11515
11866
|
'totalPages': number;
|
|
11516
11867
|
}
|
|
11868
|
+
/**
|
|
11869
|
+
*
|
|
11870
|
+
* @export
|
|
11871
|
+
* @enum {string}
|
|
11872
|
+
*/
|
|
11873
|
+
export declare const PaymentCheckoutFlow: {
|
|
11874
|
+
readonly TerminalCard: "terminal_card";
|
|
11875
|
+
readonly CardManual: "card_manual";
|
|
11876
|
+
readonly Cash: "cash";
|
|
11877
|
+
readonly GroupedVoucher: "grouped_voucher";
|
|
11878
|
+
readonly GiftCard: "gift_card";
|
|
11879
|
+
readonly Static: "static";
|
|
11880
|
+
};
|
|
11881
|
+
export type PaymentCheckoutFlow = typeof PaymentCheckoutFlow[keyof typeof PaymentCheckoutFlow];
|
|
11517
11882
|
/**
|
|
11518
11883
|
*
|
|
11519
11884
|
* @export
|
|
@@ -11733,6 +12098,91 @@ export declare const PaymentMethod: {
|
|
|
11733
12098
|
readonly LoyaltyPoints: "LoyaltyPoints";
|
|
11734
12099
|
};
|
|
11735
12100
|
export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
|
|
12101
|
+
/**
|
|
12102
|
+
*
|
|
12103
|
+
* @export
|
|
12104
|
+
* @interface PaymentMethodCapabilitiesDto
|
|
12105
|
+
*/
|
|
12106
|
+
export interface PaymentMethodCapabilitiesDto {
|
|
12107
|
+
/**
|
|
12108
|
+
* Whether this method can be refunded at all.
|
|
12109
|
+
* @type {boolean}
|
|
12110
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12111
|
+
*/
|
|
12112
|
+
'refundable': boolean;
|
|
12113
|
+
/**
|
|
12114
|
+
* Whether a refund can be split across this method and others.
|
|
12115
|
+
* @type {boolean}
|
|
12116
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12117
|
+
*/
|
|
12118
|
+
'refundSplittable': boolean;
|
|
12119
|
+
/**
|
|
12120
|
+
* Whether the customer may choose this method as a refund target.
|
|
12121
|
+
* @type {boolean}
|
|
12122
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12123
|
+
*/
|
|
12124
|
+
'refundChoiceEligible': boolean;
|
|
12125
|
+
/**
|
|
12126
|
+
* Refund allocation order (lower = refunded first); null when not refundable.
|
|
12127
|
+
* @type {number}
|
|
12128
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12129
|
+
*/
|
|
12130
|
+
'refundPriorityTier': number | null;
|
|
12131
|
+
/**
|
|
12132
|
+
*
|
|
12133
|
+
* @type {PaymentCheckoutFlow}
|
|
12134
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12135
|
+
*/
|
|
12136
|
+
'checkoutFlow': PaymentCheckoutFlow;
|
|
12137
|
+
/**
|
|
12138
|
+
*
|
|
12139
|
+
* @type {PaymentReportingBucket}
|
|
12140
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12141
|
+
*/
|
|
12142
|
+
'reportingBucket': PaymentReportingBucket;
|
|
12143
|
+
/**
|
|
12144
|
+
* Display tone/color key for badges and chips (e.g. info, edenred, voucherOrange).
|
|
12145
|
+
* @type {string}
|
|
12146
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12147
|
+
*/
|
|
12148
|
+
'tone': string;
|
|
12149
|
+
/**
|
|
12150
|
+
* Whether a refund is sent back to the original card via the terminal SDK.
|
|
12151
|
+
* @type {boolean}
|
|
12152
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12153
|
+
*/
|
|
12154
|
+
'refundToCard': boolean;
|
|
12155
|
+
/**
|
|
12156
|
+
* Whether refunding this method needs an active card provider (Viva/Nets).
|
|
12157
|
+
* @type {boolean}
|
|
12158
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12159
|
+
*/
|
|
12160
|
+
'requiresProvider': boolean;
|
|
12161
|
+
/**
|
|
12162
|
+
* Whether checkout needs a manual resolution step (cash rounding, voucher selection).
|
|
12163
|
+
* @type {boolean}
|
|
12164
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12165
|
+
*/
|
|
12166
|
+
'requiresManualResolution': boolean;
|
|
12167
|
+
/**
|
|
12168
|
+
* Whether receipts/print should show a forfeited (leftover) amount line.
|
|
12169
|
+
* @type {boolean}
|
|
12170
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12171
|
+
*/
|
|
12172
|
+
'shouldDisplayForfeitedAmount': boolean;
|
|
12173
|
+
/**
|
|
12174
|
+
* Benefit-confirmation issuer for the post-payment notification (e.g. edenred, wolt).
|
|
12175
|
+
* @type {string}
|
|
12176
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12177
|
+
*/
|
|
12178
|
+
'notificationIssuer': string | null;
|
|
12179
|
+
/**
|
|
12180
|
+
* Whether this method is checkout-only (cannot be a manual refund target).
|
|
12181
|
+
* @type {boolean}
|
|
12182
|
+
* @memberof PaymentMethodCapabilitiesDto
|
|
12183
|
+
*/
|
|
12184
|
+
'checkoutOnly': boolean;
|
|
12185
|
+
}
|
|
11736
12186
|
/**
|
|
11737
12187
|
*
|
|
11738
12188
|
* @export
|
|
@@ -12053,9 +12503,253 @@ export interface PaymentMethodDetailsDtoWechatPayDetails {
|
|
|
12053
12503
|
/**
|
|
12054
12504
|
*
|
|
12055
12505
|
* @export
|
|
12056
|
-
* @interface
|
|
12506
|
+
* @interface PaymentMethodDto
|
|
12057
12507
|
*/
|
|
12058
|
-
export interface
|
|
12508
|
+
export interface PaymentMethodDto {
|
|
12509
|
+
/**
|
|
12510
|
+
* PaymentMethodOption id; use it for update/delete/reorder.
|
|
12511
|
+
* @type {string}
|
|
12512
|
+
* @memberof PaymentMethodDto
|
|
12513
|
+
*/
|
|
12514
|
+
'id': string;
|
|
12515
|
+
/**
|
|
12516
|
+
* Stable, immutable method code (catalog identity).
|
|
12517
|
+
* @type {string}
|
|
12518
|
+
* @memberof PaymentMethodDto
|
|
12519
|
+
*/
|
|
12520
|
+
'code': string;
|
|
12521
|
+
/**
|
|
12522
|
+
* Catalog type that drives this method\'s policy/behavior.
|
|
12523
|
+
* @type {string}
|
|
12524
|
+
* @memberof PaymentMethodDto
|
|
12525
|
+
*/
|
|
12526
|
+
'typeCode': string;
|
|
12527
|
+
/**
|
|
12528
|
+
* Display name: per-business customName, else catalog translation, else code.
|
|
12529
|
+
* @type {string}
|
|
12530
|
+
* @memberof PaymentMethodDto
|
|
12531
|
+
*/
|
|
12532
|
+
'label': string;
|
|
12533
|
+
/**
|
|
12534
|
+
* Per-business name override; null means inherit the catalog label.
|
|
12535
|
+
* @type {string}
|
|
12536
|
+
* @memberof PaymentMethodDto
|
|
12537
|
+
*/
|
|
12538
|
+
'customName': string | null;
|
|
12539
|
+
/**
|
|
12540
|
+
* Per-business logo URL.
|
|
12541
|
+
* @type {string}
|
|
12542
|
+
* @memberof PaymentMethodDto
|
|
12543
|
+
*/
|
|
12544
|
+
'logo': string | null;
|
|
12545
|
+
/**
|
|
12546
|
+
* Per-business description.
|
|
12547
|
+
* @type {string}
|
|
12548
|
+
* @memberof PaymentMethodDto
|
|
12549
|
+
*/
|
|
12550
|
+
'description': string | null;
|
|
12551
|
+
/**
|
|
12552
|
+
* Parent method code for grouped vouchers; null when standalone.
|
|
12553
|
+
* @type {string}
|
|
12554
|
+
* @memberof PaymentMethodDto
|
|
12555
|
+
*/
|
|
12556
|
+
'parentCode': string | null;
|
|
12557
|
+
/**
|
|
12558
|
+
* Sort order within the business (ascending).
|
|
12559
|
+
* @type {number}
|
|
12560
|
+
* @memberof PaymentMethodDto
|
|
12561
|
+
*/
|
|
12562
|
+
'position': number;
|
|
12563
|
+
/**
|
|
12564
|
+
* Whether the method is shown/usable (off = hidden, not deleted).
|
|
12565
|
+
* @type {boolean}
|
|
12566
|
+
* @memberof PaymentMethodDto
|
|
12567
|
+
*/
|
|
12568
|
+
'enable': boolean;
|
|
12569
|
+
/**
|
|
12570
|
+
* Preset amounts/denominations (vouchers).
|
|
12571
|
+
* @type {Array<number>}
|
|
12572
|
+
* @memberof PaymentMethodDto
|
|
12573
|
+
*/
|
|
12574
|
+
'amounts': Array<number>;
|
|
12575
|
+
/**
|
|
12576
|
+
* Minimum order amount required to use this method (decimal as string).
|
|
12577
|
+
* @type {string}
|
|
12578
|
+
* @memberof PaymentMethodDto
|
|
12579
|
+
*/
|
|
12580
|
+
'minimumCheckoutAmount': string | null;
|
|
12581
|
+
/**
|
|
12582
|
+
*
|
|
12583
|
+
* @type {PaymentMethodDtoCapabilities}
|
|
12584
|
+
* @memberof PaymentMethodDto
|
|
12585
|
+
*/
|
|
12586
|
+
'capabilities': PaymentMethodDtoCapabilities;
|
|
12587
|
+
/**
|
|
12588
|
+
* True for a 3rd-party gift card whose credentials the merchant can edit.
|
|
12589
|
+
* @type {boolean}
|
|
12590
|
+
* @memberof PaymentMethodDto
|
|
12591
|
+
*/
|
|
12592
|
+
'requiresCredentials': boolean;
|
|
12593
|
+
/**
|
|
12594
|
+
*
|
|
12595
|
+
* @type {PaymentMethodDtoGiftCardCredentials}
|
|
12596
|
+
* @memberof PaymentMethodDto
|
|
12597
|
+
*/
|
|
12598
|
+
'giftCardCredentials': PaymentMethodDtoGiftCardCredentials | null;
|
|
12599
|
+
/**
|
|
12600
|
+
* Auto-managed grouped children (e.g. Card→Debit/Credit, LunchVoucher→its vouchers). Empty for standalone methods.
|
|
12601
|
+
* @type {Array<PaymentMethodDto>}
|
|
12602
|
+
* @memberof PaymentMethodDto
|
|
12603
|
+
*/
|
|
12604
|
+
'children': Array<PaymentMethodDto>;
|
|
12605
|
+
}
|
|
12606
|
+
/**
|
|
12607
|
+
* Refund behavior resolved from the catalog type + per-method overrides.
|
|
12608
|
+
* @export
|
|
12609
|
+
* @interface PaymentMethodDtoCapabilities
|
|
12610
|
+
*/
|
|
12611
|
+
export interface PaymentMethodDtoCapabilities {
|
|
12612
|
+
/**
|
|
12613
|
+
* Whether this method can be refunded at all.
|
|
12614
|
+
* @type {boolean}
|
|
12615
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12616
|
+
*/
|
|
12617
|
+
'refundable': boolean;
|
|
12618
|
+
/**
|
|
12619
|
+
* Whether a refund can be split across this method and others.
|
|
12620
|
+
* @type {boolean}
|
|
12621
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12622
|
+
*/
|
|
12623
|
+
'refundSplittable': boolean;
|
|
12624
|
+
/**
|
|
12625
|
+
* Whether the customer may choose this method as a refund target.
|
|
12626
|
+
* @type {boolean}
|
|
12627
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12628
|
+
*/
|
|
12629
|
+
'refundChoiceEligible': boolean;
|
|
12630
|
+
/**
|
|
12631
|
+
* Refund allocation order (lower = refunded first); null when not refundable.
|
|
12632
|
+
* @type {number}
|
|
12633
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12634
|
+
*/
|
|
12635
|
+
'refundPriorityTier': number | null;
|
|
12636
|
+
/**
|
|
12637
|
+
*
|
|
12638
|
+
* @type {PaymentCheckoutFlow}
|
|
12639
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12640
|
+
*/
|
|
12641
|
+
'checkoutFlow': PaymentCheckoutFlow;
|
|
12642
|
+
/**
|
|
12643
|
+
*
|
|
12644
|
+
* @type {PaymentReportingBucket}
|
|
12645
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12646
|
+
*/
|
|
12647
|
+
'reportingBucket': PaymentReportingBucket;
|
|
12648
|
+
/**
|
|
12649
|
+
* Display tone/color key for badges and chips (e.g. info, edenred, voucherOrange).
|
|
12650
|
+
* @type {string}
|
|
12651
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12652
|
+
*/
|
|
12653
|
+
'tone': string;
|
|
12654
|
+
/**
|
|
12655
|
+
* Whether a refund is sent back to the original card via the terminal SDK.
|
|
12656
|
+
* @type {boolean}
|
|
12657
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12658
|
+
*/
|
|
12659
|
+
'refundToCard': boolean;
|
|
12660
|
+
/**
|
|
12661
|
+
* Whether refunding this method needs an active card provider (Viva/Nets).
|
|
12662
|
+
* @type {boolean}
|
|
12663
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12664
|
+
*/
|
|
12665
|
+
'requiresProvider': boolean;
|
|
12666
|
+
/**
|
|
12667
|
+
* Whether checkout needs a manual resolution step (cash rounding, voucher selection).
|
|
12668
|
+
* @type {boolean}
|
|
12669
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12670
|
+
*/
|
|
12671
|
+
'requiresManualResolution': boolean;
|
|
12672
|
+
/**
|
|
12673
|
+
* Whether receipts/print should show a forfeited (leftover) amount line.
|
|
12674
|
+
* @type {boolean}
|
|
12675
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12676
|
+
*/
|
|
12677
|
+
'shouldDisplayForfeitedAmount': boolean;
|
|
12678
|
+
/**
|
|
12679
|
+
* Benefit-confirmation issuer for the post-payment notification (e.g. edenred, wolt).
|
|
12680
|
+
* @type {string}
|
|
12681
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12682
|
+
*/
|
|
12683
|
+
'notificationIssuer': string | null;
|
|
12684
|
+
/**
|
|
12685
|
+
* Whether this method is checkout-only (cannot be a manual refund target).
|
|
12686
|
+
* @type {boolean}
|
|
12687
|
+
* @memberof PaymentMethodDtoCapabilities
|
|
12688
|
+
*/
|
|
12689
|
+
'checkoutOnly': boolean;
|
|
12690
|
+
}
|
|
12691
|
+
/**
|
|
12692
|
+
* Saved 3rd-party gift card credentials for pre-fill; null when not applicable.
|
|
12693
|
+
* @export
|
|
12694
|
+
* @interface PaymentMethodDtoGiftCardCredentials
|
|
12695
|
+
*/
|
|
12696
|
+
export interface PaymentMethodDtoGiftCardCredentials {
|
|
12697
|
+
/**
|
|
12698
|
+
* Saved 3rd-party gift card username.
|
|
12699
|
+
* @type {string}
|
|
12700
|
+
* @memberof PaymentMethodDtoGiftCardCredentials
|
|
12701
|
+
*/
|
|
12702
|
+
'username': string | null;
|
|
12703
|
+
/**
|
|
12704
|
+
* Saved 3rd-party gift card password.
|
|
12705
|
+
* @type {string}
|
|
12706
|
+
* @memberof PaymentMethodDtoGiftCardCredentials
|
|
12707
|
+
*/
|
|
12708
|
+
'password': string | null;
|
|
12709
|
+
/**
|
|
12710
|
+
* Saved unique POS device id for the 3rd-party gift card provider.
|
|
12711
|
+
* @type {string}
|
|
12712
|
+
* @memberof PaymentMethodDtoGiftCardCredentials
|
|
12713
|
+
*/
|
|
12714
|
+
'uniquePosDeviceId': string | null;
|
|
12715
|
+
}
|
|
12716
|
+
/**
|
|
12717
|
+
*
|
|
12718
|
+
* @export
|
|
12719
|
+
* @interface PaymentMethodTypeDto
|
|
12720
|
+
*/
|
|
12721
|
+
export interface PaymentMethodTypeDto {
|
|
12722
|
+
/**
|
|
12723
|
+
* Catalog type code (e.g. CARD, VOUCHER, GIFT_CARD).
|
|
12724
|
+
* @type {string}
|
|
12725
|
+
* @memberof PaymentMethodTypeDto
|
|
12726
|
+
*/
|
|
12727
|
+
'code': string;
|
|
12728
|
+
/**
|
|
12729
|
+
* Human-readable type label for display.
|
|
12730
|
+
* @type {string}
|
|
12731
|
+
* @memberof PaymentMethodTypeDto
|
|
12732
|
+
*/
|
|
12733
|
+
'label': string;
|
|
12734
|
+
/**
|
|
12735
|
+
* Short explanation of what this category means, to guide the user.
|
|
12736
|
+
* @type {string}
|
|
12737
|
+
* @memberof PaymentMethodTypeDto
|
|
12738
|
+
*/
|
|
12739
|
+
'description': string;
|
|
12740
|
+
/**
|
|
12741
|
+
* Whether methods of this type take preset amounts/denominations.
|
|
12742
|
+
* @type {boolean}
|
|
12743
|
+
* @memberof PaymentMethodTypeDto
|
|
12744
|
+
*/
|
|
12745
|
+
'supportsAmounts': boolean;
|
|
12746
|
+
}
|
|
12747
|
+
/**
|
|
12748
|
+
*
|
|
12749
|
+
* @export
|
|
12750
|
+
* @interface PaymentMethodsResponseDto
|
|
12751
|
+
*/
|
|
12752
|
+
export interface PaymentMethodsResponseDto {
|
|
12059
12753
|
/**
|
|
12060
12754
|
* Unique identifier of the payment method
|
|
12061
12755
|
* @type {string}
|
|
@@ -12395,6 +13089,18 @@ export interface PaymentRefundLineAllocationDto {
|
|
|
12395
13089
|
*/
|
|
12396
13090
|
'quantity': number;
|
|
12397
13091
|
}
|
|
13092
|
+
/**
|
|
13093
|
+
*
|
|
13094
|
+
* @export
|
|
13095
|
+
* @enum {string}
|
|
13096
|
+
*/
|
|
13097
|
+
export declare const PaymentReportingBucket: {
|
|
13098
|
+
readonly Cards: "cards";
|
|
13099
|
+
readonly EdenredVoucher: "edenred_voucher";
|
|
13100
|
+
readonly SmartumVoucher: "smartum_voucher";
|
|
13101
|
+
readonly Other: "other";
|
|
13102
|
+
};
|
|
13103
|
+
export type PaymentReportingBucket = typeof PaymentReportingBucket[keyof typeof PaymentReportingBucket];
|
|
12398
13104
|
/**
|
|
12399
13105
|
*
|
|
12400
13106
|
* @export
|
|
@@ -16192,6 +16898,43 @@ export interface ProviderSupportedIntegrationsDto {
|
|
|
16192
16898
|
*/
|
|
16193
16899
|
'supportedIntegrations': Array<IntegrationType>;
|
|
16194
16900
|
}
|
|
16901
|
+
/**
|
|
16902
|
+
*
|
|
16903
|
+
* @export
|
|
16904
|
+
* @interface ProvidersConfigResponseDto
|
|
16905
|
+
*/
|
|
16906
|
+
export interface ProvidersConfigResponseDto {
|
|
16907
|
+
/**
|
|
16908
|
+
*
|
|
16909
|
+
* @type {PaymentProvider}
|
|
16910
|
+
* @memberof ProvidersConfigResponseDto
|
|
16911
|
+
*/
|
|
16912
|
+
'selectedPaymentProvider': PaymentProvider | null;
|
|
16913
|
+
/**
|
|
16914
|
+
*
|
|
16915
|
+
* @type {VivaConfigResponseDto}
|
|
16916
|
+
* @memberof ProvidersConfigResponseDto
|
|
16917
|
+
*/
|
|
16918
|
+
'viva': VivaConfigResponseDto | null;
|
|
16919
|
+
/**
|
|
16920
|
+
*
|
|
16921
|
+
* @type {NetsConfigResponseDto}
|
|
16922
|
+
* @memberof ProvidersConfigResponseDto
|
|
16923
|
+
*/
|
|
16924
|
+
'nets': NetsConfigResponseDto | null;
|
|
16925
|
+
/**
|
|
16926
|
+
*
|
|
16927
|
+
* @type {StripeConfigResponseDto}
|
|
16928
|
+
* @memberof ProvidersConfigResponseDto
|
|
16929
|
+
*/
|
|
16930
|
+
'stripe': StripeConfigResponseDto | null;
|
|
16931
|
+
/**
|
|
16932
|
+
*
|
|
16933
|
+
* @type {WorldlineConfigResponseDto}
|
|
16934
|
+
* @memberof ProvidersConfigResponseDto
|
|
16935
|
+
*/
|
|
16936
|
+
'worldline': WorldlineConfigResponseDto | null;
|
|
16937
|
+
}
|
|
16195
16938
|
/**
|
|
16196
16939
|
*
|
|
16197
16940
|
* @export
|
|
@@ -16211,6 +16954,25 @@ export declare const PubSubTarget: {
|
|
|
16211
16954
|
readonly Kds: "KDS";
|
|
16212
16955
|
};
|
|
16213
16956
|
export type PubSubTarget = typeof PubSubTarget[keyof typeof PubSubTarget];
|
|
16957
|
+
/**
|
|
16958
|
+
*
|
|
16959
|
+
* @export
|
|
16960
|
+
* @interface RankItemDto
|
|
16961
|
+
*/
|
|
16962
|
+
export interface RankItemDto {
|
|
16963
|
+
/**
|
|
16964
|
+
* PaymentMethodOption id to position.
|
|
16965
|
+
* @type {string}
|
|
16966
|
+
* @memberof RankItemDto
|
|
16967
|
+
*/
|
|
16968
|
+
'id': string;
|
|
16969
|
+
/**
|
|
16970
|
+
* New zero-based sort position.
|
|
16971
|
+
* @type {number}
|
|
16972
|
+
* @memberof RankItemDto
|
|
16973
|
+
*/
|
|
16974
|
+
'rank': number;
|
|
16975
|
+
}
|
|
16214
16976
|
/**
|
|
16215
16977
|
*
|
|
16216
16978
|
* @export
|
|
@@ -18162,6 +18924,37 @@ export declare const Status: {
|
|
|
18162
18924
|
readonly Inactive: "INACTIVE";
|
|
18163
18925
|
};
|
|
18164
18926
|
export type Status = typeof Status[keyof typeof Status];
|
|
18927
|
+
/**
|
|
18928
|
+
*
|
|
18929
|
+
* @export
|
|
18930
|
+
* @interface StripeConfigResponseDto
|
|
18931
|
+
*/
|
|
18932
|
+
export interface StripeConfigResponseDto {
|
|
18933
|
+
/**
|
|
18934
|
+
* Whether the Stripe integration is active.
|
|
18935
|
+
* @type {boolean}
|
|
18936
|
+
* @memberof StripeConfigResponseDto
|
|
18937
|
+
*/
|
|
18938
|
+
'isActive': boolean;
|
|
18939
|
+
/**
|
|
18940
|
+
* Display name.
|
|
18941
|
+
* @type {string}
|
|
18942
|
+
* @memberof StripeConfigResponseDto
|
|
18943
|
+
*/
|
|
18944
|
+
'name': string | null;
|
|
18945
|
+
/**
|
|
18946
|
+
* Stripe secret key.
|
|
18947
|
+
* @type {string}
|
|
18948
|
+
* @memberof StripeConfigResponseDto
|
|
18949
|
+
*/
|
|
18950
|
+
'secretKey': string | null;
|
|
18951
|
+
/**
|
|
18952
|
+
* Stripe location id.
|
|
18953
|
+
* @type {string}
|
|
18954
|
+
* @memberof StripeConfigResponseDto
|
|
18955
|
+
*/
|
|
18956
|
+
'locationId': string | null;
|
|
18957
|
+
}
|
|
18165
18958
|
/**
|
|
18166
18959
|
*
|
|
18167
18960
|
* @export
|
|
@@ -20508,6 +21301,86 @@ export interface UpdateInvoiceCompanyDto {
|
|
|
20508
21301
|
*/
|
|
20509
21302
|
'address'?: string;
|
|
20510
21303
|
}
|
|
21304
|
+
/**
|
|
21305
|
+
*
|
|
21306
|
+
* @export
|
|
21307
|
+
* @interface UpdatePaymentMethodOptionDto
|
|
21308
|
+
*/
|
|
21309
|
+
export interface UpdatePaymentMethodOptionDto {
|
|
21310
|
+
/**
|
|
21311
|
+
* Per-business name override.
|
|
21312
|
+
* @type {string}
|
|
21313
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
21314
|
+
*/
|
|
21315
|
+
'customName'?: string;
|
|
21316
|
+
/**
|
|
21317
|
+
* Per-business logo URL.
|
|
21318
|
+
* @type {string}
|
|
21319
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
21320
|
+
*/
|
|
21321
|
+
'logo'?: string;
|
|
21322
|
+
/**
|
|
21323
|
+
* Per-business description.
|
|
21324
|
+
* @type {string}
|
|
21325
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
21326
|
+
*/
|
|
21327
|
+
'description'?: string;
|
|
21328
|
+
/**
|
|
21329
|
+
* Parent method code for grouped vouchers.
|
|
21330
|
+
* @type {string}
|
|
21331
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
21332
|
+
*/
|
|
21333
|
+
'parentCode'?: string;
|
|
21334
|
+
/**
|
|
21335
|
+
* Preset amounts/denominations (vouchers).
|
|
21336
|
+
* @type {Array<number>}
|
|
21337
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
21338
|
+
*/
|
|
21339
|
+
'amounts'?: Array<number>;
|
|
21340
|
+
/**
|
|
21341
|
+
* Minimum order amount required to use this method.
|
|
21342
|
+
* @type {number}
|
|
21343
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
21344
|
+
*/
|
|
21345
|
+
'minimumCheckoutAmount'?: number;
|
|
21346
|
+
/**
|
|
21347
|
+
* Whether the method is enabled.
|
|
21348
|
+
* @type {boolean}
|
|
21349
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
21350
|
+
*/
|
|
21351
|
+
'enable'?: boolean;
|
|
21352
|
+
/**
|
|
21353
|
+
*
|
|
21354
|
+
* @type {UpdatePaymentMethodOptionDtoGiftCardCredentials}
|
|
21355
|
+
* @memberof UpdatePaymentMethodOptionDto
|
|
21356
|
+
*/
|
|
21357
|
+
'giftCardCredentials'?: UpdatePaymentMethodOptionDtoGiftCardCredentials;
|
|
21358
|
+
}
|
|
21359
|
+
/**
|
|
21360
|
+
* Only for a 3rd-party gift card: username/password/posDeviceId (URLs are constants).
|
|
21361
|
+
* @export
|
|
21362
|
+
* @interface UpdatePaymentMethodOptionDtoGiftCardCredentials
|
|
21363
|
+
*/
|
|
21364
|
+
export interface UpdatePaymentMethodOptionDtoGiftCardCredentials {
|
|
21365
|
+
/**
|
|
21366
|
+
* 3rd-party gift card account username.
|
|
21367
|
+
* @type {string}
|
|
21368
|
+
* @memberof UpdatePaymentMethodOptionDtoGiftCardCredentials
|
|
21369
|
+
*/
|
|
21370
|
+
'username'?: string;
|
|
21371
|
+
/**
|
|
21372
|
+
* 3rd-party gift card account password.
|
|
21373
|
+
* @type {string}
|
|
21374
|
+
* @memberof UpdatePaymentMethodOptionDtoGiftCardCredentials
|
|
21375
|
+
*/
|
|
21376
|
+
'password'?: string;
|
|
21377
|
+
/**
|
|
21378
|
+
* Unique POS device id for the 3rd-party gift card provider.
|
|
21379
|
+
* @type {string}
|
|
21380
|
+
* @memberof UpdatePaymentMethodOptionDtoGiftCardCredentials
|
|
21381
|
+
*/
|
|
21382
|
+
'uniquePosDeviceId'?: string;
|
|
21383
|
+
}
|
|
20511
21384
|
/**
|
|
20512
21385
|
*
|
|
20513
21386
|
* @export
|
|
@@ -20952,7 +21825,7 @@ export interface UpsertNetsDto {
|
|
|
20952
21825
|
* @type {string}
|
|
20953
21826
|
* @memberof UpsertNetsDto
|
|
20954
21827
|
*/
|
|
20955
|
-
'name'
|
|
21828
|
+
'name': string;
|
|
20956
21829
|
/**
|
|
20957
21830
|
*
|
|
20958
21831
|
* @type {boolean}
|
|
@@ -21180,17 +22053,96 @@ export interface UpsertProductPrintPolicyDto {
|
|
|
21180
22053
|
/**
|
|
21181
22054
|
*
|
|
21182
22055
|
* @export
|
|
21183
|
-
* @interface
|
|
22056
|
+
* @interface UpsertProvidersDto
|
|
21184
22057
|
*/
|
|
21185
|
-
export interface
|
|
22058
|
+
export interface UpsertProvidersDto {
|
|
21186
22059
|
/**
|
|
21187
22060
|
*
|
|
21188
|
-
* @type {
|
|
21189
|
-
* @memberof
|
|
22061
|
+
* @type {PaymentProvider}
|
|
22062
|
+
* @memberof UpsertProvidersDto
|
|
21190
22063
|
*/
|
|
21191
|
-
'
|
|
22064
|
+
'provider': PaymentProvider;
|
|
21192
22065
|
/**
|
|
21193
|
-
*
|
|
22066
|
+
*
|
|
22067
|
+
* @type {string}
|
|
22068
|
+
* @memberof UpsertProvidersDto
|
|
22069
|
+
*/
|
|
22070
|
+
'name': string;
|
|
22071
|
+
/**
|
|
22072
|
+
*
|
|
22073
|
+
* @type {boolean}
|
|
22074
|
+
* @memberof UpsertProvidersDto
|
|
22075
|
+
*/
|
|
22076
|
+
'isActive'?: boolean;
|
|
22077
|
+
/**
|
|
22078
|
+
* Viva merchant id.
|
|
22079
|
+
* @type {string}
|
|
22080
|
+
* @memberof UpsertProvidersDto
|
|
22081
|
+
*/
|
|
22082
|
+
'merchantId'?: string;
|
|
22083
|
+
/**
|
|
22084
|
+
* Viva source code.
|
|
22085
|
+
* @type {string}
|
|
22086
|
+
* @memberof UpsertProvidersDto
|
|
22087
|
+
*/
|
|
22088
|
+
'sourceCode'?: string;
|
|
22089
|
+
/**
|
|
22090
|
+
* Viva commission/surcharge rate.
|
|
22091
|
+
* @type {number}
|
|
22092
|
+
* @memberof UpsertProvidersDto
|
|
22093
|
+
*/
|
|
22094
|
+
'rate'?: number;
|
|
22095
|
+
/**
|
|
22096
|
+
* Viva additional amount.
|
|
22097
|
+
* @type {number}
|
|
22098
|
+
* @memberof UpsertProvidersDto
|
|
22099
|
+
*/
|
|
22100
|
+
'additionalAmount'?: number;
|
|
22101
|
+
/**
|
|
22102
|
+
* Nets / Stripe / Worldline secret key.
|
|
22103
|
+
* @type {string}
|
|
22104
|
+
* @memberof UpsertProvidersDto
|
|
22105
|
+
*/
|
|
22106
|
+
'secretKey'?: string;
|
|
22107
|
+
/**
|
|
22108
|
+
* Nets / Worldline public key.
|
|
22109
|
+
* @type {string}
|
|
22110
|
+
* @memberof UpsertProvidersDto
|
|
22111
|
+
*/
|
|
22112
|
+
'publicKey'?: string;
|
|
22113
|
+
/**
|
|
22114
|
+
* Nets OAuth client id.
|
|
22115
|
+
* @type {string}
|
|
22116
|
+
* @memberof UpsertProvidersDto
|
|
22117
|
+
*/
|
|
22118
|
+
'clientId'?: string;
|
|
22119
|
+
/**
|
|
22120
|
+
* Nets OAuth client secret.
|
|
22121
|
+
* @type {string}
|
|
22122
|
+
* @memberof UpsertProvidersDto
|
|
22123
|
+
*/
|
|
22124
|
+
'clientSecret'?: string;
|
|
22125
|
+
/**
|
|
22126
|
+
* Stripe location id.
|
|
22127
|
+
* @type {string}
|
|
22128
|
+
* @memberof UpsertProvidersDto
|
|
22129
|
+
*/
|
|
22130
|
+
'locationId'?: string;
|
|
22131
|
+
}
|
|
22132
|
+
/**
|
|
22133
|
+
*
|
|
22134
|
+
* @export
|
|
22135
|
+
* @interface UpsertScheduleDayDto
|
|
22136
|
+
*/
|
|
22137
|
+
export interface UpsertScheduleDayDto {
|
|
22138
|
+
/**
|
|
22139
|
+
*
|
|
22140
|
+
* @type {DayOfWeek}
|
|
22141
|
+
* @memberof UpsertScheduleDayDto
|
|
22142
|
+
*/
|
|
22143
|
+
'day': DayOfWeek;
|
|
22144
|
+
/**
|
|
22145
|
+
* Whether the business is open on this day
|
|
21194
22146
|
* @type {boolean}
|
|
21195
22147
|
* @memberof UpsertScheduleDayDto
|
|
21196
22148
|
*/
|
|
@@ -21219,7 +22171,7 @@ export interface UpsertStripeDto {
|
|
|
21219
22171
|
* @type {string}
|
|
21220
22172
|
* @memberof UpsertStripeDto
|
|
21221
22173
|
*/
|
|
21222
|
-
'name'
|
|
22174
|
+
'name': string;
|
|
21223
22175
|
/**
|
|
21224
22176
|
*
|
|
21225
22177
|
* @type {boolean}
|
|
@@ -21250,7 +22202,7 @@ export interface UpsertVivaDto {
|
|
|
21250
22202
|
* @type {string}
|
|
21251
22203
|
* @memberof UpsertVivaDto
|
|
21252
22204
|
*/
|
|
21253
|
-
'name'
|
|
22205
|
+
'name': string;
|
|
21254
22206
|
/**
|
|
21255
22207
|
*
|
|
21256
22208
|
* @type {boolean}
|
|
@@ -21644,6 +22596,43 @@ export interface VivaConfigDto {
|
|
|
21644
22596
|
*/
|
|
21645
22597
|
'additionalAmount'?: number;
|
|
21646
22598
|
}
|
|
22599
|
+
/**
|
|
22600
|
+
*
|
|
22601
|
+
* @export
|
|
22602
|
+
* @interface VivaConfigResponseDto
|
|
22603
|
+
*/
|
|
22604
|
+
export interface VivaConfigResponseDto {
|
|
22605
|
+
/**
|
|
22606
|
+
* Whether the Viva integration is active.
|
|
22607
|
+
* @type {boolean}
|
|
22608
|
+
* @memberof VivaConfigResponseDto
|
|
22609
|
+
*/
|
|
22610
|
+
'isActive': boolean;
|
|
22611
|
+
/**
|
|
22612
|
+
* Display name.
|
|
22613
|
+
* @type {string}
|
|
22614
|
+
* @memberof VivaConfigResponseDto
|
|
22615
|
+
*/
|
|
22616
|
+
'name': string | null;
|
|
22617
|
+
/**
|
|
22618
|
+
* Viva merchant id.
|
|
22619
|
+
* @type {string}
|
|
22620
|
+
* @memberof VivaConfigResponseDto
|
|
22621
|
+
*/
|
|
22622
|
+
'merchantId': string | null;
|
|
22623
|
+
/**
|
|
22624
|
+
* Viva source code.
|
|
22625
|
+
* @type {string}
|
|
22626
|
+
* @memberof VivaConfigResponseDto
|
|
22627
|
+
*/
|
|
22628
|
+
'sourceCode': string | null;
|
|
22629
|
+
/**
|
|
22630
|
+
* Commission/surcharge rate.
|
|
22631
|
+
* @type {number}
|
|
22632
|
+
* @memberof VivaConfigResponseDto
|
|
22633
|
+
*/
|
|
22634
|
+
'rate': number | null;
|
|
22635
|
+
}
|
|
21647
22636
|
/**
|
|
21648
22637
|
*
|
|
21649
22638
|
* @export
|
|
@@ -23101,6 +24090,37 @@ export interface WorldlineAmountsRequestDto {
|
|
|
23101
24090
|
*/
|
|
23102
24091
|
'tip'?: number;
|
|
23103
24092
|
}
|
|
24093
|
+
/**
|
|
24094
|
+
*
|
|
24095
|
+
* @export
|
|
24096
|
+
* @interface WorldlineConfigResponseDto
|
|
24097
|
+
*/
|
|
24098
|
+
export interface WorldlineConfigResponseDto {
|
|
24099
|
+
/**
|
|
24100
|
+
* Whether the Worldline integration is active.
|
|
24101
|
+
* @type {boolean}
|
|
24102
|
+
* @memberof WorldlineConfigResponseDto
|
|
24103
|
+
*/
|
|
24104
|
+
'isActive': boolean;
|
|
24105
|
+
/**
|
|
24106
|
+
* Display name.
|
|
24107
|
+
* @type {string}
|
|
24108
|
+
* @memberof WorldlineConfigResponseDto
|
|
24109
|
+
*/
|
|
24110
|
+
'name': string | null;
|
|
24111
|
+
/**
|
|
24112
|
+
* Worldline secret key.
|
|
24113
|
+
* @type {string}
|
|
24114
|
+
* @memberof WorldlineConfigResponseDto
|
|
24115
|
+
*/
|
|
24116
|
+
'secretKey': string | null;
|
|
24117
|
+
/**
|
|
24118
|
+
* Worldline public key.
|
|
24119
|
+
* @type {string}
|
|
24120
|
+
* @memberof WorldlineConfigResponseDto
|
|
24121
|
+
*/
|
|
24122
|
+
'publicKey': string | null;
|
|
24123
|
+
}
|
|
23104
24124
|
/**
|
|
23105
24125
|
*
|
|
23106
24126
|
* @export
|
|
@@ -25473,6 +26493,15 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
25473
26493
|
* @throws {RequiredError}
|
|
25474
26494
|
*/
|
|
25475
26495
|
configConfigureMunchiGiftCard: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
26496
|
+
/**
|
|
26497
|
+
*
|
|
26498
|
+
* @summary Get payment providers config
|
|
26499
|
+
* @param {number} businessId
|
|
26500
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26501
|
+
* @param {*} [options] Override http request option.
|
|
26502
|
+
* @throws {RequiredError}
|
|
26503
|
+
*/
|
|
26504
|
+
configGetProviders: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25476
26505
|
/**
|
|
25477
26506
|
*
|
|
25478
26507
|
* @summary Manual sync trigger
|
|
@@ -25550,6 +26579,16 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
25550
26579
|
* @throws {RequiredError}
|
|
25551
26580
|
*/
|
|
25552
26581
|
configUpsertPaymentOptions: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
26582
|
+
/**
|
|
26583
|
+
*
|
|
26584
|
+
* @summary Set active provider and upsert its credentials
|
|
26585
|
+
* @param {number} businessId
|
|
26586
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26587
|
+
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
26588
|
+
* @param {*} [options] Override http request option.
|
|
26589
|
+
* @throws {RequiredError}
|
|
26590
|
+
*/
|
|
26591
|
+
configUpsertProviders: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25553
26592
|
/**
|
|
25554
26593
|
*
|
|
25555
26594
|
* @summary Upsert Stripe payment config
|
|
@@ -25586,6 +26625,15 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
25586
26625
|
* @throws {RequiredError}
|
|
25587
26626
|
*/
|
|
25588
26627
|
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>>;
|
|
26628
|
+
/**
|
|
26629
|
+
*
|
|
26630
|
+
* @summary Get payment providers config
|
|
26631
|
+
* @param {number} businessId
|
|
26632
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26633
|
+
* @param {*} [options] Override http request option.
|
|
26634
|
+
* @throws {RequiredError}
|
|
26635
|
+
*/
|
|
26636
|
+
configGetProviders(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvidersConfigResponseDto>>;
|
|
25589
26637
|
/**
|
|
25590
26638
|
*
|
|
25591
26639
|
* @summary Manual sync trigger
|
|
@@ -25663,6 +26711,16 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
25663
26711
|
* @throws {RequiredError}
|
|
25664
26712
|
*/
|
|
25665
26713
|
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>>;
|
|
26714
|
+
/**
|
|
26715
|
+
*
|
|
26716
|
+
* @summary Set active provider and upsert its credentials
|
|
26717
|
+
* @param {number} businessId
|
|
26718
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26719
|
+
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
26720
|
+
* @param {*} [options] Override http request option.
|
|
26721
|
+
* @throws {RequiredError}
|
|
26722
|
+
*/
|
|
26723
|
+
configUpsertProviders(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvidersConfigResponseDto>>;
|
|
25666
26724
|
/**
|
|
25667
26725
|
*
|
|
25668
26726
|
* @summary Upsert Stripe payment config
|
|
@@ -25699,6 +26757,15 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
25699
26757
|
* @throws {RequiredError}
|
|
25700
26758
|
*/
|
|
25701
26759
|
configConfigureMunchiGiftCard(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
26760
|
+
/**
|
|
26761
|
+
*
|
|
26762
|
+
* @summary Get payment providers config
|
|
26763
|
+
* @param {number} businessId
|
|
26764
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26765
|
+
* @param {*} [options] Override http request option.
|
|
26766
|
+
* @throws {RequiredError}
|
|
26767
|
+
*/
|
|
26768
|
+
configGetProviders(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", options?: any): AxiosPromise<ProvidersConfigResponseDto>;
|
|
25702
26769
|
/**
|
|
25703
26770
|
*
|
|
25704
26771
|
* @summary Manual sync trigger
|
|
@@ -25776,6 +26843,16 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
25776
26843
|
* @throws {RequiredError}
|
|
25777
26844
|
*/
|
|
25778
26845
|
configUpsertPaymentOptions(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
26846
|
+
/**
|
|
26847
|
+
*
|
|
26848
|
+
* @summary Set active provider and upsert its credentials
|
|
26849
|
+
* @param {number} businessId
|
|
26850
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26851
|
+
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
26852
|
+
* @param {*} [options] Override http request option.
|
|
26853
|
+
* @throws {RequiredError}
|
|
26854
|
+
*/
|
|
26855
|
+
configUpsertProviders(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront", upsertProvidersDto: UpsertProvidersDto, options?: any): AxiosPromise<ProvidersConfigResponseDto>;
|
|
25779
26856
|
/**
|
|
25780
26857
|
*
|
|
25781
26858
|
* @summary Upsert Stripe payment config
|
|
@@ -25814,6 +26891,16 @@ export interface ConfigManagementApiInterface {
|
|
|
25814
26891
|
* @memberof ConfigManagementApiInterface
|
|
25815
26892
|
*/
|
|
25816
26893
|
configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
26894
|
+
/**
|
|
26895
|
+
*
|
|
26896
|
+
* @summary Get payment providers config
|
|
26897
|
+
* @param {number} businessId
|
|
26898
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26899
|
+
* @param {*} [options] Override http request option.
|
|
26900
|
+
* @throws {RequiredError}
|
|
26901
|
+
* @memberof ConfigManagementApiInterface
|
|
26902
|
+
*/
|
|
26903
|
+
configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: AxiosRequestConfig): AxiosPromise<ProvidersConfigResponseDto>;
|
|
25817
26904
|
/**
|
|
25818
26905
|
*
|
|
25819
26906
|
* @summary Manual sync trigger
|
|
@@ -25899,6 +26986,17 @@ export interface ConfigManagementApiInterface {
|
|
|
25899
26986
|
* @memberof ConfigManagementApiInterface
|
|
25900
26987
|
*/
|
|
25901
26988
|
configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
26989
|
+
/**
|
|
26990
|
+
*
|
|
26991
|
+
* @summary Set active provider and upsert its credentials
|
|
26992
|
+
* @param {number} businessId
|
|
26993
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
26994
|
+
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
26995
|
+
* @param {*} [options] Override http request option.
|
|
26996
|
+
* @throws {RequiredError}
|
|
26997
|
+
* @memberof ConfigManagementApiInterface
|
|
26998
|
+
*/
|
|
26999
|
+
configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig): AxiosPromise<ProvidersConfigResponseDto>;
|
|
25902
27000
|
/**
|
|
25903
27001
|
*
|
|
25904
27002
|
* @summary Upsert Stripe payment config
|
|
@@ -25940,6 +27038,16 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
25940
27038
|
* @memberof ConfigManagementApi
|
|
25941
27039
|
*/
|
|
25942
27040
|
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, {}>>;
|
|
27041
|
+
/**
|
|
27042
|
+
*
|
|
27043
|
+
* @summary Get payment providers config
|
|
27044
|
+
* @param {number} businessId
|
|
27045
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
27046
|
+
* @param {*} [options] Override http request option.
|
|
27047
|
+
* @throws {RequiredError}
|
|
27048
|
+
* @memberof ConfigManagementApi
|
|
27049
|
+
*/
|
|
27050
|
+
configGetProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProvidersConfigResponseDto, any, {}>>;
|
|
25943
27051
|
/**
|
|
25944
27052
|
*
|
|
25945
27053
|
* @summary Manual sync trigger
|
|
@@ -26025,6 +27133,17 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
26025
27133
|
* @memberof ConfigManagementApi
|
|
26026
27134
|
*/
|
|
26027
27135
|
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, {}>>;
|
|
27136
|
+
/**
|
|
27137
|
+
*
|
|
27138
|
+
* @summary Set active provider and upsert its credentials
|
|
27139
|
+
* @param {number} businessId
|
|
27140
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront'} xAppX
|
|
27141
|
+
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
27142
|
+
* @param {*} [options] Override http request option.
|
|
27143
|
+
* @throws {RequiredError}
|
|
27144
|
+
* @memberof ConfigManagementApi
|
|
27145
|
+
*/
|
|
27146
|
+
configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProvidersConfigResponseDto, any, {}>>;
|
|
26028
27147
|
/**
|
|
26029
27148
|
*
|
|
26030
27149
|
* @summary Upsert Stripe payment config
|
|
@@ -30983,6 +32102,415 @@ export declare class PaymentApi extends BaseAPI implements PaymentApiInterface {
|
|
|
30983
32102
|
*/
|
|
30984
32103
|
refundVivaTransactionV4(refundPayloadDtoV4: RefundPayloadDtoV4, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VivaPaymentResultDto, any, {}>>;
|
|
30985
32104
|
}
|
|
32105
|
+
/**
|
|
32106
|
+
* PaymentMethodsApi - axios parameter creator
|
|
32107
|
+
* @export
|
|
32108
|
+
*/
|
|
32109
|
+
export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
32110
|
+
/**
|
|
32111
|
+
*
|
|
32112
|
+
* @param {number} businessId
|
|
32113
|
+
* @param {ProviderEnum} channel
|
|
32114
|
+
* @param {CreatePaymentMethodDto} createPaymentMethodDto
|
|
32115
|
+
* @param {*} [options] Override http request option.
|
|
32116
|
+
* @throws {RequiredError}
|
|
32117
|
+
*/
|
|
32118
|
+
createPaymentMethod: (businessId: number, channel: ProviderEnum, createPaymentMethodDto: CreatePaymentMethodDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32119
|
+
/**
|
|
32120
|
+
*
|
|
32121
|
+
* @param {number} businessId
|
|
32122
|
+
* @param {ProviderEnum} channel
|
|
32123
|
+
* @param {string} id
|
|
32124
|
+
* @param {*} [options] Override http request option.
|
|
32125
|
+
* @throws {RequiredError}
|
|
32126
|
+
*/
|
|
32127
|
+
deletePaymentMethodOption: (businessId: number, channel: ProviderEnum, id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32128
|
+
/**
|
|
32129
|
+
*
|
|
32130
|
+
* @param {number} businessId
|
|
32131
|
+
* @param {ProviderEnum} channel
|
|
32132
|
+
* @param {any} [locale]
|
|
32133
|
+
* @param {*} [options] Override http request option.
|
|
32134
|
+
* @throws {RequiredError}
|
|
32135
|
+
*/
|
|
32136
|
+
getCatalog: (businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32137
|
+
/**
|
|
32138
|
+
*
|
|
32139
|
+
* @param {ProviderEnum} channel
|
|
32140
|
+
* @param {number} businessId
|
|
32141
|
+
* @param {any} [locale]
|
|
32142
|
+
* @param {*} [options] Override http request option.
|
|
32143
|
+
* @throws {RequiredError}
|
|
32144
|
+
*/
|
|
32145
|
+
getGlobalCatalog: (channel: ProviderEnum, businessId: number, locale?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32146
|
+
/**
|
|
32147
|
+
*
|
|
32148
|
+
* @param {number} businessId
|
|
32149
|
+
* @param {ProviderEnum} channel
|
|
32150
|
+
* @param {any} [locale]
|
|
32151
|
+
* @param {*} [options] Override http request option.
|
|
32152
|
+
* @throws {RequiredError}
|
|
32153
|
+
*/
|
|
32154
|
+
getPaymentMethods: (businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32155
|
+
/**
|
|
32156
|
+
*
|
|
32157
|
+
* @param {ProviderEnum} channel
|
|
32158
|
+
* @param {number} businessId
|
|
32159
|
+
* @param {*} [options] Override http request option.
|
|
32160
|
+
* @throws {RequiredError}
|
|
32161
|
+
*/
|
|
32162
|
+
getTypes: (channel: ProviderEnum, businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32163
|
+
/**
|
|
32164
|
+
*
|
|
32165
|
+
* @param {number} businessId
|
|
32166
|
+
* @param {ProviderEnum} channel
|
|
32167
|
+
* @param {BulkRankDto} bulkRankDto
|
|
32168
|
+
* @param {*} [options] Override http request option.
|
|
32169
|
+
* @throws {RequiredError}
|
|
32170
|
+
*/
|
|
32171
|
+
reorder: (businessId: number, channel: ProviderEnum, bulkRankDto: BulkRankDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32172
|
+
/**
|
|
32173
|
+
*
|
|
32174
|
+
* @param {number} businessId
|
|
32175
|
+
* @param {ProviderEnum} channel
|
|
32176
|
+
* @param {string} id
|
|
32177
|
+
* @param {UpdatePaymentMethodOptionDto} updatePaymentMethodOptionDto
|
|
32178
|
+
* @param {*} [options] Override http request option.
|
|
32179
|
+
* @throws {RequiredError}
|
|
32180
|
+
*/
|
|
32181
|
+
updatePaymentMethodOption: (businessId: number, channel: ProviderEnum, id: string, updatePaymentMethodOptionDto: UpdatePaymentMethodOptionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32182
|
+
};
|
|
32183
|
+
/**
|
|
32184
|
+
* PaymentMethodsApi - functional programming interface
|
|
32185
|
+
* @export
|
|
32186
|
+
*/
|
|
32187
|
+
export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
|
|
32188
|
+
/**
|
|
32189
|
+
*
|
|
32190
|
+
* @param {number} businessId
|
|
32191
|
+
* @param {ProviderEnum} channel
|
|
32192
|
+
* @param {CreatePaymentMethodDto} createPaymentMethodDto
|
|
32193
|
+
* @param {*} [options] Override http request option.
|
|
32194
|
+
* @throws {RequiredError}
|
|
32195
|
+
*/
|
|
32196
|
+
createPaymentMethod(businessId: number, channel: ProviderEnum, createPaymentMethodDto: CreatePaymentMethodDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentMethodDto>>;
|
|
32197
|
+
/**
|
|
32198
|
+
*
|
|
32199
|
+
* @param {number} businessId
|
|
32200
|
+
* @param {ProviderEnum} channel
|
|
32201
|
+
* @param {string} id
|
|
32202
|
+
* @param {*} [options] Override http request option.
|
|
32203
|
+
* @throws {RequiredError}
|
|
32204
|
+
*/
|
|
32205
|
+
deletePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
32206
|
+
/**
|
|
32207
|
+
*
|
|
32208
|
+
* @param {number} businessId
|
|
32209
|
+
* @param {ProviderEnum} channel
|
|
32210
|
+
* @param {any} [locale]
|
|
32211
|
+
* @param {*} [options] Override http request option.
|
|
32212
|
+
* @throws {RequiredError}
|
|
32213
|
+
*/
|
|
32214
|
+
getCatalog(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AvailablePaymentMethodDto>>>;
|
|
32215
|
+
/**
|
|
32216
|
+
*
|
|
32217
|
+
* @param {ProviderEnum} channel
|
|
32218
|
+
* @param {number} businessId
|
|
32219
|
+
* @param {any} [locale]
|
|
32220
|
+
* @param {*} [options] Override http request option.
|
|
32221
|
+
* @throws {RequiredError}
|
|
32222
|
+
*/
|
|
32223
|
+
getGlobalCatalog(channel: ProviderEnum, businessId: number, locale?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CatalogMethodDto>>>;
|
|
32224
|
+
/**
|
|
32225
|
+
*
|
|
32226
|
+
* @param {number} businessId
|
|
32227
|
+
* @param {ProviderEnum} channel
|
|
32228
|
+
* @param {any} [locale]
|
|
32229
|
+
* @param {*} [options] Override http request option.
|
|
32230
|
+
* @throws {RequiredError}
|
|
32231
|
+
*/
|
|
32232
|
+
getPaymentMethods(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PaymentMethodDto>>>;
|
|
32233
|
+
/**
|
|
32234
|
+
*
|
|
32235
|
+
* @param {ProviderEnum} channel
|
|
32236
|
+
* @param {number} businessId
|
|
32237
|
+
* @param {*} [options] Override http request option.
|
|
32238
|
+
* @throws {RequiredError}
|
|
32239
|
+
*/
|
|
32240
|
+
getTypes(channel: ProviderEnum, businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PaymentMethodTypeDto>>>;
|
|
32241
|
+
/**
|
|
32242
|
+
*
|
|
32243
|
+
* @param {number} businessId
|
|
32244
|
+
* @param {ProviderEnum} channel
|
|
32245
|
+
* @param {BulkRankDto} bulkRankDto
|
|
32246
|
+
* @param {*} [options] Override http request option.
|
|
32247
|
+
* @throws {RequiredError}
|
|
32248
|
+
*/
|
|
32249
|
+
reorder(businessId: number, channel: ProviderEnum, bulkRankDto: BulkRankDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
32250
|
+
/**
|
|
32251
|
+
*
|
|
32252
|
+
* @param {number} businessId
|
|
32253
|
+
* @param {ProviderEnum} channel
|
|
32254
|
+
* @param {string} id
|
|
32255
|
+
* @param {UpdatePaymentMethodOptionDto} updatePaymentMethodOptionDto
|
|
32256
|
+
* @param {*} [options] Override http request option.
|
|
32257
|
+
* @throws {RequiredError}
|
|
32258
|
+
*/
|
|
32259
|
+
updatePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, updatePaymentMethodOptionDto: UpdatePaymentMethodOptionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentMethodDto>>;
|
|
32260
|
+
};
|
|
32261
|
+
/**
|
|
32262
|
+
* PaymentMethodsApi - factory interface
|
|
32263
|
+
* @export
|
|
32264
|
+
*/
|
|
32265
|
+
export declare const PaymentMethodsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
32266
|
+
/**
|
|
32267
|
+
*
|
|
32268
|
+
* @param {number} businessId
|
|
32269
|
+
* @param {ProviderEnum} channel
|
|
32270
|
+
* @param {CreatePaymentMethodDto} createPaymentMethodDto
|
|
32271
|
+
* @param {*} [options] Override http request option.
|
|
32272
|
+
* @throws {RequiredError}
|
|
32273
|
+
*/
|
|
32274
|
+
createPaymentMethod(businessId: number, channel: ProviderEnum, createPaymentMethodDto: CreatePaymentMethodDto, options?: any): AxiosPromise<PaymentMethodDto>;
|
|
32275
|
+
/**
|
|
32276
|
+
*
|
|
32277
|
+
* @param {number} businessId
|
|
32278
|
+
* @param {ProviderEnum} channel
|
|
32279
|
+
* @param {string} id
|
|
32280
|
+
* @param {*} [options] Override http request option.
|
|
32281
|
+
* @throws {RequiredError}
|
|
32282
|
+
*/
|
|
32283
|
+
deletePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, options?: any): AxiosPromise<void>;
|
|
32284
|
+
/**
|
|
32285
|
+
*
|
|
32286
|
+
* @param {number} businessId
|
|
32287
|
+
* @param {ProviderEnum} channel
|
|
32288
|
+
* @param {any} [locale]
|
|
32289
|
+
* @param {*} [options] Override http request option.
|
|
32290
|
+
* @throws {RequiredError}
|
|
32291
|
+
*/
|
|
32292
|
+
getCatalog(businessId: number, channel: ProviderEnum, locale?: any, options?: any): AxiosPromise<Array<AvailablePaymentMethodDto>>;
|
|
32293
|
+
/**
|
|
32294
|
+
*
|
|
32295
|
+
* @param {ProviderEnum} channel
|
|
32296
|
+
* @param {number} businessId
|
|
32297
|
+
* @param {any} [locale]
|
|
32298
|
+
* @param {*} [options] Override http request option.
|
|
32299
|
+
* @throws {RequiredError}
|
|
32300
|
+
*/
|
|
32301
|
+
getGlobalCatalog(channel: ProviderEnum, businessId: number, locale?: any, options?: any): AxiosPromise<Array<CatalogMethodDto>>;
|
|
32302
|
+
/**
|
|
32303
|
+
*
|
|
32304
|
+
* @param {number} businessId
|
|
32305
|
+
* @param {ProviderEnum} channel
|
|
32306
|
+
* @param {any} [locale]
|
|
32307
|
+
* @param {*} [options] Override http request option.
|
|
32308
|
+
* @throws {RequiredError}
|
|
32309
|
+
*/
|
|
32310
|
+
getPaymentMethods(businessId: number, channel: ProviderEnum, locale?: any, options?: any): AxiosPromise<Array<PaymentMethodDto>>;
|
|
32311
|
+
/**
|
|
32312
|
+
*
|
|
32313
|
+
* @param {ProviderEnum} channel
|
|
32314
|
+
* @param {number} businessId
|
|
32315
|
+
* @param {*} [options] Override http request option.
|
|
32316
|
+
* @throws {RequiredError}
|
|
32317
|
+
*/
|
|
32318
|
+
getTypes(channel: ProviderEnum, businessId: number, options?: any): AxiosPromise<Array<PaymentMethodTypeDto>>;
|
|
32319
|
+
/**
|
|
32320
|
+
*
|
|
32321
|
+
* @param {number} businessId
|
|
32322
|
+
* @param {ProviderEnum} channel
|
|
32323
|
+
* @param {BulkRankDto} bulkRankDto
|
|
32324
|
+
* @param {*} [options] Override http request option.
|
|
32325
|
+
* @throws {RequiredError}
|
|
32326
|
+
*/
|
|
32327
|
+
reorder(businessId: number, channel: ProviderEnum, bulkRankDto: BulkRankDto, options?: any): AxiosPromise<void>;
|
|
32328
|
+
/**
|
|
32329
|
+
*
|
|
32330
|
+
* @param {number} businessId
|
|
32331
|
+
* @param {ProviderEnum} channel
|
|
32332
|
+
* @param {string} id
|
|
32333
|
+
* @param {UpdatePaymentMethodOptionDto} updatePaymentMethodOptionDto
|
|
32334
|
+
* @param {*} [options] Override http request option.
|
|
32335
|
+
* @throws {RequiredError}
|
|
32336
|
+
*/
|
|
32337
|
+
updatePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, updatePaymentMethodOptionDto: UpdatePaymentMethodOptionDto, options?: any): AxiosPromise<PaymentMethodDto>;
|
|
32338
|
+
};
|
|
32339
|
+
/**
|
|
32340
|
+
* PaymentMethodsApi - interface
|
|
32341
|
+
* @export
|
|
32342
|
+
* @interface PaymentMethodsApi
|
|
32343
|
+
*/
|
|
32344
|
+
export interface PaymentMethodsApiInterface {
|
|
32345
|
+
/**
|
|
32346
|
+
*
|
|
32347
|
+
* @param {number} businessId
|
|
32348
|
+
* @param {ProviderEnum} channel
|
|
32349
|
+
* @param {CreatePaymentMethodDto} createPaymentMethodDto
|
|
32350
|
+
* @param {*} [options] Override http request option.
|
|
32351
|
+
* @throws {RequiredError}
|
|
32352
|
+
* @memberof PaymentMethodsApiInterface
|
|
32353
|
+
*/
|
|
32354
|
+
createPaymentMethod(businessId: number, channel: ProviderEnum, createPaymentMethodDto: CreatePaymentMethodDto, options?: AxiosRequestConfig): AxiosPromise<PaymentMethodDto>;
|
|
32355
|
+
/**
|
|
32356
|
+
*
|
|
32357
|
+
* @param {number} businessId
|
|
32358
|
+
* @param {ProviderEnum} channel
|
|
32359
|
+
* @param {string} id
|
|
32360
|
+
* @param {*} [options] Override http request option.
|
|
32361
|
+
* @throws {RequiredError}
|
|
32362
|
+
* @memberof PaymentMethodsApiInterface
|
|
32363
|
+
*/
|
|
32364
|
+
deletePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
32365
|
+
/**
|
|
32366
|
+
*
|
|
32367
|
+
* @param {number} businessId
|
|
32368
|
+
* @param {ProviderEnum} channel
|
|
32369
|
+
* @param {any} [locale]
|
|
32370
|
+
* @param {*} [options] Override http request option.
|
|
32371
|
+
* @throws {RequiredError}
|
|
32372
|
+
* @memberof PaymentMethodsApiInterface
|
|
32373
|
+
*/
|
|
32374
|
+
getCatalog(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): AxiosPromise<Array<AvailablePaymentMethodDto>>;
|
|
32375
|
+
/**
|
|
32376
|
+
*
|
|
32377
|
+
* @param {ProviderEnum} channel
|
|
32378
|
+
* @param {number} businessId
|
|
32379
|
+
* @param {any} [locale]
|
|
32380
|
+
* @param {*} [options] Override http request option.
|
|
32381
|
+
* @throws {RequiredError}
|
|
32382
|
+
* @memberof PaymentMethodsApiInterface
|
|
32383
|
+
*/
|
|
32384
|
+
getGlobalCatalog(channel: ProviderEnum, businessId: number, locale?: any, options?: AxiosRequestConfig): AxiosPromise<Array<CatalogMethodDto>>;
|
|
32385
|
+
/**
|
|
32386
|
+
*
|
|
32387
|
+
* @param {number} businessId
|
|
32388
|
+
* @param {ProviderEnum} channel
|
|
32389
|
+
* @param {any} [locale]
|
|
32390
|
+
* @param {*} [options] Override http request option.
|
|
32391
|
+
* @throws {RequiredError}
|
|
32392
|
+
* @memberof PaymentMethodsApiInterface
|
|
32393
|
+
*/
|
|
32394
|
+
getPaymentMethods(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): AxiosPromise<Array<PaymentMethodDto>>;
|
|
32395
|
+
/**
|
|
32396
|
+
*
|
|
32397
|
+
* @param {ProviderEnum} channel
|
|
32398
|
+
* @param {number} businessId
|
|
32399
|
+
* @param {*} [options] Override http request option.
|
|
32400
|
+
* @throws {RequiredError}
|
|
32401
|
+
* @memberof PaymentMethodsApiInterface
|
|
32402
|
+
*/
|
|
32403
|
+
getTypes(channel: ProviderEnum, businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<PaymentMethodTypeDto>>;
|
|
32404
|
+
/**
|
|
32405
|
+
*
|
|
32406
|
+
* @param {number} businessId
|
|
32407
|
+
* @param {ProviderEnum} channel
|
|
32408
|
+
* @param {BulkRankDto} bulkRankDto
|
|
32409
|
+
* @param {*} [options] Override http request option.
|
|
32410
|
+
* @throws {RequiredError}
|
|
32411
|
+
* @memberof PaymentMethodsApiInterface
|
|
32412
|
+
*/
|
|
32413
|
+
reorder(businessId: number, channel: ProviderEnum, bulkRankDto: BulkRankDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
32414
|
+
/**
|
|
32415
|
+
*
|
|
32416
|
+
* @param {number} businessId
|
|
32417
|
+
* @param {ProviderEnum} channel
|
|
32418
|
+
* @param {string} id
|
|
32419
|
+
* @param {UpdatePaymentMethodOptionDto} updatePaymentMethodOptionDto
|
|
32420
|
+
* @param {*} [options] Override http request option.
|
|
32421
|
+
* @throws {RequiredError}
|
|
32422
|
+
* @memberof PaymentMethodsApiInterface
|
|
32423
|
+
*/
|
|
32424
|
+
updatePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, updatePaymentMethodOptionDto: UpdatePaymentMethodOptionDto, options?: AxiosRequestConfig): AxiosPromise<PaymentMethodDto>;
|
|
32425
|
+
}
|
|
32426
|
+
/**
|
|
32427
|
+
* PaymentMethodsApi - object-oriented interface
|
|
32428
|
+
* @export
|
|
32429
|
+
* @class PaymentMethodsApi
|
|
32430
|
+
* @extends {BaseAPI}
|
|
32431
|
+
*/
|
|
32432
|
+
export declare class PaymentMethodsApi extends BaseAPI implements PaymentMethodsApiInterface {
|
|
32433
|
+
/**
|
|
32434
|
+
*
|
|
32435
|
+
* @param {number} businessId
|
|
32436
|
+
* @param {ProviderEnum} channel
|
|
32437
|
+
* @param {CreatePaymentMethodDto} createPaymentMethodDto
|
|
32438
|
+
* @param {*} [options] Override http request option.
|
|
32439
|
+
* @throws {RequiredError}
|
|
32440
|
+
* @memberof PaymentMethodsApi
|
|
32441
|
+
*/
|
|
32442
|
+
createPaymentMethod(businessId: number, channel: ProviderEnum, createPaymentMethodDto: CreatePaymentMethodDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodDto, any, {}>>;
|
|
32443
|
+
/**
|
|
32444
|
+
*
|
|
32445
|
+
* @param {number} businessId
|
|
32446
|
+
* @param {ProviderEnum} channel
|
|
32447
|
+
* @param {string} id
|
|
32448
|
+
* @param {*} [options] Override http request option.
|
|
32449
|
+
* @throws {RequiredError}
|
|
32450
|
+
* @memberof PaymentMethodsApi
|
|
32451
|
+
*/
|
|
32452
|
+
deletePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
32453
|
+
/**
|
|
32454
|
+
*
|
|
32455
|
+
* @param {number} businessId
|
|
32456
|
+
* @param {ProviderEnum} channel
|
|
32457
|
+
* @param {any} [locale]
|
|
32458
|
+
* @param {*} [options] Override http request option.
|
|
32459
|
+
* @throws {RequiredError}
|
|
32460
|
+
* @memberof PaymentMethodsApi
|
|
32461
|
+
*/
|
|
32462
|
+
getCatalog(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AvailablePaymentMethodDto[], any, {}>>;
|
|
32463
|
+
/**
|
|
32464
|
+
*
|
|
32465
|
+
* @param {ProviderEnum} channel
|
|
32466
|
+
* @param {number} businessId
|
|
32467
|
+
* @param {any} [locale]
|
|
32468
|
+
* @param {*} [options] Override http request option.
|
|
32469
|
+
* @throws {RequiredError}
|
|
32470
|
+
* @memberof PaymentMethodsApi
|
|
32471
|
+
*/
|
|
32472
|
+
getGlobalCatalog(channel: ProviderEnum, businessId: number, locale?: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CatalogMethodDto[], any, {}>>;
|
|
32473
|
+
/**
|
|
32474
|
+
*
|
|
32475
|
+
* @param {number} businessId
|
|
32476
|
+
* @param {ProviderEnum} channel
|
|
32477
|
+
* @param {any} [locale]
|
|
32478
|
+
* @param {*} [options] Override http request option.
|
|
32479
|
+
* @throws {RequiredError}
|
|
32480
|
+
* @memberof PaymentMethodsApi
|
|
32481
|
+
*/
|
|
32482
|
+
getPaymentMethods(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodDto[], any, {}>>;
|
|
32483
|
+
/**
|
|
32484
|
+
*
|
|
32485
|
+
* @param {ProviderEnum} channel
|
|
32486
|
+
* @param {number} businessId
|
|
32487
|
+
* @param {*} [options] Override http request option.
|
|
32488
|
+
* @throws {RequiredError}
|
|
32489
|
+
* @memberof PaymentMethodsApi
|
|
32490
|
+
*/
|
|
32491
|
+
getTypes(channel: ProviderEnum, businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodTypeDto[], any, {}>>;
|
|
32492
|
+
/**
|
|
32493
|
+
*
|
|
32494
|
+
* @param {number} businessId
|
|
32495
|
+
* @param {ProviderEnum} channel
|
|
32496
|
+
* @param {BulkRankDto} bulkRankDto
|
|
32497
|
+
* @param {*} [options] Override http request option.
|
|
32498
|
+
* @throws {RequiredError}
|
|
32499
|
+
* @memberof PaymentMethodsApi
|
|
32500
|
+
*/
|
|
32501
|
+
reorder(businessId: number, channel: ProviderEnum, bulkRankDto: BulkRankDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
32502
|
+
/**
|
|
32503
|
+
*
|
|
32504
|
+
* @param {number} businessId
|
|
32505
|
+
* @param {ProviderEnum} channel
|
|
32506
|
+
* @param {string} id
|
|
32507
|
+
* @param {UpdatePaymentMethodOptionDto} updatePaymentMethodOptionDto
|
|
32508
|
+
* @param {*} [options] Override http request option.
|
|
32509
|
+
* @throws {RequiredError}
|
|
32510
|
+
* @memberof PaymentMethodsApi
|
|
32511
|
+
*/
|
|
32512
|
+
updatePaymentMethodOption(businessId: number, channel: ProviderEnum, id: string, updatePaymentMethodOptionDto: UpdatePaymentMethodOptionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodDto, any, {}>>;
|
|
32513
|
+
}
|
|
30986
32514
|
/**
|
|
30987
32515
|
* PaymentSessionApi - axios parameter creator
|
|
30988
32516
|
* @export
|