@munchi_oy/core 2.17.0 → 2.19.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 +440 -69
- 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 +547 -72
- package/package.json +1 -1
- 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
|
*/
|
|
@@ -8849,7 +8849,7 @@ export interface GiftCardHistoryEventDto {
|
|
|
8849
8849
|
*/
|
|
8850
8850
|
'venueName': string | null;
|
|
8851
8851
|
/**
|
|
8852
|
-
* The till order it belongs to; null when none
|
|
8852
|
+
* The till order it belongs to: the one it was spent on, or, on a SOLD line, the POS order that sold the card; null when none
|
|
8853
8853
|
* @type {string}
|
|
8854
8854
|
* @memberof GiftCardHistoryEventDto
|
|
8855
8855
|
*/
|
|
@@ -8860,6 +8860,12 @@ export interface GiftCardHistoryEventDto {
|
|
|
8860
8860
|
* @memberof GiftCardHistoryEventDto
|
|
8861
8861
|
*/
|
|
8862
8862
|
'orderNumber'?: string | null;
|
|
8863
|
+
/**
|
|
8864
|
+
*
|
|
8865
|
+
* @type {GiftCardHistoryEventDtoPayment}
|
|
8866
|
+
* @memberof GiftCardHistoryEventDto
|
|
8867
|
+
*/
|
|
8868
|
+
'payment'?: GiftCardHistoryEventDtoPayment | null;
|
|
8863
8869
|
/**
|
|
8864
8870
|
* The address of an EMAILED, EMAIL_FAILED or EMAIL_CHANGED line; null for the others
|
|
8865
8871
|
* @type {string}
|
|
@@ -8885,6 +8891,37 @@ export interface GiftCardHistoryEventDto {
|
|
|
8885
8891
|
*/
|
|
8886
8892
|
'at': string;
|
|
8887
8893
|
}
|
|
8894
|
+
/**
|
|
8895
|
+
* How a SOLD line\'s sale was paid; null on every other line, and on a POS sale with no POS order (sold before cards kept their order)
|
|
8896
|
+
* @export
|
|
8897
|
+
* @interface GiftCardHistoryEventDtoPayment
|
|
8898
|
+
*/
|
|
8899
|
+
export interface GiftCardHistoryEventDtoPayment {
|
|
8900
|
+
/**
|
|
8901
|
+
* How the sale was paid: Card for a card sold online, which only a card payment of the card\'s value makes; for a POS sale, the methods of its POS order\'s payments, empty while that order is not paid, or its payments could not be read
|
|
8902
|
+
* @type {Array<PaymentMethod>}
|
|
8903
|
+
* @memberof GiftCardHistoryEventDtoPayment
|
|
8904
|
+
*/
|
|
8905
|
+
'methods': Array<PaymentMethod>;
|
|
8906
|
+
/**
|
|
8907
|
+
* The code of the online order that sold the card, as the buyer\'s receipt shows it; null for a POS sale, whose order is the line\'s orderId
|
|
8908
|
+
* @type {string}
|
|
8909
|
+
* @memberof GiftCardHistoryEventDtoPayment
|
|
8910
|
+
*/
|
|
8911
|
+
'onlineOrderCode': string | null;
|
|
8912
|
+
/**
|
|
8913
|
+
*
|
|
8914
|
+
* @type {PaymentProvider}
|
|
8915
|
+
* @memberof GiftCardHistoryEventDtoPayment
|
|
8916
|
+
*/
|
|
8917
|
+
'provider': PaymentProvider | null;
|
|
8918
|
+
/**
|
|
8919
|
+
* When it was paid, ISO 8601: for a POS sale, when its POS order was completed, which may be after the card was sold; online, when the card was made from the settled payment. Null while a POS order is not paid, or its payments could not be read
|
|
8920
|
+
* @type {string}
|
|
8921
|
+
* @memberof GiftCardHistoryEventDtoPayment
|
|
8922
|
+
*/
|
|
8923
|
+
'paidAt': string | null;
|
|
8924
|
+
}
|
|
8888
8925
|
/**
|
|
8889
8926
|
*
|
|
8890
8927
|
* @export
|
|
@@ -9566,6 +9603,37 @@ export interface GiftCardReportDtoSpent {
|
|
|
9566
9603
|
*/
|
|
9567
9604
|
'orderCount': number;
|
|
9568
9605
|
}
|
|
9606
|
+
/**
|
|
9607
|
+
*
|
|
9608
|
+
* @export
|
|
9609
|
+
* @interface GiftCardSalePaymentDto
|
|
9610
|
+
*/
|
|
9611
|
+
export interface GiftCardSalePaymentDto {
|
|
9612
|
+
/**
|
|
9613
|
+
* How the sale was paid: Card for a card sold online, which only a card payment of the card\'s value makes; for a POS sale, the methods of its POS order\'s payments, empty while that order is not paid, or its payments could not be read
|
|
9614
|
+
* @type {Array<PaymentMethod>}
|
|
9615
|
+
* @memberof GiftCardSalePaymentDto
|
|
9616
|
+
*/
|
|
9617
|
+
'methods': Array<PaymentMethod>;
|
|
9618
|
+
/**
|
|
9619
|
+
* The code of the online order that sold the card, as the buyer\'s receipt shows it; null for a POS sale, whose order is the line\'s orderId
|
|
9620
|
+
* @type {string}
|
|
9621
|
+
* @memberof GiftCardSalePaymentDto
|
|
9622
|
+
*/
|
|
9623
|
+
'onlineOrderCode': string | null;
|
|
9624
|
+
/**
|
|
9625
|
+
*
|
|
9626
|
+
* @type {PaymentProvider}
|
|
9627
|
+
* @memberof GiftCardSalePaymentDto
|
|
9628
|
+
*/
|
|
9629
|
+
'provider': PaymentProvider | null;
|
|
9630
|
+
/**
|
|
9631
|
+
* When it was paid, ISO 8601: for a POS sale, when its POS order was completed, which may be after the card was sold; online, when the card was made from the settled payment. Null while a POS order is not paid, or its payments could not be read
|
|
9632
|
+
* @type {string}
|
|
9633
|
+
* @memberof GiftCardSalePaymentDto
|
|
9634
|
+
*/
|
|
9635
|
+
'paidAt': string | null;
|
|
9636
|
+
}
|
|
9569
9637
|
/**
|
|
9570
9638
|
*
|
|
9571
9639
|
* @export
|
|
@@ -14928,6 +14996,18 @@ export interface NetsConfigResponseDto {
|
|
|
14928
14996
|
* @memberof NetsConfigResponseDto
|
|
14929
14997
|
*/
|
|
14930
14998
|
'clientSecret': string | null;
|
|
14999
|
+
/**
|
|
15000
|
+
* 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.
|
|
15001
|
+
* @type {boolean}
|
|
15002
|
+
* @memberof NetsConfigResponseDto
|
|
15003
|
+
*/
|
|
15004
|
+
'hasSecretKey': boolean;
|
|
15005
|
+
/**
|
|
15006
|
+
* 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.
|
|
15007
|
+
* @type {boolean}
|
|
15008
|
+
* @memberof NetsConfigResponseDto
|
|
15009
|
+
*/
|
|
15010
|
+
'hasClientSecret': boolean;
|
|
14931
15011
|
}
|
|
14932
15012
|
/**
|
|
14933
15013
|
*
|
|
@@ -15371,6 +15451,43 @@ export interface NewKdsStationDto {
|
|
|
15371
15451
|
*/
|
|
15372
15452
|
'categoryIds': Array<string>;
|
|
15373
15453
|
}
|
|
15454
|
+
/**
|
|
15455
|
+
*
|
|
15456
|
+
* @export
|
|
15457
|
+
* @interface NexiConfigResponseDto
|
|
15458
|
+
*/
|
|
15459
|
+
export interface NexiConfigResponseDto {
|
|
15460
|
+
/**
|
|
15461
|
+
* Whether the Nexi integration is active.
|
|
15462
|
+
* @type {boolean}
|
|
15463
|
+
* @memberof NexiConfigResponseDto
|
|
15464
|
+
*/
|
|
15465
|
+
'isActive': boolean;
|
|
15466
|
+
/**
|
|
15467
|
+
* Display name.
|
|
15468
|
+
* @type {string}
|
|
15469
|
+
* @memberof NexiConfigResponseDto
|
|
15470
|
+
*/
|
|
15471
|
+
'name': string | null;
|
|
15472
|
+
/**
|
|
15473
|
+
* Nexi POS API user name; null when none is stored.
|
|
15474
|
+
* @type {string}
|
|
15475
|
+
* @memberof NexiConfigResponseDto
|
|
15476
|
+
*/
|
|
15477
|
+
'username': string | null;
|
|
15478
|
+
/**
|
|
15479
|
+
* 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.
|
|
15480
|
+
* @type {string}
|
|
15481
|
+
* @memberof NexiConfigResponseDto
|
|
15482
|
+
*/
|
|
15483
|
+
'password': string | null;
|
|
15484
|
+
/**
|
|
15485
|
+
* 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.
|
|
15486
|
+
* @type {boolean}
|
|
15487
|
+
* @memberof NexiConfigResponseDto
|
|
15488
|
+
*/
|
|
15489
|
+
'hasPassword': boolean;
|
|
15490
|
+
}
|
|
15374
15491
|
/**
|
|
15375
15492
|
*
|
|
15376
15493
|
* @export
|
|
@@ -19409,6 +19526,7 @@ export declare const PaymentProvider: {
|
|
|
19409
19526
|
readonly Nets: "nets";
|
|
19410
19527
|
readonly Worldline: "worldline";
|
|
19411
19528
|
readonly Epassi: "epassi";
|
|
19529
|
+
readonly Nexi: "nexi";
|
|
19412
19530
|
};
|
|
19413
19531
|
export type PaymentProvider = typeof PaymentProvider[keyof typeof PaymentProvider];
|
|
19414
19532
|
/**
|
|
@@ -19422,6 +19540,7 @@ export declare const PaymentProviderEnum: {
|
|
|
19422
19540
|
readonly Nets: "nets";
|
|
19423
19541
|
readonly Worldline: "worldline";
|
|
19424
19542
|
readonly Epassi: "epassi";
|
|
19543
|
+
readonly Nexi: "nexi";
|
|
19425
19544
|
};
|
|
19426
19545
|
export type PaymentProviderEnum = typeof PaymentProviderEnum[keyof typeof PaymentProviderEnum];
|
|
19427
19546
|
/**
|
|
@@ -24975,6 +25094,12 @@ export interface ProvidersConfigResponseDto {
|
|
|
24975
25094
|
* @memberof ProvidersConfigResponseDto
|
|
24976
25095
|
*/
|
|
24977
25096
|
'worldline': ProvidersConfigResponseDtoWorldline | null;
|
|
25097
|
+
/**
|
|
25098
|
+
*
|
|
25099
|
+
* @type {ProvidersConfigResponseDtoNexi}
|
|
25100
|
+
* @memberof ProvidersConfigResponseDto
|
|
25101
|
+
*/
|
|
25102
|
+
'nexi': ProvidersConfigResponseDtoNexi | null;
|
|
24978
25103
|
}
|
|
24979
25104
|
/**
|
|
24980
25105
|
* The channel\'s Nets settings; null when it has none.
|
|
@@ -25018,6 +25143,55 @@ export interface ProvidersConfigResponseDtoNets {
|
|
|
25018
25143
|
* @memberof ProvidersConfigResponseDtoNets
|
|
25019
25144
|
*/
|
|
25020
25145
|
'clientSecret': string | null;
|
|
25146
|
+
/**
|
|
25147
|
+
* 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.
|
|
25148
|
+
* @type {boolean}
|
|
25149
|
+
* @memberof ProvidersConfigResponseDtoNets
|
|
25150
|
+
*/
|
|
25151
|
+
'hasSecretKey': boolean;
|
|
25152
|
+
/**
|
|
25153
|
+
* 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.
|
|
25154
|
+
* @type {boolean}
|
|
25155
|
+
* @memberof ProvidersConfigResponseDtoNets
|
|
25156
|
+
*/
|
|
25157
|
+
'hasClientSecret': boolean;
|
|
25158
|
+
}
|
|
25159
|
+
/**
|
|
25160
|
+
* The channel\'s Nexi settings; null when it has none.
|
|
25161
|
+
* @export
|
|
25162
|
+
* @interface ProvidersConfigResponseDtoNexi
|
|
25163
|
+
*/
|
|
25164
|
+
export interface ProvidersConfigResponseDtoNexi {
|
|
25165
|
+
/**
|
|
25166
|
+
* Whether the Nexi integration is active.
|
|
25167
|
+
* @type {boolean}
|
|
25168
|
+
* @memberof ProvidersConfigResponseDtoNexi
|
|
25169
|
+
*/
|
|
25170
|
+
'isActive': boolean;
|
|
25171
|
+
/**
|
|
25172
|
+
* Display name.
|
|
25173
|
+
* @type {string}
|
|
25174
|
+
* @memberof ProvidersConfigResponseDtoNexi
|
|
25175
|
+
*/
|
|
25176
|
+
'name': string | null;
|
|
25177
|
+
/**
|
|
25178
|
+
* Nexi POS API user name; null when none is stored.
|
|
25179
|
+
* @type {string}
|
|
25180
|
+
* @memberof ProvidersConfigResponseDtoNexi
|
|
25181
|
+
*/
|
|
25182
|
+
'username': string | null;
|
|
25183
|
+
/**
|
|
25184
|
+
* 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.
|
|
25185
|
+
* @type {string}
|
|
25186
|
+
* @memberof ProvidersConfigResponseDtoNexi
|
|
25187
|
+
*/
|
|
25188
|
+
'password': string | null;
|
|
25189
|
+
/**
|
|
25190
|
+
* 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.
|
|
25191
|
+
* @type {boolean}
|
|
25192
|
+
* @memberof ProvidersConfigResponseDtoNexi
|
|
25193
|
+
*/
|
|
25194
|
+
'hasPassword': boolean;
|
|
25021
25195
|
}
|
|
25022
25196
|
/**
|
|
25023
25197
|
* The channel\'s Stripe settings; null when it has none.
|
|
@@ -25129,6 +25303,12 @@ export interface ProvidersConfigResponseDtoWorldline {
|
|
|
25129
25303
|
* @memberof ProvidersConfigResponseDtoWorldline
|
|
25130
25304
|
*/
|
|
25131
25305
|
'publicKey': string | null;
|
|
25306
|
+
/**
|
|
25307
|
+
* 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.
|
|
25308
|
+
* @type {boolean}
|
|
25309
|
+
* @memberof ProvidersConfigResponseDtoWorldline
|
|
25310
|
+
*/
|
|
25311
|
+
'hasSecretKey': boolean;
|
|
25132
25312
|
}
|
|
25133
25313
|
/**
|
|
25134
25314
|
*
|
|
@@ -31278,6 +31458,12 @@ export interface SellGiftCardOnlineDto {
|
|
|
31278
31458
|
* @memberof SellGiftCardOnlineDto
|
|
31279
31459
|
*/
|
|
31280
31460
|
'sendAt'?: string;
|
|
31461
|
+
/**
|
|
31462
|
+
*
|
|
31463
|
+
* @type {PaymentProvider}
|
|
31464
|
+
* @memberof SellGiftCardOnlineDto
|
|
31465
|
+
*/
|
|
31466
|
+
'paymentProvider'?: PaymentProvider;
|
|
31281
31467
|
}
|
|
31282
31468
|
/**
|
|
31283
31469
|
* Who bought the card: its receipt goes to this email, and the card too when it is for them.
|
|
@@ -34015,6 +34201,7 @@ export declare const TerminalProvider: {
|
|
|
34015
34201
|
readonly Viva: "viva";
|
|
34016
34202
|
readonly Nets: "nets";
|
|
34017
34203
|
readonly Worldline: "worldline";
|
|
34204
|
+
readonly Nexi: "nexi";
|
|
34018
34205
|
};
|
|
34019
34206
|
export type TerminalProvider = typeof TerminalProvider[keyof typeof TerminalProvider];
|
|
34020
34207
|
/**
|
|
@@ -37512,6 +37699,37 @@ export interface UpsertNetsDto {
|
|
|
37512
37699
|
*/
|
|
37513
37700
|
'clientSecret'?: string;
|
|
37514
37701
|
}
|
|
37702
|
+
/**
|
|
37703
|
+
*
|
|
37704
|
+
* @export
|
|
37705
|
+
* @interface UpsertNexiDto
|
|
37706
|
+
*/
|
|
37707
|
+
export interface UpsertNexiDto {
|
|
37708
|
+
/**
|
|
37709
|
+
* The name shown for the Nexi integration. Absent keeps the stored value.
|
|
37710
|
+
* @type {string}
|
|
37711
|
+
* @memberof UpsertNexiDto
|
|
37712
|
+
*/
|
|
37713
|
+
'name'?: string;
|
|
37714
|
+
/**
|
|
37715
|
+
* Whether the Nexi integration is active. Absent keeps the stored value; a new Nexi config is saved active.
|
|
37716
|
+
* @type {boolean}
|
|
37717
|
+
* @memberof UpsertNexiDto
|
|
37718
|
+
*/
|
|
37719
|
+
'isActive'?: boolean;
|
|
37720
|
+
/**
|
|
37721
|
+
* 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.
|
|
37722
|
+
* @type {string}
|
|
37723
|
+
* @memberof UpsertNexiDto
|
|
37724
|
+
*/
|
|
37725
|
+
'username'?: string;
|
|
37726
|
+
/**
|
|
37727
|
+
* 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.
|
|
37728
|
+
* @type {string}
|
|
37729
|
+
* @memberof UpsertNexiDto
|
|
37730
|
+
*/
|
|
37731
|
+
'password'?: string;
|
|
37732
|
+
}
|
|
37515
37733
|
/**
|
|
37516
37734
|
*
|
|
37517
37735
|
* @export
|
|
@@ -37660,7 +37878,7 @@ export interface UpsertProvidersDto {
|
|
|
37660
37878
|
*/
|
|
37661
37879
|
'name'?: string;
|
|
37662
37880
|
/**
|
|
37663
|
-
* Whether the provider\'s integration is active. Absent keeps it for Viva and saves Nets, Stripe or
|
|
37881
|
+
* Whether the provider\'s integration is active. Absent keeps it for Viva and saves Nets, Stripe, Worldline or Nexi active.
|
|
37664
37882
|
* @type {boolean}
|
|
37665
37883
|
* @memberof UpsertProvidersDto
|
|
37666
37884
|
*/
|
|
@@ -37725,6 +37943,18 @@ export interface UpsertProvidersDto {
|
|
|
37725
37943
|
* @memberof UpsertProvidersDto
|
|
37726
37944
|
*/
|
|
37727
37945
|
'locationId'?: string;
|
|
37946
|
+
/**
|
|
37947
|
+
* 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.
|
|
37948
|
+
* @type {string}
|
|
37949
|
+
* @memberof UpsertProvidersDto
|
|
37950
|
+
*/
|
|
37951
|
+
'username'?: string;
|
|
37952
|
+
/**
|
|
37953
|
+
* 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.
|
|
37954
|
+
* @type {string}
|
|
37955
|
+
* @memberof UpsertProvidersDto
|
|
37956
|
+
*/
|
|
37957
|
+
'password'?: string;
|
|
37728
37958
|
}
|
|
37729
37959
|
/**
|
|
37730
37960
|
*
|
|
@@ -37869,6 +38099,37 @@ export interface UpsertVivaDtoConfig {
|
|
|
37869
38099
|
*/
|
|
37870
38100
|
'additionalAmount'?: number;
|
|
37871
38101
|
}
|
|
38102
|
+
/**
|
|
38103
|
+
*
|
|
38104
|
+
* @export
|
|
38105
|
+
* @interface UpsertWorldlineDto
|
|
38106
|
+
*/
|
|
38107
|
+
export interface UpsertWorldlineDto {
|
|
38108
|
+
/**
|
|
38109
|
+
* The name shown for the Worldline integration. Absent keeps the stored value.
|
|
38110
|
+
* @type {string}
|
|
38111
|
+
* @memberof UpsertWorldlineDto
|
|
38112
|
+
*/
|
|
38113
|
+
'name'?: string;
|
|
38114
|
+
/**
|
|
38115
|
+
* Whether the Worldline integration is active. Absent keeps the stored value; a new Worldline config is saved active.
|
|
38116
|
+
* @type {boolean}
|
|
38117
|
+
* @memberof UpsertWorldlineDto
|
|
38118
|
+
*/
|
|
38119
|
+
'isActive'?: boolean;
|
|
38120
|
+
/**
|
|
38121
|
+
* The Worldline secret key. Absent keeps the stored value. An empty string or null is refused with 400.
|
|
38122
|
+
* @type {string}
|
|
38123
|
+
* @memberof UpsertWorldlineDto
|
|
38124
|
+
*/
|
|
38125
|
+
'secretKey'?: string;
|
|
38126
|
+
/**
|
|
38127
|
+
* The Worldline public key. Absent keeps the stored value. An empty string or null is refused with 400.
|
|
38128
|
+
* @type {string}
|
|
38129
|
+
* @memberof UpsertWorldlineDto
|
|
38130
|
+
*/
|
|
38131
|
+
'publicKey'?: string;
|
|
38132
|
+
}
|
|
37872
38133
|
/**
|
|
37873
38134
|
*
|
|
37874
38135
|
* @export
|
|
@@ -41259,6 +41520,12 @@ export interface WorldlineConfigResponseDto {
|
|
|
41259
41520
|
* @memberof WorldlineConfigResponseDto
|
|
41260
41521
|
*/
|
|
41261
41522
|
'publicKey': string | null;
|
|
41523
|
+
/**
|
|
41524
|
+
* 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.
|
|
41525
|
+
* @type {boolean}
|
|
41526
|
+
* @memberof WorldlineConfigResponseDto
|
|
41527
|
+
*/
|
|
41528
|
+
'hasSecretKey': boolean;
|
|
41262
41529
|
}
|
|
41263
41530
|
/**
|
|
41264
41531
|
*
|
|
@@ -44213,7 +44480,7 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
44213
44480
|
*/
|
|
44214
44481
|
configConfigureMunchiGiftCard: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44215
44482
|
/**
|
|
44216
|
-
* The selected provider and each provider\'s settings. A secret key
|
|
44483
|
+
* 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
44484
|
* @summary Read a channel\'s card payment providers
|
|
44218
44485
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44219
44486
|
* @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 +44508,8 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
44241
44508
|
*/
|
|
44242
44509
|
configRemovePaymentOption: (businessId: number, id: string, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44243
44510
|
/**
|
|
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
|
|
44511
|
+
* 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.
|
|
44512
|
+
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
|
|
44246
44513
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44247
44514
|
* @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
44515
|
* @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
|
|
@@ -44290,8 +44557,8 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
44290
44557
|
*/
|
|
44291
44558
|
configUpsertLoyalty: (businessId: number, upsertLoyaltyDto: UpsertLoyaltyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44292
44559
|
/**
|
|
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
|
|
44560
|
+
* 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.
|
|
44561
|
+
* @summary Create or update a channel\'s Nets config (Munchi admins only)
|
|
44295
44562
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44296
44563
|
* @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
44564
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
@@ -44299,6 +44566,16 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
44299
44566
|
* @throws {RequiredError}
|
|
44300
44567
|
*/
|
|
44301
44568
|
configUpsertNets: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44569
|
+
/**
|
|
44570
|
+
* 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.
|
|
44571
|
+
* @summary Create or update a channel\'s Nexi config (Munchi admins only)
|
|
44572
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44573
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44574
|
+
* @param {UpsertNexiDto} upsertNexiDto
|
|
44575
|
+
* @param {*} [options] Override http request option.
|
|
44576
|
+
* @throws {RequiredError}
|
|
44577
|
+
*/
|
|
44578
|
+
configUpsertNexi: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertNexiDto: UpsertNexiDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44302
44579
|
/**
|
|
44303
44580
|
* 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
44581
|
* @summary Create or update a channel\'s checkout payment options
|
|
@@ -44310,8 +44587,8 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
44310
44587
|
*/
|
|
44311
44588
|
configUpsertPaymentOptions: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44312
44589
|
/**
|
|
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
|
|
44590
|
+
* 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.
|
|
44591
|
+
* @summary Set active provider and upsert its credentials (Munchi admins only)
|
|
44315
44592
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44316
44593
|
* @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
44594
|
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
@@ -44320,8 +44597,8 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
44320
44597
|
*/
|
|
44321
44598
|
configUpsertProviders: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44322
44599
|
/**
|
|
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
|
|
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. Saved active unless isActive is sent. The cached Stripe config is cleared.
|
|
44601
|
+
* @summary Create or update a channel\'s Stripe config (Munchi admins only)
|
|
44325
44602
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44326
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
|
|
44327
44604
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
@@ -44330,8 +44607,8 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
44330
44607
|
*/
|
|
44331
44608
|
configUpsertStripe: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44332
44609
|
/**
|
|
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
|
|
44610
|
+
* 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.
|
|
44611
|
+
* @summary Create or update a channel\'s Viva config (Munchi admins only)
|
|
44335
44612
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44336
44613
|
* @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
44614
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
@@ -44339,6 +44616,16 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
44339
44616
|
* @throws {RequiredError}
|
|
44340
44617
|
*/
|
|
44341
44618
|
configUpsertViva: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44619
|
+
/**
|
|
44620
|
+
* 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.
|
|
44621
|
+
* @summary Create or update a channel\'s Worldline config (Munchi admins only)
|
|
44622
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44623
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44624
|
+
* @param {UpsertWorldlineDto} upsertWorldlineDto
|
|
44625
|
+
* @param {*} [options] Override http request option.
|
|
44626
|
+
* @throws {RequiredError}
|
|
44627
|
+
*/
|
|
44628
|
+
configUpsertWorldline: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertWorldlineDto: UpsertWorldlineDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44342
44629
|
};
|
|
44343
44630
|
/**
|
|
44344
44631
|
* ConfigManagementApi - functional programming interface
|
|
@@ -44356,7 +44643,7 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
44356
44643
|
*/
|
|
44357
44644
|
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
44645
|
/**
|
|
44359
|
-
* The selected provider and each provider\'s settings. A secret key
|
|
44646
|
+
* 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
44647
|
* @summary Read a channel\'s card payment providers
|
|
44361
44648
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44362
44649
|
* @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 +44671,8 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
44384
44671
|
*/
|
|
44385
44672
|
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
44673
|
/**
|
|
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
|
|
44674
|
+
* 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.
|
|
44675
|
+
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
|
|
44389
44676
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44390
44677
|
* @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
44678
|
* @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
|
|
@@ -44433,8 +44720,8 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
44433
44720
|
*/
|
|
44434
44721
|
configUpsertLoyalty(businessId: number, upsertLoyaltyDto: UpsertLoyaltyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>>;
|
|
44435
44722
|
/**
|
|
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
|
|
44723
|
+
* 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.
|
|
44724
|
+
* @summary Create or update a channel\'s Nets config (Munchi admins only)
|
|
44438
44725
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44439
44726
|
* @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
44727
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
@@ -44442,6 +44729,16 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
44442
44729
|
* @throws {RequiredError}
|
|
44443
44730
|
*/
|
|
44444
44731
|
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>>;
|
|
44732
|
+
/**
|
|
44733
|
+
* 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.
|
|
44734
|
+
* @summary Create or update a channel\'s Nexi config (Munchi admins only)
|
|
44735
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44736
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44737
|
+
* @param {UpsertNexiDto} upsertNexiDto
|
|
44738
|
+
* @param {*} [options] Override http request option.
|
|
44739
|
+
* @throws {RequiredError}
|
|
44740
|
+
*/
|
|
44741
|
+
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
44742
|
/**
|
|
44446
44743
|
* 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
44744
|
* @summary Create or update a channel\'s checkout payment options
|
|
@@ -44453,8 +44750,8 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
44453
44750
|
*/
|
|
44454
44751
|
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
44752
|
/**
|
|
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
|
|
44753
|
+
* 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.
|
|
44754
|
+
* @summary Set active provider and upsert its credentials (Munchi admins only)
|
|
44458
44755
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44459
44756
|
* @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
44757
|
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
@@ -44463,8 +44760,8 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
44463
44760
|
*/
|
|
44464
44761
|
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
44762
|
/**
|
|
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
|
|
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. Saved active unless isActive is sent. The cached Stripe config is cleared.
|
|
44764
|
+
* @summary Create or update a channel\'s Stripe config (Munchi admins only)
|
|
44468
44765
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44469
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
|
|
44470
44767
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
@@ -44473,8 +44770,8 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
44473
44770
|
*/
|
|
44474
44771
|
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
44772
|
/**
|
|
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
|
|
44773
|
+
* 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.
|
|
44774
|
+
* @summary Create or update a channel\'s Viva config (Munchi admins only)
|
|
44478
44775
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44479
44776
|
* @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
44777
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
@@ -44482,6 +44779,16 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
44482
44779
|
* @throws {RequiredError}
|
|
44483
44780
|
*/
|
|
44484
44781
|
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>>;
|
|
44782
|
+
/**
|
|
44783
|
+
* 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.
|
|
44784
|
+
* @summary Create or update a channel\'s Worldline config (Munchi admins only)
|
|
44785
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44786
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44787
|
+
* @param {UpsertWorldlineDto} upsertWorldlineDto
|
|
44788
|
+
* @param {*} [options] Override http request option.
|
|
44789
|
+
* @throws {RequiredError}
|
|
44790
|
+
*/
|
|
44791
|
+
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
44792
|
};
|
|
44486
44793
|
/**
|
|
44487
44794
|
* ConfigManagementApi - factory interface
|
|
@@ -44499,7 +44806,7 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
44499
44806
|
*/
|
|
44500
44807
|
configConfigureMunchiGiftCard(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
44501
44808
|
/**
|
|
44502
|
-
* The selected provider and each provider\'s settings. A secret key
|
|
44809
|
+
* 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
44810
|
* @summary Read a channel\'s card payment providers
|
|
44504
44811
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44505
44812
|
* @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 +44834,8 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
44527
44834
|
*/
|
|
44528
44835
|
configRemovePaymentOption(businessId: number, id: string, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
44529
44836
|
/**
|
|
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
|
|
44837
|
+
* 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.
|
|
44838
|
+
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
|
|
44532
44839
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44533
44840
|
* @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
44841
|
* @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
|
|
@@ -44576,8 +44883,8 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
44576
44883
|
*/
|
|
44577
44884
|
configUpsertLoyalty(businessId: number, upsertLoyaltyDto: UpsertLoyaltyDto, options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
44578
44885
|
/**
|
|
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
|
|
44886
|
+
* 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.
|
|
44887
|
+
* @summary Create or update a channel\'s Nets config (Munchi admins only)
|
|
44581
44888
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44582
44889
|
* @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
44890
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
@@ -44585,6 +44892,16 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
44585
44892
|
* @throws {RequiredError}
|
|
44586
44893
|
*/
|
|
44587
44894
|
configUpsertNets(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertNetsDto: UpsertNetsDto, options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
44895
|
+
/**
|
|
44896
|
+
* 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.
|
|
44897
|
+
* @summary Create or update a channel\'s Nexi config (Munchi admins only)
|
|
44898
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44899
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44900
|
+
* @param {UpsertNexiDto} upsertNexiDto
|
|
44901
|
+
* @param {*} [options] Override http request option.
|
|
44902
|
+
* @throws {RequiredError}
|
|
44903
|
+
*/
|
|
44904
|
+
configUpsertNexi(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertNexiDto: UpsertNexiDto, options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
44588
44905
|
/**
|
|
44589
44906
|
* 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
44907
|
* @summary Create or update a channel\'s checkout payment options
|
|
@@ -44596,8 +44913,8 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
44596
44913
|
*/
|
|
44597
44914
|
configUpsertPaymentOptions(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
44598
44915
|
/**
|
|
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
|
|
44916
|
+
* 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.
|
|
44917
|
+
* @summary Set active provider and upsert its credentials (Munchi admins only)
|
|
44601
44918
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44602
44919
|
* @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
44920
|
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
@@ -44606,8 +44923,8 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
44606
44923
|
*/
|
|
44607
44924
|
configUpsertProviders(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertProvidersDto: UpsertProvidersDto, options?: any): AxiosPromise<ProvidersConfigResponseDto>;
|
|
44608
44925
|
/**
|
|
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
|
|
44926
|
+
* 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.
|
|
44927
|
+
* @summary Create or update a channel\'s Stripe config (Munchi admins only)
|
|
44611
44928
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44612
44929
|
* @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
44930
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
@@ -44616,8 +44933,8 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
44616
44933
|
*/
|
|
44617
44934
|
configUpsertStripe(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertStripeDto: UpsertStripeDto, options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
44618
44935
|
/**
|
|
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
|
|
44936
|
+
* 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.
|
|
44937
|
+
* @summary Create or update a channel\'s Viva config (Munchi admins only)
|
|
44621
44938
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44622
44939
|
* @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
44940
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
@@ -44625,6 +44942,16 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
44625
44942
|
* @throws {RequiredError}
|
|
44626
44943
|
*/
|
|
44627
44944
|
configUpsertViva(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertVivaDto: UpsertVivaDto, options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
44945
|
+
/**
|
|
44946
|
+
* 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.
|
|
44947
|
+
* @summary Create or update a channel\'s Worldline config (Munchi admins only)
|
|
44948
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44949
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
44950
|
+
* @param {UpsertWorldlineDto} upsertWorldlineDto
|
|
44951
|
+
* @param {*} [options] Override http request option.
|
|
44952
|
+
* @throws {RequiredError}
|
|
44953
|
+
*/
|
|
44954
|
+
configUpsertWorldline(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertWorldlineDto: UpsertWorldlineDto, options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
44628
44955
|
};
|
|
44629
44956
|
/**
|
|
44630
44957
|
* ConfigManagementApi - interface
|
|
@@ -44644,7 +44971,7 @@ export interface ConfigManagementApiInterface {
|
|
|
44644
44971
|
*/
|
|
44645
44972
|
configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
44646
44973
|
/**
|
|
44647
|
-
* The selected provider and each provider\'s settings. A secret key
|
|
44974
|
+
* 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
44975
|
* @summary Read a channel\'s card payment providers
|
|
44649
44976
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44650
44977
|
* @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 +45002,8 @@ export interface ConfigManagementApiInterface {
|
|
|
44675
45002
|
*/
|
|
44676
45003
|
configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
44677
45004
|
/**
|
|
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
|
|
45005
|
+
* 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.
|
|
45006
|
+
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
|
|
44680
45007
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44681
45008
|
* @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
45009
|
* @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
|
|
@@ -44729,8 +45056,8 @@ export interface ConfigManagementApiInterface {
|
|
|
44729
45056
|
*/
|
|
44730
45057
|
configUpsertLoyalty(businessId: number, upsertLoyaltyDto: UpsertLoyaltyDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
44731
45058
|
/**
|
|
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
|
|
45059
|
+
* 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.
|
|
45060
|
+
* @summary Create or update a channel\'s Nets config (Munchi admins only)
|
|
44734
45061
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44735
45062
|
* @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
45063
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
@@ -44739,6 +45066,17 @@ export interface ConfigManagementApiInterface {
|
|
|
44739
45066
|
* @memberof ConfigManagementApiInterface
|
|
44740
45067
|
*/
|
|
44741
45068
|
configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
45069
|
+
/**
|
|
45070
|
+
* 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.
|
|
45071
|
+
* @summary Create or update a channel\'s Nexi config (Munchi admins only)
|
|
45072
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
45073
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
45074
|
+
* @param {UpsertNexiDto} upsertNexiDto
|
|
45075
|
+
* @param {*} [options] Override http request option.
|
|
45076
|
+
* @throws {RequiredError}
|
|
45077
|
+
* @memberof ConfigManagementApiInterface
|
|
45078
|
+
*/
|
|
45079
|
+
configUpsertNexi(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNexiDto: UpsertNexiDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
44742
45080
|
/**
|
|
44743
45081
|
* 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
45082
|
* @summary Create or update a channel\'s checkout payment options
|
|
@@ -44751,8 +45089,8 @@ export interface ConfigManagementApiInterface {
|
|
|
44751
45089
|
*/
|
|
44752
45090
|
configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
44753
45091
|
/**
|
|
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
|
|
45092
|
+
* 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.
|
|
45093
|
+
* @summary Set active provider and upsert its credentials (Munchi admins only)
|
|
44756
45094
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44757
45095
|
* @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
45096
|
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
@@ -44762,8 +45100,8 @@ export interface ConfigManagementApiInterface {
|
|
|
44762
45100
|
*/
|
|
44763
45101
|
configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig): AxiosPromise<ProvidersConfigResponseDto>;
|
|
44764
45102
|
/**
|
|
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
|
|
45103
|
+
* 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.
|
|
45104
|
+
* @summary Create or update a channel\'s Stripe config (Munchi admins only)
|
|
44767
45105
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44768
45106
|
* @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
45107
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
@@ -44773,8 +45111,8 @@ export interface ConfigManagementApiInterface {
|
|
|
44773
45111
|
*/
|
|
44774
45112
|
configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
44775
45113
|
/**
|
|
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
|
|
45114
|
+
* 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.
|
|
45115
|
+
* @summary Create or update a channel\'s Viva config (Munchi admins only)
|
|
44778
45116
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44779
45117
|
* @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
45118
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
@@ -44783,6 +45121,17 @@ export interface ConfigManagementApiInterface {
|
|
|
44783
45121
|
* @memberof ConfigManagementApiInterface
|
|
44784
45122
|
*/
|
|
44785
45123
|
configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
45124
|
+
/**
|
|
45125
|
+
* 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.
|
|
45126
|
+
* @summary Create or update a channel\'s Worldline config (Munchi admins only)
|
|
45127
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
45128
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
45129
|
+
* @param {UpsertWorldlineDto} upsertWorldlineDto
|
|
45130
|
+
* @param {*} [options] Override http request option.
|
|
45131
|
+
* @throws {RequiredError}
|
|
45132
|
+
* @memberof ConfigManagementApiInterface
|
|
45133
|
+
*/
|
|
45134
|
+
configUpsertWorldline(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertWorldlineDto: UpsertWorldlineDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
44786
45135
|
}
|
|
44787
45136
|
/**
|
|
44788
45137
|
* ConfigManagementApi - object-oriented interface
|
|
@@ -44803,7 +45152,7 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
44803
45152
|
*/
|
|
44804
45153
|
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
45154
|
/**
|
|
44806
|
-
* The selected provider and each provider\'s settings. A secret key
|
|
45155
|
+
* 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
45156
|
* @summary Read a channel\'s card payment providers
|
|
44808
45157
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44809
45158
|
* @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 +45183,8 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
44834
45183
|
*/
|
|
44835
45184
|
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
45185
|
/**
|
|
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
|
|
45186
|
+
* 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.
|
|
45187
|
+
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
|
|
44839
45188
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44840
45189
|
* @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
45190
|
* @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
|
|
@@ -44888,8 +45237,8 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
44888
45237
|
*/
|
|
44889
45238
|
configUpsertLoyalty(businessId: number, upsertLoyaltyDto: UpsertLoyaltyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigManagementResponseDto, any, {}>>;
|
|
44890
45239
|
/**
|
|
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
|
|
45240
|
+
* 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.
|
|
45241
|
+
* @summary Create or update a channel\'s Nets config (Munchi admins only)
|
|
44893
45242
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44894
45243
|
* @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
45244
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
@@ -44898,6 +45247,17 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
44898
45247
|
* @memberof ConfigManagementApi
|
|
44899
45248
|
*/
|
|
44900
45249
|
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, {}>>;
|
|
45250
|
+
/**
|
|
45251
|
+
* 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.
|
|
45252
|
+
* @summary Create or update a channel\'s Nexi config (Munchi admins only)
|
|
45253
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
45254
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
45255
|
+
* @param {UpsertNexiDto} upsertNexiDto
|
|
45256
|
+
* @param {*} [options] Override http request option.
|
|
45257
|
+
* @throws {RequiredError}
|
|
45258
|
+
* @memberof ConfigManagementApi
|
|
45259
|
+
*/
|
|
45260
|
+
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
45261
|
/**
|
|
44902
45262
|
* 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
45263
|
* @summary Create or update a channel\'s checkout payment options
|
|
@@ -44910,8 +45270,8 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
44910
45270
|
*/
|
|
44911
45271
|
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
45272
|
/**
|
|
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
|
|
45273
|
+
* 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.
|
|
45274
|
+
* @summary Set active provider and upsert its credentials (Munchi admins only)
|
|
44915
45275
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44916
45276
|
* @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
45277
|
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
@@ -44921,8 +45281,8 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
44921
45281
|
*/
|
|
44922
45282
|
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
45283
|
/**
|
|
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
|
|
45284
|
+
* 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.
|
|
45285
|
+
* @summary Create or update a channel\'s Stripe config (Munchi admins only)
|
|
44926
45286
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44927
45287
|
* @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
45288
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
@@ -44932,8 +45292,8 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
44932
45292
|
*/
|
|
44933
45293
|
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
45294
|
/**
|
|
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
|
|
45295
|
+
* 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.
|
|
45296
|
+
* @summary Create or update a channel\'s Viva config (Munchi admins only)
|
|
44937
45297
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44938
45298
|
* @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
45299
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
@@ -44942,6 +45302,17 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
44942
45302
|
* @memberof ConfigManagementApi
|
|
44943
45303
|
*/
|
|
44944
45304
|
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, {}>>;
|
|
45305
|
+
/**
|
|
45306
|
+
* 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.
|
|
45307
|
+
* @summary Create or update a channel\'s Worldline config (Munchi admins only)
|
|
45308
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
45309
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
45310
|
+
* @param {UpsertWorldlineDto} upsertWorldlineDto
|
|
45311
|
+
* @param {*} [options] Override http request option.
|
|
45312
|
+
* @throws {RequiredError}
|
|
45313
|
+
* @memberof ConfigManagementApi
|
|
45314
|
+
*/
|
|
45315
|
+
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
45316
|
}
|
|
44946
45317
|
/**
|
|
44947
45318
|
* CouponsApi - axios parameter creator
|
|
@@ -60324,7 +60695,7 @@ export declare const TerminalApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
60324
60695
|
*/
|
|
60325
60696
|
disconnectTerminal: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
60326
60697
|
/**
|
|
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
|
|
60698
|
+
* 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
60699
|
* @summary Discover available payment terminals
|
|
60329
60700
|
* @param {DiscoverTerminalDto} discoverTerminalDto The venue and the provider whose terminals to find
|
|
60330
60701
|
* @param {*} [options] Override http request option.
|
|
@@ -60353,7 +60724,7 @@ export declare const TerminalApiFp: (configuration?: Configuration) => {
|
|
|
60353
60724
|
*/
|
|
60354
60725
|
disconnectTerminal(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkedStationDto>>;
|
|
60355
60726
|
/**
|
|
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
|
|
60727
|
+
* 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
60728
|
* @summary Discover available payment terminals
|
|
60358
60729
|
* @param {DiscoverTerminalDto} discoverTerminalDto The venue and the provider whose terminals to find
|
|
60359
60730
|
* @param {*} [options] Override http request option.
|
|
@@ -60382,7 +60753,7 @@ export declare const TerminalApiFactory: (configuration?: Configuration, basePat
|
|
|
60382
60753
|
*/
|
|
60383
60754
|
disconnectTerminal(options?: any): AxiosPromise<LinkedStationDto>;
|
|
60384
60755
|
/**
|
|
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
|
|
60756
|
+
* 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
60757
|
* @summary Discover available payment terminals
|
|
60387
60758
|
* @param {DiscoverTerminalDto} discoverTerminalDto The venue and the provider whose terminals to find
|
|
60388
60759
|
* @param {*} [options] Override http request option.
|
|
@@ -60414,7 +60785,7 @@ export interface TerminalApiInterface {
|
|
|
60414
60785
|
*/
|
|
60415
60786
|
disconnectTerminal(options?: AxiosRequestConfig): AxiosPromise<LinkedStationDto>;
|
|
60416
60787
|
/**
|
|
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
|
|
60788
|
+
* 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
60789
|
* @summary Discover available payment terminals
|
|
60419
60790
|
* @param {DiscoverTerminalDto} discoverTerminalDto The venue and the provider whose terminals to find
|
|
60420
60791
|
* @param {*} [options] Override http request option.
|
|
@@ -60448,7 +60819,7 @@ export declare class TerminalApi extends BaseAPI implements TerminalApiInterface
|
|
|
60448
60819
|
*/
|
|
60449
60820
|
disconnectTerminal(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkedStationDto, any, {}>>;
|
|
60450
60821
|
/**
|
|
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
|
|
60822
|
+
* 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
60823
|
* @summary Discover available payment terminals
|
|
60453
60824
|
* @param {DiscoverTerminalDto} discoverTerminalDto The venue and the provider whose terminals to find
|
|
60454
60825
|
* @param {*} [options] Override http request option.
|
|
@@ -60743,7 +61114,7 @@ export declare const VenueKiosksApiAxiosParamCreator: (configuration?: Configura
|
|
|
60743
61114
|
*/
|
|
60744
61115
|
claimVenueKiosk: (businessId: number, claimKioskDto: ClaimKioskDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
60745
61116
|
/**
|
|
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.
|
|
61117
|
+
* 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
61118
|
* @summary Add a payment terminal to the venue (Munchi admins only)
|
|
60748
61119
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
60749
61120
|
* @param {CreatePaymentTerminalDto} createPaymentTerminalDto
|
|
@@ -60831,7 +61202,7 @@ export declare const VenueKiosksApiFp: (configuration?: Configuration) => {
|
|
|
60831
61202
|
*/
|
|
60832
61203
|
claimVenueKiosk(businessId: number, claimKioskDto: ClaimKioskDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VenueKioskDto>>;
|
|
60833
61204
|
/**
|
|
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.
|
|
61205
|
+
* 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
61206
|
* @summary Add a payment terminal to the venue (Munchi admins only)
|
|
60836
61207
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
60837
61208
|
* @param {CreatePaymentTerminalDto} createPaymentTerminalDto
|
|
@@ -60919,7 +61290,7 @@ export declare const VenueKiosksApiFactory: (configuration?: Configuration, base
|
|
|
60919
61290
|
*/
|
|
60920
61291
|
claimVenueKiosk(businessId: number, claimKioskDto: ClaimKioskDto, options?: any): AxiosPromise<VenueKioskDto>;
|
|
60921
61292
|
/**
|
|
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.
|
|
61293
|
+
* 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
61294
|
* @summary Add a payment terminal to the venue (Munchi admins only)
|
|
60924
61295
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
60925
61296
|
* @param {CreatePaymentTerminalDto} createPaymentTerminalDto
|
|
@@ -61010,7 +61381,7 @@ export interface VenueKiosksApiInterface {
|
|
|
61010
61381
|
*/
|
|
61011
61382
|
claimVenueKiosk(businessId: number, claimKioskDto: ClaimKioskDto, options?: AxiosRequestConfig): AxiosPromise<VenueKioskDto>;
|
|
61012
61383
|
/**
|
|
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.
|
|
61384
|
+
* 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
61385
|
* @summary Add a payment terminal to the venue (Munchi admins only)
|
|
61015
61386
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
61016
61387
|
* @param {CreatePaymentTerminalDto} createPaymentTerminalDto
|
|
@@ -61109,7 +61480,7 @@ export declare class VenueKiosksApi extends BaseAPI implements VenueKiosksApiInt
|
|
|
61109
61480
|
*/
|
|
61110
61481
|
claimVenueKiosk(businessId: number, claimKioskDto: ClaimKioskDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VenueKioskDto, any, {}>>;
|
|
61111
61482
|
/**
|
|
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.
|
|
61483
|
+
* 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
61484
|
* @summary Add a payment terminal to the venue (Munchi admins only)
|
|
61114
61485
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
61115
61486
|
* @param {CreatePaymentTerminalDto} createPaymentTerminalDto
|