@munchi_oy/core 1.9.55 → 1.9.57
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 +553 -1577
- 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 +597 -1946
- 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
|
/**
|
|
@@ -16310,112 +15672,312 @@ export interface ProductWithCategoryDto {
|
|
|
16310
15672
|
/**
|
|
16311
15673
|
*
|
|
16312
15674
|
* @export
|
|
16313
|
-
* @interface
|
|
15675
|
+
* @interface ProductWithCategoryV3Dto
|
|
16314
15676
|
*/
|
|
16315
|
-
export interface
|
|
15677
|
+
export interface ProductWithCategoryV3Dto {
|
|
16316
15678
|
/**
|
|
16317
|
-
*
|
|
16318
|
-
* @type {
|
|
16319
|
-
* @memberof
|
|
15679
|
+
* Product ID
|
|
15680
|
+
* @type {number}
|
|
15681
|
+
* @memberof ProductWithCategoryV3Dto
|
|
16320
15682
|
*/
|
|
16321
|
-
'
|
|
15683
|
+
'id': number;
|
|
16322
15684
|
/**
|
|
16323
|
-
*
|
|
16324
|
-
* @type {
|
|
16325
|
-
* @memberof
|
|
15685
|
+
* Product name
|
|
15686
|
+
* @type {string}
|
|
15687
|
+
* @memberof ProductWithCategoryV3Dto
|
|
16326
15688
|
*/
|
|
16327
|
-
'
|
|
15689
|
+
'name': string;
|
|
16328
15690
|
/**
|
|
16329
|
-
*
|
|
16330
|
-
* @type {
|
|
16331
|
-
* @memberof
|
|
15691
|
+
* Product price
|
|
15692
|
+
* @type {number}
|
|
15693
|
+
* @memberof ProductWithCategoryV3Dto
|
|
16332
15694
|
*/
|
|
16333
|
-
'
|
|
16334
|
-
}
|
|
16335
|
-
/**
|
|
16336
|
-
* Summary data for products and categories
|
|
16337
|
-
* @export
|
|
16338
|
-
* @interface ProductsByCategoriesResponseDtoSummary
|
|
16339
|
-
*/
|
|
16340
|
-
export interface ProductsByCategoriesResponseDtoSummary {
|
|
15695
|
+
'price': number;
|
|
16341
15696
|
/**
|
|
16342
|
-
*
|
|
16343
|
-
* @type {
|
|
16344
|
-
* @memberof
|
|
15697
|
+
* Product description
|
|
15698
|
+
* @type {string}
|
|
15699
|
+
* @memberof ProductWithCategoryV3Dto
|
|
16345
15700
|
*/
|
|
16346
|
-
'
|
|
15701
|
+
'description': string;
|
|
16347
15702
|
/**
|
|
16348
|
-
*
|
|
16349
|
-
* @type {
|
|
16350
|
-
* @memberof
|
|
15703
|
+
* Product image URL
|
|
15704
|
+
* @type {string}
|
|
15705
|
+
* @memberof ProductWithCategoryV3Dto
|
|
16351
15706
|
*/
|
|
16352
|
-
'
|
|
16353
|
-
}
|
|
16354
|
-
/**
|
|
16355
|
-
*
|
|
16356
|
-
* @export
|
|
16357
|
-
* @interface ProductsSummaryDto
|
|
16358
|
-
*/
|
|
16359
|
-
export interface ProductsSummaryDto {
|
|
15707
|
+
'images': string;
|
|
16360
15708
|
/**
|
|
16361
|
-
*
|
|
16362
|
-
* @type {
|
|
16363
|
-
* @memberof
|
|
15709
|
+
* SKU of the product
|
|
15710
|
+
* @type {string}
|
|
15711
|
+
* @memberof ProductWithCategoryV3Dto
|
|
16364
15712
|
*/
|
|
16365
|
-
'
|
|
15713
|
+
'sku'?: string | null;
|
|
16366
15714
|
/**
|
|
16367
|
-
*
|
|
16368
|
-
* @type {
|
|
16369
|
-
* @memberof
|
|
15715
|
+
* Primary barcode value of the product
|
|
15716
|
+
* @type {object}
|
|
15717
|
+
* @memberof ProductWithCategoryV3Dto
|
|
16370
15718
|
*/
|
|
16371
|
-
'
|
|
16372
|
-
}
|
|
16373
|
-
/**
|
|
16374
|
-
*
|
|
16375
|
-
* @export
|
|
16376
|
-
* @interface ProgramUserDto
|
|
16377
|
-
*/
|
|
16378
|
-
export interface ProgramUserDto {
|
|
15719
|
+
'barcode'?: object | null;
|
|
16379
15720
|
/**
|
|
16380
|
-
*
|
|
16381
|
-
* @type {
|
|
16382
|
-
* @memberof
|
|
15721
|
+
* Alternative barcode value of the product
|
|
15722
|
+
* @type {object}
|
|
15723
|
+
* @memberof ProductWithCategoryV3Dto
|
|
16383
15724
|
*/
|
|
16384
|
-
'
|
|
15725
|
+
'barcode_alternative'?: object | null;
|
|
16385
15726
|
/**
|
|
16386
|
-
*
|
|
16387
|
-
* @type {
|
|
16388
|
-
* @memberof
|
|
15727
|
+
* Category ID the product belongs to
|
|
15728
|
+
* @type {number}
|
|
15729
|
+
* @memberof ProductWithCategoryV3Dto
|
|
16389
15730
|
*/
|
|
16390
|
-
'
|
|
15731
|
+
'category_id': number;
|
|
16391
15732
|
/**
|
|
16392
|
-
*
|
|
15733
|
+
* Whether the product is tracked for inventory
|
|
16393
15734
|
* @type {boolean}
|
|
16394
|
-
* @memberof
|
|
15735
|
+
* @memberof ProductWithCategoryV3Dto
|
|
16395
15736
|
*/
|
|
16396
|
-
'
|
|
15737
|
+
'inventoried': boolean;
|
|
16397
15738
|
/**
|
|
16398
|
-
*
|
|
16399
|
-
* @type {
|
|
16400
|
-
* @memberof
|
|
15739
|
+
* Available quantity if inventoried
|
|
15740
|
+
* @type {number}
|
|
15741
|
+
* @memberof ProductWithCategoryV3Dto
|
|
16401
15742
|
*/
|
|
16402
|
-
'
|
|
15743
|
+
'quantity': number;
|
|
16403
15744
|
/**
|
|
16404
|
-
*
|
|
16405
|
-
* @type {
|
|
16406
|
-
* @memberof
|
|
15745
|
+
* Whether the product is marked as featured
|
|
15746
|
+
* @type {boolean}
|
|
15747
|
+
* @memberof ProductWithCategoryV3Dto
|
|
16407
15748
|
*/
|
|
16408
|
-
'
|
|
15749
|
+
'featured': boolean;
|
|
16409
15750
|
/**
|
|
16410
|
-
*
|
|
16411
|
-
* @type {
|
|
16412
|
-
* @memberof
|
|
15751
|
+
* Whether the product is currently enabled
|
|
15752
|
+
* @type {boolean}
|
|
15753
|
+
* @memberof ProductWithCategoryV3Dto
|
|
16413
15754
|
*/
|
|
16414
|
-
'
|
|
15755
|
+
'enabled': boolean;
|
|
16415
15756
|
/**
|
|
16416
|
-
*
|
|
16417
|
-
* @type {
|
|
16418
|
-
* @memberof
|
|
15757
|
+
* Whether upselling is enabled for this product
|
|
15758
|
+
* @type {boolean}
|
|
15759
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15760
|
+
*/
|
|
15761
|
+
'upselling': boolean;
|
|
15762
|
+
/**
|
|
15763
|
+
* Whether the product is part of an offer
|
|
15764
|
+
* @type {boolean}
|
|
15765
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15766
|
+
*/
|
|
15767
|
+
'in_offer': boolean;
|
|
15768
|
+
/**
|
|
15769
|
+
* Offer price if applicable
|
|
15770
|
+
* @type {object}
|
|
15771
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15772
|
+
*/
|
|
15773
|
+
'offer_price': object | null;
|
|
15774
|
+
/**
|
|
15775
|
+
* Display order rank of the product
|
|
15776
|
+
* @type {number}
|
|
15777
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15778
|
+
*/
|
|
15779
|
+
'rank': number;
|
|
15780
|
+
/**
|
|
15781
|
+
* Weight unit (e.g., g, kg, ml)
|
|
15782
|
+
* @type {object}
|
|
15783
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15784
|
+
*/
|
|
15785
|
+
'weight_unit': object;
|
|
15786
|
+
/**
|
|
15787
|
+
* Last update timestamp
|
|
15788
|
+
* @type {string}
|
|
15789
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15790
|
+
*/
|
|
15791
|
+
'updated_at': string;
|
|
15792
|
+
/**
|
|
15793
|
+
* Product creation timestamp
|
|
15794
|
+
* @type {string}
|
|
15795
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15796
|
+
*/
|
|
15797
|
+
'created_at': string;
|
|
15798
|
+
/**
|
|
15799
|
+
* Deletion timestamp if soft-deleted
|
|
15800
|
+
* @type {object}
|
|
15801
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15802
|
+
*/
|
|
15803
|
+
'deleted_at': object | null;
|
|
15804
|
+
/**
|
|
15805
|
+
* List of product extras (e.g., toppings, add-ons)
|
|
15806
|
+
* @type {Array<OrderingItemExtraDto>}
|
|
15807
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15808
|
+
*/
|
|
15809
|
+
'extras': Array<OrderingItemExtraDto>;
|
|
15810
|
+
/**
|
|
15811
|
+
* Whether the product is restricted
|
|
15812
|
+
* @type {boolean}
|
|
15813
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15814
|
+
*/
|
|
15815
|
+
'is_restricted': boolean;
|
|
15816
|
+
/**
|
|
15817
|
+
*
|
|
15818
|
+
* @type {BusinessTaxResponseDto}
|
|
15819
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15820
|
+
*/
|
|
15821
|
+
'tax': BusinessTaxResponseDto | null;
|
|
15822
|
+
/**
|
|
15823
|
+
* Name of the category this product belongs to
|
|
15824
|
+
* @type {string}
|
|
15825
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15826
|
+
*/
|
|
15827
|
+
'categoryName': string;
|
|
15828
|
+
/**
|
|
15829
|
+
* Indicates if the product is inventoried in POS
|
|
15830
|
+
* @type {boolean}
|
|
15831
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15832
|
+
*/
|
|
15833
|
+
'pos_inventoried': boolean;
|
|
15834
|
+
/**
|
|
15835
|
+
* Quantity of the product in POS
|
|
15836
|
+
* @type {number}
|
|
15837
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15838
|
+
*/
|
|
15839
|
+
'pos_quantity': number;
|
|
15840
|
+
/**
|
|
15841
|
+
* Default course ID assigned to this product
|
|
15842
|
+
* @type {object}
|
|
15843
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15844
|
+
*/
|
|
15845
|
+
'default_course_id'?: object | null;
|
|
15846
|
+
}
|
|
15847
|
+
/**
|
|
15848
|
+
*
|
|
15849
|
+
* @export
|
|
15850
|
+
* @interface ProductsByCategoriesResponseDto
|
|
15851
|
+
*/
|
|
15852
|
+
export interface ProductsByCategoriesResponseDto {
|
|
15853
|
+
/**
|
|
15854
|
+
* List of products with their associated categories
|
|
15855
|
+
* @type {Array<ProductWithCategoryDto>}
|
|
15856
|
+
* @memberof ProductsByCategoriesResponseDto
|
|
15857
|
+
*/
|
|
15858
|
+
'products': Array<ProductWithCategoryDto>;
|
|
15859
|
+
/**
|
|
15860
|
+
* Categories sorted by rank (additive — existing clients can ignore this field)
|
|
15861
|
+
* @type {Array<RankedCategoryDto>}
|
|
15862
|
+
* @memberof ProductsByCategoriesResponseDto
|
|
15863
|
+
*/
|
|
15864
|
+
'categories': Array<RankedCategoryDto>;
|
|
15865
|
+
/**
|
|
15866
|
+
*
|
|
15867
|
+
* @type {ProductsByCategoriesResponseDtoSummary}
|
|
15868
|
+
* @memberof ProductsByCategoriesResponseDto
|
|
15869
|
+
*/
|
|
15870
|
+
'summary': ProductsByCategoriesResponseDtoSummary;
|
|
15871
|
+
}
|
|
15872
|
+
/**
|
|
15873
|
+
* Summary data for products and categories
|
|
15874
|
+
* @export
|
|
15875
|
+
* @interface ProductsByCategoriesResponseDtoSummary
|
|
15876
|
+
*/
|
|
15877
|
+
export interface ProductsByCategoriesResponseDtoSummary {
|
|
15878
|
+
/**
|
|
15879
|
+
* Total number of products
|
|
15880
|
+
* @type {number}
|
|
15881
|
+
* @memberof ProductsByCategoriesResponseDtoSummary
|
|
15882
|
+
*/
|
|
15883
|
+
'productCount': number;
|
|
15884
|
+
/**
|
|
15885
|
+
* Total number of categories
|
|
15886
|
+
* @type {number}
|
|
15887
|
+
* @memberof ProductsByCategoriesResponseDtoSummary
|
|
15888
|
+
*/
|
|
15889
|
+
'categoryCount': number;
|
|
15890
|
+
}
|
|
15891
|
+
/**
|
|
15892
|
+
*
|
|
15893
|
+
* @export
|
|
15894
|
+
* @interface ProductsByCategoriesV3ResponseDto
|
|
15895
|
+
*/
|
|
15896
|
+
export interface ProductsByCategoriesV3ResponseDto {
|
|
15897
|
+
/**
|
|
15898
|
+
* Categories sorted by rank (additive — existing clients can ignore this field)
|
|
15899
|
+
* @type {Array<RankedCategoryDto>}
|
|
15900
|
+
* @memberof ProductsByCategoriesV3ResponseDto
|
|
15901
|
+
*/
|
|
15902
|
+
'categories': Array<RankedCategoryDto>;
|
|
15903
|
+
/**
|
|
15904
|
+
*
|
|
15905
|
+
* @type {ProductsByCategoriesResponseDtoSummary}
|
|
15906
|
+
* @memberof ProductsByCategoriesV3ResponseDto
|
|
15907
|
+
*/
|
|
15908
|
+
'summary': ProductsByCategoriesResponseDtoSummary;
|
|
15909
|
+
/**
|
|
15910
|
+
* Products without channel_configs; per-channel inventory is fetched per product
|
|
15911
|
+
* @type {Array<ProductWithCategoryV3Dto>}
|
|
15912
|
+
* @memberof ProductsByCategoriesV3ResponseDto
|
|
15913
|
+
*/
|
|
15914
|
+
'products': Array<ProductWithCategoryV3Dto>;
|
|
15915
|
+
}
|
|
15916
|
+
/**
|
|
15917
|
+
*
|
|
15918
|
+
* @export
|
|
15919
|
+
* @interface ProductsSummaryDto
|
|
15920
|
+
*/
|
|
15921
|
+
export interface ProductsSummaryDto {
|
|
15922
|
+
/**
|
|
15923
|
+
* Total number of products
|
|
15924
|
+
* @type {number}
|
|
15925
|
+
* @memberof ProductsSummaryDto
|
|
15926
|
+
*/
|
|
15927
|
+
'productCount': number;
|
|
15928
|
+
/**
|
|
15929
|
+
* Total number of categories
|
|
15930
|
+
* @type {number}
|
|
15931
|
+
* @memberof ProductsSummaryDto
|
|
15932
|
+
*/
|
|
15933
|
+
'categoryCount': number;
|
|
15934
|
+
}
|
|
15935
|
+
/**
|
|
15936
|
+
*
|
|
15937
|
+
* @export
|
|
15938
|
+
* @interface ProgramUserDto
|
|
15939
|
+
*/
|
|
15940
|
+
export interface ProgramUserDto {
|
|
15941
|
+
/**
|
|
15942
|
+
* The id of the user
|
|
15943
|
+
* @type {number}
|
|
15944
|
+
* @memberof ProgramUserDto
|
|
15945
|
+
*/
|
|
15946
|
+
'id': number;
|
|
15947
|
+
/**
|
|
15948
|
+
*
|
|
15949
|
+
* @type {string}
|
|
15950
|
+
* @memberof ProgramUserDto
|
|
15951
|
+
*/
|
|
15952
|
+
'first_name'?: string;
|
|
15953
|
+
/**
|
|
15954
|
+
*
|
|
15955
|
+
* @type {boolean}
|
|
15956
|
+
* @memberof ProgramUserDto
|
|
15957
|
+
*/
|
|
15958
|
+
'verified': boolean;
|
|
15959
|
+
/**
|
|
15960
|
+
*
|
|
15961
|
+
* @type {string}
|
|
15962
|
+
* @memberof ProgramUserDto
|
|
15963
|
+
*/
|
|
15964
|
+
'last_name'?: string;
|
|
15965
|
+
/**
|
|
15966
|
+
*
|
|
15967
|
+
* @type {string}
|
|
15968
|
+
* @memberof ProgramUserDto
|
|
15969
|
+
*/
|
|
15970
|
+
'phone': string;
|
|
15971
|
+
/**
|
|
15972
|
+
*
|
|
15973
|
+
* @type {string}
|
|
15974
|
+
* @memberof ProgramUserDto
|
|
15975
|
+
*/
|
|
15976
|
+
'email'?: string;
|
|
15977
|
+
/**
|
|
15978
|
+
*
|
|
15979
|
+
* @type {string}
|
|
15980
|
+
* @memberof ProgramUserDto
|
|
16419
15981
|
*/
|
|
16420
15982
|
'image_url'?: string;
|
|
16421
15983
|
/**
|
|
@@ -16581,43 +16143,6 @@ export interface ProviderSupportedIntegrationsDto {
|
|
|
16581
16143
|
*/
|
|
16582
16144
|
'supportedIntegrations': Array<IntegrationType>;
|
|
16583
16145
|
}
|
|
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
16146
|
/**
|
|
16622
16147
|
*
|
|
16623
16148
|
* @export
|
|
@@ -16637,25 +16162,6 @@ export declare const PubSubTarget: {
|
|
|
16637
16162
|
readonly Kds: "KDS";
|
|
16638
16163
|
};
|
|
16639
16164
|
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
16165
|
/**
|
|
16660
16166
|
*
|
|
16661
16167
|
* @export
|
|
@@ -17853,11 +17359,11 @@ export declare const SYNCKEY: {
|
|
|
17853
17359
|
readonly Discounts: "DISCOUNTS";
|
|
17854
17360
|
readonly LoyaltySettings: "LOYALTY_SETTINGS";
|
|
17855
17361
|
readonly BusinessConfig: "BUSINESS_CONFIG";
|
|
17362
|
+
readonly BusinessProviderSupportedIntegrations: "BUSINESS_PROVIDER_SUPPORTED_INTEGRATIONS";
|
|
17856
17363
|
readonly PosSession: "POS_SESSION";
|
|
17857
17364
|
readonly InvoiceCompanies: "INVOICE_COMPANIES";
|
|
17858
17365
|
readonly BusinessTax: "BUSINESS_TAX";
|
|
17859
17366
|
readonly Transaction: "TRANSACTION";
|
|
17860
|
-
readonly DiscountsV2: "DISCOUNTS_V2";
|
|
17861
17367
|
};
|
|
17862
17368
|
export type SYNCKEY = typeof SYNCKEY[keyof typeof SYNCKEY];
|
|
17863
17369
|
/**
|
|
@@ -18601,37 +18107,6 @@ export declare const Status: {
|
|
|
18601
18107
|
readonly Inactive: "INACTIVE";
|
|
18602
18108
|
};
|
|
18603
18109
|
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
18110
|
/**
|
|
18636
18111
|
*
|
|
18637
18112
|
* @export
|
|
@@ -20934,89 +20409,9 @@ export interface UpdateInvoiceCompanyDto {
|
|
|
20934
20409
|
/**
|
|
20935
20410
|
*
|
|
20936
20411
|
* @export
|
|
20937
|
-
* @interface
|
|
20412
|
+
* @interface UpdatePermissionDto
|
|
20938
20413
|
*/
|
|
20939
|
-
export interface
|
|
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
|
-
/**
|
|
21015
|
-
*
|
|
21016
|
-
* @export
|
|
21017
|
-
* @interface UpdatePermissionDto
|
|
21018
|
-
*/
|
|
21019
|
-
export interface UpdatePermissionDto {
|
|
20414
|
+
export interface UpdatePermissionDto {
|
|
21020
20415
|
/**
|
|
21021
20416
|
* Whether the permission is enabled
|
|
21022
20417
|
* @type {boolean}
|
|
@@ -21455,7 +20850,7 @@ export interface UpsertNetsDto {
|
|
|
21455
20850
|
* @type {string}
|
|
21456
20851
|
* @memberof UpsertNetsDto
|
|
21457
20852
|
*/
|
|
21458
|
-
'name'
|
|
20853
|
+
'name'?: string;
|
|
21459
20854
|
/**
|
|
21460
20855
|
*
|
|
21461
20856
|
* @type {boolean}
|
|
@@ -21680,85 +21075,6 @@ export interface UpsertProductPrintPolicyDto {
|
|
|
21680
21075
|
*/
|
|
21681
21076
|
'printerId': number;
|
|
21682
21077
|
}
|
|
21683
|
-
/**
|
|
21684
|
-
*
|
|
21685
|
-
* @export
|
|
21686
|
-
* @interface UpsertProvidersDto
|
|
21687
|
-
*/
|
|
21688
|
-
export interface UpsertProvidersDto {
|
|
21689
|
-
/**
|
|
21690
|
-
*
|
|
21691
|
-
* @type {PaymentProvider}
|
|
21692
|
-
* @memberof UpsertProvidersDto
|
|
21693
|
-
*/
|
|
21694
|
-
'provider': PaymentProvider;
|
|
21695
|
-
/**
|
|
21696
|
-
*
|
|
21697
|
-
* @type {string}
|
|
21698
|
-
* @memberof UpsertProvidersDto
|
|
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
21078
|
/**
|
|
21763
21079
|
*
|
|
21764
21080
|
* @export
|
|
@@ -21801,7 +21117,7 @@ export interface UpsertStripeDto {
|
|
|
21801
21117
|
* @type {string}
|
|
21802
21118
|
* @memberof UpsertStripeDto
|
|
21803
21119
|
*/
|
|
21804
|
-
'name'
|
|
21120
|
+
'name'?: string;
|
|
21805
21121
|
/**
|
|
21806
21122
|
*
|
|
21807
21123
|
* @type {boolean}
|
|
@@ -21832,7 +21148,7 @@ export interface UpsertVivaDto {
|
|
|
21832
21148
|
* @type {string}
|
|
21833
21149
|
* @memberof UpsertVivaDto
|
|
21834
21150
|
*/
|
|
21835
|
-
'name'
|
|
21151
|
+
'name'?: string;
|
|
21836
21152
|
/**
|
|
21837
21153
|
*
|
|
21838
21154
|
* @type {boolean}
|
|
@@ -22226,43 +21542,6 @@ export interface VivaConfigDto {
|
|
|
22226
21542
|
*/
|
|
22227
21543
|
'additionalAmount'?: number;
|
|
22228
21544
|
}
|
|
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
21545
|
/**
|
|
22267
21546
|
*
|
|
22268
21547
|
* @export
|
|
@@ -23585,6 +22864,91 @@ export declare const StatusEnum: {
|
|
|
23585
22864
|
readonly Redeemed: "Redeemed";
|
|
23586
22865
|
};
|
|
23587
22866
|
export type StatusEnum = typeof StatusEnum[keyof typeof StatusEnum];
|
|
22867
|
+
/**
|
|
22868
|
+
*
|
|
22869
|
+
* @export
|
|
22870
|
+
* @interface WalletValidationResponseDto
|
|
22871
|
+
*/
|
|
22872
|
+
export interface WalletValidationResponseDto {
|
|
22873
|
+
/**
|
|
22874
|
+
*
|
|
22875
|
+
* @type {boolean}
|
|
22876
|
+
* @memberof WalletValidationResponseDto
|
|
22877
|
+
*/
|
|
22878
|
+
'is_valid': boolean;
|
|
22879
|
+
/**
|
|
22880
|
+
*
|
|
22881
|
+
* @type {number}
|
|
22882
|
+
* @memberof WalletValidationResponseDto
|
|
22883
|
+
*/
|
|
22884
|
+
'wallet_id': number;
|
|
22885
|
+
/**
|
|
22886
|
+
*
|
|
22887
|
+
* @type {object}
|
|
22888
|
+
* @memberof WalletValidationResponseDto
|
|
22889
|
+
*/
|
|
22890
|
+
'status': object | null;
|
|
22891
|
+
/**
|
|
22892
|
+
*
|
|
22893
|
+
* @type {object}
|
|
22894
|
+
* @memberof WalletValidationResponseDto
|
|
22895
|
+
*/
|
|
22896
|
+
'product_name': object | null;
|
|
22897
|
+
/**
|
|
22898
|
+
*
|
|
22899
|
+
* @type {object}
|
|
22900
|
+
* @memberof WalletValidationResponseDto
|
|
22901
|
+
*/
|
|
22902
|
+
'product_price': object | null;
|
|
22903
|
+
/**
|
|
22904
|
+
*
|
|
22905
|
+
* @type {object}
|
|
22906
|
+
* @memberof WalletValidationResponseDto
|
|
22907
|
+
*/
|
|
22908
|
+
'product_type': object | null;
|
|
22909
|
+
/**
|
|
22910
|
+
*
|
|
22911
|
+
* @type {object}
|
|
22912
|
+
* @memberof WalletValidationResponseDto
|
|
22913
|
+
*/
|
|
22914
|
+
'customer_name': object | null;
|
|
22915
|
+
/**
|
|
22916
|
+
*
|
|
22917
|
+
* @type {object}
|
|
22918
|
+
* @memberof WalletValidationResponseDto
|
|
22919
|
+
*/
|
|
22920
|
+
'customer_email': object | null;
|
|
22921
|
+
/**
|
|
22922
|
+
*
|
|
22923
|
+
* @type {object}
|
|
22924
|
+
* @memberof WalletValidationResponseDto
|
|
22925
|
+
*/
|
|
22926
|
+
'redeemed_at': object | null;
|
|
22927
|
+
/**
|
|
22928
|
+
*
|
|
22929
|
+
* @type {object}
|
|
22930
|
+
* @memberof WalletValidationResponseDto
|
|
22931
|
+
*/
|
|
22932
|
+
'expires_at': object | null;
|
|
22933
|
+
/**
|
|
22934
|
+
*
|
|
22935
|
+
* @type {object}
|
|
22936
|
+
* @memberof WalletValidationResponseDto
|
|
22937
|
+
*/
|
|
22938
|
+
'restaurant_name': object | null;
|
|
22939
|
+
/**
|
|
22940
|
+
*
|
|
22941
|
+
* @type {object}
|
|
22942
|
+
* @memberof WalletValidationResponseDto
|
|
22943
|
+
*/
|
|
22944
|
+
'loyalty_program': object | null;
|
|
22945
|
+
/**
|
|
22946
|
+
*
|
|
22947
|
+
* @type {string}
|
|
22948
|
+
* @memberof WalletValidationResponseDto
|
|
22949
|
+
*/
|
|
22950
|
+
'message': string;
|
|
22951
|
+
}
|
|
23588
22952
|
/**
|
|
23589
22953
|
*
|
|
23590
22954
|
* @export
|
|
@@ -23635,37 +22999,6 @@ export interface WorldlineAmountsRequestDto {
|
|
|
23635
22999
|
*/
|
|
23636
23000
|
'tip'?: number;
|
|
23637
23001
|
}
|
|
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
23002
|
/**
|
|
23670
23003
|
*
|
|
23671
23004
|
* @export
|
|
@@ -25906,15 +25239,6 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
25906
25239
|
* @throws {RequiredError}
|
|
25907
25240
|
*/
|
|
25908
25241
|
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
25242
|
/**
|
|
25919
25243
|
*
|
|
25920
25244
|
* @summary Manual sync trigger
|
|
@@ -25992,16 +25316,6 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
25992
25316
|
* @throws {RequiredError}
|
|
25993
25317
|
*/
|
|
25994
25318
|
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
25319
|
/**
|
|
26006
25320
|
*
|
|
26007
25321
|
* @summary Upsert Stripe payment config
|
|
@@ -26038,15 +25352,6 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
26038
25352
|
* @throws {RequiredError}
|
|
26039
25353
|
*/
|
|
26040
25354
|
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
25355
|
/**
|
|
26051
25356
|
*
|
|
26052
25357
|
* @summary Manual sync trigger
|
|
@@ -26124,16 +25429,6 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
26124
25429
|
* @throws {RequiredError}
|
|
26125
25430
|
*/
|
|
26126
25431
|
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
25432
|
/**
|
|
26138
25433
|
*
|
|
26139
25434
|
* @summary Upsert Stripe payment config
|
|
@@ -26170,15 +25465,6 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
26170
25465
|
* @throws {RequiredError}
|
|
26171
25466
|
*/
|
|
26172
25467
|
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
25468
|
/**
|
|
26183
25469
|
*
|
|
26184
25470
|
* @summary Manual sync trigger
|
|
@@ -26256,16 +25542,6 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
26256
25542
|
* @throws {RequiredError}
|
|
26257
25543
|
*/
|
|
26258
25544
|
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
25545
|
/**
|
|
26270
25546
|
*
|
|
26271
25547
|
* @summary Upsert Stripe payment config
|
|
@@ -26306,17 +25582,7 @@ export interface ConfigManagementApiInterface {
|
|
|
26306
25582
|
configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
26307
25583
|
/**
|
|
26308
25584
|
*
|
|
26309
|
-
* @summary
|
|
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
|
-
/**
|
|
26318
|
-
*
|
|
26319
|
-
* @summary Manual sync trigger
|
|
25585
|
+
* @summary Manual sync trigger
|
|
26320
25586
|
* @param {number} businessId
|
|
26321
25587
|
* @param {ManualSyncDto} manualSyncDto
|
|
26322
25588
|
* @param {*} [options] Override http request option.
|
|
@@ -26399,17 +25665,6 @@ export interface ConfigManagementApiInterface {
|
|
|
26399
25665
|
* @memberof ConfigManagementApiInterface
|
|
26400
25666
|
*/
|
|
26401
25667
|
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
25668
|
/**
|
|
26414
25669
|
*
|
|
26415
25670
|
* @summary Upsert Stripe payment config
|
|
@@ -26451,16 +25706,6 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
26451
25706
|
* @memberof ConfigManagementApi
|
|
26452
25707
|
*/
|
|
26453
25708
|
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
25709
|
/**
|
|
26465
25710
|
*
|
|
26466
25711
|
* @summary Manual sync trigger
|
|
@@ -26546,17 +25791,6 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
26546
25791
|
* @memberof ConfigManagementApi
|
|
26547
25792
|
*/
|
|
26548
25793
|
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
25794
|
/**
|
|
26561
25795
|
*
|
|
26562
25796
|
* @summary Upsert Stripe payment config
|
|
@@ -28691,6 +27925,16 @@ export declare const LoyaltyIntegerationsApiAxiosParamCreator: (configuration?:
|
|
|
28691
27925
|
* @throws {RequiredError}
|
|
28692
27926
|
*/
|
|
28693
27927
|
updatePoints: (businessId: number, pointsUpdatePayloadDto: PointsUpdatePayloadDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27928
|
+
/**
|
|
27929
|
+
*
|
|
27930
|
+
* @summary Validate a loyalty reward QR code wallet transaction
|
|
27931
|
+
* @param {number} businessId
|
|
27932
|
+
* @param {string} loyaltyId
|
|
27933
|
+
* @param {number} walletId
|
|
27934
|
+
* @param {*} [options] Override http request option.
|
|
27935
|
+
* @throws {RequiredError}
|
|
27936
|
+
*/
|
|
27937
|
+
validateWallet: (businessId: number, loyaltyId: string, walletId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28694
27938
|
};
|
|
28695
27939
|
/**
|
|
28696
27940
|
* LoyaltyIntegerationsApi - functional programming interface
|
|
@@ -28795,6 +28039,16 @@ export declare const LoyaltyIntegerationsApiFp: (configuration?: Configuration)
|
|
|
28795
28039
|
* @throws {RequiredError}
|
|
28796
28040
|
*/
|
|
28797
28041
|
updatePoints(businessId: number, pointsUpdatePayloadDto: PointsUpdatePayloadDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PointsUpdateResponseDto>>;
|
|
28042
|
+
/**
|
|
28043
|
+
*
|
|
28044
|
+
* @summary Validate a loyalty reward QR code wallet transaction
|
|
28045
|
+
* @param {number} businessId
|
|
28046
|
+
* @param {string} loyaltyId
|
|
28047
|
+
* @param {number} walletId
|
|
28048
|
+
* @param {*} [options] Override http request option.
|
|
28049
|
+
* @throws {RequiredError}
|
|
28050
|
+
*/
|
|
28051
|
+
validateWallet(businessId: number, loyaltyId: string, walletId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletValidationResponseDto>>;
|
|
28798
28052
|
};
|
|
28799
28053
|
/**
|
|
28800
28054
|
* LoyaltyIntegerationsApi - factory interface
|
|
@@ -28899,6 +28153,16 @@ export declare const LoyaltyIntegerationsApiFactory: (configuration?: Configurat
|
|
|
28899
28153
|
* @throws {RequiredError}
|
|
28900
28154
|
*/
|
|
28901
28155
|
updatePoints(businessId: number, pointsUpdatePayloadDto: PointsUpdatePayloadDto, options?: any): AxiosPromise<PointsUpdateResponseDto>;
|
|
28156
|
+
/**
|
|
28157
|
+
*
|
|
28158
|
+
* @summary Validate a loyalty reward QR code wallet transaction
|
|
28159
|
+
* @param {number} businessId
|
|
28160
|
+
* @param {string} loyaltyId
|
|
28161
|
+
* @param {number} walletId
|
|
28162
|
+
* @param {*} [options] Override http request option.
|
|
28163
|
+
* @throws {RequiredError}
|
|
28164
|
+
*/
|
|
28165
|
+
validateWallet(businessId: number, loyaltyId: string, walletId: number, options?: any): AxiosPromise<WalletValidationResponseDto>;
|
|
28902
28166
|
};
|
|
28903
28167
|
/**
|
|
28904
28168
|
* LoyaltyIntegerationsApi - interface
|
|
@@ -29015,6 +28279,17 @@ export interface LoyaltyIntegerationsApiInterface {
|
|
|
29015
28279
|
* @memberof LoyaltyIntegerationsApiInterface
|
|
29016
28280
|
*/
|
|
29017
28281
|
updatePoints(businessId: number, pointsUpdatePayloadDto: PointsUpdatePayloadDto, options?: AxiosRequestConfig): AxiosPromise<PointsUpdateResponseDto>;
|
|
28282
|
+
/**
|
|
28283
|
+
*
|
|
28284
|
+
* @summary Validate a loyalty reward QR code wallet transaction
|
|
28285
|
+
* @param {number} businessId
|
|
28286
|
+
* @param {string} loyaltyId
|
|
28287
|
+
* @param {number} walletId
|
|
28288
|
+
* @param {*} [options] Override http request option.
|
|
28289
|
+
* @throws {RequiredError}
|
|
28290
|
+
* @memberof LoyaltyIntegerationsApiInterface
|
|
28291
|
+
*/
|
|
28292
|
+
validateWallet(businessId: number, loyaltyId: string, walletId: number, options?: AxiosRequestConfig): AxiosPromise<WalletValidationResponseDto>;
|
|
29018
28293
|
}
|
|
29019
28294
|
/**
|
|
29020
28295
|
* LoyaltyIntegerationsApi - object-oriented interface
|
|
@@ -29132,6 +28407,17 @@ export declare class LoyaltyIntegerationsApi extends BaseAPI implements LoyaltyI
|
|
|
29132
28407
|
* @memberof LoyaltyIntegerationsApi
|
|
29133
28408
|
*/
|
|
29134
28409
|
updatePoints(businessId: number, pointsUpdatePayloadDto: PointsUpdatePayloadDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PointsUpdateResponseDto, any, {}>>;
|
|
28410
|
+
/**
|
|
28411
|
+
*
|
|
28412
|
+
* @summary Validate a loyalty reward QR code wallet transaction
|
|
28413
|
+
* @param {number} businessId
|
|
28414
|
+
* @param {string} loyaltyId
|
|
28415
|
+
* @param {number} walletId
|
|
28416
|
+
* @param {*} [options] Override http request option.
|
|
28417
|
+
* @throws {RequiredError}
|
|
28418
|
+
* @memberof LoyaltyIntegerationsApi
|
|
28419
|
+
*/
|
|
28420
|
+
validateWallet(businessId: number, loyaltyId: string, walletId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletValidationResponseDto, any, {}>>;
|
|
29135
28421
|
}
|
|
29136
28422
|
/**
|
|
29137
28423
|
* MenuApi - axios parameter creator
|
|
@@ -29173,6 +28459,15 @@ export declare const MenuApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
29173
28459
|
* @throws {RequiredError}
|
|
29174
28460
|
*/
|
|
29175
28461
|
getProductsByCategoriesV2: (businessId: string, filter?: "available" | "unavailable", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28462
|
+
/**
|
|
28463
|
+
*
|
|
28464
|
+
* @summary Get products by categories without channel_configs (product list / labels)
|
|
28465
|
+
* @param {string} businessId Unique identifier of the business
|
|
28466
|
+
* @param {'available' | 'unavailable'} [filter] Filter products by availability status
|
|
28467
|
+
* @param {*} [options] Override http request option.
|
|
28468
|
+
* @throws {RequiredError}
|
|
28469
|
+
*/
|
|
28470
|
+
getProductsByCategoriesV3: (businessId: string, filter?: "available" | "unavailable", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29176
28471
|
/**
|
|
29177
28472
|
*
|
|
29178
28473
|
* @param {ResetEodDto} resetEodDto
|
|
@@ -29221,6 +28516,15 @@ export declare const MenuApiFp: (configuration?: Configuration) => {
|
|
|
29221
28516
|
* @throws {RequiredError}
|
|
29222
28517
|
*/
|
|
29223
28518
|
getProductsByCategoriesV2(businessId: string, filter?: "available" | "unavailable", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsByCategoriesResponseDto>>;
|
|
28519
|
+
/**
|
|
28520
|
+
*
|
|
28521
|
+
* @summary Get products by categories without channel_configs (product list / labels)
|
|
28522
|
+
* @param {string} businessId Unique identifier of the business
|
|
28523
|
+
* @param {'available' | 'unavailable'} [filter] Filter products by availability status
|
|
28524
|
+
* @param {*} [options] Override http request option.
|
|
28525
|
+
* @throws {RequiredError}
|
|
28526
|
+
*/
|
|
28527
|
+
getProductsByCategoriesV3(businessId: string, filter?: "available" | "unavailable", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsByCategoriesV3ResponseDto>>;
|
|
29224
28528
|
/**
|
|
29225
28529
|
*
|
|
29226
28530
|
* @param {ResetEodDto} resetEodDto
|
|
@@ -29269,6 +28573,15 @@ export declare const MenuApiFactory: (configuration?: Configuration, basePath?:
|
|
|
29269
28573
|
* @throws {RequiredError}
|
|
29270
28574
|
*/
|
|
29271
28575
|
getProductsByCategoriesV2(businessId: string, filter?: "available" | "unavailable", options?: any): AxiosPromise<ProductsByCategoriesResponseDto>;
|
|
28576
|
+
/**
|
|
28577
|
+
*
|
|
28578
|
+
* @summary Get products by categories without channel_configs (product list / labels)
|
|
28579
|
+
* @param {string} businessId Unique identifier of the business
|
|
28580
|
+
* @param {'available' | 'unavailable'} [filter] Filter products by availability status
|
|
28581
|
+
* @param {*} [options] Override http request option.
|
|
28582
|
+
* @throws {RequiredError}
|
|
28583
|
+
*/
|
|
28584
|
+
getProductsByCategoriesV3(businessId: string, filter?: "available" | "unavailable", options?: any): AxiosPromise<ProductsByCategoriesV3ResponseDto>;
|
|
29272
28585
|
/**
|
|
29273
28586
|
*
|
|
29274
28587
|
* @param {ResetEodDto} resetEodDto
|
|
@@ -29322,6 +28635,16 @@ export interface MenuApiInterface {
|
|
|
29322
28635
|
* @memberof MenuApiInterface
|
|
29323
28636
|
*/
|
|
29324
28637
|
getProductsByCategoriesV2(businessId: string, filter?: 'available' | 'unavailable', options?: AxiosRequestConfig): AxiosPromise<ProductsByCategoriesResponseDto>;
|
|
28638
|
+
/**
|
|
28639
|
+
*
|
|
28640
|
+
* @summary Get products by categories without channel_configs (product list / labels)
|
|
28641
|
+
* @param {string} businessId Unique identifier of the business
|
|
28642
|
+
* @param {'available' | 'unavailable'} [filter] Filter products by availability status
|
|
28643
|
+
* @param {*} [options] Override http request option.
|
|
28644
|
+
* @throws {RequiredError}
|
|
28645
|
+
* @memberof MenuApiInterface
|
|
28646
|
+
*/
|
|
28647
|
+
getProductsByCategoriesV3(businessId: string, filter?: 'available' | 'unavailable', options?: AxiosRequestConfig): AxiosPromise<ProductsByCategoriesV3ResponseDto>;
|
|
29325
28648
|
/**
|
|
29326
28649
|
*
|
|
29327
28650
|
* @param {ResetEodDto} resetEodDto
|
|
@@ -29377,6 +28700,16 @@ export declare class MenuApi extends BaseAPI implements MenuApiInterface {
|
|
|
29377
28700
|
* @memberof MenuApi
|
|
29378
28701
|
*/
|
|
29379
28702
|
getProductsByCategoriesV2(businessId: string, filter?: 'available' | 'unavailable', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductsByCategoriesResponseDto, any, {}>>;
|
|
28703
|
+
/**
|
|
28704
|
+
*
|
|
28705
|
+
* @summary Get products by categories without channel_configs (product list / labels)
|
|
28706
|
+
* @param {string} businessId Unique identifier of the business
|
|
28707
|
+
* @param {'available' | 'unavailable'} [filter] Filter products by availability status
|
|
28708
|
+
* @param {*} [options] Override http request option.
|
|
28709
|
+
* @throws {RequiredError}
|
|
28710
|
+
* @memberof MenuApi
|
|
28711
|
+
*/
|
|
28712
|
+
getProductsByCategoriesV3(businessId: string, filter?: 'available' | 'unavailable', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductsByCategoriesV3ResponseDto, any, {}>>;
|
|
29380
28713
|
/**
|
|
29381
28714
|
*
|
|
29382
28715
|
* @param {ResetEodDto} resetEodDto
|
|
@@ -31275,415 +30608,6 @@ export declare class PaymentApi extends BaseAPI implements PaymentApiInterface {
|
|
|
31275
30608
|
*/
|
|
31276
30609
|
refundVivaTransactionV4(refundPayloadDtoV4: RefundPayloadDtoV4, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VivaPaymentResultDto, any, {}>>;
|
|
31277
30610
|
}
|
|
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
30611
|
/**
|
|
31688
30612
|
* PaymentSessionApi - axios parameter creator
|
|
31689
30613
|
* @export
|
|
@@ -32496,6 +31420,16 @@ export declare const ProductApiAxiosParamCreator: (configuration?: Configuration
|
|
|
32496
31420
|
* @throws {RequiredError}
|
|
32497
31421
|
*/
|
|
32498
31422
|
generateProductSkuV2: (businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31423
|
+
/**
|
|
31424
|
+
* Returns inventory settings across all channels; used by the pencil-edit flow
|
|
31425
|
+
* @summary Get channel inventory (all channels) for a product
|
|
31426
|
+
* @param {string} businessId Business ID
|
|
31427
|
+
* @param {string} categoryId Category ID
|
|
31428
|
+
* @param {string} productId Product ID
|
|
31429
|
+
* @param {*} [options] Override http request option.
|
|
31430
|
+
* @throws {RequiredError}
|
|
31431
|
+
*/
|
|
31432
|
+
getChannelInventoryV2: (businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32499
31433
|
/**
|
|
32500
31434
|
* Update inventory settings for multiple channels at once
|
|
32501
31435
|
* @summary Update channel inventory (POS, Kiosk, etc.)
|
|
@@ -32534,6 +31468,16 @@ export declare const ProductApiFp: (configuration?: Configuration) => {
|
|
|
32534
31468
|
* @throws {RequiredError}
|
|
32535
31469
|
*/
|
|
32536
31470
|
generateProductSkuV2(businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSkuResponseDto>>;
|
|
31471
|
+
/**
|
|
31472
|
+
* Returns inventory settings across all channels; used by the pencil-edit flow
|
|
31473
|
+
* @summary Get channel inventory (all channels) for a product
|
|
31474
|
+
* @param {string} businessId Business ID
|
|
31475
|
+
* @param {string} categoryId Category ID
|
|
31476
|
+
* @param {string} productId Product ID
|
|
31477
|
+
* @param {*} [options] Override http request option.
|
|
31478
|
+
* @throws {RequiredError}
|
|
31479
|
+
*/
|
|
31480
|
+
getChannelInventoryV2(businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ChannelInventoryResponseDto>>>;
|
|
32537
31481
|
/**
|
|
32538
31482
|
* Update inventory settings for multiple channels at once
|
|
32539
31483
|
* @summary Update channel inventory (POS, Kiosk, etc.)
|
|
@@ -32572,6 +31516,16 @@ export declare const ProductApiFactory: (configuration?: Configuration, basePath
|
|
|
32572
31516
|
* @throws {RequiredError}
|
|
32573
31517
|
*/
|
|
32574
31518
|
generateProductSkuV2(businessId: string, categoryId: string, productId: string, options?: any): AxiosPromise<ProductSkuResponseDto>;
|
|
31519
|
+
/**
|
|
31520
|
+
* Returns inventory settings across all channels; used by the pencil-edit flow
|
|
31521
|
+
* @summary Get channel inventory (all channels) for a product
|
|
31522
|
+
* @param {string} businessId Business ID
|
|
31523
|
+
* @param {string} categoryId Category ID
|
|
31524
|
+
* @param {string} productId Product ID
|
|
31525
|
+
* @param {*} [options] Override http request option.
|
|
31526
|
+
* @throws {RequiredError}
|
|
31527
|
+
*/
|
|
31528
|
+
getChannelInventoryV2(businessId: string, categoryId: string, productId: string, options?: any): AxiosPromise<Array<ChannelInventoryResponseDto>>;
|
|
32575
31529
|
/**
|
|
32576
31530
|
* Update inventory settings for multiple channels at once
|
|
32577
31531
|
* @summary Update channel inventory (POS, Kiosk, etc.)
|
|
@@ -32612,6 +31566,17 @@ export interface ProductApiInterface {
|
|
|
32612
31566
|
* @memberof ProductApiInterface
|
|
32613
31567
|
*/
|
|
32614
31568
|
generateProductSkuV2(businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig): AxiosPromise<ProductSkuResponseDto>;
|
|
31569
|
+
/**
|
|
31570
|
+
* Returns inventory settings across all channels; used by the pencil-edit flow
|
|
31571
|
+
* @summary Get channel inventory (all channels) for a product
|
|
31572
|
+
* @param {string} businessId Business ID
|
|
31573
|
+
* @param {string} categoryId Category ID
|
|
31574
|
+
* @param {string} productId Product ID
|
|
31575
|
+
* @param {*} [options] Override http request option.
|
|
31576
|
+
* @throws {RequiredError}
|
|
31577
|
+
* @memberof ProductApiInterface
|
|
31578
|
+
*/
|
|
31579
|
+
getChannelInventoryV2(businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig): AxiosPromise<Array<ChannelInventoryResponseDto>>;
|
|
32615
31580
|
/**
|
|
32616
31581
|
* Update inventory settings for multiple channels at once
|
|
32617
31582
|
* @summary Update channel inventory (POS, Kiosk, etc.)
|
|
@@ -32655,6 +31620,17 @@ export declare class ProductApi extends BaseAPI implements ProductApiInterface {
|
|
|
32655
31620
|
* @memberof ProductApi
|
|
32656
31621
|
*/
|
|
32657
31622
|
generateProductSkuV2(businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductSkuResponseDto, any, {}>>;
|
|
31623
|
+
/**
|
|
31624
|
+
* Returns inventory settings across all channels; used by the pencil-edit flow
|
|
31625
|
+
* @summary Get channel inventory (all channels) for a product
|
|
31626
|
+
* @param {string} businessId Business ID
|
|
31627
|
+
* @param {string} categoryId Category ID
|
|
31628
|
+
* @param {string} productId Product ID
|
|
31629
|
+
* @param {*} [options] Override http request option.
|
|
31630
|
+
* @throws {RequiredError}
|
|
31631
|
+
* @memberof ProductApi
|
|
31632
|
+
*/
|
|
31633
|
+
getChannelInventoryV2(businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChannelInventoryResponseDto[], any, {}>>;
|
|
32658
31634
|
/**
|
|
32659
31635
|
* Update inventory settings for multiple channels at once
|
|
32660
31636
|
* @summary Update channel inventory (POS, Kiosk, etc.)
|