@munchi_oy/core 1.9.70 → 1.9.72
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 +77 -116
- 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 +123 -206
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -13133,6 +13133,7 @@ export declare const PaymentSessionStatus: {
|
|
|
13133
13133
|
readonly Failed: "FAILED";
|
|
13134
13134
|
readonly Cancelled: "CANCELLED";
|
|
13135
13135
|
readonly Closed: "CLOSED";
|
|
13136
|
+
readonly VoidPending: "VOID_PENDING";
|
|
13136
13137
|
readonly Voiding: "VOIDING";
|
|
13137
13138
|
readonly Voided: "VOIDED";
|
|
13138
13139
|
readonly VoidFailed: "VOID_FAILED";
|
|
@@ -13600,6 +13601,19 @@ export interface PointsUpdateResponseDto {
|
|
|
13600
13601
|
[key: string]: LoyaltyInfoResponseDtoLinksValue;
|
|
13601
13602
|
};
|
|
13602
13603
|
}
|
|
13604
|
+
/**
|
|
13605
|
+
*
|
|
13606
|
+
* @export
|
|
13607
|
+
* @interface PollVivaSessionDto
|
|
13608
|
+
*/
|
|
13609
|
+
export interface PollVivaSessionDto {
|
|
13610
|
+
/**
|
|
13611
|
+
* The Viva session id (B) to poll.
|
|
13612
|
+
* @type {string}
|
|
13613
|
+
* @memberof PollVivaSessionDto
|
|
13614
|
+
*/
|
|
13615
|
+
'sessionId': string;
|
|
13616
|
+
}
|
|
13603
13617
|
/**
|
|
13604
13618
|
*
|
|
13605
13619
|
* @export
|
|
@@ -15816,19 +15830,6 @@ export declare const PrinterTypeEnum: {
|
|
|
15816
15830
|
readonly Label: "LABEL";
|
|
15817
15831
|
};
|
|
15818
15832
|
export type PrinterTypeEnum = typeof PrinterTypeEnum[keyof typeof PrinterTypeEnum];
|
|
15819
|
-
/**
|
|
15820
|
-
*
|
|
15821
|
-
* @export
|
|
15822
|
-
* @interface ProcessKioskRecoveryQueueDto
|
|
15823
|
-
*/
|
|
15824
|
-
export interface ProcessKioskRecoveryQueueDto {
|
|
15825
|
-
/**
|
|
15826
|
-
* Maximum number of kiosk recovery jobs to process in one run.
|
|
15827
|
-
* @type {number}
|
|
15828
|
-
* @memberof ProcessKioskRecoveryQueueDto
|
|
15829
|
-
*/
|
|
15830
|
-
'batchSize'?: number;
|
|
15831
|
-
}
|
|
15832
15833
|
/**
|
|
15833
15834
|
*
|
|
15834
15835
|
* @export
|
|
@@ -18200,6 +18201,7 @@ export declare const SYNCKEY: {
|
|
|
18200
18201
|
readonly InvoiceCompanies: "INVOICE_COMPANIES";
|
|
18201
18202
|
readonly BusinessTax: "BUSINESS_TAX";
|
|
18202
18203
|
readonly Transaction: "TRANSACTION";
|
|
18204
|
+
readonly PaymentMethods: "PAYMENT_METHODS";
|
|
18203
18205
|
};
|
|
18204
18206
|
export type SYNCKEY = typeof SYNCKEY[keyof typeof SYNCKEY];
|
|
18205
18207
|
/**
|
|
@@ -21844,7 +21846,7 @@ export interface UpsertNetsDto {
|
|
|
21844
21846
|
* @type {string}
|
|
21845
21847
|
* @memberof UpsertNetsDto
|
|
21846
21848
|
*/
|
|
21847
|
-
'name'
|
|
21849
|
+
'name'?: string;
|
|
21848
21850
|
/**
|
|
21849
21851
|
*
|
|
21850
21852
|
* @type {boolean}
|
|
@@ -22087,7 +22089,7 @@ export interface UpsertProvidersDto {
|
|
|
22087
22089
|
* @type {string}
|
|
22088
22090
|
* @memberof UpsertProvidersDto
|
|
22089
22091
|
*/
|
|
22090
|
-
'name'
|
|
22092
|
+
'name'?: string;
|
|
22091
22093
|
/**
|
|
22092
22094
|
*
|
|
22093
22095
|
* @type {boolean}
|
|
@@ -22191,7 +22193,7 @@ export interface UpsertStripeDto {
|
|
|
22191
22193
|
* @type {string}
|
|
22192
22194
|
* @memberof UpsertStripeDto
|
|
22193
22195
|
*/
|
|
22194
|
-
'name'
|
|
22196
|
+
'name'?: string;
|
|
22195
22197
|
/**
|
|
22196
22198
|
*
|
|
22197
22199
|
* @type {boolean}
|
|
@@ -22222,7 +22224,7 @@ export interface UpsertVivaDto {
|
|
|
22222
22224
|
* @type {string}
|
|
22223
22225
|
* @memberof UpsertVivaDto
|
|
22224
22226
|
*/
|
|
22225
|
-
'name'
|
|
22227
|
+
'name'?: string;
|
|
22226
22228
|
/**
|
|
22227
22229
|
*
|
|
22228
22230
|
* @type {boolean}
|
|
@@ -22652,6 +22654,12 @@ export interface VivaConfigResponseDto {
|
|
|
22652
22654
|
* @memberof VivaConfigResponseDto
|
|
22653
22655
|
*/
|
|
22654
22656
|
'rate': number | null;
|
|
22657
|
+
/**
|
|
22658
|
+
* Additional fixed surcharge amount.
|
|
22659
|
+
* @type {number}
|
|
22660
|
+
* @memberof VivaConfigResponseDto
|
|
22661
|
+
*/
|
|
22662
|
+
'additionalAmount': number | null;
|
|
22655
22663
|
}
|
|
22656
22664
|
/**
|
|
22657
22665
|
*
|
|
@@ -32156,13 +32164,11 @@ export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Config
|
|
|
32156
32164
|
getCatalog: (businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32157
32165
|
/**
|
|
32158
32166
|
*
|
|
32159
|
-
* @param {ProviderEnum} channel
|
|
32160
|
-
* @param {number} businessId
|
|
32161
32167
|
* @param {any} [locale]
|
|
32162
32168
|
* @param {*} [options] Override http request option.
|
|
32163
32169
|
* @throws {RequiredError}
|
|
32164
32170
|
*/
|
|
32165
|
-
getGlobalCatalog: (
|
|
32171
|
+
getGlobalCatalog: (locale?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32166
32172
|
/**
|
|
32167
32173
|
*
|
|
32168
32174
|
* @param {number} businessId
|
|
@@ -32174,12 +32180,10 @@ export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Config
|
|
|
32174
32180
|
getPaymentMethods: (businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32175
32181
|
/**
|
|
32176
32182
|
*
|
|
32177
|
-
* @param {ProviderEnum} channel
|
|
32178
|
-
* @param {number} businessId
|
|
32179
32183
|
* @param {*} [options] Override http request option.
|
|
32180
32184
|
* @throws {RequiredError}
|
|
32181
32185
|
*/
|
|
32182
|
-
getTypes: (
|
|
32186
|
+
getTypes: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32183
32187
|
/**
|
|
32184
32188
|
*
|
|
32185
32189
|
* @param {number} businessId
|
|
@@ -32234,13 +32238,11 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
|
|
|
32234
32238
|
getCatalog(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AvailablePaymentMethodDto>>>;
|
|
32235
32239
|
/**
|
|
32236
32240
|
*
|
|
32237
|
-
* @param {ProviderEnum} channel
|
|
32238
|
-
* @param {number} businessId
|
|
32239
32241
|
* @param {any} [locale]
|
|
32240
32242
|
* @param {*} [options] Override http request option.
|
|
32241
32243
|
* @throws {RequiredError}
|
|
32242
32244
|
*/
|
|
32243
|
-
getGlobalCatalog(
|
|
32245
|
+
getGlobalCatalog(locale?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CatalogMethodDto>>>;
|
|
32244
32246
|
/**
|
|
32245
32247
|
*
|
|
32246
32248
|
* @param {number} businessId
|
|
@@ -32252,12 +32254,10 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
|
|
|
32252
32254
|
getPaymentMethods(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PaymentMethodDto>>>;
|
|
32253
32255
|
/**
|
|
32254
32256
|
*
|
|
32255
|
-
* @param {ProviderEnum} channel
|
|
32256
|
-
* @param {number} businessId
|
|
32257
32257
|
* @param {*} [options] Override http request option.
|
|
32258
32258
|
* @throws {RequiredError}
|
|
32259
32259
|
*/
|
|
32260
|
-
getTypes(
|
|
32260
|
+
getTypes(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PaymentMethodTypeDto>>>;
|
|
32261
32261
|
/**
|
|
32262
32262
|
*
|
|
32263
32263
|
* @param {number} businessId
|
|
@@ -32312,13 +32312,11 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
|
|
|
32312
32312
|
getCatalog(businessId: number, channel: ProviderEnum, locale?: any, options?: any): AxiosPromise<Array<AvailablePaymentMethodDto>>;
|
|
32313
32313
|
/**
|
|
32314
32314
|
*
|
|
32315
|
-
* @param {ProviderEnum} channel
|
|
32316
|
-
* @param {number} businessId
|
|
32317
32315
|
* @param {any} [locale]
|
|
32318
32316
|
* @param {*} [options] Override http request option.
|
|
32319
32317
|
* @throws {RequiredError}
|
|
32320
32318
|
*/
|
|
32321
|
-
getGlobalCatalog(
|
|
32319
|
+
getGlobalCatalog(locale?: any, options?: any): AxiosPromise<Array<CatalogMethodDto>>;
|
|
32322
32320
|
/**
|
|
32323
32321
|
*
|
|
32324
32322
|
* @param {number} businessId
|
|
@@ -32330,12 +32328,10 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
|
|
|
32330
32328
|
getPaymentMethods(businessId: number, channel: ProviderEnum, locale?: any, options?: any): AxiosPromise<Array<PaymentMethodDto>>;
|
|
32331
32329
|
/**
|
|
32332
32330
|
*
|
|
32333
|
-
* @param {ProviderEnum} channel
|
|
32334
|
-
* @param {number} businessId
|
|
32335
32331
|
* @param {*} [options] Override http request option.
|
|
32336
32332
|
* @throws {RequiredError}
|
|
32337
32333
|
*/
|
|
32338
|
-
getTypes(
|
|
32334
|
+
getTypes(options?: any): AxiosPromise<Array<PaymentMethodTypeDto>>;
|
|
32339
32335
|
/**
|
|
32340
32336
|
*
|
|
32341
32337
|
* @param {number} businessId
|
|
@@ -32394,14 +32390,12 @@ export interface PaymentMethodsApiInterface {
|
|
|
32394
32390
|
getCatalog(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): AxiosPromise<Array<AvailablePaymentMethodDto>>;
|
|
32395
32391
|
/**
|
|
32396
32392
|
*
|
|
32397
|
-
* @param {ProviderEnum} channel
|
|
32398
|
-
* @param {number} businessId
|
|
32399
32393
|
* @param {any} [locale]
|
|
32400
32394
|
* @param {*} [options] Override http request option.
|
|
32401
32395
|
* @throws {RequiredError}
|
|
32402
32396
|
* @memberof PaymentMethodsApiInterface
|
|
32403
32397
|
*/
|
|
32404
|
-
getGlobalCatalog(
|
|
32398
|
+
getGlobalCatalog(locale?: any, options?: AxiosRequestConfig): AxiosPromise<Array<CatalogMethodDto>>;
|
|
32405
32399
|
/**
|
|
32406
32400
|
*
|
|
32407
32401
|
* @param {number} businessId
|
|
@@ -32414,13 +32408,11 @@ export interface PaymentMethodsApiInterface {
|
|
|
32414
32408
|
getPaymentMethods(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): AxiosPromise<Array<PaymentMethodDto>>;
|
|
32415
32409
|
/**
|
|
32416
32410
|
*
|
|
32417
|
-
* @param {ProviderEnum} channel
|
|
32418
|
-
* @param {number} businessId
|
|
32419
32411
|
* @param {*} [options] Override http request option.
|
|
32420
32412
|
* @throws {RequiredError}
|
|
32421
32413
|
* @memberof PaymentMethodsApiInterface
|
|
32422
32414
|
*/
|
|
32423
|
-
getTypes(
|
|
32415
|
+
getTypes(options?: AxiosRequestConfig): AxiosPromise<Array<PaymentMethodTypeDto>>;
|
|
32424
32416
|
/**
|
|
32425
32417
|
*
|
|
32426
32418
|
* @param {number} businessId
|
|
@@ -32482,14 +32474,12 @@ export declare class PaymentMethodsApi extends BaseAPI implements PaymentMethods
|
|
|
32482
32474
|
getCatalog(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AvailablePaymentMethodDto[], any, {}>>;
|
|
32483
32475
|
/**
|
|
32484
32476
|
*
|
|
32485
|
-
* @param {ProviderEnum} channel
|
|
32486
|
-
* @param {number} businessId
|
|
32487
32477
|
* @param {any} [locale]
|
|
32488
32478
|
* @param {*} [options] Override http request option.
|
|
32489
32479
|
* @throws {RequiredError}
|
|
32490
32480
|
* @memberof PaymentMethodsApi
|
|
32491
32481
|
*/
|
|
32492
|
-
getGlobalCatalog(
|
|
32482
|
+
getGlobalCatalog(locale?: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CatalogMethodDto[], any, {}>>;
|
|
32493
32483
|
/**
|
|
32494
32484
|
*
|
|
32495
32485
|
* @param {number} businessId
|
|
@@ -32502,13 +32492,11 @@ export declare class PaymentMethodsApi extends BaseAPI implements PaymentMethods
|
|
|
32502
32492
|
getPaymentMethods(businessId: number, channel: ProviderEnum, locale?: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodDto[], any, {}>>;
|
|
32503
32493
|
/**
|
|
32504
32494
|
*
|
|
32505
|
-
* @param {ProviderEnum} channel
|
|
32506
|
-
* @param {number} businessId
|
|
32507
32495
|
* @param {*} [options] Override http request option.
|
|
32508
32496
|
* @throws {RequiredError}
|
|
32509
32497
|
* @memberof PaymentMethodsApi
|
|
32510
32498
|
*/
|
|
32511
|
-
getTypes(
|
|
32499
|
+
getTypes(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodTypeDto[], any, {}>>;
|
|
32512
32500
|
/**
|
|
32513
32501
|
*
|
|
32514
32502
|
* @param {number} businessId
|
|
@@ -32569,6 +32557,14 @@ export declare const PaymentSessionApiAxiosParamCreator: (configuration?: Config
|
|
|
32569
32557
|
* @throws {RequiredError}
|
|
32570
32558
|
*/
|
|
32571
32559
|
initiateVivaSession: (initiateVivaSessionDto: InitiateVivaSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32560
|
+
/**
|
|
32561
|
+
* Called by a Cloud Task (not the client). Holds the request open and long-polls Viva by sessionId for up to ~45s. As soon as the transaction is terminal it updates the session status and, on success, triggers order reconciliation — guarded by a CAS claim (tryClose) so a late webhook never double-writes the paymentEvent — so the order closes even if the webhook never arrives.
|
|
32562
|
+
* @summary Internal: long-poll Viva for a stuck payment session (Cloud Task callback)
|
|
32563
|
+
* @param {PollVivaSessionDto} pollVivaSessionDto
|
|
32564
|
+
* @param {*} [options] Override http request option.
|
|
32565
|
+
* @throws {RequiredError}
|
|
32566
|
+
*/
|
|
32567
|
+
pollVivaSession: (pollVivaSessionDto: PollVivaSessionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32572
32568
|
/**
|
|
32573
32569
|
* Records a non-gateway payment (cash / voucher / CardManual / gift card / …) through PaymentSession so every device sees it. Card paymethods (Card/Debit/Credit/Edenred) use a gateway initiate. Resolves to SUCCESS immediately; reconciliation writes the paymentEvent.
|
|
32574
32570
|
* @summary Record a manual payment session
|
|
@@ -32640,6 +32636,14 @@ export declare const PaymentSessionApiFp: (configuration?: Configuration) => {
|
|
|
32640
32636
|
* @throws {RequiredError}
|
|
32641
32637
|
*/
|
|
32642
32638
|
initiateVivaSession(initiateVivaSessionDto: InitiateVivaSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InitiateVivaSessionResponseDto>>;
|
|
32639
|
+
/**
|
|
32640
|
+
* Called by a Cloud Task (not the client). Holds the request open and long-polls Viva by sessionId for up to ~45s. As soon as the transaction is terminal it updates the session status and, on success, triggers order reconciliation — guarded by a CAS claim (tryClose) so a late webhook never double-writes the paymentEvent — so the order closes even if the webhook never arrives.
|
|
32641
|
+
* @summary Internal: long-poll Viva for a stuck payment session (Cloud Task callback)
|
|
32642
|
+
* @param {PollVivaSessionDto} pollVivaSessionDto
|
|
32643
|
+
* @param {*} [options] Override http request option.
|
|
32644
|
+
* @throws {RequiredError}
|
|
32645
|
+
*/
|
|
32646
|
+
pollVivaSession(pollVivaSessionDto: PollVivaSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
32643
32647
|
/**
|
|
32644
32648
|
* Records a non-gateway payment (cash / voucher / CardManual / gift card / …) through PaymentSession so every device sees it. Card paymethods (Card/Debit/Credit/Edenred) use a gateway initiate. Resolves to SUCCESS immediately; reconciliation writes the paymentEvent.
|
|
32645
32649
|
* @summary Record a manual payment session
|
|
@@ -32711,6 +32715,14 @@ export declare const PaymentSessionApiFactory: (configuration?: Configuration, b
|
|
|
32711
32715
|
* @throws {RequiredError}
|
|
32712
32716
|
*/
|
|
32713
32717
|
initiateVivaSession(initiateVivaSessionDto: InitiateVivaSessionDto, xIdempotencyKey?: string, options?: any): AxiosPromise<InitiateVivaSessionResponseDto>;
|
|
32718
|
+
/**
|
|
32719
|
+
* Called by a Cloud Task (not the client). Holds the request open and long-polls Viva by sessionId for up to ~45s. As soon as the transaction is terminal it updates the session status and, on success, triggers order reconciliation — guarded by a CAS claim (tryClose) so a late webhook never double-writes the paymentEvent — so the order closes even if the webhook never arrives.
|
|
32720
|
+
* @summary Internal: long-poll Viva for a stuck payment session (Cloud Task callback)
|
|
32721
|
+
* @param {PollVivaSessionDto} pollVivaSessionDto
|
|
32722
|
+
* @param {*} [options] Override http request option.
|
|
32723
|
+
* @throws {RequiredError}
|
|
32724
|
+
*/
|
|
32725
|
+
pollVivaSession(pollVivaSessionDto: PollVivaSessionDto, options?: any): AxiosPromise<void>;
|
|
32714
32726
|
/**
|
|
32715
32727
|
* Records a non-gateway payment (cash / voucher / CardManual / gift card / …) through PaymentSession so every device sees it. Card paymethods (Card/Debit/Credit/Edenred) use a gateway initiate. Resolves to SUCCESS immediately; reconciliation writes the paymentEvent.
|
|
32716
32728
|
* @summary Record a manual payment session
|
|
@@ -32787,6 +32799,15 @@ export interface PaymentSessionApiInterface {
|
|
|
32787
32799
|
* @memberof PaymentSessionApiInterface
|
|
32788
32800
|
*/
|
|
32789
32801
|
initiateVivaSession(initiateVivaSessionDto: InitiateVivaSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig): AxiosPromise<InitiateVivaSessionResponseDto>;
|
|
32802
|
+
/**
|
|
32803
|
+
* Called by a Cloud Task (not the client). Holds the request open and long-polls Viva by sessionId for up to ~45s. As soon as the transaction is terminal it updates the session status and, on success, triggers order reconciliation — guarded by a CAS claim (tryClose) so a late webhook never double-writes the paymentEvent — so the order closes even if the webhook never arrives.
|
|
32804
|
+
* @summary Internal: long-poll Viva for a stuck payment session (Cloud Task callback)
|
|
32805
|
+
* @param {PollVivaSessionDto} pollVivaSessionDto
|
|
32806
|
+
* @param {*} [options] Override http request option.
|
|
32807
|
+
* @throws {RequiredError}
|
|
32808
|
+
* @memberof PaymentSessionApiInterface
|
|
32809
|
+
*/
|
|
32810
|
+
pollVivaSession(pollVivaSessionDto: PollVivaSessionDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
32790
32811
|
/**
|
|
32791
32812
|
* Records a non-gateway payment (cash / voucher / CardManual / gift card / …) through PaymentSession so every device sees it. Card paymethods (Card/Debit/Credit/Edenred) use a gateway initiate. Resolves to SUCCESS immediately; reconciliation writes the paymentEvent.
|
|
32792
32813
|
* @summary Record a manual payment session
|
|
@@ -32868,6 +32889,15 @@ export declare class PaymentSessionApi extends BaseAPI implements PaymentSession
|
|
|
32868
32889
|
* @memberof PaymentSessionApi
|
|
32869
32890
|
*/
|
|
32870
32891
|
initiateVivaSession(initiateVivaSessionDto: InitiateVivaSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateVivaSessionResponseDto, any, {}>>;
|
|
32892
|
+
/**
|
|
32893
|
+
* Called by a Cloud Task (not the client). Holds the request open and long-polls Viva by sessionId for up to ~45s. As soon as the transaction is terminal it updates the session status and, on success, triggers order reconciliation — guarded by a CAS claim (tryClose) so a late webhook never double-writes the paymentEvent — so the order closes even if the webhook never arrives.
|
|
32894
|
+
* @summary Internal: long-poll Viva for a stuck payment session (Cloud Task callback)
|
|
32895
|
+
* @param {PollVivaSessionDto} pollVivaSessionDto
|
|
32896
|
+
* @param {*} [options] Override http request option.
|
|
32897
|
+
* @throws {RequiredError}
|
|
32898
|
+
* @memberof PaymentSessionApi
|
|
32899
|
+
*/
|
|
32900
|
+
pollVivaSession(pollVivaSessionDto: PollVivaSessionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
32871
32901
|
/**
|
|
32872
32902
|
* Records a non-gateway payment (cash / voucher / CardManual / gift card / …) through PaymentSession so every device sees it. Card paymethods (Card/Debit/Credit/Edenred) use a gateway initiate. Resolves to SUCCESS immediately; reconciliation writes the paymentEvent.
|
|
32873
32903
|
* @summary Record a manual payment session
|
|
@@ -35643,12 +35673,6 @@ export declare const WebhookApiAxiosParamCreator: (configuration?: Configuration
|
|
|
35643
35673
|
* @throws {RequiredError}
|
|
35644
35674
|
*/
|
|
35645
35675
|
handleNetsEventsV2: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35646
|
-
/**
|
|
35647
|
-
*
|
|
35648
|
-
* @param {*} [options] Override http request option.
|
|
35649
|
-
* @throws {RequiredError}
|
|
35650
|
-
*/
|
|
35651
|
-
handleNetsRefundEvents: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35652
35676
|
/**
|
|
35653
35677
|
*
|
|
35654
35678
|
* @summary Handle preorder reminder (triggered by scheduler)
|
|
@@ -35710,13 +35734,6 @@ export declare const WebhookApiAxiosParamCreator: (configuration?: Configuration
|
|
|
35710
35734
|
* @throws {RequiredError}
|
|
35711
35735
|
*/
|
|
35712
35736
|
handleWorldlineEvents: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35713
|
-
/**
|
|
35714
|
-
*
|
|
35715
|
-
* @param {ProcessKioskRecoveryQueueDto} processKioskRecoveryQueueDto
|
|
35716
|
-
* @param {*} [options] Override http request option.
|
|
35717
|
-
* @throws {RequiredError}
|
|
35718
|
-
*/
|
|
35719
|
-
processKioskRecoveryQueue: (processKioskRecoveryQueueDto: ProcessKioskRecoveryQueueDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35720
35737
|
/**
|
|
35721
35738
|
*
|
|
35722
35739
|
* @param {*} [options] Override http request option.
|
|
@@ -35780,12 +35797,6 @@ export declare const WebhookApiFp: (configuration?: Configuration) => {
|
|
|
35780
35797
|
* @throws {RequiredError}
|
|
35781
35798
|
*/
|
|
35782
35799
|
handleNetsEventsV2(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
35783
|
-
/**
|
|
35784
|
-
*
|
|
35785
|
-
* @param {*} [options] Override http request option.
|
|
35786
|
-
* @throws {RequiredError}
|
|
35787
|
-
*/
|
|
35788
|
-
handleNetsRefundEvents(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
35789
35800
|
/**
|
|
35790
35801
|
*
|
|
35791
35802
|
* @summary Handle preorder reminder (triggered by scheduler)
|
|
@@ -35847,13 +35858,6 @@ export declare const WebhookApiFp: (configuration?: Configuration) => {
|
|
|
35847
35858
|
* @throws {RequiredError}
|
|
35848
35859
|
*/
|
|
35849
35860
|
handleWorldlineEvents(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
35850
|
-
/**
|
|
35851
|
-
*
|
|
35852
|
-
* @param {ProcessKioskRecoveryQueueDto} processKioskRecoveryQueueDto
|
|
35853
|
-
* @param {*} [options] Override http request option.
|
|
35854
|
-
* @throws {RequiredError}
|
|
35855
|
-
*/
|
|
35856
|
-
processKioskRecoveryQueue(processKioskRecoveryQueueDto: ProcessKioskRecoveryQueueDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
35857
35861
|
/**
|
|
35858
35862
|
*
|
|
35859
35863
|
* @param {*} [options] Override http request option.
|
|
@@ -35917,12 +35921,6 @@ export declare const WebhookApiFactory: (configuration?: Configuration, basePath
|
|
|
35917
35921
|
* @throws {RequiredError}
|
|
35918
35922
|
*/
|
|
35919
35923
|
handleNetsEventsV2(options?: any): AxiosPromise<void>;
|
|
35920
|
-
/**
|
|
35921
|
-
*
|
|
35922
|
-
* @param {*} [options] Override http request option.
|
|
35923
|
-
* @throws {RequiredError}
|
|
35924
|
-
*/
|
|
35925
|
-
handleNetsRefundEvents(options?: any): AxiosPromise<void>;
|
|
35926
35924
|
/**
|
|
35927
35925
|
*
|
|
35928
35926
|
* @summary Handle preorder reminder (triggered by scheduler)
|
|
@@ -35984,13 +35982,6 @@ export declare const WebhookApiFactory: (configuration?: Configuration, basePath
|
|
|
35984
35982
|
* @throws {RequiredError}
|
|
35985
35983
|
*/
|
|
35986
35984
|
handleWorldlineEvents(options?: any): AxiosPromise<void>;
|
|
35987
|
-
/**
|
|
35988
|
-
*
|
|
35989
|
-
* @param {ProcessKioskRecoveryQueueDto} processKioskRecoveryQueueDto
|
|
35990
|
-
* @param {*} [options] Override http request option.
|
|
35991
|
-
* @throws {RequiredError}
|
|
35992
|
-
*/
|
|
35993
|
-
processKioskRecoveryQueue(processKioskRecoveryQueueDto: ProcessKioskRecoveryQueueDto, options?: any): AxiosPromise<void>;
|
|
35994
35985
|
/**
|
|
35995
35986
|
*
|
|
35996
35987
|
* @param {*} [options] Override http request option.
|
|
@@ -36061,13 +36052,6 @@ export interface WebhookApiInterface {
|
|
|
36061
36052
|
* @memberof WebhookApiInterface
|
|
36062
36053
|
*/
|
|
36063
36054
|
handleNetsEventsV2(options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
36064
|
-
/**
|
|
36065
|
-
*
|
|
36066
|
-
* @param {*} [options] Override http request option.
|
|
36067
|
-
* @throws {RequiredError}
|
|
36068
|
-
* @memberof WebhookApiInterface
|
|
36069
|
-
*/
|
|
36070
|
-
handleNetsRefundEvents(options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
36071
36055
|
/**
|
|
36072
36056
|
*
|
|
36073
36057
|
* @summary Handle preorder reminder (triggered by scheduler)
|
|
@@ -36138,14 +36122,6 @@ export interface WebhookApiInterface {
|
|
|
36138
36122
|
* @memberof WebhookApiInterface
|
|
36139
36123
|
*/
|
|
36140
36124
|
handleWorldlineEvents(options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
36141
|
-
/**
|
|
36142
|
-
*
|
|
36143
|
-
* @param {ProcessKioskRecoveryQueueDto} processKioskRecoveryQueueDto
|
|
36144
|
-
* @param {*} [options] Override http request option.
|
|
36145
|
-
* @throws {RequiredError}
|
|
36146
|
-
* @memberof WebhookApiInterface
|
|
36147
|
-
*/
|
|
36148
|
-
processKioskRecoveryQueue(processKioskRecoveryQueueDto: ProcessKioskRecoveryQueueDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
36149
36125
|
/**
|
|
36150
36126
|
*
|
|
36151
36127
|
* @param {*} [options] Override http request option.
|
|
@@ -36220,13 +36196,6 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
36220
36196
|
* @memberof WebhookApi
|
|
36221
36197
|
*/
|
|
36222
36198
|
handleNetsEventsV2(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
36223
|
-
/**
|
|
36224
|
-
*
|
|
36225
|
-
* @param {*} [options] Override http request option.
|
|
36226
|
-
* @throws {RequiredError}
|
|
36227
|
-
* @memberof WebhookApi
|
|
36228
|
-
*/
|
|
36229
|
-
handleNetsRefundEvents(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
36230
36199
|
/**
|
|
36231
36200
|
*
|
|
36232
36201
|
* @summary Handle preorder reminder (triggered by scheduler)
|
|
@@ -36297,14 +36266,6 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
36297
36266
|
* @memberof WebhookApi
|
|
36298
36267
|
*/
|
|
36299
36268
|
handleWorldlineEvents(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
36300
|
-
/**
|
|
36301
|
-
*
|
|
36302
|
-
* @param {ProcessKioskRecoveryQueueDto} processKioskRecoveryQueueDto
|
|
36303
|
-
* @param {*} [options] Override http request option.
|
|
36304
|
-
* @throws {RequiredError}
|
|
36305
|
-
* @memberof WebhookApi
|
|
36306
|
-
*/
|
|
36307
|
-
processKioskRecoveryQueue(processKioskRecoveryQueueDto: ProcessKioskRecoveryQueueDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
36308
36269
|
/**
|
|
36309
36270
|
*
|
|
36310
36271
|
* @param {*} [options] Override http request option.
|