@munchi_oy/core 1.9.117 → 1.9.119
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 +292 -5
- 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 +385 -6
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ import { BaseAPI } from './base';
|
|
|
21
21
|
export declare const ABLYEVENT: {
|
|
22
22
|
readonly Sync: "sync";
|
|
23
23
|
readonly KdsItemStatusSync: "kds_item_status_sync";
|
|
24
|
+
readonly PosOrderCompleted: "pos.order.completed";
|
|
24
25
|
};
|
|
25
26
|
export type ABLYEVENT = typeof ABLYEVENT[keyof typeof ABLYEVENT];
|
|
26
27
|
/**
|
|
@@ -3477,6 +3478,12 @@ export interface CreateLoyaltyProgramUserResponseDto {
|
|
|
3477
3478
|
* @interface CreateManualSessionDto
|
|
3478
3479
|
*/
|
|
3479
3480
|
export interface CreateManualSessionDto {
|
|
3481
|
+
/**
|
|
3482
|
+
*
|
|
3483
|
+
* @type {CreateManualSessionDtoDevice}
|
|
3484
|
+
* @memberof CreateManualSessionDto
|
|
3485
|
+
*/
|
|
3486
|
+
'device'?: CreateManualSessionDtoDevice | null;
|
|
3480
3487
|
/**
|
|
3481
3488
|
* The internal business ID.
|
|
3482
3489
|
* @type {number}
|
|
@@ -3544,6 +3551,31 @@ export interface CreateManualSessionDto {
|
|
|
3544
3551
|
*/
|
|
3545
3552
|
'cashConfig'?: object;
|
|
3546
3553
|
}
|
|
3554
|
+
/**
|
|
3555
|
+
* The device taking this payment. Optional, so an app build that predates the field still pays.
|
|
3556
|
+
* @export
|
|
3557
|
+
* @interface CreateManualSessionDtoDevice
|
|
3558
|
+
*/
|
|
3559
|
+
export interface CreateManualSessionDtoDevice {
|
|
3560
|
+
/**
|
|
3561
|
+
* Station hardware id of the device.
|
|
3562
|
+
* @type {string}
|
|
3563
|
+
* @memberof CreateManualSessionDtoDevice
|
|
3564
|
+
*/
|
|
3565
|
+
'id': string;
|
|
3566
|
+
/**
|
|
3567
|
+
* The device\'s name at the time of payment. Empty when the venue never set one.
|
|
3568
|
+
* @type {string}
|
|
3569
|
+
* @memberof CreateManualSessionDtoDevice
|
|
3570
|
+
*/
|
|
3571
|
+
'name'?: string | null;
|
|
3572
|
+
/**
|
|
3573
|
+
*
|
|
3574
|
+
* @type {PaymentApp}
|
|
3575
|
+
* @memberof CreateManualSessionDtoDevice
|
|
3576
|
+
*/
|
|
3577
|
+
'app': PaymentApp;
|
|
3578
|
+
}
|
|
3547
3579
|
/**
|
|
3548
3580
|
* The full POS order (cart) this payment is for. Sent by the client instead of a separate Firestore upsert so the backend writes the order, records the payment and returns the computed order in one round-trip.
|
|
3549
3581
|
* @export
|
|
@@ -6724,6 +6756,12 @@ export interface InboundReservationWebhookDto {
|
|
|
6724
6756
|
* @interface InitiateNetsSessionDto
|
|
6725
6757
|
*/
|
|
6726
6758
|
export interface InitiateNetsSessionDto {
|
|
6759
|
+
/**
|
|
6760
|
+
*
|
|
6761
|
+
* @type {CreateManualSessionDtoDevice}
|
|
6762
|
+
* @memberof InitiateNetsSessionDto
|
|
6763
|
+
*/
|
|
6764
|
+
'device'?: CreateManualSessionDtoDevice | null;
|
|
6727
6765
|
/**
|
|
6728
6766
|
* The internal business ID.
|
|
6729
6767
|
* @type {number}
|
|
@@ -6835,6 +6873,12 @@ export interface InitiateVivaA2aSessionDto {
|
|
|
6835
6873
|
* @memberof InitiateVivaA2aSessionDto
|
|
6836
6874
|
*/
|
|
6837
6875
|
'showTransactionResult'?: boolean;
|
|
6876
|
+
/**
|
|
6877
|
+
*
|
|
6878
|
+
* @type {CreateManualSessionDtoDevice}
|
|
6879
|
+
* @memberof InitiateVivaA2aSessionDto
|
|
6880
|
+
*/
|
|
6881
|
+
'device'?: CreateManualSessionDtoDevice | null;
|
|
6838
6882
|
/**
|
|
6839
6883
|
*
|
|
6840
6884
|
* @type {CreateManualSessionDtoSplitContext}
|
|
@@ -6957,6 +7001,12 @@ export interface InitiateVivaA2aSessionResponseDto {
|
|
|
6957
7001
|
* @interface InitiateVivaSessionDto
|
|
6958
7002
|
*/
|
|
6959
7003
|
export interface InitiateVivaSessionDto {
|
|
7004
|
+
/**
|
|
7005
|
+
*
|
|
7006
|
+
* @type {CreateManualSessionDtoDevice}
|
|
7007
|
+
* @memberof InitiateVivaSessionDto
|
|
7008
|
+
*/
|
|
7009
|
+
'device'?: CreateManualSessionDtoDevice | null;
|
|
6960
7010
|
/**
|
|
6961
7011
|
* The internal business ID.
|
|
6962
7012
|
* @type {number}
|
|
@@ -7098,6 +7148,12 @@ export interface InitiateVivaSessionResponseDtoVivaIntent {
|
|
|
7098
7148
|
* @interface InitiateWorldlineSessionDto
|
|
7099
7149
|
*/
|
|
7100
7150
|
export interface InitiateWorldlineSessionDto {
|
|
7151
|
+
/**
|
|
7152
|
+
*
|
|
7153
|
+
* @type {CreateManualSessionDtoDevice}
|
|
7154
|
+
* @memberof InitiateWorldlineSessionDto
|
|
7155
|
+
*/
|
|
7156
|
+
'device'?: CreateManualSessionDtoDevice | null;
|
|
7101
7157
|
/**
|
|
7102
7158
|
* The internal business ID.
|
|
7103
7159
|
* @type {number}
|
|
@@ -13231,6 +13287,17 @@ export interface PayTerminalSessionTokenResponseDto {
|
|
|
13231
13287
|
*/
|
|
13232
13288
|
'terminalName'?: string | null;
|
|
13233
13289
|
}
|
|
13290
|
+
/**
|
|
13291
|
+
*
|
|
13292
|
+
* @export
|
|
13293
|
+
* @enum {string}
|
|
13294
|
+
*/
|
|
13295
|
+
export declare const PaymentApp: {
|
|
13296
|
+
readonly Pos: "munchi_pos";
|
|
13297
|
+
readonly Handheld: "munchi_handheld";
|
|
13298
|
+
readonly Pay: "munchi_pay";
|
|
13299
|
+
};
|
|
13300
|
+
export type PaymentApp = typeof PaymentApp[keyof typeof PaymentApp];
|
|
13234
13301
|
/**
|
|
13235
13302
|
*
|
|
13236
13303
|
* @export
|
|
@@ -13282,6 +13349,31 @@ export interface PaymentDetailsDto {
|
|
|
13282
13349
|
*/
|
|
13283
13350
|
'difference': number;
|
|
13284
13351
|
}
|
|
13352
|
+
/**
|
|
13353
|
+
*
|
|
13354
|
+
* @export
|
|
13355
|
+
* @interface PaymentDeviceDto
|
|
13356
|
+
*/
|
|
13357
|
+
export interface PaymentDeviceDto {
|
|
13358
|
+
/**
|
|
13359
|
+
* Station hardware id of the device.
|
|
13360
|
+
* @type {string}
|
|
13361
|
+
* @memberof PaymentDeviceDto
|
|
13362
|
+
*/
|
|
13363
|
+
'id': string;
|
|
13364
|
+
/**
|
|
13365
|
+
* The device\'s name at the time of payment. Empty when the venue never set one.
|
|
13366
|
+
* @type {string}
|
|
13367
|
+
* @memberof PaymentDeviceDto
|
|
13368
|
+
*/
|
|
13369
|
+
'name'?: string | null;
|
|
13370
|
+
/**
|
|
13371
|
+
*
|
|
13372
|
+
* @type {PaymentApp}
|
|
13373
|
+
* @memberof PaymentDeviceDto
|
|
13374
|
+
*/
|
|
13375
|
+
'app': PaymentApp;
|
|
13376
|
+
}
|
|
13285
13377
|
/**
|
|
13286
13378
|
*
|
|
13287
13379
|
* @export
|
|
@@ -14851,6 +14943,18 @@ export interface PaymentStatusDtoTransaction {
|
|
|
14851
14943
|
* @memberof PaymentStatusDtoTransaction
|
|
14852
14944
|
*/
|
|
14853
14945
|
'itemAllocations'?: Array<TransactionItemAllocationDto> | null;
|
|
14946
|
+
/**
|
|
14947
|
+
*
|
|
14948
|
+
* @type {TransactionDtoDevice}
|
|
14949
|
+
* @memberof PaymentStatusDtoTransaction
|
|
14950
|
+
*/
|
|
14951
|
+
'device'?: TransactionDtoDevice | null;
|
|
14952
|
+
/**
|
|
14953
|
+
*
|
|
14954
|
+
* @type {TransactionDtoCapturedBy}
|
|
14955
|
+
* @memberof PaymentStatusDtoTransaction
|
|
14956
|
+
*/
|
|
14957
|
+
'capturedBy'?: TransactionDtoCapturedBy | null;
|
|
14854
14958
|
/**
|
|
14855
14959
|
* Indicates whether this transaction was processed as a pre-authorization.
|
|
14856
14960
|
* @type {string}
|
|
@@ -17935,6 +18039,25 @@ export declare const PrinterTypeEnum: {
|
|
|
17935
18039
|
readonly Label: "LABEL";
|
|
17936
18040
|
};
|
|
17937
18041
|
export type PrinterTypeEnum = typeof PrinterTypeEnum[keyof typeof PrinterTypeEnum];
|
|
18042
|
+
/**
|
|
18043
|
+
*
|
|
18044
|
+
* @export
|
|
18045
|
+
* @interface ProcessDispatchTaskDto
|
|
18046
|
+
*/
|
|
18047
|
+
export interface ProcessDispatchTaskDto {
|
|
18048
|
+
/**
|
|
18049
|
+
* Business the order belongs to.
|
|
18050
|
+
* @type {number}
|
|
18051
|
+
* @memberof ProcessDispatchTaskDto
|
|
18052
|
+
*/
|
|
18053
|
+
'businessId': number;
|
|
18054
|
+
/**
|
|
18055
|
+
* Order to dispatch. Everything else is re-read from the order.
|
|
18056
|
+
* @type {string}
|
|
18057
|
+
* @memberof ProcessDispatchTaskDto
|
|
18058
|
+
*/
|
|
18059
|
+
'orderId': string;
|
|
18060
|
+
}
|
|
17938
18061
|
/**
|
|
17939
18062
|
*
|
|
17940
18063
|
* @export
|
|
@@ -20499,6 +20622,19 @@ export declare const ScopeEnum: {
|
|
|
20499
20622
|
readonly Cart: "CART";
|
|
20500
20623
|
};
|
|
20501
20624
|
export type ScopeEnum = typeof ScopeEnum[keyof typeof ScopeEnum];
|
|
20625
|
+
/**
|
|
20626
|
+
*
|
|
20627
|
+
* @export
|
|
20628
|
+
* @interface RetryWorldlineReversalDto
|
|
20629
|
+
*/
|
|
20630
|
+
export interface RetryWorldlineReversalDto {
|
|
20631
|
+
/**
|
|
20632
|
+
* Session id of the SALE whose reversal was refused and is being asked for again.
|
|
20633
|
+
* @type {string}
|
|
20634
|
+
* @memberof RetryWorldlineReversalDto
|
|
20635
|
+
*/
|
|
20636
|
+
'parentSessionId': string;
|
|
20637
|
+
}
|
|
20502
20638
|
/**
|
|
20503
20639
|
*
|
|
20504
20640
|
* @export
|
|
@@ -22624,6 +22760,18 @@ export interface TransactionDto {
|
|
|
22624
22760
|
* @memberof TransactionDto
|
|
22625
22761
|
*/
|
|
22626
22762
|
'itemAllocations'?: Array<TransactionItemAllocationDto> | null;
|
|
22763
|
+
/**
|
|
22764
|
+
*
|
|
22765
|
+
* @type {TransactionDtoDevice}
|
|
22766
|
+
* @memberof TransactionDto
|
|
22767
|
+
*/
|
|
22768
|
+
'device'?: TransactionDtoDevice | null;
|
|
22769
|
+
/**
|
|
22770
|
+
*
|
|
22771
|
+
* @type {TransactionDtoCapturedBy}
|
|
22772
|
+
* @memberof TransactionDto
|
|
22773
|
+
*/
|
|
22774
|
+
'capturedBy'?: TransactionDtoCapturedBy | null;
|
|
22627
22775
|
/**
|
|
22628
22776
|
* Indicates whether this transaction was processed as a pre-authorization.
|
|
22629
22777
|
* @type {string}
|
|
@@ -22637,6 +22785,31 @@ export interface TransactionDto {
|
|
|
22637
22785
|
*/
|
|
22638
22786
|
'fees'?: TransactionDtoFees | null;
|
|
22639
22787
|
}
|
|
22788
|
+
/**
|
|
22789
|
+
* The device that physically ran the card, when that is not the device holding the order — a POS paired to a MunchiPay terminal. Absent otherwise, so its presence is what marks a paired charge.
|
|
22790
|
+
* @export
|
|
22791
|
+
* @interface TransactionDtoCapturedBy
|
|
22792
|
+
*/
|
|
22793
|
+
export interface TransactionDtoCapturedBy {
|
|
22794
|
+
/**
|
|
22795
|
+
* Station hardware id of the device.
|
|
22796
|
+
* @type {string}
|
|
22797
|
+
* @memberof TransactionDtoCapturedBy
|
|
22798
|
+
*/
|
|
22799
|
+
'id': string;
|
|
22800
|
+
/**
|
|
22801
|
+
* The device\'s name at the time of payment. Empty when the venue never set one.
|
|
22802
|
+
* @type {string}
|
|
22803
|
+
* @memberof TransactionDtoCapturedBy
|
|
22804
|
+
*/
|
|
22805
|
+
'name'?: string | null;
|
|
22806
|
+
/**
|
|
22807
|
+
*
|
|
22808
|
+
* @type {PaymentApp}
|
|
22809
|
+
* @memberof TransactionDtoCapturedBy
|
|
22810
|
+
*/
|
|
22811
|
+
'app': PaymentApp;
|
|
22812
|
+
}
|
|
22640
22813
|
/**
|
|
22641
22814
|
* Details about the cart, optional
|
|
22642
22815
|
* @export
|
|
@@ -22692,6 +22865,31 @@ export interface TransactionDtoCardDetail {
|
|
|
22692
22865
|
*/
|
|
22693
22866
|
'issuer': string | null;
|
|
22694
22867
|
}
|
|
22868
|
+
/**
|
|
22869
|
+
* The device that owns the order this payment settles. Absent on payments taken by an app build that predates the field.
|
|
22870
|
+
* @export
|
|
22871
|
+
* @interface TransactionDtoDevice
|
|
22872
|
+
*/
|
|
22873
|
+
export interface TransactionDtoDevice {
|
|
22874
|
+
/**
|
|
22875
|
+
* Station hardware id of the device.
|
|
22876
|
+
* @type {string}
|
|
22877
|
+
* @memberof TransactionDtoDevice
|
|
22878
|
+
*/
|
|
22879
|
+
'id': string;
|
|
22880
|
+
/**
|
|
22881
|
+
* The device\'s name at the time of payment. Empty when the venue never set one.
|
|
22882
|
+
* @type {string}
|
|
22883
|
+
* @memberof TransactionDtoDevice
|
|
22884
|
+
*/
|
|
22885
|
+
'name'?: string | null;
|
|
22886
|
+
/**
|
|
22887
|
+
*
|
|
22888
|
+
* @type {PaymentApp}
|
|
22889
|
+
* @memberof TransactionDtoDevice
|
|
22890
|
+
*/
|
|
22891
|
+
'app': PaymentApp;
|
|
22892
|
+
}
|
|
22695
22893
|
/**
|
|
22696
22894
|
* Fees for this payment
|
|
22697
22895
|
* @export
|
|
@@ -34735,7 +34933,7 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
34735
34933
|
*/
|
|
34736
34934
|
deliverOrder: (deliveredOrderDto: DeliveredOrderDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34737
34935
|
/**
|
|
34738
|
-
* Resolves the dispatch policy for every line, tickets the lines that have not been fired yet, and emits print, KDS and Order Manager work from a single plan. The order is completed only when it is fully paid, so a part-paid order stays parked and remains collectable. Already-fired lines are never re-ticketed, so calling this twice is safe.
|
|
34936
|
+
* Resolves the dispatch policy for every line, tickets the lines that have not been fired yet, and emits print, KDS and Order Manager work from a single plan. The order is completed only when it is fully paid, so a part-paid order stays parked and remains collectable. Already-fired lines are never re-ticketed, and a dispatch already running for the same order short-circuits, so calling this twice is safe.
|
|
34739
34937
|
* @summary Ready & Send a POS order to the kitchen
|
|
34740
34938
|
* @param {DispatchPosOrderDto} dispatchPosOrderDto
|
|
34741
34939
|
* @param {*} [options] Override http request option.
|
|
@@ -34883,7 +35081,7 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
|
34883
35081
|
*/
|
|
34884
35082
|
deliverOrder(deliveredOrderDto: DeliveredOrderDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderStatusResponseDto>>;
|
|
34885
35083
|
/**
|
|
34886
|
-
* Resolves the dispatch policy for every line, tickets the lines that have not been fired yet, and emits print, KDS and Order Manager work from a single plan. The order is completed only when it is fully paid, so a part-paid order stays parked and remains collectable. Already-fired lines are never re-ticketed, so calling this twice is safe.
|
|
35084
|
+
* Resolves the dispatch policy for every line, tickets the lines that have not been fired yet, and emits print, KDS and Order Manager work from a single plan. The order is completed only when it is fully paid, so a part-paid order stays parked and remains collectable. Already-fired lines are never re-ticketed, and a dispatch already running for the same order short-circuits, so calling this twice is safe.
|
|
34887
35085
|
* @summary Ready & Send a POS order to the kitchen
|
|
34888
35086
|
* @param {DispatchPosOrderDto} dispatchPosOrderDto
|
|
34889
35087
|
* @param {*} [options] Override http request option.
|
|
@@ -35031,7 +35229,7 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
|
|
|
35031
35229
|
*/
|
|
35032
35230
|
deliverOrder(deliveredOrderDto: DeliveredOrderDto, options?: any): AxiosPromise<OrderStatusResponseDto>;
|
|
35033
35231
|
/**
|
|
35034
|
-
* Resolves the dispatch policy for every line, tickets the lines that have not been fired yet, and emits print, KDS and Order Manager work from a single plan. The order is completed only when it is fully paid, so a part-paid order stays parked and remains collectable. Already-fired lines are never re-ticketed, so calling this twice is safe.
|
|
35232
|
+
* Resolves the dispatch policy for every line, tickets the lines that have not been fired yet, and emits print, KDS and Order Manager work from a single plan. The order is completed only when it is fully paid, so a part-paid order stays parked and remains collectable. Already-fired lines are never re-ticketed, and a dispatch already running for the same order short-circuits, so calling this twice is safe.
|
|
35035
35233
|
* @summary Ready & Send a POS order to the kitchen
|
|
35036
35234
|
* @param {DispatchPosOrderDto} dispatchPosOrderDto
|
|
35037
35235
|
* @param {*} [options] Override http request option.
|
|
@@ -35184,7 +35382,7 @@ export interface OrdersApiInterface {
|
|
|
35184
35382
|
*/
|
|
35185
35383
|
deliverOrder(deliveredOrderDto: DeliveredOrderDto, options?: AxiosRequestConfig): AxiosPromise<OrderStatusResponseDto>;
|
|
35186
35384
|
/**
|
|
35187
|
-
* Resolves the dispatch policy for every line, tickets the lines that have not been fired yet, and emits print, KDS and Order Manager work from a single plan. The order is completed only when it is fully paid, so a part-paid order stays parked and remains collectable. Already-fired lines are never re-ticketed, so calling this twice is safe.
|
|
35385
|
+
* Resolves the dispatch policy for every line, tickets the lines that have not been fired yet, and emits print, KDS and Order Manager work from a single plan. The order is completed only when it is fully paid, so a part-paid order stays parked and remains collectable. Already-fired lines are never re-ticketed, and a dispatch already running for the same order short-circuits, so calling this twice is safe.
|
|
35188
35386
|
* @summary Ready & Send a POS order to the kitchen
|
|
35189
35387
|
* @param {DispatchPosOrderDto} dispatchPosOrderDto
|
|
35190
35388
|
* @param {*} [options] Override http request option.
|
|
@@ -35351,7 +35549,7 @@ export declare class OrdersApi extends BaseAPI implements OrdersApiInterface {
|
|
|
35351
35549
|
*/
|
|
35352
35550
|
deliverOrder(deliveredOrderDto: DeliveredOrderDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderStatusResponseDto, any, {}>>;
|
|
35353
35551
|
/**
|
|
35354
|
-
* Resolves the dispatch policy for every line, tickets the lines that have not been fired yet, and emits print, KDS and Order Manager work from a single plan. The order is completed only when it is fully paid, so a part-paid order stays parked and remains collectable. Already-fired lines are never re-ticketed, so calling this twice is safe.
|
|
35552
|
+
* Resolves the dispatch policy for every line, tickets the lines that have not been fired yet, and emits print, KDS and Order Manager work from a single plan. The order is completed only when it is fully paid, so a part-paid order stays parked and remains collectable. Already-fired lines are never re-ticketed, and a dispatch already running for the same order short-circuits, so calling this twice is safe.
|
|
35355
35553
|
* @summary Ready & Send a POS order to the kitchen
|
|
35356
35554
|
* @param {DispatchPosOrderDto} dispatchPosOrderDto
|
|
35357
35555
|
* @param {*} [options] Override http request option.
|
|
@@ -36896,6 +37094,14 @@ export declare const PaymentSessionApiAxiosParamCreator: (configuration?: Config
|
|
|
36896
37094
|
* @throws {RequiredError}
|
|
36897
37095
|
*/
|
|
36898
37096
|
refundWorldlineSession: (reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37097
|
+
/**
|
|
37098
|
+
* Called by a Cloud Task (not the client). Re-checks a charge whose reversal the terminal refused: stops if the charge was resolved another way, stops if an earlier attempt completed at the gateway, otherwise asks once more. After twelve hours, or on a refusal that can never clear, the charge is written to the till for a waiter to refund.
|
|
37099
|
+
* @summary Internal: ask a busy terminal for a refused reversal again (Cloud Task callback)
|
|
37100
|
+
* @param {RetryWorldlineReversalDto} retryWorldlineReversalDto
|
|
37101
|
+
* @param {*} [options] Override http request option.
|
|
37102
|
+
* @throws {RequiredError}
|
|
37103
|
+
*/
|
|
37104
|
+
retryWorldlineReversal: (retryWorldlineReversalDto: RetryWorldlineReversalDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
36899
37105
|
/**
|
|
36900
37106
|
* Starts a terminal-present ReturnOfGoods for the full remaining amount AND writes a reversal paymentEvent to the order once the refund settles (via reconciliation). Returns a PENDING refund session — the customer must tap their card; poll GET /:clientToken until REFUNDED/FAILED/CANCELLED.
|
|
36901
37107
|
* @summary Revert (fully reverse) a settled Nets payment session (async)
|
|
@@ -37070,6 +37276,14 @@ export declare const PaymentSessionApiFp: (configuration?: Configuration) => {
|
|
|
37070
37276
|
* @throws {RequiredError}
|
|
37071
37277
|
*/
|
|
37072
37278
|
refundWorldlineSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentSessionViewDto>>;
|
|
37279
|
+
/**
|
|
37280
|
+
* Called by a Cloud Task (not the client). Re-checks a charge whose reversal the terminal refused: stops if the charge was resolved another way, stops if an earlier attempt completed at the gateway, otherwise asks once more. After twelve hours, or on a refusal that can never clear, the charge is written to the till for a waiter to refund.
|
|
37281
|
+
* @summary Internal: ask a busy terminal for a refused reversal again (Cloud Task callback)
|
|
37282
|
+
* @param {RetryWorldlineReversalDto} retryWorldlineReversalDto
|
|
37283
|
+
* @param {*} [options] Override http request option.
|
|
37284
|
+
* @throws {RequiredError}
|
|
37285
|
+
*/
|
|
37286
|
+
retryWorldlineReversal(retryWorldlineReversalDto: RetryWorldlineReversalDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
37073
37287
|
/**
|
|
37074
37288
|
* Starts a terminal-present ReturnOfGoods for the full remaining amount AND writes a reversal paymentEvent to the order once the refund settles (via reconciliation). Returns a PENDING refund session — the customer must tap their card; poll GET /:clientToken until REFUNDED/FAILED/CANCELLED.
|
|
37075
37289
|
* @summary Revert (fully reverse) a settled Nets payment session (async)
|
|
@@ -37244,6 +37458,14 @@ export declare const PaymentSessionApiFactory: (configuration?: Configuration, b
|
|
|
37244
37458
|
* @throws {RequiredError}
|
|
37245
37459
|
*/
|
|
37246
37460
|
refundWorldlineSession(reverseSessionDto: ReverseSessionDto, options?: any): AxiosPromise<PaymentSessionViewDto>;
|
|
37461
|
+
/**
|
|
37462
|
+
* Called by a Cloud Task (not the client). Re-checks a charge whose reversal the terminal refused: stops if the charge was resolved another way, stops if an earlier attempt completed at the gateway, otherwise asks once more. After twelve hours, or on a refusal that can never clear, the charge is written to the till for a waiter to refund.
|
|
37463
|
+
* @summary Internal: ask a busy terminal for a refused reversal again (Cloud Task callback)
|
|
37464
|
+
* @param {RetryWorldlineReversalDto} retryWorldlineReversalDto
|
|
37465
|
+
* @param {*} [options] Override http request option.
|
|
37466
|
+
* @throws {RequiredError}
|
|
37467
|
+
*/
|
|
37468
|
+
retryWorldlineReversal(retryWorldlineReversalDto: RetryWorldlineReversalDto, options?: any): AxiosPromise<void>;
|
|
37247
37469
|
/**
|
|
37248
37470
|
* Starts a terminal-present ReturnOfGoods for the full remaining amount AND writes a reversal paymentEvent to the order once the refund settles (via reconciliation). Returns a PENDING refund session — the customer must tap their card; poll GET /:clientToken until REFUNDED/FAILED/CANCELLED.
|
|
37249
37471
|
* @summary Revert (fully reverse) a settled Nets payment session (async)
|
|
@@ -37435,6 +37657,15 @@ export interface PaymentSessionApiInterface {
|
|
|
37435
37657
|
* @memberof PaymentSessionApiInterface
|
|
37436
37658
|
*/
|
|
37437
37659
|
refundWorldlineSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionViewDto>;
|
|
37660
|
+
/**
|
|
37661
|
+
* Called by a Cloud Task (not the client). Re-checks a charge whose reversal the terminal refused: stops if the charge was resolved another way, stops if an earlier attempt completed at the gateway, otherwise asks once more. After twelve hours, or on a refusal that can never clear, the charge is written to the till for a waiter to refund.
|
|
37662
|
+
* @summary Internal: ask a busy terminal for a refused reversal again (Cloud Task callback)
|
|
37663
|
+
* @param {RetryWorldlineReversalDto} retryWorldlineReversalDto
|
|
37664
|
+
* @param {*} [options] Override http request option.
|
|
37665
|
+
* @throws {RequiredError}
|
|
37666
|
+
* @memberof PaymentSessionApiInterface
|
|
37667
|
+
*/
|
|
37668
|
+
retryWorldlineReversal(retryWorldlineReversalDto: RetryWorldlineReversalDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
37438
37669
|
/**
|
|
37439
37670
|
* Starts a terminal-present ReturnOfGoods for the full remaining amount AND writes a reversal paymentEvent to the order once the refund settles (via reconciliation). Returns a PENDING refund session — the customer must tap their card; poll GET /:clientToken until REFUNDED/FAILED/CANCELLED.
|
|
37440
37671
|
* @summary Revert (fully reverse) a settled Nets payment session (async)
|
|
@@ -37631,6 +37862,15 @@ export declare class PaymentSessionApi extends BaseAPI implements PaymentSession
|
|
|
37631
37862
|
* @memberof PaymentSessionApi
|
|
37632
37863
|
*/
|
|
37633
37864
|
refundWorldlineSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentSessionViewDto, any, {}>>;
|
|
37865
|
+
/**
|
|
37866
|
+
* Called by a Cloud Task (not the client). Re-checks a charge whose reversal the terminal refused: stops if the charge was resolved another way, stops if an earlier attempt completed at the gateway, otherwise asks once more. After twelve hours, or on a refusal that can never clear, the charge is written to the till for a waiter to refund.
|
|
37867
|
+
* @summary Internal: ask a busy terminal for a refused reversal again (Cloud Task callback)
|
|
37868
|
+
* @param {RetryWorldlineReversalDto} retryWorldlineReversalDto
|
|
37869
|
+
* @param {*} [options] Override http request option.
|
|
37870
|
+
* @throws {RequiredError}
|
|
37871
|
+
* @memberof PaymentSessionApi
|
|
37872
|
+
*/
|
|
37873
|
+
retryWorldlineReversal(retryWorldlineReversalDto: RetryWorldlineReversalDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
37634
37874
|
/**
|
|
37635
37875
|
* Starts a terminal-present ReturnOfGoods for the full remaining amount AND writes a reversal paymentEvent to the order once the refund settles (via reconciliation). Returns a PENDING refund session — the customer must tap their card; poll GET /:clientToken until REFUNDED/FAILED/CANCELLED.
|
|
37636
37876
|
* @summary Revert (fully reverse) a settled Nets payment session (async)
|
|
@@ -41435,6 +41675,15 @@ export declare const WebhookApiAxiosParamCreator: (configuration?: Configuration
|
|
|
41435
41675
|
* @throws {RequiredError}
|
|
41436
41676
|
*/
|
|
41437
41677
|
handleWorldlineSessionEvents: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
41678
|
+
/**
|
|
41679
|
+
* Runs the same dispatch the Ready button runs. Safe to deliver more than once: the order is re-read, already-ticketed lines are subtracted, and a dispatch already in flight for the order short-circuits.
|
|
41680
|
+
* @summary Dispatch a paid POS order to the kitchen (triggered by Cloud Tasks)
|
|
41681
|
+
* @param {string} xCloudtasksTaskretrycount
|
|
41682
|
+
* @param {ProcessDispatchTaskDto} processDispatchTaskDto
|
|
41683
|
+
* @param {*} [options] Override http request option.
|
|
41684
|
+
* @throws {RequiredError}
|
|
41685
|
+
*/
|
|
41686
|
+
processDispatchTask: (xCloudtasksTaskretrycount: string, processDispatchTaskDto: ProcessDispatchTaskDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
41438
41687
|
/**
|
|
41439
41688
|
*
|
|
41440
41689
|
* @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
|
|
@@ -41582,6 +41831,15 @@ export declare const WebhookApiFp: (configuration?: Configuration) => {
|
|
|
41582
41831
|
* @throws {RequiredError}
|
|
41583
41832
|
*/
|
|
41584
41833
|
handleWorldlineSessionEvents(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
41834
|
+
/**
|
|
41835
|
+
* Runs the same dispatch the Ready button runs. Safe to deliver more than once: the order is re-read, already-ticketed lines are subtracted, and a dispatch already in flight for the order short-circuits.
|
|
41836
|
+
* @summary Dispatch a paid POS order to the kitchen (triggered by Cloud Tasks)
|
|
41837
|
+
* @param {string} xCloudtasksTaskretrycount
|
|
41838
|
+
* @param {ProcessDispatchTaskDto} processDispatchTaskDto
|
|
41839
|
+
* @param {*} [options] Override http request option.
|
|
41840
|
+
* @throws {RequiredError}
|
|
41841
|
+
*/
|
|
41842
|
+
processDispatchTask(xCloudtasksTaskretrycount: string, processDispatchTaskDto: ProcessDispatchTaskDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
41585
41843
|
/**
|
|
41586
41844
|
*
|
|
41587
41845
|
* @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
|
|
@@ -41729,6 +41987,15 @@ export declare const WebhookApiFactory: (configuration?: Configuration, basePath
|
|
|
41729
41987
|
* @throws {RequiredError}
|
|
41730
41988
|
*/
|
|
41731
41989
|
handleWorldlineSessionEvents(options?: any): AxiosPromise<void>;
|
|
41990
|
+
/**
|
|
41991
|
+
* Runs the same dispatch the Ready button runs. Safe to deliver more than once: the order is re-read, already-ticketed lines are subtracted, and a dispatch already in flight for the order short-circuits.
|
|
41992
|
+
* @summary Dispatch a paid POS order to the kitchen (triggered by Cloud Tasks)
|
|
41993
|
+
* @param {string} xCloudtasksTaskretrycount
|
|
41994
|
+
* @param {ProcessDispatchTaskDto} processDispatchTaskDto
|
|
41995
|
+
* @param {*} [options] Override http request option.
|
|
41996
|
+
* @throws {RequiredError}
|
|
41997
|
+
*/
|
|
41998
|
+
processDispatchTask(xCloudtasksTaskretrycount: string, processDispatchTaskDto: ProcessDispatchTaskDto, options?: any): AxiosPromise<void>;
|
|
41732
41999
|
/**
|
|
41733
42000
|
*
|
|
41734
42001
|
* @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
|
|
@@ -41894,6 +42161,16 @@ export interface WebhookApiInterface {
|
|
|
41894
42161
|
* @memberof WebhookApiInterface
|
|
41895
42162
|
*/
|
|
41896
42163
|
handleWorldlineSessionEvents(options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
42164
|
+
/**
|
|
42165
|
+
* Runs the same dispatch the Ready button runs. Safe to deliver more than once: the order is re-read, already-ticketed lines are subtracted, and a dispatch already in flight for the order short-circuits.
|
|
42166
|
+
* @summary Dispatch a paid POS order to the kitchen (triggered by Cloud Tasks)
|
|
42167
|
+
* @param {string} xCloudtasksTaskretrycount
|
|
42168
|
+
* @param {ProcessDispatchTaskDto} processDispatchTaskDto
|
|
42169
|
+
* @param {*} [options] Override http request option.
|
|
42170
|
+
* @throws {RequiredError}
|
|
42171
|
+
* @memberof WebhookApiInterface
|
|
42172
|
+
*/
|
|
42173
|
+
processDispatchTask(xCloudtasksTaskretrycount: string, processDispatchTaskDto: ProcessDispatchTaskDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
41897
42174
|
/**
|
|
41898
42175
|
*
|
|
41899
42176
|
* @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
|
|
@@ -42064,6 +42341,16 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
42064
42341
|
* @memberof WebhookApi
|
|
42065
42342
|
*/
|
|
42066
42343
|
handleWorldlineSessionEvents(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
42344
|
+
/**
|
|
42345
|
+
* Runs the same dispatch the Ready button runs. Safe to deliver more than once: the order is re-read, already-ticketed lines are subtracted, and a dispatch already in flight for the order short-circuits.
|
|
42346
|
+
* @summary Dispatch a paid POS order to the kitchen (triggered by Cloud Tasks)
|
|
42347
|
+
* @param {string} xCloudtasksTaskretrycount
|
|
42348
|
+
* @param {ProcessDispatchTaskDto} processDispatchTaskDto
|
|
42349
|
+
* @param {*} [options] Override http request option.
|
|
42350
|
+
* @throws {RequiredError}
|
|
42351
|
+
* @memberof WebhookApi
|
|
42352
|
+
*/
|
|
42353
|
+
processDispatchTask(xCloudtasksTaskretrycount: string, processDispatchTaskDto: ProcessDispatchTaskDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
42067
42354
|
/**
|
|
42068
42355
|
*
|
|
42069
42356
|
* @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
|