@munchi_oy/core 2.16.0 → 2.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/api.d.ts +583 -68
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/generated/api.ts +772 -71
- package/package.json +13 -15
- package/src/version.ts +1 -1
package/generated/api.ts
CHANGED
|
@@ -3668,7 +3668,7 @@ export interface ConfigManagementResponseDto {
|
|
|
3668
3668
|
*/
|
|
3669
3669
|
'message'?: string;
|
|
3670
3670
|
/**
|
|
3671
|
-
* 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.
|
|
3671
|
+
* 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.
|
|
3672
3672
|
* @type {object}
|
|
3673
3673
|
* @memberof ConfigManagementResponseDto
|
|
3674
3674
|
*/
|
|
@@ -5070,7 +5070,7 @@ export interface CreatePaymentTerminalDto {
|
|
|
5070
5070
|
*/
|
|
5071
5071
|
'provider': TerminalProvider;
|
|
5072
5072
|
/**
|
|
5073
|
-
* 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
|
|
5073
|
+
* 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
|
|
5074
5074
|
* @type {string}
|
|
5075
5075
|
* @memberof CreatePaymentTerminalDto
|
|
5076
5076
|
*/
|
|
@@ -9183,6 +9183,12 @@ export interface GiftCardHistoryEventDto {
|
|
|
9183
9183
|
* @memberof GiftCardHistoryEventDto
|
|
9184
9184
|
*/
|
|
9185
9185
|
'orderId': string | null;
|
|
9186
|
+
/**
|
|
9187
|
+
* The number of that till order, as its receipt and the Orders screen show it; null when there is no order, or its number could not be read
|
|
9188
|
+
* @type {string}
|
|
9189
|
+
* @memberof GiftCardHistoryEventDto
|
|
9190
|
+
*/
|
|
9191
|
+
'orderNumber'?: string | null;
|
|
9186
9192
|
/**
|
|
9187
9193
|
* The address of an EMAILED, EMAIL_FAILED or EMAIL_CHANGED line; null for the others
|
|
9188
9194
|
* @type {string}
|
|
@@ -9475,6 +9481,12 @@ export interface GiftCardMovementDto {
|
|
|
9475
9481
|
* @memberof GiftCardMovementDto
|
|
9476
9482
|
*/
|
|
9477
9483
|
'orderId': string | null;
|
|
9484
|
+
/**
|
|
9485
|
+
* The number of that till order, as its receipt and the Orders screen show it; null when there is no order, or its number could not be read
|
|
9486
|
+
* @type {string}
|
|
9487
|
+
* @memberof GiftCardMovementDto
|
|
9488
|
+
*/
|
|
9489
|
+
'orderNumber'?: string | null;
|
|
9478
9490
|
/**
|
|
9479
9491
|
* True for a SOLD movement whose card is still NOT_YET_VALID: its POS order is not paid yet, and the report\'s sold leaves it out
|
|
9480
9492
|
* @type {boolean}
|
|
@@ -10498,6 +10510,70 @@ export interface InitiateNetsTerminalPaymentResponseDto {
|
|
|
10498
10510
|
*/
|
|
10499
10511
|
'connectCloudRequestId': string;
|
|
10500
10512
|
}
|
|
10513
|
+
/**
|
|
10514
|
+
*
|
|
10515
|
+
* @export
|
|
10516
|
+
* @interface InitiateNexiSessionDto
|
|
10517
|
+
*/
|
|
10518
|
+
export interface InitiateNexiSessionDto {
|
|
10519
|
+
/**
|
|
10520
|
+
*
|
|
10521
|
+
* @type {CreateManualSessionDtoDevice}
|
|
10522
|
+
* @memberof InitiateNexiSessionDto
|
|
10523
|
+
*/
|
|
10524
|
+
'device'?: CreateManualSessionDtoDevice | null;
|
|
10525
|
+
/**
|
|
10526
|
+
* The venue\'s orderingBusinessId. Must be the venue of the station calling.
|
|
10527
|
+
* @type {number}
|
|
10528
|
+
* @memberof InitiateNexiSessionDto
|
|
10529
|
+
*/
|
|
10530
|
+
'businessId': number;
|
|
10531
|
+
/**
|
|
10532
|
+
* The POS order this payment is for.
|
|
10533
|
+
* @type {string}
|
|
10534
|
+
* @memberof InitiateNexiSessionDto
|
|
10535
|
+
*/
|
|
10536
|
+
'orderId': string;
|
|
10537
|
+
/**
|
|
10538
|
+
* Amount to charge, in cents, without a tip: a tip the customer adds on the Nexi terminal is recorded from Nexi\'s answer. Must not exceed what the order still owes.
|
|
10539
|
+
* @type {number}
|
|
10540
|
+
* @memberof InitiateNexiSessionDto
|
|
10541
|
+
*/
|
|
10542
|
+
'amount': number;
|
|
10543
|
+
/**
|
|
10544
|
+
*
|
|
10545
|
+
* @type {InitiateNexiSessionDtoSplitContext}
|
|
10546
|
+
* @memberof InitiateNexiSessionDto
|
|
10547
|
+
*/
|
|
10548
|
+
'splitContext'?: InitiateNexiSessionDtoSplitContext;
|
|
10549
|
+
}
|
|
10550
|
+
/**
|
|
10551
|
+
* Split context. Omit for a full-cart payment, or send { mode, partId|seatId } for a split. Must match the order\'s checkoutModel.
|
|
10552
|
+
* @export
|
|
10553
|
+
* @interface InitiateNexiSessionDtoSplitContext
|
|
10554
|
+
*/
|
|
10555
|
+
export interface InitiateNexiSessionDtoSplitContext {
|
|
10556
|
+
/**
|
|
10557
|
+
*
|
|
10558
|
+
* @type {CheckoutModelEnum}
|
|
10559
|
+
* @memberof InitiateNexiSessionDtoSplitContext
|
|
10560
|
+
*/
|
|
10561
|
+
'mode': CheckoutModelEnum;
|
|
10562
|
+
/**
|
|
10563
|
+
* Equal-split part id. Required when mode=EQUAL_SPLIT; ignored otherwise.
|
|
10564
|
+
* @type {string}
|
|
10565
|
+
* @memberof InitiateNexiSessionDtoSplitContext
|
|
10566
|
+
*/
|
|
10567
|
+
'partId'?: string;
|
|
10568
|
+
/**
|
|
10569
|
+
* Item-split seat id. Required when mode=ITEM_SPLIT; ignored otherwise.
|
|
10570
|
+
* @type {string}
|
|
10571
|
+
* @memberof InitiateNexiSessionDtoSplitContext
|
|
10572
|
+
*/
|
|
10573
|
+
'seatId'?: string;
|
|
10574
|
+
}
|
|
10575
|
+
|
|
10576
|
+
|
|
10501
10577
|
/**
|
|
10502
10578
|
*
|
|
10503
10579
|
* @export
|
|
@@ -15385,6 +15461,18 @@ export interface NetsConfigResponseDto {
|
|
|
15385
15461
|
* @memberof NetsConfigResponseDto
|
|
15386
15462
|
*/
|
|
15387
15463
|
'clientSecret': string | null;
|
|
15464
|
+
/**
|
|
15465
|
+
* 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.
|
|
15466
|
+
* @type {boolean}
|
|
15467
|
+
* @memberof NetsConfigResponseDto
|
|
15468
|
+
*/
|
|
15469
|
+
'hasSecretKey': boolean;
|
|
15470
|
+
/**
|
|
15471
|
+
* 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.
|
|
15472
|
+
* @type {boolean}
|
|
15473
|
+
* @memberof NetsConfigResponseDto
|
|
15474
|
+
*/
|
|
15475
|
+
'hasClientSecret': boolean;
|
|
15388
15476
|
}
|
|
15389
15477
|
/**
|
|
15390
15478
|
*
|
|
@@ -15828,6 +15916,104 @@ export interface NewKdsStationDto {
|
|
|
15828
15916
|
*/
|
|
15829
15917
|
'categoryIds': Array<string>;
|
|
15830
15918
|
}
|
|
15919
|
+
/**
|
|
15920
|
+
*
|
|
15921
|
+
* @export
|
|
15922
|
+
* @interface NexiConfigResponseDto
|
|
15923
|
+
*/
|
|
15924
|
+
export interface NexiConfigResponseDto {
|
|
15925
|
+
/**
|
|
15926
|
+
* Whether the Nexi integration is active.
|
|
15927
|
+
* @type {boolean}
|
|
15928
|
+
* @memberof NexiConfigResponseDto
|
|
15929
|
+
*/
|
|
15930
|
+
'isActive': boolean;
|
|
15931
|
+
/**
|
|
15932
|
+
* Display name.
|
|
15933
|
+
* @type {string}
|
|
15934
|
+
* @memberof NexiConfigResponseDto
|
|
15935
|
+
*/
|
|
15936
|
+
'name': string | null;
|
|
15937
|
+
/**
|
|
15938
|
+
* Nexi POS API user name; null when none is stored.
|
|
15939
|
+
* @type {string}
|
|
15940
|
+
* @memberof NexiConfigResponseDto
|
|
15941
|
+
*/
|
|
15942
|
+
'username': string | null;
|
|
15943
|
+
/**
|
|
15944
|
+
* 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.
|
|
15945
|
+
* @type {string}
|
|
15946
|
+
* @memberof NexiConfigResponseDto
|
|
15947
|
+
*/
|
|
15948
|
+
'password': string | null;
|
|
15949
|
+
/**
|
|
15950
|
+
* 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.
|
|
15951
|
+
* @type {boolean}
|
|
15952
|
+
* @memberof NexiConfigResponseDto
|
|
15953
|
+
*/
|
|
15954
|
+
'hasPassword': boolean;
|
|
15955
|
+
}
|
|
15956
|
+
/**
|
|
15957
|
+
*
|
|
15958
|
+
* @export
|
|
15959
|
+
* @enum {string}
|
|
15960
|
+
*/
|
|
15961
|
+
|
|
15962
|
+
export const NexiPauseReason = {
|
|
15963
|
+
NexiUnheard: 'nexi unheard',
|
|
15964
|
+
NexiPaused: 'nexi paused',
|
|
15965
|
+
ConfirmNotTaken: 'confirm not taken',
|
|
15966
|
+
OrderNotWritten: 'order not written'
|
|
15967
|
+
} as const;
|
|
15968
|
+
|
|
15969
|
+
export type NexiPauseReason = typeof NexiPauseReason[keyof typeof NexiPauseReason];
|
|
15970
|
+
|
|
15971
|
+
|
|
15972
|
+
/**
|
|
15973
|
+
*
|
|
15974
|
+
* @export
|
|
15975
|
+
* @interface NexiWaitRoundDto
|
|
15976
|
+
*/
|
|
15977
|
+
export interface NexiWaitRoundDto {
|
|
15978
|
+
/**
|
|
15979
|
+
* The session\'s id, which Nexi knows as the sale\'s external_id.
|
|
15980
|
+
* @type {string}
|
|
15981
|
+
* @memberof NexiWaitRoundDto
|
|
15982
|
+
*/
|
|
15983
|
+
'sessionId': string;
|
|
15984
|
+
/**
|
|
15985
|
+
* This round\'s number, from 1. It names the Cloud Task, so one round is never queued twice.
|
|
15986
|
+
* @type {number}
|
|
15987
|
+
* @memberof NexiWaitRoundDto
|
|
15988
|
+
*/
|
|
15989
|
+
'round': number;
|
|
15990
|
+
/**
|
|
15991
|
+
* How many rounds in a row before this one were booked after a pause. The pause before the next round doubles with it, up to a minute.
|
|
15992
|
+
* @type {number}
|
|
15993
|
+
* @memberof NexiWaitRoundDto
|
|
15994
|
+
*/
|
|
15995
|
+
'pausedRounds': number;
|
|
15996
|
+
/**
|
|
15997
|
+
*
|
|
15998
|
+
* @type {NexiPauseReason}
|
|
15999
|
+
* @memberof NexiWaitRoundDto
|
|
16000
|
+
*/
|
|
16001
|
+
'pausedFor'?: NexiPauseReason;
|
|
16002
|
+
/**
|
|
16003
|
+
* When the pauses for `pausedFor` began, as an ISO 8601 time; absent when this round was booked at once.
|
|
16004
|
+
* @type {string}
|
|
16005
|
+
* @memberof NexiWaitRoundDto
|
|
16006
|
+
*/
|
|
16007
|
+
'pausedSince'?: string;
|
|
16008
|
+
/**
|
|
16009
|
+
* True once a person was alerted that the pauses for `pausedFor` outlasted their window; the server then keeps asking a minute apart and does not alert again. Absent before.
|
|
16010
|
+
* @type {boolean}
|
|
16011
|
+
* @memberof NexiWaitRoundDto
|
|
16012
|
+
*/
|
|
16013
|
+
'personTold'?: boolean;
|
|
16014
|
+
}
|
|
16015
|
+
|
|
16016
|
+
|
|
15831
16017
|
/**
|
|
15832
16018
|
*
|
|
15833
16019
|
* @export
|
|
@@ -19901,7 +20087,8 @@ export const PaymentProvider = {
|
|
|
19901
20087
|
Viva: 'viva',
|
|
19902
20088
|
Nets: 'nets',
|
|
19903
20089
|
Worldline: 'worldline',
|
|
19904
|
-
Epassi: 'epassi'
|
|
20090
|
+
Epassi: 'epassi',
|
|
20091
|
+
Nexi: 'nexi'
|
|
19905
20092
|
} as const;
|
|
19906
20093
|
|
|
19907
20094
|
export type PaymentProvider = typeof PaymentProvider[keyof typeof PaymentProvider];
|
|
@@ -19918,7 +20105,8 @@ export const PaymentProviderEnum = {
|
|
|
19918
20105
|
Viva: 'viva',
|
|
19919
20106
|
Nets: 'nets',
|
|
19920
20107
|
Worldline: 'worldline',
|
|
19921
|
-
Epassi: 'epassi'
|
|
20108
|
+
Epassi: 'epassi',
|
|
20109
|
+
Nexi: 'nexi'
|
|
19922
20110
|
} as const;
|
|
19923
20111
|
|
|
19924
20112
|
export type PaymentProviderEnum = typeof PaymentProviderEnum[keyof typeof PaymentProviderEnum];
|
|
@@ -25635,6 +25823,12 @@ export interface ProvidersConfigResponseDto {
|
|
|
25635
25823
|
* @memberof ProvidersConfigResponseDto
|
|
25636
25824
|
*/
|
|
25637
25825
|
'worldline': ProvidersConfigResponseDtoWorldline | null;
|
|
25826
|
+
/**
|
|
25827
|
+
*
|
|
25828
|
+
* @type {ProvidersConfigResponseDtoNexi}
|
|
25829
|
+
* @memberof ProvidersConfigResponseDto
|
|
25830
|
+
*/
|
|
25831
|
+
'nexi': ProvidersConfigResponseDtoNexi | null;
|
|
25638
25832
|
}
|
|
25639
25833
|
|
|
25640
25834
|
|
|
@@ -25680,6 +25874,55 @@ export interface ProvidersConfigResponseDtoNets {
|
|
|
25680
25874
|
* @memberof ProvidersConfigResponseDtoNets
|
|
25681
25875
|
*/
|
|
25682
25876
|
'clientSecret': string | null;
|
|
25877
|
+
/**
|
|
25878
|
+
* 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.
|
|
25879
|
+
* @type {boolean}
|
|
25880
|
+
* @memberof ProvidersConfigResponseDtoNets
|
|
25881
|
+
*/
|
|
25882
|
+
'hasSecretKey': boolean;
|
|
25883
|
+
/**
|
|
25884
|
+
* 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.
|
|
25885
|
+
* @type {boolean}
|
|
25886
|
+
* @memberof ProvidersConfigResponseDtoNets
|
|
25887
|
+
*/
|
|
25888
|
+
'hasClientSecret': boolean;
|
|
25889
|
+
}
|
|
25890
|
+
/**
|
|
25891
|
+
* The channel\'s Nexi settings; null when it has none.
|
|
25892
|
+
* @export
|
|
25893
|
+
* @interface ProvidersConfigResponseDtoNexi
|
|
25894
|
+
*/
|
|
25895
|
+
export interface ProvidersConfigResponseDtoNexi {
|
|
25896
|
+
/**
|
|
25897
|
+
* Whether the Nexi integration is active.
|
|
25898
|
+
* @type {boolean}
|
|
25899
|
+
* @memberof ProvidersConfigResponseDtoNexi
|
|
25900
|
+
*/
|
|
25901
|
+
'isActive': boolean;
|
|
25902
|
+
/**
|
|
25903
|
+
* Display name.
|
|
25904
|
+
* @type {string}
|
|
25905
|
+
* @memberof ProvidersConfigResponseDtoNexi
|
|
25906
|
+
*/
|
|
25907
|
+
'name': string | null;
|
|
25908
|
+
/**
|
|
25909
|
+
* Nexi POS API user name; null when none is stored.
|
|
25910
|
+
* @type {string}
|
|
25911
|
+
* @memberof ProvidersConfigResponseDtoNexi
|
|
25912
|
+
*/
|
|
25913
|
+
'username': string | null;
|
|
25914
|
+
/**
|
|
25915
|
+
* 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.
|
|
25916
|
+
* @type {string}
|
|
25917
|
+
* @memberof ProvidersConfigResponseDtoNexi
|
|
25918
|
+
*/
|
|
25919
|
+
'password': string | null;
|
|
25920
|
+
/**
|
|
25921
|
+
* 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.
|
|
25922
|
+
* @type {boolean}
|
|
25923
|
+
* @memberof ProvidersConfigResponseDtoNexi
|
|
25924
|
+
*/
|
|
25925
|
+
'hasPassword': boolean;
|
|
25683
25926
|
}
|
|
25684
25927
|
/**
|
|
25685
25928
|
* The channel\'s Stripe settings; null when it has none.
|
|
@@ -25793,6 +26036,12 @@ export interface ProvidersConfigResponseDtoWorldline {
|
|
|
25793
26036
|
* @memberof ProvidersConfigResponseDtoWorldline
|
|
25794
26037
|
*/
|
|
25795
26038
|
'publicKey': string | null;
|
|
26039
|
+
/**
|
|
26040
|
+
* 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.
|
|
26041
|
+
* @type {boolean}
|
|
26042
|
+
* @memberof ProvidersConfigResponseDtoWorldline
|
|
26043
|
+
*/
|
|
26044
|
+
'hasSecretKey': boolean;
|
|
25796
26045
|
}
|
|
25797
26046
|
/**
|
|
25798
26047
|
*
|
|
@@ -34946,7 +35195,8 @@ export type TerminalConnectionType = typeof TerminalConnectionType[keyof typeof
|
|
|
34946
35195
|
export const TerminalProvider = {
|
|
34947
35196
|
Viva: 'viva',
|
|
34948
35197
|
Nets: 'nets',
|
|
34949
|
-
Worldline: 'worldline'
|
|
35198
|
+
Worldline: 'worldline',
|
|
35199
|
+
Nexi: 'nexi'
|
|
34950
35200
|
} as const;
|
|
34951
35201
|
|
|
34952
35202
|
export type TerminalProvider = typeof TerminalProvider[keyof typeof TerminalProvider];
|
|
@@ -38517,6 +38767,37 @@ export interface UpsertNetsDto {
|
|
|
38517
38767
|
*/
|
|
38518
38768
|
'clientSecret'?: string;
|
|
38519
38769
|
}
|
|
38770
|
+
/**
|
|
38771
|
+
*
|
|
38772
|
+
* @export
|
|
38773
|
+
* @interface UpsertNexiDto
|
|
38774
|
+
*/
|
|
38775
|
+
export interface UpsertNexiDto {
|
|
38776
|
+
/**
|
|
38777
|
+
* The name shown for the Nexi integration. Absent keeps the stored value.
|
|
38778
|
+
* @type {string}
|
|
38779
|
+
* @memberof UpsertNexiDto
|
|
38780
|
+
*/
|
|
38781
|
+
'name'?: string;
|
|
38782
|
+
/**
|
|
38783
|
+
* Whether the Nexi integration is active. Absent keeps the stored value; a new Nexi config is saved active.
|
|
38784
|
+
* @type {boolean}
|
|
38785
|
+
* @memberof UpsertNexiDto
|
|
38786
|
+
*/
|
|
38787
|
+
'isActive'?: boolean;
|
|
38788
|
+
/**
|
|
38789
|
+
* 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.
|
|
38790
|
+
* @type {string}
|
|
38791
|
+
* @memberof UpsertNexiDto
|
|
38792
|
+
*/
|
|
38793
|
+
'username'?: string;
|
|
38794
|
+
/**
|
|
38795
|
+
* 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.
|
|
38796
|
+
* @type {string}
|
|
38797
|
+
* @memberof UpsertNexiDto
|
|
38798
|
+
*/
|
|
38799
|
+
'password'?: string;
|
|
38800
|
+
}
|
|
38520
38801
|
/**
|
|
38521
38802
|
*
|
|
38522
38803
|
* @export
|
|
@@ -38669,7 +38950,7 @@ export interface UpsertProvidersDto {
|
|
|
38669
38950
|
*/
|
|
38670
38951
|
'name'?: string;
|
|
38671
38952
|
/**
|
|
38672
|
-
* Whether the provider\'s integration is active. Absent keeps it for Viva and saves Nets, Stripe or
|
|
38953
|
+
* Whether the provider\'s integration is active. Absent keeps it for Viva and saves Nets, Stripe, Worldline or Nexi active.
|
|
38673
38954
|
* @type {boolean}
|
|
38674
38955
|
* @memberof UpsertProvidersDto
|
|
38675
38956
|
*/
|
|
@@ -38734,6 +39015,18 @@ export interface UpsertProvidersDto {
|
|
|
38734
39015
|
* @memberof UpsertProvidersDto
|
|
38735
39016
|
*/
|
|
38736
39017
|
'locationId'?: string;
|
|
39018
|
+
/**
|
|
39019
|
+
* 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.
|
|
39020
|
+
* @type {string}
|
|
39021
|
+
* @memberof UpsertProvidersDto
|
|
39022
|
+
*/
|
|
39023
|
+
'username'?: string;
|
|
39024
|
+
/**
|
|
39025
|
+
* 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.
|
|
39026
|
+
* @type {string}
|
|
39027
|
+
* @memberof UpsertProvidersDto
|
|
39028
|
+
*/
|
|
39029
|
+
'password'?: string;
|
|
38737
39030
|
}
|
|
38738
39031
|
|
|
38739
39032
|
|
|
@@ -38884,6 +39177,37 @@ export interface UpsertVivaDtoConfig {
|
|
|
38884
39177
|
*/
|
|
38885
39178
|
'additionalAmount'?: number;
|
|
38886
39179
|
}
|
|
39180
|
+
/**
|
|
39181
|
+
*
|
|
39182
|
+
* @export
|
|
39183
|
+
* @interface UpsertWorldlineDto
|
|
39184
|
+
*/
|
|
39185
|
+
export interface UpsertWorldlineDto {
|
|
39186
|
+
/**
|
|
39187
|
+
* The name shown for the Worldline integration. Absent keeps the stored value.
|
|
39188
|
+
* @type {string}
|
|
39189
|
+
* @memberof UpsertWorldlineDto
|
|
39190
|
+
*/
|
|
39191
|
+
'name'?: string;
|
|
39192
|
+
/**
|
|
39193
|
+
* Whether the Worldline integration is active. Absent keeps the stored value; a new Worldline config is saved active.
|
|
39194
|
+
* @type {boolean}
|
|
39195
|
+
* @memberof UpsertWorldlineDto
|
|
39196
|
+
*/
|
|
39197
|
+
'isActive'?: boolean;
|
|
39198
|
+
/**
|
|
39199
|
+
* The Worldline secret key. Absent keeps the stored value. An empty string or null is refused with 400.
|
|
39200
|
+
* @type {string}
|
|
39201
|
+
* @memberof UpsertWorldlineDto
|
|
39202
|
+
*/
|
|
39203
|
+
'secretKey'?: string;
|
|
39204
|
+
/**
|
|
39205
|
+
* The Worldline public key. Absent keeps the stored value. An empty string or null is refused with 400.
|
|
39206
|
+
* @type {string}
|
|
39207
|
+
* @memberof UpsertWorldlineDto
|
|
39208
|
+
*/
|
|
39209
|
+
'publicKey'?: string;
|
|
39210
|
+
}
|
|
38887
39211
|
/**
|
|
38888
39212
|
*
|
|
38889
39213
|
* @export
|
|
@@ -42356,6 +42680,12 @@ export interface WorldlineConfigResponseDto {
|
|
|
42356
42680
|
* @memberof WorldlineConfigResponseDto
|
|
42357
42681
|
*/
|
|
42358
42682
|
'publicKey': string | null;
|
|
42683
|
+
/**
|
|
42684
|
+
* 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.
|
|
42685
|
+
* @type {boolean}
|
|
42686
|
+
* @memberof WorldlineConfigResponseDto
|
|
42687
|
+
*/
|
|
42688
|
+
'hasSecretKey': boolean;
|
|
42359
42689
|
}
|
|
42360
42690
|
/**
|
|
42361
42691
|
*
|
|
@@ -47135,7 +47465,7 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
47135
47465
|
};
|
|
47136
47466
|
},
|
|
47137
47467
|
/**
|
|
47138
|
-
* The selected provider and each provider\'s settings. A secret key
|
|
47468
|
+
* 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).
|
|
47139
47469
|
* @summary Read a channel\'s card payment providers
|
|
47140
47470
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
47141
47471
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
@@ -47273,8 +47603,8 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
47273
47603
|
};
|
|
47274
47604
|
},
|
|
47275
47605
|
/**
|
|
47276
|
-
* 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.
|
|
47277
|
-
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi
|
|
47606
|
+
* 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.
|
|
47607
|
+
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
|
|
47278
47608
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
47279
47609
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
47280
47610
|
* @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
|
|
@@ -47521,8 +47851,8 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
47521
47851
|
};
|
|
47522
47852
|
},
|
|
47523
47853
|
/**
|
|
47524
|
-
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
|
|
47525
|
-
* @summary Create or update a channel\'s Nets config
|
|
47854
|
+
* 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.
|
|
47855
|
+
* @summary Create or update a channel\'s Nets config (Munchi admins only)
|
|
47526
47856
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
47527
47857
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
47528
47858
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
@@ -47571,6 +47901,57 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
47571
47901
|
options: localVarRequestOptions,
|
|
47572
47902
|
};
|
|
47573
47903
|
},
|
|
47904
|
+
/**
|
|
47905
|
+
* 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.
|
|
47906
|
+
* @summary Create or update a channel\'s Nexi config (Munchi admins only)
|
|
47907
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
47908
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
47909
|
+
* @param {UpsertNexiDto} upsertNexiDto
|
|
47910
|
+
* @param {*} [options] Override http request option.
|
|
47911
|
+
* @throws {RequiredError}
|
|
47912
|
+
*/
|
|
47913
|
+
configUpsertNexi: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNexiDto: UpsertNexiDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
47914
|
+
// verify required parameter 'businessId' is not null or undefined
|
|
47915
|
+
assertParamExists('configUpsertNexi', 'businessId', businessId)
|
|
47916
|
+
// verify required parameter 'xAppX' is not null or undefined
|
|
47917
|
+
assertParamExists('configUpsertNexi', 'xAppX', xAppX)
|
|
47918
|
+
// verify required parameter 'upsertNexiDto' is not null or undefined
|
|
47919
|
+
assertParamExists('configUpsertNexi', 'upsertNexiDto', upsertNexiDto)
|
|
47920
|
+
const localVarPath = `/api/v1/config-management/business/{businessId}/config/nexi`
|
|
47921
|
+
.replace(`{${"businessId"}}`, encodeURIComponent(String(businessId)));
|
|
47922
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47923
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
47924
|
+
let baseOptions;
|
|
47925
|
+
if (configuration) {
|
|
47926
|
+
baseOptions = configuration.baseOptions;
|
|
47927
|
+
}
|
|
47928
|
+
|
|
47929
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
47930
|
+
const localVarHeaderParameter = {} as any;
|
|
47931
|
+
const localVarQueryParameter = {} as any;
|
|
47932
|
+
|
|
47933
|
+
// authentication JWT-auth required
|
|
47934
|
+
// http bearer authentication required
|
|
47935
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
47936
|
+
|
|
47937
|
+
if (xAppX != null) {
|
|
47938
|
+
localVarHeaderParameter['x-app-x'] = String(xAppX);
|
|
47939
|
+
}
|
|
47940
|
+
|
|
47941
|
+
|
|
47942
|
+
|
|
47943
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
47944
|
+
|
|
47945
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
47946
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
47947
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
47948
|
+
localVarRequestOptions.data = serializeDataIfNeeded(upsertNexiDto, localVarRequestOptions, configuration)
|
|
47949
|
+
|
|
47950
|
+
return {
|
|
47951
|
+
url: toPathString(localVarUrlObj),
|
|
47952
|
+
options: localVarRequestOptions,
|
|
47953
|
+
};
|
|
47954
|
+
},
|
|
47574
47955
|
/**
|
|
47575
47956
|
* 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.
|
|
47576
47957
|
* @summary Create or update a channel\'s checkout payment options
|
|
@@ -47623,8 +48004,8 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
47623
48004
|
};
|
|
47624
48005
|
},
|
|
47625
48006
|
/**
|
|
47626
|
-
* Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline,
|
|
47627
|
-
* @summary Set active provider and upsert its credentials
|
|
48007
|
+
* 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.
|
|
48008
|
+
* @summary Set active provider and upsert its credentials (Munchi admins only)
|
|
47628
48009
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
47629
48010
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
47630
48011
|
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
@@ -47674,8 +48055,8 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
47674
48055
|
};
|
|
47675
48056
|
},
|
|
47676
48057
|
/**
|
|
47677
|
-
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
|
|
47678
|
-
* @summary Create or update a channel\'s Stripe config
|
|
48058
|
+
* 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.
|
|
48059
|
+
* @summary Create or update a channel\'s Stripe config (Munchi admins only)
|
|
47679
48060
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
47680
48061
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
47681
48062
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
@@ -47725,8 +48106,8 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
47725
48106
|
};
|
|
47726
48107
|
},
|
|
47727
48108
|
/**
|
|
47728
|
-
* 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.
|
|
47729
|
-
* @summary Create or update a channel\'s Viva config
|
|
48109
|
+
* 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.
|
|
48110
|
+
* @summary Create or update a channel\'s Viva config (Munchi admins only)
|
|
47730
48111
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
47731
48112
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
47732
48113
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
@@ -47770,6 +48151,57 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
|
|
|
47770
48151
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
47771
48152
|
localVarRequestOptions.data = serializeDataIfNeeded(upsertVivaDto, localVarRequestOptions, configuration)
|
|
47772
48153
|
|
|
48154
|
+
return {
|
|
48155
|
+
url: toPathString(localVarUrlObj),
|
|
48156
|
+
options: localVarRequestOptions,
|
|
48157
|
+
};
|
|
48158
|
+
},
|
|
48159
|
+
/**
|
|
48160
|
+
* 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.
|
|
48161
|
+
* @summary Create or update a channel\'s Worldline config (Munchi admins only)
|
|
48162
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
48163
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
48164
|
+
* @param {UpsertWorldlineDto} upsertWorldlineDto
|
|
48165
|
+
* @param {*} [options] Override http request option.
|
|
48166
|
+
* @throws {RequiredError}
|
|
48167
|
+
*/
|
|
48168
|
+
configUpsertWorldline: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertWorldlineDto: UpsertWorldlineDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
48169
|
+
// verify required parameter 'businessId' is not null or undefined
|
|
48170
|
+
assertParamExists('configUpsertWorldline', 'businessId', businessId)
|
|
48171
|
+
// verify required parameter 'xAppX' is not null or undefined
|
|
48172
|
+
assertParamExists('configUpsertWorldline', 'xAppX', xAppX)
|
|
48173
|
+
// verify required parameter 'upsertWorldlineDto' is not null or undefined
|
|
48174
|
+
assertParamExists('configUpsertWorldline', 'upsertWorldlineDto', upsertWorldlineDto)
|
|
48175
|
+
const localVarPath = `/api/v1/config-management/business/{businessId}/config/worldline`
|
|
48176
|
+
.replace(`{${"businessId"}}`, encodeURIComponent(String(businessId)));
|
|
48177
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48178
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
48179
|
+
let baseOptions;
|
|
48180
|
+
if (configuration) {
|
|
48181
|
+
baseOptions = configuration.baseOptions;
|
|
48182
|
+
}
|
|
48183
|
+
|
|
48184
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
48185
|
+
const localVarHeaderParameter = {} as any;
|
|
48186
|
+
const localVarQueryParameter = {} as any;
|
|
48187
|
+
|
|
48188
|
+
// authentication JWT-auth required
|
|
48189
|
+
// http bearer authentication required
|
|
48190
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
48191
|
+
|
|
48192
|
+
if (xAppX != null) {
|
|
48193
|
+
localVarHeaderParameter['x-app-x'] = String(xAppX);
|
|
48194
|
+
}
|
|
48195
|
+
|
|
48196
|
+
|
|
48197
|
+
|
|
48198
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
48199
|
+
|
|
48200
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
48201
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
48202
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
48203
|
+
localVarRequestOptions.data = serializeDataIfNeeded(upsertWorldlineDto, localVarRequestOptions, configuration)
|
|
48204
|
+
|
|
47773
48205
|
return {
|
|
47774
48206
|
url: toPathString(localVarUrlObj),
|
|
47775
48207
|
options: localVarRequestOptions,
|
|
@@ -47799,7 +48231,7 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
47799
48231
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
47800
48232
|
},
|
|
47801
48233
|
/**
|
|
47802
|
-
* The selected provider and each provider\'s settings. A secret key
|
|
48234
|
+
* 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).
|
|
47803
48235
|
* @summary Read a channel\'s card payment providers
|
|
47804
48236
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
47805
48237
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
@@ -47836,8 +48268,8 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
47836
48268
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
47837
48269
|
},
|
|
47838
48270
|
/**
|
|
47839
|
-
* 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.
|
|
47840
|
-
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi
|
|
48271
|
+
* 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.
|
|
48272
|
+
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
|
|
47841
48273
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
47842
48274
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
47843
48275
|
* @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
|
|
@@ -47900,8 +48332,8 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
47900
48332
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
47901
48333
|
},
|
|
47902
48334
|
/**
|
|
47903
|
-
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
|
|
47904
|
-
* @summary Create or update a channel\'s Nets config
|
|
48335
|
+
* 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.
|
|
48336
|
+
* @summary Create or update a channel\'s Nets config (Munchi admins only)
|
|
47905
48337
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
47906
48338
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
47907
48339
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
@@ -47912,6 +48344,19 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
47912
48344
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertNets(businessId, xAppX, upsertNetsDto, options);
|
|
47913
48345
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
47914
48346
|
},
|
|
48347
|
+
/**
|
|
48348
|
+
* 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.
|
|
48349
|
+
* @summary Create or update a channel\'s Nexi config (Munchi admins only)
|
|
48350
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
48351
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
48352
|
+
* @param {UpsertNexiDto} upsertNexiDto
|
|
48353
|
+
* @param {*} [options] Override http request option.
|
|
48354
|
+
* @throws {RequiredError}
|
|
48355
|
+
*/
|
|
48356
|
+
async 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>> {
|
|
48357
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertNexi(businessId, xAppX, upsertNexiDto, options);
|
|
48358
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
48359
|
+
},
|
|
47915
48360
|
/**
|
|
47916
48361
|
* 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.
|
|
47917
48362
|
* @summary Create or update a channel\'s checkout payment options
|
|
@@ -47926,8 +48371,8 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
47926
48371
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
47927
48372
|
},
|
|
47928
48373
|
/**
|
|
47929
|
-
* Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline,
|
|
47930
|
-
* @summary Set active provider and upsert its credentials
|
|
48374
|
+
* 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.
|
|
48375
|
+
* @summary Set active provider and upsert its credentials (Munchi admins only)
|
|
47931
48376
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
47932
48377
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
47933
48378
|
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
@@ -47939,8 +48384,8 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
47939
48384
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
47940
48385
|
},
|
|
47941
48386
|
/**
|
|
47942
|
-
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
|
|
47943
|
-
* @summary Create or update a channel\'s Stripe config
|
|
48387
|
+
* 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.
|
|
48388
|
+
* @summary Create or update a channel\'s Stripe config (Munchi admins only)
|
|
47944
48389
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
47945
48390
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
47946
48391
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
@@ -47952,8 +48397,8 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
47952
48397
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
47953
48398
|
},
|
|
47954
48399
|
/**
|
|
47955
|
-
* 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.
|
|
47956
|
-
* @summary Create or update a channel\'s Viva config
|
|
48400
|
+
* 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.
|
|
48401
|
+
* @summary Create or update a channel\'s Viva config (Munchi admins only)
|
|
47957
48402
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
47958
48403
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
47959
48404
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
@@ -47964,6 +48409,19 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
|
|
|
47964
48409
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertViva(businessId, xAppX, upsertVivaDto, options);
|
|
47965
48410
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
47966
48411
|
},
|
|
48412
|
+
/**
|
|
48413
|
+
* 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.
|
|
48414
|
+
* @summary Create or update a channel\'s Worldline config (Munchi admins only)
|
|
48415
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
48416
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
48417
|
+
* @param {UpsertWorldlineDto} upsertWorldlineDto
|
|
48418
|
+
* @param {*} [options] Override http request option.
|
|
48419
|
+
* @throws {RequiredError}
|
|
48420
|
+
*/
|
|
48421
|
+
async 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>> {
|
|
48422
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.configUpsertWorldline(businessId, xAppX, upsertWorldlineDto, options);
|
|
48423
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
48424
|
+
},
|
|
47967
48425
|
}
|
|
47968
48426
|
};
|
|
47969
48427
|
|
|
@@ -47987,7 +48445,7 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
|
|
|
47987
48445
|
return localVarFp.configConfigureMunchiGiftCard(businessId, xAppX, configureMunchiGiftCardDto, options).then((request) => request(axios, basePath));
|
|
47988
48446
|
},
|
|
47989
48447
|
/**
|
|
47990
|
-
* The selected provider and each provider\'s settings. A secret key
|
|
48448
|
+
* 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).
|
|
47991
48449
|
* @summary Read a channel\'s card payment providers
|
|
47992
48450
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
47993
48451
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
@@ -48021,8 +48479,8 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
|
|
|
48021
48479
|
return localVarFp.configRemovePaymentOption(businessId, id, xAppX, options).then((request) => request(axios, basePath));
|
|
48022
48480
|
},
|
|
48023
48481
|
/**
|
|
48024
|
-
* 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.
|
|
48025
|
-
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi
|
|
48482
|
+
* 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.
|
|
48483
|
+
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
|
|
48026
48484
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
48027
48485
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
48028
48486
|
* @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
|
|
@@ -48080,8 +48538,8 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
|
|
|
48080
48538
|
return localVarFp.configUpsertLoyalty(businessId, upsertLoyaltyDto, options).then((request) => request(axios, basePath));
|
|
48081
48539
|
},
|
|
48082
48540
|
/**
|
|
48083
|
-
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
|
|
48084
|
-
* @summary Create or update a channel\'s Nets config
|
|
48541
|
+
* 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.
|
|
48542
|
+
* @summary Create or update a channel\'s Nets config (Munchi admins only)
|
|
48085
48543
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
48086
48544
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
48087
48545
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
@@ -48091,6 +48549,18 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
|
|
|
48091
48549
|
configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNetsDto: UpsertNetsDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
48092
48550
|
return localVarFp.configUpsertNets(businessId, xAppX, upsertNetsDto, options).then((request) => request(axios, basePath));
|
|
48093
48551
|
},
|
|
48552
|
+
/**
|
|
48553
|
+
* 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.
|
|
48554
|
+
* @summary Create or update a channel\'s Nexi config (Munchi admins only)
|
|
48555
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
48556
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
48557
|
+
* @param {UpsertNexiDto} upsertNexiDto
|
|
48558
|
+
* @param {*} [options] Override http request option.
|
|
48559
|
+
* @throws {RequiredError}
|
|
48560
|
+
*/
|
|
48561
|
+
configUpsertNexi(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNexiDto: UpsertNexiDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
48562
|
+
return localVarFp.configUpsertNexi(businessId, xAppX, upsertNexiDto, options).then((request) => request(axios, basePath));
|
|
48563
|
+
},
|
|
48094
48564
|
/**
|
|
48095
48565
|
* 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.
|
|
48096
48566
|
* @summary Create or update a channel\'s checkout payment options
|
|
@@ -48104,8 +48574,8 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
|
|
|
48104
48574
|
return localVarFp.configUpsertPaymentOptions(businessId, xAppX, upsertPaymentOptionsDto, options).then((request) => request(axios, basePath));
|
|
48105
48575
|
},
|
|
48106
48576
|
/**
|
|
48107
|
-
* Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline,
|
|
48108
|
-
* @summary Set active provider and upsert its credentials
|
|
48577
|
+
* 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.
|
|
48578
|
+
* @summary Set active provider and upsert its credentials (Munchi admins only)
|
|
48109
48579
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
48110
48580
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
48111
48581
|
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
@@ -48116,8 +48586,8 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
|
|
|
48116
48586
|
return localVarFp.configUpsertProviders(businessId, xAppX, upsertProvidersDto, options).then((request) => request(axios, basePath));
|
|
48117
48587
|
},
|
|
48118
48588
|
/**
|
|
48119
|
-
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
|
|
48120
|
-
* @summary Create or update a channel\'s Stripe config
|
|
48589
|
+
* 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.
|
|
48590
|
+
* @summary Create or update a channel\'s Stripe config (Munchi admins only)
|
|
48121
48591
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
48122
48592
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
48123
48593
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
@@ -48128,8 +48598,8 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
|
|
|
48128
48598
|
return localVarFp.configUpsertStripe(businessId, xAppX, upsertStripeDto, options).then((request) => request(axios, basePath));
|
|
48129
48599
|
},
|
|
48130
48600
|
/**
|
|
48131
|
-
* 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.
|
|
48132
|
-
* @summary Create or update a channel\'s Viva config
|
|
48601
|
+
* 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.
|
|
48602
|
+
* @summary Create or update a channel\'s Viva config (Munchi admins only)
|
|
48133
48603
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
48134
48604
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
48135
48605
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
@@ -48139,6 +48609,18 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
|
|
|
48139
48609
|
configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertVivaDto: UpsertVivaDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
48140
48610
|
return localVarFp.configUpsertViva(businessId, xAppX, upsertVivaDto, options).then((request) => request(axios, basePath));
|
|
48141
48611
|
},
|
|
48612
|
+
/**
|
|
48613
|
+
* 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.
|
|
48614
|
+
* @summary Create or update a channel\'s Worldline config (Munchi admins only)
|
|
48615
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
48616
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
48617
|
+
* @param {UpsertWorldlineDto} upsertWorldlineDto
|
|
48618
|
+
* @param {*} [options] Override http request option.
|
|
48619
|
+
* @throws {RequiredError}
|
|
48620
|
+
*/
|
|
48621
|
+
configUpsertWorldline(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertWorldlineDto: UpsertWorldlineDto, options?: any): AxiosPromise<ConfigManagementResponseDto> {
|
|
48622
|
+
return localVarFp.configUpsertWorldline(businessId, xAppX, upsertWorldlineDto, options).then((request) => request(axios, basePath));
|
|
48623
|
+
},
|
|
48142
48624
|
};
|
|
48143
48625
|
};
|
|
48144
48626
|
|
|
@@ -48161,7 +48643,7 @@ export interface ConfigManagementApiInterface {
|
|
|
48161
48643
|
configConfigureMunchiGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', configureMunchiGiftCardDto: ConfigureMunchiGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
48162
48644
|
|
|
48163
48645
|
/**
|
|
48164
|
-
* The selected provider and each provider\'s settings. A secret key
|
|
48646
|
+
* 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).
|
|
48165
48647
|
* @summary Read a channel\'s card payment providers
|
|
48166
48648
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
48167
48649
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
@@ -48195,8 +48677,8 @@ export interface ConfigManagementApiInterface {
|
|
|
48195
48677
|
configRemovePaymentOption(businessId: number, id: string, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
48196
48678
|
|
|
48197
48679
|
/**
|
|
48198
|
-
* 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.
|
|
48199
|
-
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi
|
|
48680
|
+
* 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.
|
|
48681
|
+
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
|
|
48200
48682
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
48201
48683
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
48202
48684
|
* @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
|
|
@@ -48254,8 +48736,8 @@ export interface ConfigManagementApiInterface {
|
|
|
48254
48736
|
configUpsertLoyalty(businessId: number, upsertLoyaltyDto: UpsertLoyaltyDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
48255
48737
|
|
|
48256
48738
|
/**
|
|
48257
|
-
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
|
|
48258
|
-
* @summary Create or update a channel\'s Nets config
|
|
48739
|
+
* 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.
|
|
48740
|
+
* @summary Create or update a channel\'s Nets config (Munchi admins only)
|
|
48259
48741
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
48260
48742
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
48261
48743
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
@@ -48265,6 +48747,18 @@ export interface ConfigManagementApiInterface {
|
|
|
48265
48747
|
*/
|
|
48266
48748
|
configUpsertNets(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNetsDto: UpsertNetsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
48267
48749
|
|
|
48750
|
+
/**
|
|
48751
|
+
* 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.
|
|
48752
|
+
* @summary Create or update a channel\'s Nexi config (Munchi admins only)
|
|
48753
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
48754
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
48755
|
+
* @param {UpsertNexiDto} upsertNexiDto
|
|
48756
|
+
* @param {*} [options] Override http request option.
|
|
48757
|
+
* @throws {RequiredError}
|
|
48758
|
+
* @memberof ConfigManagementApiInterface
|
|
48759
|
+
*/
|
|
48760
|
+
configUpsertNexi(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNexiDto: UpsertNexiDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
48761
|
+
|
|
48268
48762
|
/**
|
|
48269
48763
|
* 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.
|
|
48270
48764
|
* @summary Create or update a channel\'s checkout payment options
|
|
@@ -48278,8 +48772,8 @@ export interface ConfigManagementApiInterface {
|
|
|
48278
48772
|
configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
48279
48773
|
|
|
48280
48774
|
/**
|
|
48281
|
-
* Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline,
|
|
48282
|
-
* @summary Set active provider and upsert its credentials
|
|
48775
|
+
* 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.
|
|
48776
|
+
* @summary Set active provider and upsert its credentials (Munchi admins only)
|
|
48283
48777
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
48284
48778
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
48285
48779
|
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
@@ -48290,8 +48784,8 @@ export interface ConfigManagementApiInterface {
|
|
|
48290
48784
|
configUpsertProviders(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertProvidersDto: UpsertProvidersDto, options?: AxiosRequestConfig): AxiosPromise<ProvidersConfigResponseDto>;
|
|
48291
48785
|
|
|
48292
48786
|
/**
|
|
48293
|
-
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
|
|
48294
|
-
* @summary Create or update a channel\'s Stripe config
|
|
48787
|
+
* 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.
|
|
48788
|
+
* @summary Create or update a channel\'s Stripe config (Munchi admins only)
|
|
48295
48789
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
48296
48790
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
48297
48791
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
@@ -48302,8 +48796,8 @@ export interface ConfigManagementApiInterface {
|
|
|
48302
48796
|
configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
48303
48797
|
|
|
48304
48798
|
/**
|
|
48305
|
-
* 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.
|
|
48306
|
-
* @summary Create or update a channel\'s Viva config
|
|
48799
|
+
* 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.
|
|
48800
|
+
* @summary Create or update a channel\'s Viva config (Munchi admins only)
|
|
48307
48801
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
48308
48802
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
48309
48803
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
@@ -48313,6 +48807,18 @@ export interface ConfigManagementApiInterface {
|
|
|
48313
48807
|
*/
|
|
48314
48808
|
configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
48315
48809
|
|
|
48810
|
+
/**
|
|
48811
|
+
* 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.
|
|
48812
|
+
* @summary Create or update a channel\'s Worldline config (Munchi admins only)
|
|
48813
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
48814
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
48815
|
+
* @param {UpsertWorldlineDto} upsertWorldlineDto
|
|
48816
|
+
* @param {*} [options] Override http request option.
|
|
48817
|
+
* @throws {RequiredError}
|
|
48818
|
+
* @memberof ConfigManagementApiInterface
|
|
48819
|
+
*/
|
|
48820
|
+
configUpsertWorldline(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertWorldlineDto: UpsertWorldlineDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
48821
|
+
|
|
48316
48822
|
}
|
|
48317
48823
|
|
|
48318
48824
|
/**
|
|
@@ -48337,7 +48843,7 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
48337
48843
|
}
|
|
48338
48844
|
|
|
48339
48845
|
/**
|
|
48340
|
-
* The selected provider and each provider\'s settings. A secret key
|
|
48846
|
+
* 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).
|
|
48341
48847
|
* @summary Read a channel\'s card payment providers
|
|
48342
48848
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
48343
48849
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
@@ -48377,8 +48883,8 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
48377
48883
|
}
|
|
48378
48884
|
|
|
48379
48885
|
/**
|
|
48380
|
-
* 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.
|
|
48381
|
-
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi
|
|
48886
|
+
* 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.
|
|
48887
|
+
* @summary Save a channel\'s Epassi credentials and answer the public key to send Epassi (Munchi admins only)
|
|
48382
48888
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
48383
48889
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
48384
48890
|
* @param {string} xEpassiAccessKey The access key Epassi issued for this venue; Epassi issues a different one for test and production.
|
|
@@ -48446,8 +48952,8 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
48446
48952
|
}
|
|
48447
48953
|
|
|
48448
48954
|
/**
|
|
48449
|
-
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Nets config and token are cleared.
|
|
48450
|
-
* @summary Create or update a channel\'s Nets config
|
|
48955
|
+
* 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.
|
|
48956
|
+
* @summary Create or update a channel\'s Nets config (Munchi admins only)
|
|
48451
48957
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
48452
48958
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
48453
48959
|
* @param {UpsertNetsDto} upsertNetsDto
|
|
@@ -48459,6 +48965,20 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
48459
48965
|
return ConfigManagementApiFp(this.configuration).configUpsertNets(businessId, xAppX, upsertNetsDto, options).then((request) => request(this.axios, this.basePath));
|
|
48460
48966
|
}
|
|
48461
48967
|
|
|
48968
|
+
/**
|
|
48969
|
+
* 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.
|
|
48970
|
+
* @summary Create or update a channel\'s Nexi config (Munchi admins only)
|
|
48971
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
48972
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
48973
|
+
* @param {UpsertNexiDto} upsertNexiDto
|
|
48974
|
+
* @param {*} [options] Override http request option.
|
|
48975
|
+
* @throws {RequiredError}
|
|
48976
|
+
* @memberof ConfigManagementApi
|
|
48977
|
+
*/
|
|
48978
|
+
public configUpsertNexi(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertNexiDto: UpsertNexiDto, options?: AxiosRequestConfig) {
|
|
48979
|
+
return ConfigManagementApiFp(this.configuration).configUpsertNexi(businessId, xAppX, upsertNexiDto, options).then((request) => request(this.axios, this.basePath));
|
|
48980
|
+
}
|
|
48981
|
+
|
|
48462
48982
|
/**
|
|
48463
48983
|
* 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.
|
|
48464
48984
|
* @summary Create or update a channel\'s checkout payment options
|
|
@@ -48474,8 +48994,8 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
48474
48994
|
}
|
|
48475
48995
|
|
|
48476
48996
|
/**
|
|
48477
|
-
* Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline,
|
|
48478
|
-
* @summary Set active provider and upsert its credentials
|
|
48997
|
+
* 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.
|
|
48998
|
+
* @summary Set active provider and upsert its credentials (Munchi admins only)
|
|
48479
48999
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
48480
49000
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
48481
49001
|
* @param {UpsertProvidersDto} upsertProvidersDto
|
|
@@ -48488,8 +49008,8 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
48488
49008
|
}
|
|
48489
49009
|
|
|
48490
49010
|
/**
|
|
48491
|
-
* Creates the channel\'s config first if it has none. Saved active unless isActive is sent. The cached Stripe config is cleared.
|
|
48492
|
-
* @summary Create or update a channel\'s Stripe config
|
|
49011
|
+
* 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.
|
|
49012
|
+
* @summary Create or update a channel\'s Stripe config (Munchi admins only)
|
|
48493
49013
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
48494
49014
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
48495
49015
|
* @param {UpsertStripeDto} upsertStripeDto
|
|
@@ -48502,8 +49022,8 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
48502
49022
|
}
|
|
48503
49023
|
|
|
48504
49024
|
/**
|
|
48505
|
-
* 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.
|
|
48506
|
-
* @summary Create or update a channel\'s Viva config
|
|
49025
|
+
* 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.
|
|
49026
|
+
* @summary Create or update a channel\'s Viva config (Munchi admins only)
|
|
48507
49027
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
48508
49028
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
48509
49029
|
* @param {UpsertVivaDto} upsertVivaDto
|
|
@@ -48514,6 +49034,20 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
|
|
|
48514
49034
|
public configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig) {
|
|
48515
49035
|
return ConfigManagementApiFp(this.configuration).configUpsertViva(businessId, xAppX, upsertVivaDto, options).then((request) => request(this.axios, this.basePath));
|
|
48516
49036
|
}
|
|
49037
|
+
|
|
49038
|
+
/**
|
|
49039
|
+
* 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.
|
|
49040
|
+
* @summary Create or update a channel\'s Worldline config (Munchi admins only)
|
|
49041
|
+
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
49042
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
49043
|
+
* @param {UpsertWorldlineDto} upsertWorldlineDto
|
|
49044
|
+
* @param {*} [options] Override http request option.
|
|
49045
|
+
* @throws {RequiredError}
|
|
49046
|
+
* @memberof ConfigManagementApi
|
|
49047
|
+
*/
|
|
49048
|
+
public configUpsertWorldline(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertWorldlineDto: UpsertWorldlineDto, options?: AxiosRequestConfig) {
|
|
49049
|
+
return ConfigManagementApiFp(this.configuration).configUpsertWorldline(businessId, xAppX, upsertWorldlineDto, options).then((request) => request(this.axios, this.basePath));
|
|
49050
|
+
}
|
|
48517
49051
|
}
|
|
48518
49052
|
|
|
48519
49053
|
|
|
@@ -63977,6 +64511,47 @@ export const PaymentSessionApiAxiosParamCreator = function (configuration?: Conf
|
|
|
63977
64511
|
options: localVarRequestOptions,
|
|
63978
64512
|
};
|
|
63979
64513
|
},
|
|
64514
|
+
/**
|
|
64515
|
+
* Saves the session first, its sessionId being the sale\'s external_id at Nexi, then asks Nexi to start the sale and answer at once. The customer then taps on the terminal; Cloud Tasks ask Nexi until the sale ends. When Nexi answers paid, in this order: Nexi\'s answer is kept on the session (the status unchanged), Nexi is confirmed (which takes the money), the session is stored SUCCESS, the payment is written on the order (reconciliation, which announces the settled order on the venue\'s channel), and only then SUCCESS is announced on the session\'s channel. So nothing tells the till \'paid\' before the money is taken. If the order cannot take the payment, it is asked again for up to 5 minutes, then the charge goes to the till as its own order and a person is alerted. Follow the session on the Ably channel nexi.<channel>.requests.<sessionId> (event payment:status-changed) or with GET /payment-session/:clientToken, which shows SUCCESS from the moment Nexi took the money. A tip or surcharge typed on the terminal is recorded from Nexi\'s answer. A Nexi sale is refused by :clientToken/cancel; Nexi\'s own cancel comes with a later route. Idempotent by the X-Idempotency-Key header within the venue: a repeat answers the session it started without asking Nexi again. A signed-in ticket only: the service key is not accepted (R27).
|
|
64516
|
+
* @summary Start a card payment on the station\'s Nexi terminal
|
|
64517
|
+
* @param {InitiateNexiSessionDto} initiateNexiSessionDto
|
|
64518
|
+
* @param {string} [xIdempotencyKey] A UUID the app makes for this payment. A repeated key answers the session it started, without charging again.
|
|
64519
|
+
* @param {*} [options] Override http request option.
|
|
64520
|
+
* @throws {RequiredError}
|
|
64521
|
+
*/
|
|
64522
|
+
initiateNexiSession: async (initiateNexiSessionDto: InitiateNexiSessionDto, xIdempotencyKey?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
64523
|
+
// verify required parameter 'initiateNexiSessionDto' is not null or undefined
|
|
64524
|
+
assertParamExists('initiateNexiSession', 'initiateNexiSessionDto', initiateNexiSessionDto)
|
|
64525
|
+
const localVarPath = `/api/v1/payment-session/nexi/initiate`;
|
|
64526
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
64527
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
64528
|
+
let baseOptions;
|
|
64529
|
+
if (configuration) {
|
|
64530
|
+
baseOptions = configuration.baseOptions;
|
|
64531
|
+
}
|
|
64532
|
+
|
|
64533
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
64534
|
+
const localVarHeaderParameter = {} as any;
|
|
64535
|
+
const localVarQueryParameter = {} as any;
|
|
64536
|
+
|
|
64537
|
+
if (xIdempotencyKey != null) {
|
|
64538
|
+
localVarHeaderParameter['X-Idempotency-Key'] = String(xIdempotencyKey);
|
|
64539
|
+
}
|
|
64540
|
+
|
|
64541
|
+
|
|
64542
|
+
|
|
64543
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
64544
|
+
|
|
64545
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
64546
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64547
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
64548
|
+
localVarRequestOptions.data = serializeDataIfNeeded(initiateNexiSessionDto, localVarRequestOptions, configuration)
|
|
64549
|
+
|
|
64550
|
+
return {
|
|
64551
|
+
url: toPathString(localVarUrlObj),
|
|
64552
|
+
options: localVarRequestOptions,
|
|
64553
|
+
};
|
|
64554
|
+
},
|
|
63980
64555
|
/**
|
|
63981
64556
|
* Builds the Viva app-to-app launch params (same as the legacy viva/a2a/create-payment) and persists a PaymentSession keyed by the Viva clientTransactionId, so the webhook + reconciliation own the order mutation. Returns the launch params plus a clientToken to poll the session.
|
|
63982
64557
|
* @summary Initiate a Viva app-to-app payment session
|
|
@@ -64782,6 +65357,42 @@ export const PaymentSessionApiAxiosParamCreator = function (configuration?: Conf
|
|
|
64782
65357
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
64783
65358
|
localVarRequestOptions.data = serializeDataIfNeeded(voidManualSessionDto, localVarRequestOptions, configuration)
|
|
64784
65359
|
|
|
65360
|
+
return {
|
|
65361
|
+
url: toPathString(localVarUrlObj),
|
|
65362
|
+
options: localVarRequestOptions,
|
|
65363
|
+
};
|
|
65364
|
+
},
|
|
65365
|
+
/**
|
|
65366
|
+
* Called by a Cloud Task with the scheduler key, never by an app. Repeats a waiting sale\'s purchase at Nexi, which holds the question up to 25 seconds and answers the moment the customer finishes. Still at the terminal: the next round is booked at once; paused at Nexi: after a pause. Paid: Nexi\'s answer is kept, Nexi is confirmed, the sale is stored SUCCESS, written on the order, then announced. Not paid: the failure is confirmed at Nexi with its code, then recorded FAILED in the till\'s words and announced. A sale already stored paid is put on the order from what the session keeps: Nexi is not asked and no login is read. Nexi busy or unreachable: the next round follows Nexi\'s Retry-After up to a minute, or a pause that doubles up to a minute, each with jitter. After 5 minutes of pauses for one reason: an order write that keeps failing hands the charge to the till as its own order and alerts a person; a confirm Nexi keeps refusing (Nexi: confirm until the server takes it) and a Nexi that cannot be heard alert a person once and are asked on every minute, never given up. Answers 500 when the next round could not be booked, so Cloud Tasks runs this round again.
|
|
65367
|
+
* @summary Internal: ask Nexi about a sale once more (Cloud Task callback)
|
|
65368
|
+
* @param {NexiWaitRoundDto} nexiWaitRoundDto
|
|
65369
|
+
* @param {*} [options] Override http request option.
|
|
65370
|
+
* @throws {RequiredError}
|
|
65371
|
+
*/
|
|
65372
|
+
waitForNexiSession: async (nexiWaitRoundDto: NexiWaitRoundDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
65373
|
+
// verify required parameter 'nexiWaitRoundDto' is not null or undefined
|
|
65374
|
+
assertParamExists('waitForNexiSession', 'nexiWaitRoundDto', nexiWaitRoundDto)
|
|
65375
|
+
const localVarPath = `/api/v1/payment-session/nexi/wait`;
|
|
65376
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
65377
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
65378
|
+
let baseOptions;
|
|
65379
|
+
if (configuration) {
|
|
65380
|
+
baseOptions = configuration.baseOptions;
|
|
65381
|
+
}
|
|
65382
|
+
|
|
65383
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
65384
|
+
const localVarHeaderParameter = {} as any;
|
|
65385
|
+
const localVarQueryParameter = {} as any;
|
|
65386
|
+
|
|
65387
|
+
|
|
65388
|
+
|
|
65389
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
65390
|
+
|
|
65391
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
65392
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
65393
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
65394
|
+
localVarRequestOptions.data = serializeDataIfNeeded(nexiWaitRoundDto, localVarRequestOptions, configuration)
|
|
65395
|
+
|
|
64785
65396
|
return {
|
|
64786
65397
|
url: toPathString(localVarUrlObj),
|
|
64787
65398
|
options: localVarRequestOptions,
|
|
@@ -64882,6 +65493,18 @@ export const PaymentSessionApiFp = function(configuration?: Configuration) {
|
|
|
64882
65493
|
const localVarAxiosArgs = await localVarAxiosParamCreator.initiateNetsSession(initiateNetsSessionDto, xIdempotencyKey, options);
|
|
64883
65494
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
64884
65495
|
},
|
|
65496
|
+
/**
|
|
65497
|
+
* Saves the session first, its sessionId being the sale\'s external_id at Nexi, then asks Nexi to start the sale and answer at once. The customer then taps on the terminal; Cloud Tasks ask Nexi until the sale ends. When Nexi answers paid, in this order: Nexi\'s answer is kept on the session (the status unchanged), Nexi is confirmed (which takes the money), the session is stored SUCCESS, the payment is written on the order (reconciliation, which announces the settled order on the venue\'s channel), and only then SUCCESS is announced on the session\'s channel. So nothing tells the till \'paid\' before the money is taken. If the order cannot take the payment, it is asked again for up to 5 minutes, then the charge goes to the till as its own order and a person is alerted. Follow the session on the Ably channel nexi.<channel>.requests.<sessionId> (event payment:status-changed) or with GET /payment-session/:clientToken, which shows SUCCESS from the moment Nexi took the money. A tip or surcharge typed on the terminal is recorded from Nexi\'s answer. A Nexi sale is refused by :clientToken/cancel; Nexi\'s own cancel comes with a later route. Idempotent by the X-Idempotency-Key header within the venue: a repeat answers the session it started without asking Nexi again. A signed-in ticket only: the service key is not accepted (R27).
|
|
65498
|
+
* @summary Start a card payment on the station\'s Nexi terminal
|
|
65499
|
+
* @param {InitiateNexiSessionDto} initiateNexiSessionDto
|
|
65500
|
+
* @param {string} [xIdempotencyKey] A UUID the app makes for this payment. A repeated key answers the session it started, without charging again.
|
|
65501
|
+
* @param {*} [options] Override http request option.
|
|
65502
|
+
* @throws {RequiredError}
|
|
65503
|
+
*/
|
|
65504
|
+
async initiateNexiSession(initiateNexiSessionDto: InitiateNexiSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentSessionViewDto>> {
|
|
65505
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.initiateNexiSession(initiateNexiSessionDto, xIdempotencyKey, options);
|
|
65506
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
65507
|
+
},
|
|
64885
65508
|
/**
|
|
64886
65509
|
* Builds the Viva app-to-app launch params (same as the legacy viva/a2a/create-payment) and persists a PaymentSession keyed by the Viva clientTransactionId, so the webhook + reconciliation own the order mutation. Returns the launch params plus a clientToken to poll the session.
|
|
64887
65510
|
* @summary Initiate a Viva app-to-app payment session
|
|
@@ -65128,6 +65751,17 @@ export const PaymentSessionApiFp = function(configuration?: Configuration) {
|
|
|
65128
65751
|
const localVarAxiosArgs = await localVarAxiosParamCreator.voidManualPayment(voidManualSessionDto, options);
|
|
65129
65752
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
65130
65753
|
},
|
|
65754
|
+
/**
|
|
65755
|
+
* Called by a Cloud Task with the scheduler key, never by an app. Repeats a waiting sale\'s purchase at Nexi, which holds the question up to 25 seconds and answers the moment the customer finishes. Still at the terminal: the next round is booked at once; paused at Nexi: after a pause. Paid: Nexi\'s answer is kept, Nexi is confirmed, the sale is stored SUCCESS, written on the order, then announced. Not paid: the failure is confirmed at Nexi with its code, then recorded FAILED in the till\'s words and announced. A sale already stored paid is put on the order from what the session keeps: Nexi is not asked and no login is read. Nexi busy or unreachable: the next round follows Nexi\'s Retry-After up to a minute, or a pause that doubles up to a minute, each with jitter. After 5 minutes of pauses for one reason: an order write that keeps failing hands the charge to the till as its own order and alerts a person; a confirm Nexi keeps refusing (Nexi: confirm until the server takes it) and a Nexi that cannot be heard alert a person once and are asked on every minute, never given up. Answers 500 when the next round could not be booked, so Cloud Tasks runs this round again.
|
|
65756
|
+
* @summary Internal: ask Nexi about a sale once more (Cloud Task callback)
|
|
65757
|
+
* @param {NexiWaitRoundDto} nexiWaitRoundDto
|
|
65758
|
+
* @param {*} [options] Override http request option.
|
|
65759
|
+
* @throws {RequiredError}
|
|
65760
|
+
*/
|
|
65761
|
+
async waitForNexiSession(nexiWaitRoundDto: NexiWaitRoundDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
65762
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.waitForNexiSession(nexiWaitRoundDto, options);
|
|
65763
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
65764
|
+
},
|
|
65131
65765
|
}
|
|
65132
65766
|
};
|
|
65133
65767
|
|
|
@@ -65216,6 +65850,17 @@ export const PaymentSessionApiFactory = function (configuration?: Configuration,
|
|
|
65216
65850
|
initiateNetsSession(initiateNetsSessionDto: InitiateNetsSessionDto, xIdempotencyKey?: string, options?: any): AxiosPromise<InitiateNetsSessionResponseDto> {
|
|
65217
65851
|
return localVarFp.initiateNetsSession(initiateNetsSessionDto, xIdempotencyKey, options).then((request) => request(axios, basePath));
|
|
65218
65852
|
},
|
|
65853
|
+
/**
|
|
65854
|
+
* Saves the session first, its sessionId being the sale\'s external_id at Nexi, then asks Nexi to start the sale and answer at once. The customer then taps on the terminal; Cloud Tasks ask Nexi until the sale ends. When Nexi answers paid, in this order: Nexi\'s answer is kept on the session (the status unchanged), Nexi is confirmed (which takes the money), the session is stored SUCCESS, the payment is written on the order (reconciliation, which announces the settled order on the venue\'s channel), and only then SUCCESS is announced on the session\'s channel. So nothing tells the till \'paid\' before the money is taken. If the order cannot take the payment, it is asked again for up to 5 minutes, then the charge goes to the till as its own order and a person is alerted. Follow the session on the Ably channel nexi.<channel>.requests.<sessionId> (event payment:status-changed) or with GET /payment-session/:clientToken, which shows SUCCESS from the moment Nexi took the money. A tip or surcharge typed on the terminal is recorded from Nexi\'s answer. A Nexi sale is refused by :clientToken/cancel; Nexi\'s own cancel comes with a later route. Idempotent by the X-Idempotency-Key header within the venue: a repeat answers the session it started without asking Nexi again. A signed-in ticket only: the service key is not accepted (R27).
|
|
65855
|
+
* @summary Start a card payment on the station\'s Nexi terminal
|
|
65856
|
+
* @param {InitiateNexiSessionDto} initiateNexiSessionDto
|
|
65857
|
+
* @param {string} [xIdempotencyKey] A UUID the app makes for this payment. A repeated key answers the session it started, without charging again.
|
|
65858
|
+
* @param {*} [options] Override http request option.
|
|
65859
|
+
* @throws {RequiredError}
|
|
65860
|
+
*/
|
|
65861
|
+
initiateNexiSession(initiateNexiSessionDto: InitiateNexiSessionDto, xIdempotencyKey?: string, options?: any): AxiosPromise<PaymentSessionViewDto> {
|
|
65862
|
+
return localVarFp.initiateNexiSession(initiateNexiSessionDto, xIdempotencyKey, options).then((request) => request(axios, basePath));
|
|
65863
|
+
},
|
|
65219
65864
|
/**
|
|
65220
65865
|
* Builds the Viva app-to-app launch params (same as the legacy viva/a2a/create-payment) and persists a PaymentSession keyed by the Viva clientTransactionId, so the webhook + reconciliation own the order mutation. Returns the launch params plus a clientToken to poll the session.
|
|
65221
65866
|
* @summary Initiate a Viva app-to-app payment session
|
|
@@ -65440,6 +66085,16 @@ export const PaymentSessionApiFactory = function (configuration?: Configuration,
|
|
|
65440
66085
|
voidManualPayment(voidManualSessionDto: VoidManualSessionDto, options?: any): AxiosPromise<RecordManualPaymentResultDto> {
|
|
65441
66086
|
return localVarFp.voidManualPayment(voidManualSessionDto, options).then((request) => request(axios, basePath));
|
|
65442
66087
|
},
|
|
66088
|
+
/**
|
|
66089
|
+
* Called by a Cloud Task with the scheduler key, never by an app. Repeats a waiting sale\'s purchase at Nexi, which holds the question up to 25 seconds and answers the moment the customer finishes. Still at the terminal: the next round is booked at once; paused at Nexi: after a pause. Paid: Nexi\'s answer is kept, Nexi is confirmed, the sale is stored SUCCESS, written on the order, then announced. Not paid: the failure is confirmed at Nexi with its code, then recorded FAILED in the till\'s words and announced. A sale already stored paid is put on the order from what the session keeps: Nexi is not asked and no login is read. Nexi busy or unreachable: the next round follows Nexi\'s Retry-After up to a minute, or a pause that doubles up to a minute, each with jitter. After 5 minutes of pauses for one reason: an order write that keeps failing hands the charge to the till as its own order and alerts a person; a confirm Nexi keeps refusing (Nexi: confirm until the server takes it) and a Nexi that cannot be heard alert a person once and are asked on every minute, never given up. Answers 500 when the next round could not be booked, so Cloud Tasks runs this round again.
|
|
66090
|
+
* @summary Internal: ask Nexi about a sale once more (Cloud Task callback)
|
|
66091
|
+
* @param {NexiWaitRoundDto} nexiWaitRoundDto
|
|
66092
|
+
* @param {*} [options] Override http request option.
|
|
66093
|
+
* @throws {RequiredError}
|
|
66094
|
+
*/
|
|
66095
|
+
waitForNexiSession(nexiWaitRoundDto: NexiWaitRoundDto, options?: any): AxiosPromise<void> {
|
|
66096
|
+
return localVarFp.waitForNexiSession(nexiWaitRoundDto, options).then((request) => request(axios, basePath));
|
|
66097
|
+
},
|
|
65443
66098
|
};
|
|
65444
66099
|
};
|
|
65445
66100
|
|
|
@@ -65527,6 +66182,17 @@ export interface PaymentSessionApiInterface {
|
|
|
65527
66182
|
*/
|
|
65528
66183
|
initiateNetsSession(initiateNetsSessionDto: InitiateNetsSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig): AxiosPromise<InitiateNetsSessionResponseDto>;
|
|
65529
66184
|
|
|
66185
|
+
/**
|
|
66186
|
+
* Saves the session first, its sessionId being the sale\'s external_id at Nexi, then asks Nexi to start the sale and answer at once. The customer then taps on the terminal; Cloud Tasks ask Nexi until the sale ends. When Nexi answers paid, in this order: Nexi\'s answer is kept on the session (the status unchanged), Nexi is confirmed (which takes the money), the session is stored SUCCESS, the payment is written on the order (reconciliation, which announces the settled order on the venue\'s channel), and only then SUCCESS is announced on the session\'s channel. So nothing tells the till \'paid\' before the money is taken. If the order cannot take the payment, it is asked again for up to 5 minutes, then the charge goes to the till as its own order and a person is alerted. Follow the session on the Ably channel nexi.<channel>.requests.<sessionId> (event payment:status-changed) or with GET /payment-session/:clientToken, which shows SUCCESS from the moment Nexi took the money. A tip or surcharge typed on the terminal is recorded from Nexi\'s answer. A Nexi sale is refused by :clientToken/cancel; Nexi\'s own cancel comes with a later route. Idempotent by the X-Idempotency-Key header within the venue: a repeat answers the session it started without asking Nexi again. A signed-in ticket only: the service key is not accepted (R27).
|
|
66187
|
+
* @summary Start a card payment on the station\'s Nexi terminal
|
|
66188
|
+
* @param {InitiateNexiSessionDto} initiateNexiSessionDto
|
|
66189
|
+
* @param {string} [xIdempotencyKey] A UUID the app makes for this payment. A repeated key answers the session it started, without charging again.
|
|
66190
|
+
* @param {*} [options] Override http request option.
|
|
66191
|
+
* @throws {RequiredError}
|
|
66192
|
+
* @memberof PaymentSessionApiInterface
|
|
66193
|
+
*/
|
|
66194
|
+
initiateNexiSession(initiateNexiSessionDto: InitiateNexiSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionViewDto>;
|
|
66195
|
+
|
|
65530
66196
|
/**
|
|
65531
66197
|
* Builds the Viva app-to-app launch params (same as the legacy viva/a2a/create-payment) and persists a PaymentSession keyed by the Viva clientTransactionId, so the webhook + reconciliation own the order mutation. Returns the launch params plus a clientToken to poll the session.
|
|
65532
66198
|
* @summary Initiate a Viva app-to-app payment session
|
|
@@ -65751,6 +66417,16 @@ export interface PaymentSessionApiInterface {
|
|
|
65751
66417
|
*/
|
|
65752
66418
|
voidManualPayment(voidManualSessionDto: VoidManualSessionDto, options?: AxiosRequestConfig): AxiosPromise<RecordManualPaymentResultDto>;
|
|
65753
66419
|
|
|
66420
|
+
/**
|
|
66421
|
+
* Called by a Cloud Task with the scheduler key, never by an app. Repeats a waiting sale\'s purchase at Nexi, which holds the question up to 25 seconds and answers the moment the customer finishes. Still at the terminal: the next round is booked at once; paused at Nexi: after a pause. Paid: Nexi\'s answer is kept, Nexi is confirmed, the sale is stored SUCCESS, written on the order, then announced. Not paid: the failure is confirmed at Nexi with its code, then recorded FAILED in the till\'s words and announced. A sale already stored paid is put on the order from what the session keeps: Nexi is not asked and no login is read. Nexi busy or unreachable: the next round follows Nexi\'s Retry-After up to a minute, or a pause that doubles up to a minute, each with jitter. After 5 minutes of pauses for one reason: an order write that keeps failing hands the charge to the till as its own order and alerts a person; a confirm Nexi keeps refusing (Nexi: confirm until the server takes it) and a Nexi that cannot be heard alert a person once and are asked on every minute, never given up. Answers 500 when the next round could not be booked, so Cloud Tasks runs this round again.
|
|
66422
|
+
* @summary Internal: ask Nexi about a sale once more (Cloud Task callback)
|
|
66423
|
+
* @param {NexiWaitRoundDto} nexiWaitRoundDto
|
|
66424
|
+
* @param {*} [options] Override http request option.
|
|
66425
|
+
* @throws {RequiredError}
|
|
66426
|
+
* @memberof PaymentSessionApiInterface
|
|
66427
|
+
*/
|
|
66428
|
+
waitForNexiSession(nexiWaitRoundDto: NexiWaitRoundDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
66429
|
+
|
|
65754
66430
|
}
|
|
65755
66431
|
|
|
65756
66432
|
/**
|
|
@@ -65852,6 +66528,19 @@ export class PaymentSessionApi extends BaseAPI implements PaymentSessionApiInter
|
|
|
65852
66528
|
return PaymentSessionApiFp(this.configuration).initiateNetsSession(initiateNetsSessionDto, xIdempotencyKey, options).then((request) => request(this.axios, this.basePath));
|
|
65853
66529
|
}
|
|
65854
66530
|
|
|
66531
|
+
/**
|
|
66532
|
+
* Saves the session first, its sessionId being the sale\'s external_id at Nexi, then asks Nexi to start the sale and answer at once. The customer then taps on the terminal; Cloud Tasks ask Nexi until the sale ends. When Nexi answers paid, in this order: Nexi\'s answer is kept on the session (the status unchanged), Nexi is confirmed (which takes the money), the session is stored SUCCESS, the payment is written on the order (reconciliation, which announces the settled order on the venue\'s channel), and only then SUCCESS is announced on the session\'s channel. So nothing tells the till \'paid\' before the money is taken. If the order cannot take the payment, it is asked again for up to 5 minutes, then the charge goes to the till as its own order and a person is alerted. Follow the session on the Ably channel nexi.<channel>.requests.<sessionId> (event payment:status-changed) or with GET /payment-session/:clientToken, which shows SUCCESS from the moment Nexi took the money. A tip or surcharge typed on the terminal is recorded from Nexi\'s answer. A Nexi sale is refused by :clientToken/cancel; Nexi\'s own cancel comes with a later route. Idempotent by the X-Idempotency-Key header within the venue: a repeat answers the session it started without asking Nexi again. A signed-in ticket only: the service key is not accepted (R27).
|
|
66533
|
+
* @summary Start a card payment on the station\'s Nexi terminal
|
|
66534
|
+
* @param {InitiateNexiSessionDto} initiateNexiSessionDto
|
|
66535
|
+
* @param {string} [xIdempotencyKey] A UUID the app makes for this payment. A repeated key answers the session it started, without charging again.
|
|
66536
|
+
* @param {*} [options] Override http request option.
|
|
66537
|
+
* @throws {RequiredError}
|
|
66538
|
+
* @memberof PaymentSessionApi
|
|
66539
|
+
*/
|
|
66540
|
+
public initiateNexiSession(initiateNexiSessionDto: InitiateNexiSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig) {
|
|
66541
|
+
return PaymentSessionApiFp(this.configuration).initiateNexiSession(initiateNexiSessionDto, xIdempotencyKey, options).then((request) => request(this.axios, this.basePath));
|
|
66542
|
+
}
|
|
66543
|
+
|
|
65855
66544
|
/**
|
|
65856
66545
|
* Builds the Viva app-to-app launch params (same as the legacy viva/a2a/create-payment) and persists a PaymentSession keyed by the Viva clientTransactionId, so the webhook + reconciliation own the order mutation. Returns the launch params plus a clientToken to poll the session.
|
|
65857
66546
|
* @summary Initiate a Viva app-to-app payment session
|
|
@@ -66119,6 +66808,18 @@ export class PaymentSessionApi extends BaseAPI implements PaymentSessionApiInter
|
|
|
66119
66808
|
public voidManualPayment(voidManualSessionDto: VoidManualSessionDto, options?: AxiosRequestConfig) {
|
|
66120
66809
|
return PaymentSessionApiFp(this.configuration).voidManualPayment(voidManualSessionDto, options).then((request) => request(this.axios, this.basePath));
|
|
66121
66810
|
}
|
|
66811
|
+
|
|
66812
|
+
/**
|
|
66813
|
+
* Called by a Cloud Task with the scheduler key, never by an app. Repeats a waiting sale\'s purchase at Nexi, which holds the question up to 25 seconds and answers the moment the customer finishes. Still at the terminal: the next round is booked at once; paused at Nexi: after a pause. Paid: Nexi\'s answer is kept, Nexi is confirmed, the sale is stored SUCCESS, written on the order, then announced. Not paid: the failure is confirmed at Nexi with its code, then recorded FAILED in the till\'s words and announced. A sale already stored paid is put on the order from what the session keeps: Nexi is not asked and no login is read. Nexi busy or unreachable: the next round follows Nexi\'s Retry-After up to a minute, or a pause that doubles up to a minute, each with jitter. After 5 minutes of pauses for one reason: an order write that keeps failing hands the charge to the till as its own order and alerts a person; a confirm Nexi keeps refusing (Nexi: confirm until the server takes it) and a Nexi that cannot be heard alert a person once and are asked on every minute, never given up. Answers 500 when the next round could not be booked, so Cloud Tasks runs this round again.
|
|
66814
|
+
* @summary Internal: ask Nexi about a sale once more (Cloud Task callback)
|
|
66815
|
+
* @param {NexiWaitRoundDto} nexiWaitRoundDto
|
|
66816
|
+
* @param {*} [options] Override http request option.
|
|
66817
|
+
* @throws {RequiredError}
|
|
66818
|
+
* @memberof PaymentSessionApi
|
|
66819
|
+
*/
|
|
66820
|
+
public waitForNexiSession(nexiWaitRoundDto: NexiWaitRoundDto, options?: AxiosRequestConfig) {
|
|
66821
|
+
return PaymentSessionApiFp(this.configuration).waitForNexiSession(nexiWaitRoundDto, options).then((request) => request(this.axios, this.basePath));
|
|
66822
|
+
}
|
|
66122
66823
|
}
|
|
66123
66824
|
|
|
66124
66825
|
|
|
@@ -76849,7 +77550,7 @@ export const TerminalApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
76849
77550
|
};
|
|
76850
77551
|
},
|
|
76851
77552
|
/**
|
|
76852
|
-
* 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
|
|
77553
|
+
* 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.
|
|
76853
77554
|
* @summary Discover available payment terminals
|
|
76854
77555
|
* @param {DiscoverTerminalDto} discoverTerminalDto The venue and the provider whose terminals to find
|
|
76855
77556
|
* @param {*} [options] Override http request option.
|
|
@@ -76916,7 +77617,7 @@ export const TerminalApiFp = function(configuration?: Configuration) {
|
|
|
76916
77617
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
76917
77618
|
},
|
|
76918
77619
|
/**
|
|
76919
|
-
* 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
|
|
77620
|
+
* 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.
|
|
76920
77621
|
* @summary Discover available payment terminals
|
|
76921
77622
|
* @param {DiscoverTerminalDto} discoverTerminalDto The venue and the provider whose terminals to find
|
|
76922
77623
|
* @param {*} [options] Override http request option.
|
|
@@ -76956,7 +77657,7 @@ export const TerminalApiFactory = function (configuration?: Configuration, baseP
|
|
|
76956
77657
|
return localVarFp.disconnectTerminal(options).then((request) => request(axios, basePath));
|
|
76957
77658
|
},
|
|
76958
77659
|
/**
|
|
76959
|
-
* 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
|
|
77660
|
+
* 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.
|
|
76960
77661
|
* @summary Discover available payment terminals
|
|
76961
77662
|
* @param {DiscoverTerminalDto} discoverTerminalDto The venue and the provider whose terminals to find
|
|
76962
77663
|
* @param {*} [options] Override http request option.
|
|
@@ -76994,7 +77695,7 @@ export interface TerminalApiInterface {
|
|
|
76994
77695
|
disconnectTerminal(options?: AxiosRequestConfig): AxiosPromise<LinkedStationDto>;
|
|
76995
77696
|
|
|
76996
77697
|
/**
|
|
76997
|
-
* 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
|
|
77698
|
+
* 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.
|
|
76998
77699
|
* @summary Discover available payment terminals
|
|
76999
77700
|
* @param {DiscoverTerminalDto} discoverTerminalDto The venue and the provider whose terminals to find
|
|
77000
77701
|
* @param {*} [options] Override http request option.
|
|
@@ -77036,7 +77737,7 @@ export class TerminalApi extends BaseAPI implements TerminalApiInterface {
|
|
|
77036
77737
|
}
|
|
77037
77738
|
|
|
77038
77739
|
/**
|
|
77039
|
-
* 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
|
|
77740
|
+
* 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.
|
|
77040
77741
|
* @summary Discover available payment terminals
|
|
77041
77742
|
* @param {DiscoverTerminalDto} discoverTerminalDto The venue and the provider whose terminals to find
|
|
77042
77743
|
* @param {*} [options] Override http request option.
|
|
@@ -77619,7 +78320,7 @@ export const VenueKiosksApiAxiosParamCreator = function (configuration?: Configu
|
|
|
77619
78320
|
};
|
|
77620
78321
|
},
|
|
77621
78322
|
/**
|
|
77622
|
-
* 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.
|
|
78323
|
+
* 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.
|
|
77623
78324
|
* @summary Add a payment terminal to the venue (Munchi admins only)
|
|
77624
78325
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
77625
78326
|
* @param {CreatePaymentTerminalDto} createPaymentTerminalDto
|
|
@@ -77954,7 +78655,7 @@ export const VenueKiosksApiFp = function(configuration?: Configuration) {
|
|
|
77954
78655
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
77955
78656
|
},
|
|
77956
78657
|
/**
|
|
77957
|
-
* 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.
|
|
78658
|
+
* 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.
|
|
77958
78659
|
* @summary Add a payment terminal to the venue (Munchi admins only)
|
|
77959
78660
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
77960
78661
|
* @param {CreatePaymentTerminalDto} createPaymentTerminalDto
|
|
@@ -78071,7 +78772,7 @@ export const VenueKiosksApiFactory = function (configuration?: Configuration, ba
|
|
|
78071
78772
|
return localVarFp.claimVenueKiosk(businessId, claimKioskDto, options).then((request) => request(axios, basePath));
|
|
78072
78773
|
},
|
|
78073
78774
|
/**
|
|
78074
|
-
* 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.
|
|
78775
|
+
* 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.
|
|
78075
78776
|
* @summary Add a payment terminal to the venue (Munchi admins only)
|
|
78076
78777
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
78077
78778
|
* @param {CreatePaymentTerminalDto} createPaymentTerminalDto
|
|
@@ -78180,7 +78881,7 @@ export interface VenueKiosksApiInterface {
|
|
|
78180
78881
|
claimVenueKiosk(businessId: number, claimKioskDto: ClaimKioskDto, options?: AxiosRequestConfig): AxiosPromise<VenueKioskDto>;
|
|
78181
78882
|
|
|
78182
78883
|
/**
|
|
78183
|
-
* 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.
|
|
78884
|
+
* 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.
|
|
78184
78885
|
* @summary Add a payment terminal to the venue (Munchi admins only)
|
|
78185
78886
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
78186
78887
|
* @param {CreatePaymentTerminalDto} createPaymentTerminalDto
|
|
@@ -78293,7 +78994,7 @@ export class VenueKiosksApi extends BaseAPI implements VenueKiosksApiInterface {
|
|
|
78293
78994
|
}
|
|
78294
78995
|
|
|
78295
78996
|
/**
|
|
78296
|
-
* 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.
|
|
78997
|
+
* 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.
|
|
78297
78998
|
* @summary Add a payment terminal to the venue (Munchi admins only)
|
|
78298
78999
|
* @param {number} businessId The venue\'s orderingBusinessId
|
|
78299
79000
|
* @param {CreatePaymentTerminalDto} createPaymentTerminalDto
|