@munchi_oy/core 2.17.0 → 2.18.0
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 +365 -68
- 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 +468 -71
- package/package.json +13 -15
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -3535,7 +3535,7 @@ export interface ConfigManagementResponseDto {
|
|
|
3535
3535
|
*/
|
|
3536
3536
|
'message'?: string;
|
|
3537
3537
|
/**
|
|
3538
|
-
* What was saved, as the database wrote it: the venue, the config, the provider\'s config without its secrets, the options, the integration (the third-party gift card\'s credentials without the password), { program, businessId } for loyalty (the program\'s secretKey answered null), { businessId, keys } for a sync, { id, removed } for a removed option.
|
|
3538
|
+
* What was saved, as the database wrote it: the venue, the config, the provider\'s config without its secrets but with hasSecretKey, hasClientSecret and hasPassword saying whether it holds them, the options, the integration (the third-party gift card\'s credentials without the password), { program, businessId } for loyalty (the program\'s secretKey answered null), { businessId, keys } for a sync, { id, removed } for a removed option.
|
|
3539
3539
|
* @type {object}
|
|
3540
3540
|
* @memberof ConfigManagementResponseDto
|
|
3541
3541
|
*/
|
|
@@ -4903,7 +4903,7 @@ export interface CreatePaymentTerminalDto {
|
|
|
4903
4903
|
*/
|
|
4904
4904
|
'provider': TerminalProvider;
|
|
4905
4905
|
/**
|
|
4906
|
-
* The provider\'s own id of the terminal, trimmed: for viva the terminal ID (TID) in Viva\'s portal, digits only (16010572); for nets the terminal ID (TID), digits only (72102200); for worldline the terminal\'s serial number, letters and digits (253SKD884468). The payment is sent to the provider with this id, so it must be the id the provider knows
|
|
4906
|
+
* The provider\'s own id of the terminal, trimmed: for viva the terminal ID (TID) in Viva\'s portal, digits only (16010572); for nets the terminal ID (TID), digits only (72102200); for worldline the terminal\'s serial number, letters and digits (253SKD884468); for nexi the Nexi terminal ID, t- and 10 digits, the number padded with zeros (t-0000103319; a Nexi simulator\'s is t-19 and 8 digits). The payment is sent to the provider with this id, so it must be the id the provider knows
|
|
4907
4907
|
* @type {string}
|
|
4908
4908
|
* @memberof CreatePaymentTerminalDto
|
|
4909
4909
|
*/
|
|
@@ -14928,6 +14928,18 @@ export interface NetsConfigResponseDto {
|
|
|
14928
14928
|
* @memberof NetsConfigResponseDto
|
|
14929
14929
|
*/
|
|
14930
14930
|
'clientSecret': string | null;
|
|
14931
|
+
/**
|
|
14932
|
+
* Whether a Nets secret key is stored, so a screen can show it as set without its value. False when none or an empty one is stored.
|
|
14933
|
+
* @type {boolean}
|
|
14934
|
+
* @memberof NetsConfigResponseDto
|
|
14935
|
+
*/
|
|
14936
|
+
'hasSecretKey': boolean;
|
|
14937
|
+
/**
|
|
14938
|
+
* Whether a Nets OAuth client secret is stored, so a screen can show it as set without its value. False when none or an empty one is stored.
|
|
14939
|
+
* @type {boolean}
|
|
14940
|
+
* @memberof NetsConfigResponseDto
|
|
14941
|
+
*/
|
|
14942
|
+
'hasClientSecret': boolean;
|
|
14931
14943
|
}
|
|
14932
14944
|
/**
|
|
14933
14945
|
*
|
|
@@ -15371,6 +15383,43 @@ export interface NewKdsStationDto {
|
|
|
15371
15383
|
*/
|
|
15372
15384
|
'categoryIds': Array<string>;
|
|
15373
15385
|
}
|
|
15386
|
+
/**
|
|
15387
|
+
*
|
|
15388
|
+
* @export
|
|
15389
|
+
* @interface NexiConfigResponseDto
|
|
15390
|
+
*/
|
|
15391
|
+
export interface NexiConfigResponseDto {
|
|
15392
|
+
/**
|
|
15393
|
+
* Whether the Nexi integration is active.
|
|
15394
|
+
* @type {boolean}
|
|
15395
|
+
* @memberof NexiConfigResponseDto
|
|
15396
|
+
*/
|
|
15397
|
+
'isActive': boolean;
|
|
15398
|
+
/**
|
|
15399
|
+
* Display name.
|
|
15400
|
+
* @type {string}
|
|
15401
|
+
* @memberof NexiConfigResponseDto
|
|
15402
|
+
*/
|
|
15403
|
+
'name': string | null;
|
|
15404
|
+
/**
|
|
15405
|
+
* Nexi POS API user name; null when none is stored.
|
|
15406
|
+
* @type {string}
|
|
15407
|
+
* @memberof NexiConfigResponseDto
|
|
15408
|
+
*/
|
|
15409
|
+
'username': string | null;
|
|
15410
|
+
/**
|
|
15411
|
+
* Always null: the stored Nexi password never leaves the server. A save that leaves it out keeps it; a save that sends one replaces it.
|
|
15412
|
+
* @type {string}
|
|
15413
|
+
* @memberof NexiConfigResponseDto
|
|
15414
|
+
*/
|
|
15415
|
+
'password': string | null;
|
|
15416
|
+
/**
|
|
15417
|
+
* Whether a Nexi password is stored, so a screen can show it as set without its value. False when none or an empty one is stored.
|
|
15418
|
+
* @type {boolean}
|
|
15419
|
+
* @memberof NexiConfigResponseDto
|
|
15420
|
+
*/
|
|
15421
|
+
'hasPassword': boolean;
|
|
15422
|
+
}
|
|
15374
15423
|
/**
|
|
15375
15424
|
*
|
|
15376
15425
|
* @export
|
|
@@ -19409,6 +19458,7 @@ export declare const PaymentProvider: {
|
|
|
19409
19458
|
readonly Nets: "nets";
|
|
19410
19459
|
readonly Worldline: "worldline";
|
|
19411
19460
|
readonly Epassi: "epassi";
|
|
19461
|
+
readonly Nexi: "nexi";
|
|
19412
19462
|
};
|
|
19413
19463
|
export type PaymentProvider = typeof PaymentProvider[keyof typeof PaymentProvider];
|
|
19414
19464
|
/**
|
|
@@ -19422,6 +19472,7 @@ export declare const PaymentProviderEnum: {
|
|
|
19422
19472
|
readonly Nets: "nets";
|
|
19423
19473
|
readonly Worldline: "worldline";
|
|
19424
19474
|
readonly Epassi: "epassi";
|
|
19475
|
+
readonly Nexi: "nexi";
|
|
19425
19476
|
};
|
|
19426
19477
|
export type PaymentProviderEnum = typeof PaymentProviderEnum[keyof typeof PaymentProviderEnum];
|
|
19427
19478
|
/**
|
|
@@ -24975,6 +25026,12 @@ export interface ProvidersConfigResponseDto {
|
|
|
24975
25026
|
* @memberof ProvidersConfigResponseDto
|
|
24976
25027
|
*/
|
|
24977
25028
|
'worldline': ProvidersConfigResponseDtoWorldline | null;
|
|
25029
|
+
/**
|
|
25030
|
+
*
|
|
25031
|
+
* @type {ProvidersConfigResponseDtoNexi}
|
|
25032
|
+
* @memberof ProvidersConfigResponseDto
|
|
25033
|
+
*/
|
|
25034
|
+
'nexi': ProvidersConfigResponseDtoNexi | null;
|
|
24978
25035
|
}
|
|
24979
25036
|
/**
|
|
24980
25037
|
* The channel\'s Nets settings; null when it has none.
|
|
@@ -25018,6 +25075,55 @@ export interface ProvidersConfigResponseDtoNets {
|
|
|
25018
25075
|
* @memberof ProvidersConfigResponseDtoNets
|
|
25019
25076
|
*/
|
|
25020
25077
|
'clientSecret': string | null;
|
|
25078
|
+
/**
|
|
25079
|
+
* Whether a Nets secret key is stored, so a screen can show it as set without its value. False when none or an empty one is stored.
|
|
25080
|
+
* @type {boolean}
|
|
25081
|
+
* @memberof ProvidersConfigResponseDtoNets
|
|
25082
|
+
*/
|
|
25083
|
+
'hasSecretKey': boolean;
|
|
25084
|
+
/**
|
|
25085
|
+
* Whether a Nets OAuth client secret is stored, so a screen can show it as set without its value. False when none or an empty one is stored.
|
|
25086
|
+
* @type {boolean}
|
|
25087
|
+
* @memberof ProvidersConfigResponseDtoNets
|
|
25088
|
+
*/
|
|
25089
|
+
'hasClientSecret': boolean;
|
|
25090
|
+
}
|
|
25091
|
+
/**
|
|
25092
|
+
* The channel\'s Nexi settings; null when it has none.
|
|
25093
|
+
* @export
|
|
25094
|
+
* @interface ProvidersConfigResponseDtoNexi
|
|
25095
|
+
*/
|
|
25096
|
+
export interface ProvidersConfigResponseDtoNexi {
|
|
25097
|
+
/**
|
|
25098
|
+
* Whether the Nexi integration is active.
|
|
25099
|
+
* @type {boolean}
|
|
25100
|
+
* @memberof ProvidersConfigResponseDtoNexi
|
|
25101
|
+
*/
|
|
25102
|
+
'isActive': boolean;
|
|
25103
|
+
/**
|
|
25104
|
+
* Display name.
|
|
25105
|
+
* @type {string}
|
|
25106
|
+
* @memberof ProvidersConfigResponseDtoNexi
|
|
25107
|
+
*/
|
|
25108
|
+
'name': string | null;
|
|
25109
|
+
/**
|
|
25110
|
+
* Nexi POS API user name; null when none is stored.
|
|
25111
|
+
* @type {string}
|
|
25112
|
+
* @memberof ProvidersConfigResponseDtoNexi
|
|
25113
|
+
*/
|
|
25114
|
+
'username': string | null;
|
|
25115
|
+
/**
|
|
25116
|
+
* Always null: the stored Nexi password never leaves the server. A save that leaves it out keeps it; a save that sends one replaces it.
|
|
25117
|
+
* @type {string}
|
|
25118
|
+
* @memberof ProvidersConfigResponseDtoNexi
|
|
25119
|
+
*/
|
|
25120
|
+
'password': string | null;
|
|
25121
|
+
/**
|
|
25122
|
+
* Whether a Nexi password is stored, so a screen can show it as set without its value. False when none or an empty one is stored.
|
|
25123
|
+
* @type {boolean}
|
|
25124
|
+
* @memberof ProvidersConfigResponseDtoNexi
|
|
25125
|
+
*/
|
|
25126
|
+
'hasPassword': boolean;
|
|
25021
25127
|
}
|
|
25022
25128
|
/**
|
|
25023
25129
|
* The channel\'s Stripe settings; null when it has none.
|
|
@@ -25129,6 +25235,12 @@ export interface ProvidersConfigResponseDtoWorldline {
|
|
|
25129
25235
|
* @memberof ProvidersConfigResponseDtoWorldline
|
|
25130
25236
|
*/
|
|
25131
25237
|
'publicKey': string | null;
|
|
25238
|
+
/**
|
|
25239
|
+
* Whether a Worldline secret key is stored, so a screen can show it as set without its value. False when none or an empty one is stored.
|
|
25240
|
+
* @type {boolean}
|
|
25241
|
+
* @memberof ProvidersConfigResponseDtoWorldline
|
|
25242
|
+
*/
|
|
25243
|
+
'hasSecretKey': boolean;
|
|
25132
25244
|
}
|
|
25133
25245
|
/**
|
|
25134
25246
|
*
|
|
@@ -34015,6 +34127,7 @@ export declare const TerminalProvider: {
|
|
|
34015
34127
|
readonly Viva: "viva";
|
|
34016
34128
|
readonly Nets: "nets";
|
|
34017
34129
|
readonly Worldline: "worldline";
|
|
34130
|
+
readonly Nexi: "nexi";
|
|
34018
34131
|
};
|
|
34019
34132
|
export type TerminalProvider = typeof TerminalProvider[keyof typeof TerminalProvider];
|
|
34020
34133
|
/**
|
|
@@ -37512,6 +37625,37 @@ export interface UpsertNetsDto {
|
|
|
37512
37625
|
*/
|
|
37513
37626
|
'clientSecret'?: string;
|
|
37514
37627
|
}
|
|
37628
|
+
/**
|
|
37629
|
+
*
|
|
37630
|
+
* @export
|
|
37631
|
+
* @interface UpsertNexiDto
|
|
37632
|
+
*/
|
|
37633
|
+
export interface UpsertNexiDto {
|
|
37634
|
+
/**
|
|
37635
|
+
* The name shown for the Nexi integration. Absent keeps the stored value.
|
|
37636
|
+
* @type {string}
|
|
37637
|
+
* @memberof UpsertNexiDto
|
|
37638
|
+
*/
|
|
37639
|
+
'name'?: string;
|
|
37640
|
+
/**
|
|
37641
|
+
* Whether the Nexi integration is active. Absent keeps the stored value; a new Nexi config is saved active.
|
|
37642
|
+
* @type {boolean}
|
|
37643
|
+
* @memberof UpsertNexiDto
|
|
37644
|
+
*/
|
|
37645
|
+
'isActive'?: boolean;
|
|
37646
|
+
/**
|
|
37647
|
+
* Nexi POS API user name, as Nexi issues it. Required to create the Nexi config: a new one without it is refused with 400. Absent keeps the stored value. An empty string or null is refused with 400.
|
|
37648
|
+
* @type {string}
|
|
37649
|
+
* @memberof UpsertNexiDto
|
|
37650
|
+
*/
|
|
37651
|
+
'username'?: string;
|
|
37652
|
+
/**
|
|
37653
|
+
* Nexi POS API password, as Nexi issues it; never answered. Required to create the Nexi config: a new one without it is refused with 400. Absent keeps the stored value. An empty string or null is refused with 400.
|
|
37654
|
+
* @type {string}
|
|
37655
|
+
* @memberof UpsertNexiDto
|
|
37656
|
+
*/
|
|
37657
|
+
'password'?: string;
|
|
37658
|
+
}
|
|
37515
37659
|
/**
|
|
37516
37660
|
*
|
|
37517
37661
|
* @export
|
|
@@ -37660,7 +37804,7 @@ export interface UpsertProvidersDto {
|
|
|
37660
37804
|
*/
|
|
37661
37805
|
'name'?: string;
|
|
37662
37806
|
/**
|
|
37663
|
-
* Whether the provider\'s integration is active. Absent keeps it for Viva and saves Nets, Stripe or
|
|
37807
|
+
* Whether the provider\'s integration is active. Absent keeps it for Viva and saves Nets, Stripe, Worldline or Nexi active.
|
|
37664
37808
|
* @type {boolean}
|
|
37665
37809
|
* @memberof UpsertProvidersDto
|
|
37666
37810
|
*/
|
|
@@ -37725,6 +37869,18 @@ export interface UpsertProvidersDto {
|
|
|
37725
37869
|
* @memberof UpsertProvidersDto
|
|
37726
37870
|
*/
|
|
37727
37871
|
'locationId'?: string;
|
|
37872
|
+
/**
|
|
37873
|
+
* Nexi POS API user name, as Nexi issues it. Required to create the Nexi config: a new one without it is refused with 400. Absent keeps the stored value. An empty string or null is refused with 400.
|
|
37874
|
+
* @type {string}
|
|
37875
|
+
* @memberof UpsertProvidersDto
|
|
37876
|
+
*/
|
|
37877
|
+
'username'?: string;
|
|
37878
|
+
/**
|
|
37879
|
+
* Nexi POS API password, as Nexi issues it; never answered. Required to create the Nexi config: a new one without it is refused with 400. Absent keeps the stored value. An empty string or null is refused with 400.
|
|
37880
|
+
* @type {string}
|
|
37881
|
+
* @memberof UpsertProvidersDto
|
|
37882
|
+
*/
|
|
37883
|
+
'password'?: string;
|
|
37728
37884
|
}
|
|
37729
37885
|
/**
|
|
37730
37886
|
*
|
|
@@ -37869,6 +38025,37 @@ export interface UpsertVivaDtoConfig {
|
|
|
37869
38025
|
*/
|
|
37870
38026
|
'additionalAmount'?: number;
|
|
37871
38027
|
}
|
|
38028
|
+
/**
|
|
38029
|
+
*
|
|
38030
|
+
* @export
|
|
38031
|
+
* @interface UpsertWorldlineDto
|
|
38032
|
+
*/
|
|
38033
|
+
export interface UpsertWorldlineDto {
|
|
38034
|
+
/**
|
|
38035
|
+
* The name shown for the Worldline integration. Absent keeps the stored value.
|
|
38036
|
+
* @type {string}
|
|
38037
|
+
* @memberof UpsertWorldlineDto
|
|
38038
|
+
*/
|
|
38039
|
+
'name'?: string;
|
|
38040
|
+
/**
|
|
38041
|
+
* Whether the Worldline integration is active. Absent keeps the stored value; a new Worldline config is saved active.
|
|
38042
|
+
* @type {boolean}
|
|
38043
|
+
* @memberof UpsertWorldlineDto
|
|
38044
|
+
*/
|
|
38045
|
+
'isActive'?: boolean;
|
|
38046
|
+
/**
|
|
38047
|
+
* The Worldline secret key. Absent keeps the stored value. An empty string or null is refused with 400.
|
|
38048
|
+
* @type {string}
|
|
38049
|
+
* @memberof UpsertWorldlineDto
|
|
38050
|
+
*/
|
|
38051
|
+
'secretKey'?: string;
|
|
38052
|
+
/**
|
|
38053
|
+
* The Worldline public key. Absent keeps the stored value. An empty string or null is refused with 400.
|
|
38054
|
+
* @type {string}
|
|
38055
|
+
* @memberof UpsertWorldlineDto
|
|
38056
|
+
*/
|
|
38057
|
+
'publicKey'?: string;
|
|
38058
|
+
}
|
|
37872
38059
|
/**
|
|
37873
38060
|
*
|
|
37874
38061
|
* @export
|
|
@@ -41259,6 +41446,12 @@ export interface WorldlineConfigResponseDto {
|
|
|
41259
41446
|
* @memberof WorldlineConfigResponseDto
|
|
41260
41447
|
*/
|
|
41261
41448
|
'publicKey': string | null;
|
|
41449
|
+
/**
|
|
41450
|
+
* Whether a Worldline secret key is stored, so a screen can show it as set without its value. False when none or an empty one is stored.
|
|
41451
|
+
* @type {boolean}
|
|
41452
|
+
* @memberof WorldlineConfigResponseDto
|
|
41453
|
+
*/
|
|
41454
|
+
'hasSecretKey': boolean;
|
|
41262
41455
|
}
|
|
41263
41456
|
/**
|
|
41264
41457
|
*
|
|
@@ -44213,7 +44406,7 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
44213
44406
|
*/
|
|
44214
44407
|
configConfigureMunchiGiftCard: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44215
44408
|
/**
|
|
44216
|
-
* The selected provider and each provider\'s settings. A secret key
|
|
44409
|
+
* The selected provider and each provider\'s settings. A secret key, client secret or password is answered null: it never leaves the server. Nets and Worldline answer hasSecretKey, Nets hasClientSecret, and Nexi hasPassword, saying whether one is stored; Nexi\'s username is answered, as Nets\' clientId is. The route does not check the venue itself; the global access check reads it from the path (R30).
|
|
44217
44410
|
* @summary Read a channel\'s card payment providers
|
|
44218
44411
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44219
44412
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
@@ -44241,8 +44434,8 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
44241
44434
|
*/
|
|
44242
44435
|
configRemovePaymentOption: (businessId: number, id: string, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44243
44436
|
/**
|
|
44244
|
-
* Creates the channel\'s config first if it has none. Saves the access key (from the X-Epassi-Access-Key header, so the request body logger never records it) and the POS name Epassi issued, and turns Epassi payments on for the channel. On the channel\'s first save the server makes a 2048-bit RSA key pair and keeps the private key encrypted; later saves keep it. The answer carries the public key, which the venue sends Epassi, and never the access key or the private key. The apps are told to fetch the config again.
|
|
44245
|
-
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi
|
|
44437
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. Saves the access key (from the X-Epassi-Access-Key header, so the request body logger never records it) and the POS name Epassi issued, and turns Epassi payments on for the channel. On the channel\'s first save the server makes a 2048-bit RSA key pair and keeps the private key encrypted; later saves keep it. The answer carries the public key, which the venue sends Epassi, and never the access key or the private key. The apps are told to fetch the config again.
|
|
44438
|
+
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
|
|
44246
44439
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44247
44440
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44248
44441
|
* @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
|
|
@@ -44290,8 +44483,8 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
44290
44483
|
*/
|
|
44291
44484
|
configUpsertLoyalty: (businessId: number, upsertLoyaltyDto: UpsertLoyaltyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44292
44485
|
/**
|
|
44293
|
-
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
|
|
44294
|
-
* @summary Create or update a channel\'s Nets config
|
|
44486
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
|
|
44487
|
+
* @summary Create or update a channel\'s Nets config (Munchi admins only)
|
|
44295
44488
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44296
44489
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44297
44490
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
@@ -44299,6 +44492,16 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
44299
44492
|
* @throws {RequiredError}
|
|
44300
44493
|
*/
|
|
44301
44494
|
configUpsertNets: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44495
|
+
/**
|
|
44496
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves the Nexi POS API login (username and password, basic auth) without selecting Nexi on the channel, as the Worldline route does; POST …/providers selects it. A new Nexi config needs its username and password and is refused with 400 without them, before anything is saved, the channel\'s config included; otherwise the channel\'s config is created first if it has none. A new Nexi config is saved active unless isActive is sent; an update without isActive keeps the stored value. A field left out keeps the stored one; an empty or null username or password is refused with 400. The answer never carries the password: hasPassword says whether one is stored.
|
|
44497
|
+
* @summary Create or update a channel\'s Nexi config (Munchi admins only)
|
|
44498
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44499
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44500
|
+
* @param {UpsertNexiDto} upsertNexiDto
|
|
44501
|
+
* @param {*} [options] Override http request option.
|
|
44502
|
+
* @throws {RequiredError}
|
|
44503
|
+
*/
|
|
44504
|
+
configUpsertNexi: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertNexiDto: UpsertNexiDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44302
44505
|
/**
|
|
44303
44506
|
* Creates the channel\'s config first if it has none. Each option sent is created or updated by its method; the others are left as they are.
|
|
44304
44507
|
* @summary Create or update a channel\'s checkout payment options
|
|
@@ -44310,8 +44513,8 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
44310
44513
|
*/
|
|
44311
44514
|
configUpsertPaymentOptions: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44312
44515
|
/**
|
|
44313
|
-
* Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline,
|
|
44314
|
-
* @summary Set active provider and upsert its credentials
|
|
44516
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline and Nexi as Nets and Stripe, so an absent isActive saves them active here, unlike on their own routes), then selects it on the channel as the channel config route would, and answers the providers as read afterwards. The provider\'s settings and the selection are saved in one transaction: both or neither. A new Viva config without a rate is refused, as on the Viva route, when the venue has no licence or the license server cannot be read. A new Nexi config needs its username and password, the Nexi POS API login its payments start with, and is refused with 400 without them, before anything is saved; a stored one keeps them when they are left out; an empty or null one is refused with 400.
|
|
44517
|
+
* @summary Set active provider and upsert its credentials (Munchi admins only)
|
|
44315
44518
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44316
44519
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44317
44520
|
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
@@ -44320,8 +44523,8 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
44320
44523
|
*/
|
|
44321
44524
|
configUpsertProviders: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44322
44525
|
/**
|
|
44323
|
-
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
|
|
44324
|
-
* @summary Create or update a channel\'s Stripe config
|
|
44526
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
|
|
44527
|
+
* @summary Create or update a channel\'s Stripe config (Munchi admins only)
|
|
44325
44528
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44326
44529
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44327
44530
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
@@ -44330,8 +44533,8 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
44330
44533
|
*/
|
|
44331
44534
|
configUpsertStripe: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44332
44535
|
/**
|
|
44333
|
-
* Creates the channel\'s config first if it has none. A new Viva config needs a merchantId and takes the license server\'s ISV when no rate is sent, and is refused when the venue has no licence or the license server cannot be read; a changed rate or additionalAmount is saved on the license server first.
|
|
44334
|
-
* @summary Create or update a channel\'s Viva config
|
|
44536
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. A new Viva config needs a merchantId and takes the license server\'s ISV when no rate is sent, and is refused when the venue has no licence or the license server cannot be read; a changed rate or additionalAmount is saved on the license server first.
|
|
44537
|
+
* @summary Create or update a channel\'s Viva config (Munchi admins only)
|
|
44335
44538
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44336
44539
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44337
44540
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
@@ -44339,6 +44542,16 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
44339
44542
|
* @throws {RequiredError}
|
|
44340
44543
|
*/
|
|
44341
44544
|
configUpsertViva: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44545
|
+
/**
|
|
44546
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves Worldline\'s keys without selecting Worldline on the channel, as the Nets route does. Creates the channel\'s config first if it has none. A new Worldline config is saved active unless isActive is sent; an update without isActive keeps the stored value. A key left out keeps the stored one; an empty or null key is refused with 400. worldline-microservice keeps a terminal\'s credentials for up to its cache time, so a changed key reaches the terminal\'s next payment after that.
|
|
44547
|
+
* @summary Create or update a channel\'s Worldline config (Munchi admins only)
|
|
44548
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44549
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44550
|
+
* @param {UpsertWorldlineDto} upsertWorldlineDto
|
|
44551
|
+
* @param {*} [options] Override http request option.
|
|
44552
|
+
* @throws {RequiredError}
|
|
44553
|
+
*/
|
|
44554
|
+
configUpsertWorldline: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertWorldlineDto: UpsertWorldlineDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44342
44555
|
};
|
|
44343
44556
|
/**
|
|
44344
44557
|
* ConfigManagementApi - functional programming interface
|
|
@@ -44356,7 +44569,7 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
44356
44569
|
*/
|
|
44357
44570
|
configConfigureMunchiGiftCard(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>>;
|
|
44358
44571
|
/**
|
|
44359
|
-
* The selected provider and each provider\'s settings. A secret key
|
|
44572
|
+
* The selected provider and each provider\'s settings. A secret key, client secret or password is answered null: it never leaves the server. Nets and Worldline answer hasSecretKey, Nets hasClientSecret, and Nexi hasPassword, saying whether one is stored; Nexi\'s username is answered, as Nets\' clientId is. The route does not check the venue itself; the global access check reads it from the path (R30).
|
|
44360
44573
|
* @summary Read a channel\'s card payment providers
|
|
44361
44574
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44362
44575
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
@@ -44384,8 +44597,8 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
44384
44597
|
*/
|
|
44385
44598
|
configRemovePaymentOption(businessId: number, id: string, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>>;
|
|
44386
44599
|
/**
|
|
44387
|
-
* Creates the channel\'s config first if it has none. Saves the access key (from the X-Epassi-Access-Key header, so the request body logger never records it) and the POS name Epassi issued, and turns Epassi payments on for the channel. On the channel\'s first save the server makes a 2048-bit RSA key pair and keeps the private key encrypted; later saves keep it. The answer carries the public key, which the venue sends Epassi, and never the access key or the private key. The apps are told to fetch the config again.
|
|
44388
|
-
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi
|
|
44600
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. Saves the access key (from the X-Epassi-Access-Key header, so the request body logger never records it) and the POS name Epassi issued, and turns Epassi payments on for the channel. On the channel\'s first save the server makes a 2048-bit RSA key pair and keeps the private key encrypted; later saves keep it. The answer carries the public key, which the venue sends Epassi, and never the access key or the private key. The apps are told to fetch the config again.
|
|
44601
|
+
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
|
|
44389
44602
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44390
44603
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44391
44604
|
* @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
|
|
@@ -44433,8 +44646,8 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
44433
44646
|
*/
|
|
44434
44647
|
configUpsertLoyalty(businessId: number, upsertLoyaltyDto: UpsertLoyaltyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>>;
|
|
44435
44648
|
/**
|
|
44436
|
-
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
|
|
44437
|
-
* @summary Create or update a channel\'s Nets config
|
|
44649
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
|
|
44650
|
+
* @summary Create or update a channel\'s Nets config (Munchi admins only)
|
|
44438
44651
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44439
44652
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44440
44653
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
@@ -44442,6 +44655,16 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
44442
44655
|
* @throws {RequiredError}
|
|
44443
44656
|
*/
|
|
44444
44657
|
configUpsertNets(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>>;
|
|
44658
|
+
/**
|
|
44659
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves the Nexi POS API login (username and password, basic auth) without selecting Nexi on the channel, as the Worldline route does; POST …/providers selects it. A new Nexi config needs its username and password and is refused with 400 without them, before anything is saved, the channel\'s config included; otherwise the channel\'s config is created first if it has none. A new Nexi config is saved active unless isActive is sent; an update without isActive keeps the stored value. A field left out keeps the stored one; an empty or null username or password is refused with 400. The answer never carries the password: hasPassword says whether one is stored.
|
|
44660
|
+
* @summary Create or update a channel\'s Nexi config (Munchi admins only)
|
|
44661
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44662
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44663
|
+
* @param {UpsertNexiDto} upsertNexiDto
|
|
44664
|
+
* @param {*} [options] Override http request option.
|
|
44665
|
+
* @throws {RequiredError}
|
|
44666
|
+
*/
|
|
44667
|
+
configUpsertNexi(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertNexiDto: UpsertNexiDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>>;
|
|
44445
44668
|
/**
|
|
44446
44669
|
* Creates the channel\'s config first if it has none. Each option sent is created or updated by its method; the others are left as they are.
|
|
44447
44670
|
* @summary Create or update a channel\'s checkout payment options
|
|
@@ -44453,8 +44676,8 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
44453
44676
|
*/
|
|
44454
44677
|
configUpsertPaymentOptions(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>>;
|
|
44455
44678
|
/**
|
|
44456
|
-
* Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline,
|
|
44457
|
-
* @summary Set active provider and upsert its credentials
|
|
44679
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline and Nexi as Nets and Stripe, so an absent isActive saves them active here, unlike on their own routes), then selects it on the channel as the channel config route would, and answers the providers as read afterwards. The provider\'s settings and the selection are saved in one transaction: both or neither. A new Viva config without a rate is refused, as on the Viva route, when the venue has no licence or the license server cannot be read. A new Nexi config needs its username and password, the Nexi POS API login its payments start with, and is refused with 400 without them, before anything is saved; a stored one keeps them when they are left out; an empty or null one is refused with 400.
|
|
44680
|
+
* @summary Set active provider and upsert its credentials (Munchi admins only)
|
|
44458
44681
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44459
44682
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44460
44683
|
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
@@ -44463,8 +44686,8 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
44463
44686
|
*/
|
|
44464
44687
|
configUpsertProviders(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvidersConfigResponseDto>>;
|
|
44465
44688
|
/**
|
|
44466
|
-
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
|
|
44467
|
-
* @summary Create or update a channel\'s Stripe config
|
|
44689
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
|
|
44690
|
+
* @summary Create or update a channel\'s Stripe config (Munchi admins only)
|
|
44468
44691
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44469
44692
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44470
44693
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
@@ -44473,8 +44696,8 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
44473
44696
|
*/
|
|
44474
44697
|
configUpsertStripe(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>>;
|
|
44475
44698
|
/**
|
|
44476
|
-
* Creates the channel\'s config first if it has none. A new Viva config needs a merchantId and takes the license server\'s ISV when no rate is sent, and is refused when the venue has no licence or the license server cannot be read; a changed rate or additionalAmount is saved on the license server first.
|
|
44477
|
-
* @summary Create or update a channel\'s Viva config
|
|
44699
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. A new Viva config needs a merchantId and takes the license server\'s ISV when no rate is sent, and is refused when the venue has no licence or the license server cannot be read; a changed rate or additionalAmount is saved on the license server first.
|
|
44700
|
+
* @summary Create or update a channel\'s Viva config (Munchi admins only)
|
|
44478
44701
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44479
44702
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44480
44703
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
@@ -44482,6 +44705,16 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
44482
44705
|
* @throws {RequiredError}
|
|
44483
44706
|
*/
|
|
44484
44707
|
configUpsertViva(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>>;
|
|
44708
|
+
/**
|
|
44709
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves Worldline\'s keys without selecting Worldline on the channel, as the Nets route does. Creates the channel\'s config first if it has none. A new Worldline config is saved active unless isActive is sent; an update without isActive keeps the stored value. A key left out keeps the stored one; an empty or null key is refused with 400. worldline-microservice keeps a terminal\'s credentials for up to its cache time, so a changed key reaches the terminal\'s next payment after that.
|
|
44710
|
+
* @summary Create or update a channel\'s Worldline config (Munchi admins only)
|
|
44711
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44712
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44713
|
+
* @param {UpsertWorldlineDto} upsertWorldlineDto
|
|
44714
|
+
* @param {*} [options] Override http request option.
|
|
44715
|
+
* @throws {RequiredError}
|
|
44716
|
+
*/
|
|
44717
|
+
configUpsertWorldline(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertWorldlineDto: UpsertWorldlineDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>>;
|
|
44485
44718
|
};
|
|
44486
44719
|
/**
|
|
44487
44720
|
* ConfigManagementApi - factory interface
|
|
@@ -44499,7 +44732,7 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
44499
44732
|
*/
|
|
44500
44733
|
configConfigureMunchiGiftCard(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
44501
44734
|
/**
|
|
44502
|
-
* The selected provider and each provider\'s settings. A secret key
|
|
44735
|
+
* The selected provider and each provider\'s settings. A secret key, client secret or password is answered null: it never leaves the server. Nets and Worldline answer hasSecretKey, Nets hasClientSecret, and Nexi hasPassword, saying whether one is stored; Nexi\'s username is answered, as Nets\' clientId is. The route does not check the venue itself; the global access check reads it from the path (R30).
|
|
44503
44736
|
* @summary Read a channel\'s card payment providers
|
|
44504
44737
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44505
44738
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
@@ -44527,8 +44760,8 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
44527
44760
|
*/
|
|
44528
44761
|
configRemovePaymentOption(businessId: number, id: string, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
44529
44762
|
/**
|
|
44530
|
-
* Creates the channel\'s config first if it has none. Saves the access key (from the X-Epassi-Access-Key header, so the request body logger never records it) and the POS name Epassi issued, and turns Epassi payments on for the channel. On the channel\'s first save the server makes a 2048-bit RSA key pair and keeps the private key encrypted; later saves keep it. The answer carries the public key, which the venue sends Epassi, and never the access key or the private key. The apps are told to fetch the config again.
|
|
44531
|
-
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi
|
|
44763
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. Saves the access key (from the X-Epassi-Access-Key header, so the request body logger never records it) and the POS name Epassi issued, and turns Epassi payments on for the channel. On the channel\'s first save the server makes a 2048-bit RSA key pair and keeps the private key encrypted; later saves keep it. The answer carries the public key, which the venue sends Epassi, and never the access key or the private key. The apps are told to fetch the config again.
|
|
44764
|
+
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
|
|
44532
44765
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44533
44766
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44534
44767
|
* @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
|
|
@@ -44576,8 +44809,8 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
44576
44809
|
*/
|
|
44577
44810
|
configUpsertLoyalty(businessId: number, upsertLoyaltyDto: UpsertLoyaltyDto, options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
44578
44811
|
/**
|
|
44579
|
-
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
|
|
44580
|
-
* @summary Create or update a channel\'s Nets config
|
|
44812
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
|
|
44813
|
+
* @summary Create or update a channel\'s Nets config (Munchi admins only)
|
|
44581
44814
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44582
44815
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44583
44816
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
@@ -44585,6 +44818,16 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
44585
44818
|
* @throws {RequiredError}
|
|
44586
44819
|
*/
|
|
44587
44820
|
configUpsertNets(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertNetsDto: UpsertNetsDto, options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
44821
|
+
/**
|
|
44822
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves the Nexi POS API login (username and password, basic auth) without selecting Nexi on the channel, as the Worldline route does; POST …/providers selects it. A new Nexi config needs its username and password and is refused with 400 without them, before anything is saved, the channel\'s config included; otherwise the channel\'s config is created first if it has none. A new Nexi config is saved active unless isActive is sent; an update without isActive keeps the stored value. A field left out keeps the stored one; an empty or null username or password is refused with 400. The answer never carries the password: hasPassword says whether one is stored.
|
|
44823
|
+
* @summary Create or update a channel\'s Nexi config (Munchi admins only)
|
|
44824
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44825
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44826
|
+
* @param {UpsertNexiDto} upsertNexiDto
|
|
44827
|
+
* @param {*} [options] Override http request option.
|
|
44828
|
+
* @throws {RequiredError}
|
|
44829
|
+
*/
|
|
44830
|
+
configUpsertNexi(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertNexiDto: UpsertNexiDto, options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
44588
44831
|
/**
|
|
44589
44832
|
* Creates the channel\'s config first if it has none. Each option sent is created or updated by its method; the others are left as they are.
|
|
44590
44833
|
* @summary Create or update a channel\'s checkout payment options
|
|
@@ -44596,8 +44839,8 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
44596
44839
|
*/
|
|
44597
44840
|
configUpsertPaymentOptions(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
44598
44841
|
/**
|
|
44599
|
-
* Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline,
|
|
44600
|
-
* @summary Set active provider and upsert its credentials
|
|
44842
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline and Nexi as Nets and Stripe, so an absent isActive saves them active here, unlike on their own routes), then selects it on the channel as the channel config route would, and answers the providers as read afterwards. The provider\'s settings and the selection are saved in one transaction: both or neither. A new Viva config without a rate is refused, as on the Viva route, when the venue has no licence or the license server cannot be read. A new Nexi config needs its username and password, the Nexi POS API login its payments start with, and is refused with 400 without them, before anything is saved; a stored one keeps them when they are left out; an empty or null one is refused with 400.
|
|
44843
|
+
* @summary Set active provider and upsert its credentials (Munchi admins only)
|
|
44601
44844
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44602
44845
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44603
44846
|
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
@@ -44606,8 +44849,8 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
44606
44849
|
*/
|
|
44607
44850
|
configUpsertProviders(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertProvidersDto: UpsertProvidersDto, options?: any): AxiosPromise<ProvidersConfigResponseDto>;
|
|
44608
44851
|
/**
|
|
44609
|
-
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
|
|
44610
|
-
* @summary Create or update a channel\'s Stripe config
|
|
44852
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
|
|
44853
|
+
* @summary Create or update a channel\'s Stripe config (Munchi admins only)
|
|
44611
44854
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44612
44855
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44613
44856
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
@@ -44616,8 +44859,8 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
44616
44859
|
*/
|
|
44617
44860
|
configUpsertStripe(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertStripeDto: UpsertStripeDto, options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
44618
44861
|
/**
|
|
44619
|
-
* Creates the channel\'s config first if it has none. A new Viva config needs a merchantId and takes the license server\'s ISV when no rate is sent, and is refused when the venue has no licence or the license server cannot be read; a changed rate or additionalAmount is saved on the license server first.
|
|
44620
|
-
* @summary Create or update a channel\'s Viva config
|
|
44862
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. A new Viva config needs a merchantId and takes the license server\'s ISV when no rate is sent, and is refused when the venue has no licence or the license server cannot be read; a changed rate or additionalAmount is saved on the license server first.
|
|
44863
|
+
* @summary Create or update a channel\'s Viva config (Munchi admins only)
|
|
44621
44864
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44622
44865
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44623
44866
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
@@ -44625,6 +44868,16 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
44625
44868
|
* @throws {RequiredError}
|
|
44626
44869
|
*/
|
|
44627
44870
|
configUpsertViva(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertVivaDto: UpsertVivaDto, options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
44871
|
+
/**
|
|
44872
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves Worldline\'s keys without selecting Worldline on the channel, as the Nets route does. Creates the channel\'s config first if it has none. A new Worldline config is saved active unless isActive is sent; an update without isActive keeps the stored value. A key left out keeps the stored one; an empty or null key is refused with 400. worldline-microservice keeps a terminal\'s credentials for up to its cache time, so a changed key reaches the terminal\'s next payment after that.
|
|
44873
|
+
* @summary Create or update a channel\'s Worldline config (Munchi admins only)
|
|
44874
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44875
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44876
|
+
* @param {UpsertWorldlineDto} upsertWorldlineDto
|
|
44877
|
+
* @param {*} [options] Override http request option.
|
|
44878
|
+
* @throws {RequiredError}
|
|
44879
|
+
*/
|
|
44880
|
+
configUpsertWorldline(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertWorldlineDto: UpsertWorldlineDto, options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
44628
44881
|
};
|
|
44629
44882
|
/**
|
|
44630
44883
|
* ConfigManagementApi - interface
|
|
@@ -44644,7 +44897,7 @@ export interface ConfigManagementApiInterface {
|
|
|
44644
44897
|
*/
|
|
44645
44898
|
configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
44646
44899
|
/**
|
|
44647
|
-
* The selected provider and each provider\'s settings. A secret key
|
|
44900
|
+
* The selected provider and each provider\'s settings. A secret key, client secret or password is answered null: it never leaves the server. Nets and Worldline answer hasSecretKey, Nets hasClientSecret, and Nexi hasPassword, saying whether one is stored; Nexi\'s username is answered, as Nets\' clientId is. The route does not check the venue itself; the global access check reads it from the path (R30).
|
|
44648
44901
|
* @summary Read a channel\'s card payment providers
|
|
44649
44902
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44650
44903
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
@@ -44675,8 +44928,8 @@ export interface ConfigManagementApiInterface {
|
|
|
44675
44928
|
*/
|
|
44676
44929
|
configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
44677
44930
|
/**
|
|
44678
|
-
* Creates the channel\'s config first if it has none. Saves the access key (from the X-Epassi-Access-Key header, so the request body logger never records it) and the POS name Epassi issued, and turns Epassi payments on for the channel. On the channel\'s first save the server makes a 2048-bit RSA key pair and keeps the private key encrypted; later saves keep it. The answer carries the public key, which the venue sends Epassi, and never the access key or the private key. The apps are told to fetch the config again.
|
|
44679
|
-
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi
|
|
44931
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. Saves the access key (from the X-Epassi-Access-Key header, so the request body logger never records it) and the POS name Epassi issued, and turns Epassi payments on for the channel. On the channel\'s first save the server makes a 2048-bit RSA key pair and keeps the private key encrypted; later saves keep it. The answer carries the public key, which the venue sends Epassi, and never the access key or the private key. The apps are told to fetch the config again.
|
|
44932
|
+
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
|
|
44680
44933
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44681
44934
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44682
44935
|
* @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
|
|
@@ -44729,8 +44982,8 @@ export interface ConfigManagementApiInterface {
|
|
|
44729
44982
|
*/
|
|
44730
44983
|
configUpsertLoyalty(businessId: number, upsertLoyaltyDto: UpsertLoyaltyDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
44731
44984
|
/**
|
|
44732
|
-
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
|
|
44733
|
-
* @summary Create or update a channel\'s Nets config
|
|
44985
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
|
|
44986
|
+
* @summary Create or update a channel\'s Nets config (Munchi admins only)
|
|
44734
44987
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44735
44988
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44736
44989
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
@@ -44739,6 +44992,17 @@ export interface ConfigManagementApiInterface {
|
|
|
44739
44992
|
* @memberof ConfigManagementApiInterface
|
|
44740
44993
|
*/
|
|
44741
44994
|
configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
44995
|
+
/**
|
|
44996
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves the Nexi POS API login (username and password, basic auth) without selecting Nexi on the channel, as the Worldline route does; POST …/providers selects it. A new Nexi config needs its username and password and is refused with 400 without them, before anything is saved, the channel\'s config included; otherwise the channel\'s config is created first if it has none. A new Nexi config is saved active unless isActive is sent; an update without isActive keeps the stored value. A field left out keeps the stored one; an empty or null username or password is refused with 400. The answer never carries the password: hasPassword says whether one is stored.
|
|
44997
|
+
* @summary Create or update a channel\'s Nexi config (Munchi admins only)
|
|
44998
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44999
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
45000
|
+
* @param {UpsertNexiDto} upsertNexiDto
|
|
45001
|
+
* @param {*} [options] Override http request option.
|
|
45002
|
+
* @throws {RequiredError}
|
|
45003
|
+
* @memberof ConfigManagementApiInterface
|
|
45004
|
+
*/
|
|
45005
|
+
configUpsertNexi(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNexiDto: UpsertNexiDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
44742
45006
|
/**
|
|
44743
45007
|
* Creates the channel\'s config first if it has none. Each option sent is created or updated by its method; the others are left as they are.
|
|
44744
45008
|
* @summary Create or update a channel\'s checkout payment options
|
|
@@ -44751,8 +45015,8 @@ export interface ConfigManagementApiInterface {
|
|
|
44751
45015
|
*/
|
|
44752
45016
|
configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
44753
45017
|
/**
|
|
44754
|
-
* Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline,
|
|
44755
|
-
* @summary Set active provider and upsert its credentials
|
|
45018
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline and Nexi as Nets and Stripe, so an absent isActive saves them active here, unlike on their own routes), then selects it on the channel as the channel config route would, and answers the providers as read afterwards. The provider\'s settings and the selection are saved in one transaction: both or neither. A new Viva config without a rate is refused, as on the Viva route, when the venue has no licence or the license server cannot be read. A new Nexi config needs its username and password, the Nexi POS API login its payments start with, and is refused with 400 without them, before anything is saved; a stored one keeps them when they are left out; an empty or null one is refused with 400.
|
|
45019
|
+
* @summary Set active provider and upsert its credentials (Munchi admins only)
|
|
44756
45020
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44757
45021
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44758
45022
|
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
@@ -44762,8 +45026,8 @@ export interface ConfigManagementApiInterface {
|
|
|
44762
45026
|
*/
|
|
44763
45027
|
configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig): AxiosPromise<ProvidersConfigResponseDto>;
|
|
44764
45028
|
/**
|
|
44765
|
-
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
|
|
44766
|
-
* @summary Create or update a channel\'s Stripe config
|
|
45029
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
|
|
45030
|
+
* @summary Create or update a channel\'s Stripe config (Munchi admins only)
|
|
44767
45031
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44768
45032
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44769
45033
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
@@ -44773,8 +45037,8 @@ export interface ConfigManagementApiInterface {
|
|
|
44773
45037
|
*/
|
|
44774
45038
|
configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
44775
45039
|
/**
|
|
44776
|
-
* Creates the channel\'s config first if it has none. A new Viva config needs a merchantId and takes the license server\'s ISV when no rate is sent, and is refused when the venue has no licence or the license server cannot be read; a changed rate or additionalAmount is saved on the license server first.
|
|
44777
|
-
* @summary Create or update a channel\'s Viva config
|
|
45040
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. A new Viva config needs a merchantId and takes the license server\'s ISV when no rate is sent, and is refused when the venue has no licence or the license server cannot be read; a changed rate or additionalAmount is saved on the license server first.
|
|
45041
|
+
* @summary Create or update a channel\'s Viva config (Munchi admins only)
|
|
44778
45042
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44779
45043
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44780
45044
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
@@ -44783,6 +45047,17 @@ export interface ConfigManagementApiInterface {
|
|
|
44783
45047
|
* @memberof ConfigManagementApiInterface
|
|
44784
45048
|
*/
|
|
44785
45049
|
configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
45050
|
+
/**
|
|
45051
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves Worldline\'s keys without selecting Worldline on the channel, as the Nets route does. Creates the channel\'s config first if it has none. A new Worldline config is saved active unless isActive is sent; an update without isActive keeps the stored value. A key left out keeps the stored one; an empty or null key is refused with 400. worldline-microservice keeps a terminal\'s credentials for up to its cache time, so a changed key reaches the terminal\'s next payment after that.
|
|
45052
|
+
* @summary Create or update a channel\'s Worldline config (Munchi admins only)
|
|
45053
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
45054
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
45055
|
+
* @param {UpsertWorldlineDto} upsertWorldlineDto
|
|
45056
|
+
* @param {*} [options] Override http request option.
|
|
45057
|
+
* @throws {RequiredError}
|
|
45058
|
+
* @memberof ConfigManagementApiInterface
|
|
45059
|
+
*/
|
|
45060
|
+
configUpsertWorldline(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertWorldlineDto: UpsertWorldlineDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
44786
45061
|
}
|
|
44787
45062
|
/**
|
|
44788
45063
|
* ConfigManagementApi - object-oriented interface
|
|
@@ -44803,7 +45078,7 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
44803
45078
|
*/
|
|
44804
45079
|
configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigManagementResponseDto, any, {}>>;
|
|
44805
45080
|
/**
|
|
44806
|
-
* The selected provider and each provider\'s settings. A secret key
|
|
45081
|
+
* The selected provider and each provider\'s settings. A secret key, client secret or password is answered null: it never leaves the server. Nets and Worldline answer hasSecretKey, Nets hasClientSecret, and Nexi hasPassword, saying whether one is stored; Nexi\'s username is answered, as Nets\' clientId is. The route does not check the venue itself; the global access check reads it from the path (R30).
|
|
44807
45082
|
* @summary Read a channel\'s card payment providers
|
|
44808
45083
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44809
45084
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
@@ -44834,8 +45109,8 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
44834
45109
|
*/
|
|
44835
45110
|
configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigManagementResponseDto, any, {}>>;
|
|
44836
45111
|
/**
|
|
44837
|
-
* Creates the channel\'s config first if it has none. Saves the access key (from the X-Epassi-Access-Key header, so the request body logger never records it) and the POS name Epassi issued, and turns Epassi payments on for the channel. On the channel\'s first save the server makes a 2048-bit RSA key pair and keeps the private key encrypted; later saves keep it. The answer carries the public key, which the venue sends Epassi, and never the access key or the private key. The apps are told to fetch the config again.
|
|
44838
|
-
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi
|
|
45112
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. Saves the access key (from the X-Epassi-Access-Key header, so the request body logger never records it) and the POS name Epassi issued, and turns Epassi payments on for the channel. On the channel\'s first save the server makes a 2048-bit RSA key pair and keeps the private key encrypted; later saves keep it. The answer carries the public key, which the venue sends Epassi, and never the access key or the private key. The apps are told to fetch the config again.
|
|
45113
|
+
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
|
|
44839
45114
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44840
45115
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44841
45116
|
* @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
|
|
@@ -44888,8 +45163,8 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
44888
45163
|
*/
|
|
44889
45164
|
configUpsertLoyalty(businessId: number, upsertLoyaltyDto: UpsertLoyaltyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigManagementResponseDto, any, {}>>;
|
|
44890
45165
|
/**
|
|
44891
|
-
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
|
|
44892
|
-
* @summary Create or update a channel\'s Nets config
|
|
45166
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
|
|
45167
|
+
* @summary Create or update a channel\'s Nets config (Munchi admins only)
|
|
44893
45168
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44894
45169
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44895
45170
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
@@ -44898,6 +45173,17 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
44898
45173
|
* @memberof ConfigManagementApi
|
|
44899
45174
|
*/
|
|
44900
45175
|
configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigManagementResponseDto, any, {}>>;
|
|
45176
|
+
/**
|
|
45177
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves the Nexi POS API login (username and password, basic auth) without selecting Nexi on the channel, as the Worldline route does; POST …/providers selects it. A new Nexi config needs its username and password and is refused with 400 without them, before anything is saved, the channel\'s config included; otherwise the channel\'s config is created first if it has none. A new Nexi config is saved active unless isActive is sent; an update without isActive keeps the stored value. A field left out keeps the stored one; an empty or null username or password is refused with 400. The answer never carries the password: hasPassword says whether one is stored.
|
|
45178
|
+
* @summary Create or update a channel\'s Nexi config (Munchi admins only)
|
|
45179
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
45180
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
45181
|
+
* @param {UpsertNexiDto} upsertNexiDto
|
|
45182
|
+
* @param {*} [options] Override http request option.
|
|
45183
|
+
* @throws {RequiredError}
|
|
45184
|
+
* @memberof ConfigManagementApi
|
|
45185
|
+
*/
|
|
45186
|
+
configUpsertNexi(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNexiDto: UpsertNexiDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigManagementResponseDto, any, {}>>;
|
|
44901
45187
|
/**
|
|
44902
45188
|
* Creates the channel\'s config first if it has none. Each option sent is created or updated by its method; the others are left as they are.
|
|
44903
45189
|
* @summary Create or update a channel\'s checkout payment options
|
|
@@ -44910,8 +45196,8 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
44910
45196
|
*/
|
|
44911
45197
|
configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigManagementResponseDto, any, {}>>;
|
|
44912
45198
|
/**
|
|
44913
|
-
* Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline,
|
|
44914
|
-
* @summary Set active provider and upsert its credentials
|
|
45199
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline and Nexi as Nets and Stripe, so an absent isActive saves them active here, unlike on their own routes), then selects it on the channel as the channel config route would, and answers the providers as read afterwards. The provider\'s settings and the selection are saved in one transaction: both or neither. A new Viva config without a rate is refused, as on the Viva route, when the venue has no licence or the license server cannot be read. A new Nexi config needs its username and password, the Nexi POS API login its payments start with, and is refused with 400 without them, before anything is saved; a stored one keeps them when they are left out; an empty or null one is refused with 400.
|
|
45200
|
+
* @summary Set active provider and upsert its credentials (Munchi admins only)
|
|
44915
45201
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44916
45202
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44917
45203
|
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
@@ -44921,8 +45207,8 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
44921
45207
|
*/
|
|
44922
45208
|
configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProvidersConfigResponseDto, any, {}>>;
|
|
44923
45209
|
/**
|
|
44924
|
-
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
|
|
44925
|
-
* @summary Create or update a channel\'s Stripe config
|
|
45210
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
|
|
45211
|
+
* @summary Create or update a channel\'s Stripe config (Munchi admins only)
|
|
44926
45212
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44927
45213
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44928
45214
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
@@ -44932,8 +45218,8 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
44932
45218
|
*/
|
|
44933
45219
|
configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigManagementResponseDto, any, {}>>;
|
|
44934
45220
|
/**
|
|
44935
|
-
* Creates the channel\'s config first if it has none. A new Viva config needs a merchantId and takes the license server\'s ISV when no rate is sent, and is refused when the venue has no licence or the license server cannot be read; a changed rate or additionalAmount is saved on the license server first.
|
|
44936
|
-
* @summary Create or update a channel\'s Viva config
|
|
45221
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Creates the channel\'s config first if it has none. A new Viva config needs a merchantId and takes the license server\'s ISV when no rate is sent, and is refused when the venue has no licence or the license server cannot be read; a changed rate or additionalAmount is saved on the license server first.
|
|
45222
|
+
* @summary Create or update a channel\'s Viva config (Munchi admins only)
|
|
44937
45223
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44938
45224
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44939
45225
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
@@ -44942,6 +45228,17 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
44942
45228
|
* @memberof ConfigManagementApi
|
|
44943
45229
|
*/
|
|
44944
45230
|
configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigManagementResponseDto, any, {}>>;
|
|
45231
|
+
/**
|
|
45232
|
+
* Only a Munchi admin\'s ticket or Munchi\'s own key may (D163); a venue\'s own login is refused before anything is read or saved. Saves Worldline\'s keys without selecting Worldline on the channel, as the Nets route does. Creates the channel\'s config first if it has none. A new Worldline config is saved active unless isActive is sent; an update without isActive keeps the stored value. A key left out keeps the stored one; an empty or null key is refused with 400. worldline-microservice keeps a terminal\'s credentials for up to its cache time, so a changed key reaches the terminal\'s next payment after that.
|
|
45233
|
+
* @summary Create or update a channel\'s Worldline config (Munchi admins only)
|
|
45234
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
45235
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
45236
|
+
* @param {UpsertWorldlineDto} upsertWorldlineDto
|
|
45237
|
+
* @param {*} [options] Override http request option.
|
|
45238
|
+
* @throws {RequiredError}
|
|
45239
|
+
* @memberof ConfigManagementApi
|
|
45240
|
+
*/
|
|
45241
|
+
configUpsertWorldline(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertWorldlineDto: UpsertWorldlineDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigManagementResponseDto, any, {}>>;
|
|
44945
45242
|
}
|
|
44946
45243
|
/**
|
|
44947
45244
|
* CouponsApi - axios parameter creator
|
|
@@ -60324,7 +60621,7 @@ export declare const TerminalApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
60324
60621
|
*/
|
|
60325
60622
|
disconnectTerminal: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
60326
60623
|
/**
|
|
60327
|
-
* The POS\'s terminal settings find the venue\'s terminals of one provider, with its ticket and its channel in x-app-x. The device names itself in X-Munchi-Hardware-Id; with X-Munchi-Business-Id (a whole number) the station is looked up in that venue, without it the newest station with this hardware id is used. The station is kept 30 minutes and forgotten when it is synced or deactivated. The provider\'s settings are those of the venue and channel the request names (businessId in the body, x-app-x). Viva is searched with the settings\' merchant and source code, and so are stripe and epassi, as before; Nets is signed in to with the settings\' client and lists its terminals. Every terminal found is stored for the venue as a viva or nets terminal, in one transaction, except Viva terminals another venue\'s station holds. Worldline
|
|
60624
|
+
* The POS\'s terminal settings find the venue\'s terminals of one provider, with its ticket and its channel in x-app-x. The device names itself in X-Munchi-Hardware-Id; with X-Munchi-Business-Id (a whole number) the station is looked up in that venue, without it the newest station with this hardware id is used. The station is kept 30 minutes and forgotten when it is synced or deactivated. The provider\'s settings are those of the venue and channel the request names (businessId in the body, x-app-x). Viva is searched with the settings\' merchant and source code, and so are stripe and epassi, as before; Nets is signed in to with the settings\' client and lists its terminals. Every terminal found is stored for the venue as a viva or nets terminal, in one transaction, except Viva terminals another venue\'s station holds. Worldline and Nexi ask no provider: their stored terminals are read. The answer holds the terminals that are free or connected to the calling till.
|
|
60328
60625
|
* @summary Discover available payment terminals
|
|
60329
60626
|
* @param {DiscoverTerminalDto} discoverTerminalDto The venue and the provider whose terminals to find
|
|
60330
60627
|
* @param {*} [options] Override http request option.
|
|
@@ -60353,7 +60650,7 @@ export declare const TerminalApiFp: (configuration?: Configuration) => {
|
|
|
60353
60650
|
*/
|
|
60354
60651
|
disconnectTerminal(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkedStationDto>>;
|
|
60355
60652
|
/**
|
|
60356
|
-
* The POS\'s terminal settings find the venue\'s terminals of one provider, with its ticket and its channel in x-app-x. The device names itself in X-Munchi-Hardware-Id; with X-Munchi-Business-Id (a whole number) the station is looked up in that venue, without it the newest station with this hardware id is used. The station is kept 30 minutes and forgotten when it is synced or deactivated. The provider\'s settings are those of the venue and channel the request names (businessId in the body, x-app-x). Viva is searched with the settings\' merchant and source code, and so are stripe and epassi, as before; Nets is signed in to with the settings\' client and lists its terminals. Every terminal found is stored for the venue as a viva or nets terminal, in one transaction, except Viva terminals another venue\'s station holds. Worldline
|
|
60653
|
+
* The POS\'s terminal settings find the venue\'s terminals of one provider, with its ticket and its channel in x-app-x. The device names itself in X-Munchi-Hardware-Id; with X-Munchi-Business-Id (a whole number) the station is looked up in that venue, without it the newest station with this hardware id is used. The station is kept 30 minutes and forgotten when it is synced or deactivated. The provider\'s settings are those of the venue and channel the request names (businessId in the body, x-app-x). Viva is searched with the settings\' merchant and source code, and so are stripe and epassi, as before; Nets is signed in to with the settings\' client and lists its terminals. Every terminal found is stored for the venue as a viva or nets terminal, in one transaction, except Viva terminals another venue\'s station holds. Worldline and Nexi ask no provider: their stored terminals are read. The answer holds the terminals that are free or connected to the calling till.
|
|
60357
60654
|
* @summary Discover available payment terminals
|
|
60358
60655
|
* @param {DiscoverTerminalDto} discoverTerminalDto The venue and the provider whose terminals to find
|
|
60359
60656
|
* @param {*} [options] Override http request option.
|
|
@@ -60382,7 +60679,7 @@ export declare const TerminalApiFactory: (configuration?: Configuration, basePat
|
|
|
60382
60679
|
*/
|
|
60383
60680
|
disconnectTerminal(options?: any): AxiosPromise<LinkedStationDto>;
|
|
60384
60681
|
/**
|
|
60385
|
-
* The POS\'s terminal settings find the venue\'s terminals of one provider, with its ticket and its channel in x-app-x. The device names itself in X-Munchi-Hardware-Id; with X-Munchi-Business-Id (a whole number) the station is looked up in that venue, without it the newest station with this hardware id is used. The station is kept 30 minutes and forgotten when it is synced or deactivated. The provider\'s settings are those of the venue and channel the request names (businessId in the body, x-app-x). Viva is searched with the settings\' merchant and source code, and so are stripe and epassi, as before; Nets is signed in to with the settings\' client and lists its terminals. Every terminal found is stored for the venue as a viva or nets terminal, in one transaction, except Viva terminals another venue\'s station holds. Worldline
|
|
60682
|
+
* The POS\'s terminal settings find the venue\'s terminals of one provider, with its ticket and its channel in x-app-x. The device names itself in X-Munchi-Hardware-Id; with X-Munchi-Business-Id (a whole number) the station is looked up in that venue, without it the newest station with this hardware id is used. The station is kept 30 minutes and forgotten when it is synced or deactivated. The provider\'s settings are those of the venue and channel the request names (businessId in the body, x-app-x). Viva is searched with the settings\' merchant and source code, and so are stripe and epassi, as before; Nets is signed in to with the settings\' client and lists its terminals. Every terminal found is stored for the venue as a viva or nets terminal, in one transaction, except Viva terminals another venue\'s station holds. Worldline and Nexi ask no provider: their stored terminals are read. The answer holds the terminals that are free or connected to the calling till.
|
|
60386
60683
|
* @summary Discover available payment terminals
|
|
60387
60684
|
* @param {DiscoverTerminalDto} discoverTerminalDto The venue and the provider whose terminals to find
|
|
60388
60685
|
* @param {*} [options] Override http request option.
|
|
@@ -60414,7 +60711,7 @@ export interface TerminalApiInterface {
|
|
|
60414
60711
|
*/
|
|
60415
60712
|
disconnectTerminal(options?: AxiosRequestConfig): AxiosPromise<LinkedStationDto>;
|
|
60416
60713
|
/**
|
|
60417
|
-
* The POS\'s terminal settings find the venue\'s terminals of one provider, with its ticket and its channel in x-app-x. The device names itself in X-Munchi-Hardware-Id; with X-Munchi-Business-Id (a whole number) the station is looked up in that venue, without it the newest station with this hardware id is used. The station is kept 30 minutes and forgotten when it is synced or deactivated. The provider\'s settings are those of the venue and channel the request names (businessId in the body, x-app-x). Viva is searched with the settings\' merchant and source code, and so are stripe and epassi, as before; Nets is signed in to with the settings\' client and lists its terminals. Every terminal found is stored for the venue as a viva or nets terminal, in one transaction, except Viva terminals another venue\'s station holds. Worldline
|
|
60714
|
+
* The POS\'s terminal settings find the venue\'s terminals of one provider, with its ticket and its channel in x-app-x. The device names itself in X-Munchi-Hardware-Id; with X-Munchi-Business-Id (a whole number) the station is looked up in that venue, without it the newest station with this hardware id is used. The station is kept 30 minutes and forgotten when it is synced or deactivated. The provider\'s settings are those of the venue and channel the request names (businessId in the body, x-app-x). Viva is searched with the settings\' merchant and source code, and so are stripe and epassi, as before; Nets is signed in to with the settings\' client and lists its terminals. Every terminal found is stored for the venue as a viva or nets terminal, in one transaction, except Viva terminals another venue\'s station holds. Worldline and Nexi ask no provider: their stored terminals are read. The answer holds the terminals that are free or connected to the calling till.
|
|
60418
60715
|
* @summary Discover available payment terminals
|
|
60419
60716
|
* @param {DiscoverTerminalDto} discoverTerminalDto The venue and the provider whose terminals to find
|
|
60420
60717
|
* @param {*} [options] Override http request option.
|
|
@@ -60448,7 +60745,7 @@ export declare class TerminalApi extends BaseAPI implements TerminalApiInterface
|
|
|
60448
60745
|
*/
|
|
60449
60746
|
disconnectTerminal(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkedStationDto, any, {}>>;
|
|
60450
60747
|
/**
|
|
60451
|
-
* The POS\'s terminal settings find the venue\'s terminals of one provider, with its ticket and its channel in x-app-x. The device names itself in X-Munchi-Hardware-Id; with X-Munchi-Business-Id (a whole number) the station is looked up in that venue, without it the newest station with this hardware id is used. The station is kept 30 minutes and forgotten when it is synced or deactivated. The provider\'s settings are those of the venue and channel the request names (businessId in the body, x-app-x). Viva is searched with the settings\' merchant and source code, and so are stripe and epassi, as before; Nets is signed in to with the settings\' client and lists its terminals. Every terminal found is stored for the venue as a viva or nets terminal, in one transaction, except Viva terminals another venue\'s station holds. Worldline
|
|
60748
|
+
* The POS\'s terminal settings find the venue\'s terminals of one provider, with its ticket and its channel in x-app-x. The device names itself in X-Munchi-Hardware-Id; with X-Munchi-Business-Id (a whole number) the station is looked up in that venue, without it the newest station with this hardware id is used. The station is kept 30 minutes and forgotten when it is synced or deactivated. The provider\'s settings are those of the venue and channel the request names (businessId in the body, x-app-x). Viva is searched with the settings\' merchant and source code, and so are stripe and epassi, as before; Nets is signed in to with the settings\' client and lists its terminals. Every terminal found is stored for the venue as a viva or nets terminal, in one transaction, except Viva terminals another venue\'s station holds. Worldline and Nexi ask no provider: their stored terminals are read. The answer holds the terminals that are free or connected to the calling till.
|
|
60452
60749
|
* @summary Discover available payment terminals
|
|
60453
60750
|
* @param {DiscoverTerminalDto} discoverTerminalDto The venue and the provider whose terminals to find
|
|
60454
60751
|
* @param {*} [options] Override http request option.
|
|
@@ -60743,7 +61040,7 @@ export declare const VenueKiosksApiAxiosParamCreator: (configuration?: Configura
|
|
|
60743
61040
|
*/
|
|
60744
61041
|
claimVenueKiosk: (businessId: number, claimKioskDto: ClaimKioskDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
60745
61042
|
/**
|
|
60746
|
-
* Munchi ops store a card terminal for the venue by the id its provider gives it, so a kiosk or till can take it. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161); the venue\'s own logins are refused. hardwareId is checked against its provider\'s shape: Viva\'s and Nets\' terminal ID (TID) are digits, a Worldline terminal\'s serial number letters and digits. The provider is not asked: the terminal must already be registered on the venue\'s account at the provider, or its payments are refused there. The terminal is stored free, linked to no station. A terminal id the venue already stores, under any provider, is refused; so is a Worldline terminal another venue stores, since Worldline finds a terminal by its id alone. Viva and Nets terminals may be stored at several venues, as discover stores them.
|
|
61043
|
+
* Munchi ops store a card terminal for the venue by the id its provider gives it, so a kiosk or till can take it. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161); the venue\'s own logins are refused. hardwareId is checked against its provider\'s shape: Viva\'s and Nets\' terminal ID (TID) are digits, a Worldline terminal\'s serial number letters and digits, a Nexi terminal ID t- and 10 digits. The provider is not asked: the terminal must already be registered on the venue\'s account at the provider, or its payments are refused there. The terminal is stored free, linked to no station. A terminal id the venue already stores, under any provider, is refused; so is a Worldline terminal another venue stores, since Worldline finds a terminal by its id alone, and a Nexi terminal another venue stores, since Nexi holds one unconfirmed sale per terminal. Viva and Nets terminals may be stored at several venues, as discover stores them.
|
|
60747
61044
|
* @summary Add a payment terminal to the venue (Munchi admins only)
|
|
60748
61045
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
60749
61046
|
* @param {CreatePaymentTerminalDto} createPaymentTerminalDto
|
|
@@ -60831,7 +61128,7 @@ export declare const VenueKiosksApiFp: (configuration?: Configuration) => {
|
|
|
60831
61128
|
*/
|
|
60832
61129
|
claimVenueKiosk(businessId: number, claimKioskDto: ClaimKioskDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VenueKioskDto>>;
|
|
60833
61130
|
/**
|
|
60834
|
-
* Munchi ops store a card terminal for the venue by the id its provider gives it, so a kiosk or till can take it. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161); the venue\'s own logins are refused. hardwareId is checked against its provider\'s shape: Viva\'s and Nets\' terminal ID (TID) are digits, a Worldline terminal\'s serial number letters and digits. The provider is not asked: the terminal must already be registered on the venue\'s account at the provider, or its payments are refused there. The terminal is stored free, linked to no station. A terminal id the venue already stores, under any provider, is refused; so is a Worldline terminal another venue stores, since Worldline finds a terminal by its id alone. Viva and Nets terminals may be stored at several venues, as discover stores them.
|
|
61131
|
+
* Munchi ops store a card terminal for the venue by the id its provider gives it, so a kiosk or till can take it. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161); the venue\'s own logins are refused. hardwareId is checked against its provider\'s shape: Viva\'s and Nets\' terminal ID (TID) are digits, a Worldline terminal\'s serial number letters and digits, a Nexi terminal ID t- and 10 digits. The provider is not asked: the terminal must already be registered on the venue\'s account at the provider, or its payments are refused there. The terminal is stored free, linked to no station. A terminal id the venue already stores, under any provider, is refused; so is a Worldline terminal another venue stores, since Worldline finds a terminal by its id alone, and a Nexi terminal another venue stores, since Nexi holds one unconfirmed sale per terminal. Viva and Nets terminals may be stored at several venues, as discover stores them.
|
|
60835
61132
|
* @summary Add a payment terminal to the venue (Munchi admins only)
|
|
60836
61133
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
60837
61134
|
* @param {CreatePaymentTerminalDto} createPaymentTerminalDto
|
|
@@ -60919,7 +61216,7 @@ export declare const VenueKiosksApiFactory: (configuration?: Configuration, base
|
|
|
60919
61216
|
*/
|
|
60920
61217
|
claimVenueKiosk(businessId: number, claimKioskDto: ClaimKioskDto, options?: any): AxiosPromise<VenueKioskDto>;
|
|
60921
61218
|
/**
|
|
60922
|
-
* Munchi ops store a card terminal for the venue by the id its provider gives it, so a kiosk or till can take it. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161); the venue\'s own logins are refused. hardwareId is checked against its provider\'s shape: Viva\'s and Nets\' terminal ID (TID) are digits, a Worldline terminal\'s serial number letters and digits. The provider is not asked: the terminal must already be registered on the venue\'s account at the provider, or its payments are refused there. The terminal is stored free, linked to no station. A terminal id the venue already stores, under any provider, is refused; so is a Worldline terminal another venue stores, since Worldline finds a terminal by its id alone. Viva and Nets terminals may be stored at several venues, as discover stores them.
|
|
61219
|
+
* Munchi ops store a card terminal for the venue by the id its provider gives it, so a kiosk or till can take it. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161); the venue\'s own logins are refused. hardwareId is checked against its provider\'s shape: Viva\'s and Nets\' terminal ID (TID) are digits, a Worldline terminal\'s serial number letters and digits, a Nexi terminal ID t- and 10 digits. The provider is not asked: the terminal must already be registered on the venue\'s account at the provider, or its payments are refused there. The terminal is stored free, linked to no station. A terminal id the venue already stores, under any provider, is refused; so is a Worldline terminal another venue stores, since Worldline finds a terminal by its id alone, and a Nexi terminal another venue stores, since Nexi holds one unconfirmed sale per terminal. Viva and Nets terminals may be stored at several venues, as discover stores them.
|
|
60923
61220
|
* @summary Add a payment terminal to the venue (Munchi admins only)
|
|
60924
61221
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
60925
61222
|
* @param {CreatePaymentTerminalDto} createPaymentTerminalDto
|
|
@@ -61010,7 +61307,7 @@ export interface VenueKiosksApiInterface {
|
|
|
61010
61307
|
*/
|
|
61011
61308
|
claimVenueKiosk(businessId: number, claimKioskDto: ClaimKioskDto, options?: AxiosRequestConfig): AxiosPromise<VenueKioskDto>;
|
|
61012
61309
|
/**
|
|
61013
|
-
* Munchi ops store a card terminal for the venue by the id its provider gives it, so a kiosk or till can take it. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161); the venue\'s own logins are refused. hardwareId is checked against its provider\'s shape: Viva\'s and Nets\' terminal ID (TID) are digits, a Worldline terminal\'s serial number letters and digits. The provider is not asked: the terminal must already be registered on the venue\'s account at the provider, or its payments are refused there. The terminal is stored free, linked to no station. A terminal id the venue already stores, under any provider, is refused; so is a Worldline terminal another venue stores, since Worldline finds a terminal by its id alone. Viva and Nets terminals may be stored at several venues, as discover stores them.
|
|
61310
|
+
* Munchi ops store a card terminal for the venue by the id its provider gives it, so a kiosk or till can take it. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161); the venue\'s own logins are refused. hardwareId is checked against its provider\'s shape: Viva\'s and Nets\' terminal ID (TID) are digits, a Worldline terminal\'s serial number letters and digits, a Nexi terminal ID t- and 10 digits. The provider is not asked: the terminal must already be registered on the venue\'s account at the provider, or its payments are refused there. The terminal is stored free, linked to no station. A terminal id the venue already stores, under any provider, is refused; so is a Worldline terminal another venue stores, since Worldline finds a terminal by its id alone, and a Nexi terminal another venue stores, since Nexi holds one unconfirmed sale per terminal. Viva and Nets terminals may be stored at several venues, as discover stores them.
|
|
61014
61311
|
* @summary Add a payment terminal to the venue (Munchi admins only)
|
|
61015
61312
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
61016
61313
|
* @param {CreatePaymentTerminalDto} createPaymentTerminalDto
|
|
@@ -61109,7 +61406,7 @@ export declare class VenueKiosksApi extends BaseAPI implements VenueKiosksApiInt
|
|
|
61109
61406
|
*/
|
|
61110
61407
|
claimVenueKiosk(businessId: number, claimKioskDto: ClaimKioskDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VenueKioskDto, any, {}>>;
|
|
61111
61408
|
/**
|
|
61112
|
-
* Munchi ops store a card terminal for the venue by the id its provider gives it, so a kiosk or till can take it. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161); the venue\'s own logins are refused. hardwareId is checked against its provider\'s shape: Viva\'s and Nets\' terminal ID (TID) are digits, a Worldline terminal\'s serial number letters and digits. The provider is not asked: the terminal must already be registered on the venue\'s account at the provider, or its payments are refused there. The terminal is stored free, linked to no station. A terminal id the venue already stores, under any provider, is refused; so is a Worldline terminal another venue stores, since Worldline finds a terminal by its id alone. Viva and Nets terminals may be stored at several venues, as discover stores them.
|
|
61409
|
+
* Munchi ops store a card terminal for the venue by the id its provider gives it, so a kiosk or till can take it. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161); the venue\'s own logins are refused. hardwareId is checked against its provider\'s shape: Viva\'s and Nets\' terminal ID (TID) are digits, a Worldline terminal\'s serial number letters and digits, a Nexi terminal ID t- and 10 digits. The provider is not asked: the terminal must already be registered on the venue\'s account at the provider, or its payments are refused there. The terminal is stored free, linked to no station. A terminal id the venue already stores, under any provider, is refused; so is a Worldline terminal another venue stores, since Worldline finds a terminal by its id alone, and a Nexi terminal another venue stores, since Nexi holds one unconfirmed sale per terminal. Viva and Nets terminals may be stored at several venues, as discover stores them.
|
|
61113
61410
|
* @summary Add a payment terminal to the venue (Munchi admins only)
|
|
61114
61411
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
61115
61412
|
* @param {CreatePaymentTerminalDto} createPaymentTerminalDto
|