@munchi_oy/core 1.9.117 → 1.9.118
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 +267 -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 +359 -5
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -3477,6 +3477,12 @@ export interface CreateLoyaltyProgramUserResponseDto {
|
|
|
3477
3477
|
* @interface CreateManualSessionDto
|
|
3478
3478
|
*/
|
|
3479
3479
|
export interface CreateManualSessionDto {
|
|
3480
|
+
/**
|
|
3481
|
+
*
|
|
3482
|
+
* @type {CreateManualSessionDtoDevice}
|
|
3483
|
+
* @memberof CreateManualSessionDto
|
|
3484
|
+
*/
|
|
3485
|
+
'device'?: CreateManualSessionDtoDevice | null;
|
|
3480
3486
|
/**
|
|
3481
3487
|
* The internal business ID.
|
|
3482
3488
|
* @type {number}
|
|
@@ -3544,6 +3550,31 @@ export interface CreateManualSessionDto {
|
|
|
3544
3550
|
*/
|
|
3545
3551
|
'cashConfig'?: object;
|
|
3546
3552
|
}
|
|
3553
|
+
/**
|
|
3554
|
+
* The device taking this payment. Optional so an app build that predates the field still records payments.
|
|
3555
|
+
* @export
|
|
3556
|
+
* @interface CreateManualSessionDtoDevice
|
|
3557
|
+
*/
|
|
3558
|
+
export interface CreateManualSessionDtoDevice {
|
|
3559
|
+
/**
|
|
3560
|
+
* Station hardware id of the device.
|
|
3561
|
+
* @type {string}
|
|
3562
|
+
* @memberof CreateManualSessionDtoDevice
|
|
3563
|
+
*/
|
|
3564
|
+
'id': string;
|
|
3565
|
+
/**
|
|
3566
|
+
* The device\'s name at the time of payment. Empty when the venue never set one.
|
|
3567
|
+
* @type {string}
|
|
3568
|
+
* @memberof CreateManualSessionDtoDevice
|
|
3569
|
+
*/
|
|
3570
|
+
'name'?: string | null;
|
|
3571
|
+
/**
|
|
3572
|
+
*
|
|
3573
|
+
* @type {PaymentApp}
|
|
3574
|
+
* @memberof CreateManualSessionDtoDevice
|
|
3575
|
+
*/
|
|
3576
|
+
'app': PaymentApp;
|
|
3577
|
+
}
|
|
3547
3578
|
/**
|
|
3548
3579
|
* 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
3580
|
* @export
|
|
@@ -13231,6 +13262,17 @@ export interface PayTerminalSessionTokenResponseDto {
|
|
|
13231
13262
|
*/
|
|
13232
13263
|
'terminalName'?: string | null;
|
|
13233
13264
|
}
|
|
13265
|
+
/**
|
|
13266
|
+
*
|
|
13267
|
+
* @export
|
|
13268
|
+
* @enum {string}
|
|
13269
|
+
*/
|
|
13270
|
+
export declare const PaymentApp: {
|
|
13271
|
+
readonly Pos: "munchi_pos";
|
|
13272
|
+
readonly Handheld: "munchi_handheld";
|
|
13273
|
+
readonly Pay: "munchi_pay";
|
|
13274
|
+
};
|
|
13275
|
+
export type PaymentApp = typeof PaymentApp[keyof typeof PaymentApp];
|
|
13234
13276
|
/**
|
|
13235
13277
|
*
|
|
13236
13278
|
* @export
|
|
@@ -13282,6 +13324,31 @@ export interface PaymentDetailsDto {
|
|
|
13282
13324
|
*/
|
|
13283
13325
|
'difference': number;
|
|
13284
13326
|
}
|
|
13327
|
+
/**
|
|
13328
|
+
*
|
|
13329
|
+
* @export
|
|
13330
|
+
* @interface PaymentDeviceDto
|
|
13331
|
+
*/
|
|
13332
|
+
export interface PaymentDeviceDto {
|
|
13333
|
+
/**
|
|
13334
|
+
* Station hardware id of the device.
|
|
13335
|
+
* @type {string}
|
|
13336
|
+
* @memberof PaymentDeviceDto
|
|
13337
|
+
*/
|
|
13338
|
+
'id': string;
|
|
13339
|
+
/**
|
|
13340
|
+
* The device\'s name at the time of payment. Empty when the venue never set one.
|
|
13341
|
+
* @type {string}
|
|
13342
|
+
* @memberof PaymentDeviceDto
|
|
13343
|
+
*/
|
|
13344
|
+
'name'?: string | null;
|
|
13345
|
+
/**
|
|
13346
|
+
*
|
|
13347
|
+
* @type {PaymentApp}
|
|
13348
|
+
* @memberof PaymentDeviceDto
|
|
13349
|
+
*/
|
|
13350
|
+
'app': PaymentApp;
|
|
13351
|
+
}
|
|
13285
13352
|
/**
|
|
13286
13353
|
*
|
|
13287
13354
|
* @export
|
|
@@ -14851,6 +14918,18 @@ export interface PaymentStatusDtoTransaction {
|
|
|
14851
14918
|
* @memberof PaymentStatusDtoTransaction
|
|
14852
14919
|
*/
|
|
14853
14920
|
'itemAllocations'?: Array<TransactionItemAllocationDto> | null;
|
|
14921
|
+
/**
|
|
14922
|
+
*
|
|
14923
|
+
* @type {TransactionDtoDevice}
|
|
14924
|
+
* @memberof PaymentStatusDtoTransaction
|
|
14925
|
+
*/
|
|
14926
|
+
'device'?: TransactionDtoDevice | null;
|
|
14927
|
+
/**
|
|
14928
|
+
*
|
|
14929
|
+
* @type {TransactionDtoCapturedBy}
|
|
14930
|
+
* @memberof PaymentStatusDtoTransaction
|
|
14931
|
+
*/
|
|
14932
|
+
'capturedBy'?: TransactionDtoCapturedBy | null;
|
|
14854
14933
|
/**
|
|
14855
14934
|
* Indicates whether this transaction was processed as a pre-authorization.
|
|
14856
14935
|
* @type {string}
|
|
@@ -17935,6 +18014,25 @@ export declare const PrinterTypeEnum: {
|
|
|
17935
18014
|
readonly Label: "LABEL";
|
|
17936
18015
|
};
|
|
17937
18016
|
export type PrinterTypeEnum = typeof PrinterTypeEnum[keyof typeof PrinterTypeEnum];
|
|
18017
|
+
/**
|
|
18018
|
+
*
|
|
18019
|
+
* @export
|
|
18020
|
+
* @interface ProcessDispatchTaskDto
|
|
18021
|
+
*/
|
|
18022
|
+
export interface ProcessDispatchTaskDto {
|
|
18023
|
+
/**
|
|
18024
|
+
* Business the order belongs to.
|
|
18025
|
+
* @type {number}
|
|
18026
|
+
* @memberof ProcessDispatchTaskDto
|
|
18027
|
+
*/
|
|
18028
|
+
'businessId': number;
|
|
18029
|
+
/**
|
|
18030
|
+
* Order to dispatch. Everything else is re-read from the order.
|
|
18031
|
+
* @type {string}
|
|
18032
|
+
* @memberof ProcessDispatchTaskDto
|
|
18033
|
+
*/
|
|
18034
|
+
'orderId': string;
|
|
18035
|
+
}
|
|
17938
18036
|
/**
|
|
17939
18037
|
*
|
|
17940
18038
|
* @export
|
|
@@ -20499,6 +20597,19 @@ export declare const ScopeEnum: {
|
|
|
20499
20597
|
readonly Cart: "CART";
|
|
20500
20598
|
};
|
|
20501
20599
|
export type ScopeEnum = typeof ScopeEnum[keyof typeof ScopeEnum];
|
|
20600
|
+
/**
|
|
20601
|
+
*
|
|
20602
|
+
* @export
|
|
20603
|
+
* @interface RetryWorldlineReversalDto
|
|
20604
|
+
*/
|
|
20605
|
+
export interface RetryWorldlineReversalDto {
|
|
20606
|
+
/**
|
|
20607
|
+
* Session id of the SALE whose reversal was refused and is being asked for again.
|
|
20608
|
+
* @type {string}
|
|
20609
|
+
* @memberof RetryWorldlineReversalDto
|
|
20610
|
+
*/
|
|
20611
|
+
'parentSessionId': string;
|
|
20612
|
+
}
|
|
20502
20613
|
/**
|
|
20503
20614
|
*
|
|
20504
20615
|
* @export
|
|
@@ -22624,6 +22735,18 @@ export interface TransactionDto {
|
|
|
22624
22735
|
* @memberof TransactionDto
|
|
22625
22736
|
*/
|
|
22626
22737
|
'itemAllocations'?: Array<TransactionItemAllocationDto> | null;
|
|
22738
|
+
/**
|
|
22739
|
+
*
|
|
22740
|
+
* @type {TransactionDtoDevice}
|
|
22741
|
+
* @memberof TransactionDto
|
|
22742
|
+
*/
|
|
22743
|
+
'device'?: TransactionDtoDevice | null;
|
|
22744
|
+
/**
|
|
22745
|
+
*
|
|
22746
|
+
* @type {TransactionDtoCapturedBy}
|
|
22747
|
+
* @memberof TransactionDto
|
|
22748
|
+
*/
|
|
22749
|
+
'capturedBy'?: TransactionDtoCapturedBy | null;
|
|
22627
22750
|
/**
|
|
22628
22751
|
* Indicates whether this transaction was processed as a pre-authorization.
|
|
22629
22752
|
* @type {string}
|
|
@@ -22637,6 +22760,31 @@ export interface TransactionDto {
|
|
|
22637
22760
|
*/
|
|
22638
22761
|
'fees'?: TransactionDtoFees | null;
|
|
22639
22762
|
}
|
|
22763
|
+
/**
|
|
22764
|
+
* 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.
|
|
22765
|
+
* @export
|
|
22766
|
+
* @interface TransactionDtoCapturedBy
|
|
22767
|
+
*/
|
|
22768
|
+
export interface TransactionDtoCapturedBy {
|
|
22769
|
+
/**
|
|
22770
|
+
* Station hardware id of the device.
|
|
22771
|
+
* @type {string}
|
|
22772
|
+
* @memberof TransactionDtoCapturedBy
|
|
22773
|
+
*/
|
|
22774
|
+
'id': string;
|
|
22775
|
+
/**
|
|
22776
|
+
* The device\'s name at the time of payment. Empty when the venue never set one.
|
|
22777
|
+
* @type {string}
|
|
22778
|
+
* @memberof TransactionDtoCapturedBy
|
|
22779
|
+
*/
|
|
22780
|
+
'name'?: string | null;
|
|
22781
|
+
/**
|
|
22782
|
+
*
|
|
22783
|
+
* @type {PaymentApp}
|
|
22784
|
+
* @memberof TransactionDtoCapturedBy
|
|
22785
|
+
*/
|
|
22786
|
+
'app': PaymentApp;
|
|
22787
|
+
}
|
|
22640
22788
|
/**
|
|
22641
22789
|
* Details about the cart, optional
|
|
22642
22790
|
* @export
|
|
@@ -22692,6 +22840,31 @@ export interface TransactionDtoCardDetail {
|
|
|
22692
22840
|
*/
|
|
22693
22841
|
'issuer': string | null;
|
|
22694
22842
|
}
|
|
22843
|
+
/**
|
|
22844
|
+
* The device that owns the order this payment settles. Absent on payments taken by an app build that predates the field.
|
|
22845
|
+
* @export
|
|
22846
|
+
* @interface TransactionDtoDevice
|
|
22847
|
+
*/
|
|
22848
|
+
export interface TransactionDtoDevice {
|
|
22849
|
+
/**
|
|
22850
|
+
* Station hardware id of the device.
|
|
22851
|
+
* @type {string}
|
|
22852
|
+
* @memberof TransactionDtoDevice
|
|
22853
|
+
*/
|
|
22854
|
+
'id': string;
|
|
22855
|
+
/**
|
|
22856
|
+
* The device\'s name at the time of payment. Empty when the venue never set one.
|
|
22857
|
+
* @type {string}
|
|
22858
|
+
* @memberof TransactionDtoDevice
|
|
22859
|
+
*/
|
|
22860
|
+
'name'?: string | null;
|
|
22861
|
+
/**
|
|
22862
|
+
*
|
|
22863
|
+
* @type {PaymentApp}
|
|
22864
|
+
* @memberof TransactionDtoDevice
|
|
22865
|
+
*/
|
|
22866
|
+
'app': PaymentApp;
|
|
22867
|
+
}
|
|
22695
22868
|
/**
|
|
22696
22869
|
* Fees for this payment
|
|
22697
22870
|
* @export
|
|
@@ -34735,7 +34908,7 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
34735
34908
|
*/
|
|
34736
34909
|
deliverOrder: (deliveredOrderDto: DeliveredOrderDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34737
34910
|
/**
|
|
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.
|
|
34911
|
+
* 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
34912
|
* @summary Ready & Send a POS order to the kitchen
|
|
34740
34913
|
* @param {DispatchPosOrderDto} dispatchPosOrderDto
|
|
34741
34914
|
* @param {*} [options] Override http request option.
|
|
@@ -34883,7 +35056,7 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
|
34883
35056
|
*/
|
|
34884
35057
|
deliverOrder(deliveredOrderDto: DeliveredOrderDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderStatusResponseDto>>;
|
|
34885
35058
|
/**
|
|
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.
|
|
35059
|
+
* 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
35060
|
* @summary Ready & Send a POS order to the kitchen
|
|
34888
35061
|
* @param {DispatchPosOrderDto} dispatchPosOrderDto
|
|
34889
35062
|
* @param {*} [options] Override http request option.
|
|
@@ -35031,7 +35204,7 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
|
|
|
35031
35204
|
*/
|
|
35032
35205
|
deliverOrder(deliveredOrderDto: DeliveredOrderDto, options?: any): AxiosPromise<OrderStatusResponseDto>;
|
|
35033
35206
|
/**
|
|
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.
|
|
35207
|
+
* 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
35208
|
* @summary Ready & Send a POS order to the kitchen
|
|
35036
35209
|
* @param {DispatchPosOrderDto} dispatchPosOrderDto
|
|
35037
35210
|
* @param {*} [options] Override http request option.
|
|
@@ -35184,7 +35357,7 @@ export interface OrdersApiInterface {
|
|
|
35184
35357
|
*/
|
|
35185
35358
|
deliverOrder(deliveredOrderDto: DeliveredOrderDto, options?: AxiosRequestConfig): AxiosPromise<OrderStatusResponseDto>;
|
|
35186
35359
|
/**
|
|
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.
|
|
35360
|
+
* 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
35361
|
* @summary Ready & Send a POS order to the kitchen
|
|
35189
35362
|
* @param {DispatchPosOrderDto} dispatchPosOrderDto
|
|
35190
35363
|
* @param {*} [options] Override http request option.
|
|
@@ -35351,7 +35524,7 @@ export declare class OrdersApi extends BaseAPI implements OrdersApiInterface {
|
|
|
35351
35524
|
*/
|
|
35352
35525
|
deliverOrder(deliveredOrderDto: DeliveredOrderDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderStatusResponseDto, any, {}>>;
|
|
35353
35526
|
/**
|
|
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.
|
|
35527
|
+
* 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
35528
|
* @summary Ready & Send a POS order to the kitchen
|
|
35356
35529
|
* @param {DispatchPosOrderDto} dispatchPosOrderDto
|
|
35357
35530
|
* @param {*} [options] Override http request option.
|
|
@@ -36896,6 +37069,14 @@ export declare const PaymentSessionApiAxiosParamCreator: (configuration?: Config
|
|
|
36896
37069
|
* @throws {RequiredError}
|
|
36897
37070
|
*/
|
|
36898
37071
|
refundWorldlineSession: (reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37072
|
+
/**
|
|
37073
|
+
* 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.
|
|
37074
|
+
* @summary Internal: ask a busy terminal for a refused reversal again (Cloud Task callback)
|
|
37075
|
+
* @param {RetryWorldlineReversalDto} retryWorldlineReversalDto
|
|
37076
|
+
* @param {*} [options] Override http request option.
|
|
37077
|
+
* @throws {RequiredError}
|
|
37078
|
+
*/
|
|
37079
|
+
retryWorldlineReversal: (retryWorldlineReversalDto: RetryWorldlineReversalDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
36899
37080
|
/**
|
|
36900
37081
|
* 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
37082
|
* @summary Revert (fully reverse) a settled Nets payment session (async)
|
|
@@ -37070,6 +37251,14 @@ export declare const PaymentSessionApiFp: (configuration?: Configuration) => {
|
|
|
37070
37251
|
* @throws {RequiredError}
|
|
37071
37252
|
*/
|
|
37072
37253
|
refundWorldlineSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentSessionViewDto>>;
|
|
37254
|
+
/**
|
|
37255
|
+
* 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.
|
|
37256
|
+
* @summary Internal: ask a busy terminal for a refused reversal again (Cloud Task callback)
|
|
37257
|
+
* @param {RetryWorldlineReversalDto} retryWorldlineReversalDto
|
|
37258
|
+
* @param {*} [options] Override http request option.
|
|
37259
|
+
* @throws {RequiredError}
|
|
37260
|
+
*/
|
|
37261
|
+
retryWorldlineReversal(retryWorldlineReversalDto: RetryWorldlineReversalDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
37073
37262
|
/**
|
|
37074
37263
|
* 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
37264
|
* @summary Revert (fully reverse) a settled Nets payment session (async)
|
|
@@ -37244,6 +37433,14 @@ export declare const PaymentSessionApiFactory: (configuration?: Configuration, b
|
|
|
37244
37433
|
* @throws {RequiredError}
|
|
37245
37434
|
*/
|
|
37246
37435
|
refundWorldlineSession(reverseSessionDto: ReverseSessionDto, options?: any): AxiosPromise<PaymentSessionViewDto>;
|
|
37436
|
+
/**
|
|
37437
|
+
* 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.
|
|
37438
|
+
* @summary Internal: ask a busy terminal for a refused reversal again (Cloud Task callback)
|
|
37439
|
+
* @param {RetryWorldlineReversalDto} retryWorldlineReversalDto
|
|
37440
|
+
* @param {*} [options] Override http request option.
|
|
37441
|
+
* @throws {RequiredError}
|
|
37442
|
+
*/
|
|
37443
|
+
retryWorldlineReversal(retryWorldlineReversalDto: RetryWorldlineReversalDto, options?: any): AxiosPromise<void>;
|
|
37247
37444
|
/**
|
|
37248
37445
|
* 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
37446
|
* @summary Revert (fully reverse) a settled Nets payment session (async)
|
|
@@ -37435,6 +37632,15 @@ export interface PaymentSessionApiInterface {
|
|
|
37435
37632
|
* @memberof PaymentSessionApiInterface
|
|
37436
37633
|
*/
|
|
37437
37634
|
refundWorldlineSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionViewDto>;
|
|
37635
|
+
/**
|
|
37636
|
+
* 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.
|
|
37637
|
+
* @summary Internal: ask a busy terminal for a refused reversal again (Cloud Task callback)
|
|
37638
|
+
* @param {RetryWorldlineReversalDto} retryWorldlineReversalDto
|
|
37639
|
+
* @param {*} [options] Override http request option.
|
|
37640
|
+
* @throws {RequiredError}
|
|
37641
|
+
* @memberof PaymentSessionApiInterface
|
|
37642
|
+
*/
|
|
37643
|
+
retryWorldlineReversal(retryWorldlineReversalDto: RetryWorldlineReversalDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
37438
37644
|
/**
|
|
37439
37645
|
* 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
37646
|
* @summary Revert (fully reverse) a settled Nets payment session (async)
|
|
@@ -37631,6 +37837,15 @@ export declare class PaymentSessionApi extends BaseAPI implements PaymentSession
|
|
|
37631
37837
|
* @memberof PaymentSessionApi
|
|
37632
37838
|
*/
|
|
37633
37839
|
refundWorldlineSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentSessionViewDto, any, {}>>;
|
|
37840
|
+
/**
|
|
37841
|
+
* 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.
|
|
37842
|
+
* @summary Internal: ask a busy terminal for a refused reversal again (Cloud Task callback)
|
|
37843
|
+
* @param {RetryWorldlineReversalDto} retryWorldlineReversalDto
|
|
37844
|
+
* @param {*} [options] Override http request option.
|
|
37845
|
+
* @throws {RequiredError}
|
|
37846
|
+
* @memberof PaymentSessionApi
|
|
37847
|
+
*/
|
|
37848
|
+
retryWorldlineReversal(retryWorldlineReversalDto: RetryWorldlineReversalDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
37634
37849
|
/**
|
|
37635
37850
|
* 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
37851
|
* @summary Revert (fully reverse) a settled Nets payment session (async)
|
|
@@ -41435,6 +41650,15 @@ export declare const WebhookApiAxiosParamCreator: (configuration?: Configuration
|
|
|
41435
41650
|
* @throws {RequiredError}
|
|
41436
41651
|
*/
|
|
41437
41652
|
handleWorldlineSessionEvents: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
41653
|
+
/**
|
|
41654
|
+
* 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.
|
|
41655
|
+
* @summary Dispatch a paid POS order to the kitchen (triggered by Cloud Tasks)
|
|
41656
|
+
* @param {string} xCloudtasksTaskretrycount
|
|
41657
|
+
* @param {ProcessDispatchTaskDto} processDispatchTaskDto
|
|
41658
|
+
* @param {*} [options] Override http request option.
|
|
41659
|
+
* @throws {RequiredError}
|
|
41660
|
+
*/
|
|
41661
|
+
processDispatchTask: (xCloudtasksTaskretrycount: string, processDispatchTaskDto: ProcessDispatchTaskDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
41438
41662
|
/**
|
|
41439
41663
|
*
|
|
41440
41664
|
* @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
|
|
@@ -41582,6 +41806,15 @@ export declare const WebhookApiFp: (configuration?: Configuration) => {
|
|
|
41582
41806
|
* @throws {RequiredError}
|
|
41583
41807
|
*/
|
|
41584
41808
|
handleWorldlineSessionEvents(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
41809
|
+
/**
|
|
41810
|
+
* 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.
|
|
41811
|
+
* @summary Dispatch a paid POS order to the kitchen (triggered by Cloud Tasks)
|
|
41812
|
+
* @param {string} xCloudtasksTaskretrycount
|
|
41813
|
+
* @param {ProcessDispatchTaskDto} processDispatchTaskDto
|
|
41814
|
+
* @param {*} [options] Override http request option.
|
|
41815
|
+
* @throws {RequiredError}
|
|
41816
|
+
*/
|
|
41817
|
+
processDispatchTask(xCloudtasksTaskretrycount: string, processDispatchTaskDto: ProcessDispatchTaskDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
41585
41818
|
/**
|
|
41586
41819
|
*
|
|
41587
41820
|
* @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
|
|
@@ -41729,6 +41962,15 @@ export declare const WebhookApiFactory: (configuration?: Configuration, basePath
|
|
|
41729
41962
|
* @throws {RequiredError}
|
|
41730
41963
|
*/
|
|
41731
41964
|
handleWorldlineSessionEvents(options?: any): AxiosPromise<void>;
|
|
41965
|
+
/**
|
|
41966
|
+
* 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.
|
|
41967
|
+
* @summary Dispatch a paid POS order to the kitchen (triggered by Cloud Tasks)
|
|
41968
|
+
* @param {string} xCloudtasksTaskretrycount
|
|
41969
|
+
* @param {ProcessDispatchTaskDto} processDispatchTaskDto
|
|
41970
|
+
* @param {*} [options] Override http request option.
|
|
41971
|
+
* @throws {RequiredError}
|
|
41972
|
+
*/
|
|
41973
|
+
processDispatchTask(xCloudtasksTaskretrycount: string, processDispatchTaskDto: ProcessDispatchTaskDto, options?: any): AxiosPromise<void>;
|
|
41732
41974
|
/**
|
|
41733
41975
|
*
|
|
41734
41976
|
* @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
|
|
@@ -41894,6 +42136,16 @@ export interface WebhookApiInterface {
|
|
|
41894
42136
|
* @memberof WebhookApiInterface
|
|
41895
42137
|
*/
|
|
41896
42138
|
handleWorldlineSessionEvents(options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
42139
|
+
/**
|
|
42140
|
+
* 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.
|
|
42141
|
+
* @summary Dispatch a paid POS order to the kitchen (triggered by Cloud Tasks)
|
|
42142
|
+
* @param {string} xCloudtasksTaskretrycount
|
|
42143
|
+
* @param {ProcessDispatchTaskDto} processDispatchTaskDto
|
|
42144
|
+
* @param {*} [options] Override http request option.
|
|
42145
|
+
* @throws {RequiredError}
|
|
42146
|
+
* @memberof WebhookApiInterface
|
|
42147
|
+
*/
|
|
42148
|
+
processDispatchTask(xCloudtasksTaskretrycount: string, processDispatchTaskDto: ProcessDispatchTaskDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
41897
42149
|
/**
|
|
41898
42150
|
*
|
|
41899
42151
|
* @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
|
|
@@ -42064,6 +42316,16 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
42064
42316
|
* @memberof WebhookApi
|
|
42065
42317
|
*/
|
|
42066
42318
|
handleWorldlineSessionEvents(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
42319
|
+
/**
|
|
42320
|
+
* 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.
|
|
42321
|
+
* @summary Dispatch a paid POS order to the kitchen (triggered by Cloud Tasks)
|
|
42322
|
+
* @param {string} xCloudtasksTaskretrycount
|
|
42323
|
+
* @param {ProcessDispatchTaskDto} processDispatchTaskDto
|
|
42324
|
+
* @param {*} [options] Override http request option.
|
|
42325
|
+
* @throws {RequiredError}
|
|
42326
|
+
* @memberof WebhookApi
|
|
42327
|
+
*/
|
|
42328
|
+
processDispatchTask(xCloudtasksTaskretrycount: string, processDispatchTaskDto: ProcessDispatchTaskDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
42067
42329
|
/**
|
|
42068
42330
|
*
|
|
42069
42331
|
* @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
|