@munchi_oy/core 1.9.72 → 1.9.74
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 +702 -31
- 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 +939 -38
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -156,6 +156,21 @@ export interface ActionPasscodeResponseDto {
|
|
|
156
156
|
*/
|
|
157
157
|
'permissionRules': Array<PermissionRuleResponseDto>;
|
|
158
158
|
}
|
|
159
|
+
/**
|
|
160
|
+
*
|
|
161
|
+
* @export
|
|
162
|
+
* @enum {string}
|
|
163
|
+
*/
|
|
164
|
+
export declare const ActionsEnum: {
|
|
165
|
+
readonly Ticketing: "Ticketing";
|
|
166
|
+
readonly OrderChange: "OrderChange";
|
|
167
|
+
readonly NewOrder: "NewOrder";
|
|
168
|
+
readonly Printing: "Printing";
|
|
169
|
+
readonly PosOrderChange: "PosOrderChange";
|
|
170
|
+
readonly UpdateLoyaltyPoints: "UpdateLoyaltyPoints";
|
|
171
|
+
readonly CourseFire: "CourseFire";
|
|
172
|
+
};
|
|
173
|
+
export type ActionsEnum = typeof ActionsEnum[keyof typeof ActionsEnum];
|
|
159
174
|
/**
|
|
160
175
|
*
|
|
161
176
|
* @export
|
|
@@ -6450,6 +6465,56 @@ export interface ImageBackgroundConfig {
|
|
|
6450
6465
|
*/
|
|
6451
6466
|
'blurRadius'?: number;
|
|
6452
6467
|
}
|
|
6468
|
+
/**
|
|
6469
|
+
*
|
|
6470
|
+
* @export
|
|
6471
|
+
* @interface InitiateNetsSessionDto
|
|
6472
|
+
*/
|
|
6473
|
+
export interface InitiateNetsSessionDto {
|
|
6474
|
+
/**
|
|
6475
|
+
* The internal business ID.
|
|
6476
|
+
* @type {number}
|
|
6477
|
+
* @memberof InitiateNetsSessionDto
|
|
6478
|
+
*/
|
|
6479
|
+
'businessId': number;
|
|
6480
|
+
/**
|
|
6481
|
+
* The POS order ID this payment session is for.
|
|
6482
|
+
* @type {string}
|
|
6483
|
+
* @memberof InitiateNetsSessionDto
|
|
6484
|
+
*/
|
|
6485
|
+
'orderId': string;
|
|
6486
|
+
/**
|
|
6487
|
+
* Amount to charge in smallest currency unit (cents).
|
|
6488
|
+
* @type {number}
|
|
6489
|
+
* @memberof InitiateNetsSessionDto
|
|
6490
|
+
*/
|
|
6491
|
+
'amount': number;
|
|
6492
|
+
/**
|
|
6493
|
+
*
|
|
6494
|
+
* @type {InitiateVivaSessionDtoSplitContext}
|
|
6495
|
+
* @memberof InitiateNetsSessionDto
|
|
6496
|
+
*/
|
|
6497
|
+
'splitContext'?: InitiateVivaSessionDtoSplitContext;
|
|
6498
|
+
}
|
|
6499
|
+
/**
|
|
6500
|
+
*
|
|
6501
|
+
* @export
|
|
6502
|
+
* @interface InitiateNetsSessionResponseDto
|
|
6503
|
+
*/
|
|
6504
|
+
export interface InitiateNetsSessionResponseDto {
|
|
6505
|
+
/**
|
|
6506
|
+
* Opaque token returned to the client. Used by the client to poll/sync the session. Never sent to Nets.
|
|
6507
|
+
* @type {string}
|
|
6508
|
+
* @memberof InitiateNetsSessionResponseDto
|
|
6509
|
+
*/
|
|
6510
|
+
'clientToken': string;
|
|
6511
|
+
/**
|
|
6512
|
+
* Internal session ID — the Nets ConnectCloud request id the webhook resolves against.
|
|
6513
|
+
* @type {string}
|
|
6514
|
+
* @memberof InitiateNetsSessionResponseDto
|
|
6515
|
+
*/
|
|
6516
|
+
'sessionId': string;
|
|
6517
|
+
}
|
|
6453
6518
|
/**
|
|
6454
6519
|
*
|
|
6455
6520
|
* @export
|
|
@@ -9856,6 +9921,59 @@ export interface NetsPaymentMessageDtoData {
|
|
|
9856
9921
|
*/
|
|
9857
9922
|
'storeboxToken'?: string;
|
|
9858
9923
|
}
|
|
9924
|
+
/**
|
|
9925
|
+
*
|
|
9926
|
+
* @export
|
|
9927
|
+
* @enum {string}
|
|
9928
|
+
*/
|
|
9929
|
+
export declare const NetsRevertMethod: {
|
|
9930
|
+
readonly Reversal: "REVERSAL";
|
|
9931
|
+
readonly Refund: "REFUND";
|
|
9932
|
+
};
|
|
9933
|
+
export type NetsRevertMethod = typeof NetsRevertMethod[keyof typeof NetsRevertMethod];
|
|
9934
|
+
/**
|
|
9935
|
+
*
|
|
9936
|
+
* @export
|
|
9937
|
+
* @interface NetsRevertResponseDto
|
|
9938
|
+
*/
|
|
9939
|
+
export interface NetsRevertResponseDto {
|
|
9940
|
+
/**
|
|
9941
|
+
*
|
|
9942
|
+
* @type {NetsRevertMethod}
|
|
9943
|
+
* @memberof NetsRevertResponseDto
|
|
9944
|
+
*/
|
|
9945
|
+
'method': NetsRevertMethod;
|
|
9946
|
+
/**
|
|
9947
|
+
* True when the customer must tap their card to complete (REFUND); false for a REVERSAL, which settles without a tap.
|
|
9948
|
+
* @type {boolean}
|
|
9949
|
+
* @memberof NetsRevertResponseDto
|
|
9950
|
+
*/
|
|
9951
|
+
'requiresCardTap': boolean;
|
|
9952
|
+
/**
|
|
9953
|
+
* Opaque token to poll GET /payment-session/:clientToken for the final outcome.
|
|
9954
|
+
* @type {string}
|
|
9955
|
+
* @memberof NetsRevertResponseDto
|
|
9956
|
+
*/
|
|
9957
|
+
'clientToken': string;
|
|
9958
|
+
/**
|
|
9959
|
+
* Internal session id — the Nets connectcloud-request-id the webhook resolves against.
|
|
9960
|
+
* @type {string}
|
|
9961
|
+
* @memberof NetsRevertResponseDto
|
|
9962
|
+
*/
|
|
9963
|
+
'sessionId': string;
|
|
9964
|
+
/**
|
|
9965
|
+
* Amount being reverted, in the smallest currency unit (cents).
|
|
9966
|
+
* @type {number}
|
|
9967
|
+
* @memberof NetsRevertResponseDto
|
|
9968
|
+
*/
|
|
9969
|
+
'amount': number;
|
|
9970
|
+
/**
|
|
9971
|
+
*
|
|
9972
|
+
* @type {PaymentSessionStatus}
|
|
9973
|
+
* @memberof NetsRevertResponseDto
|
|
9974
|
+
*/
|
|
9975
|
+
'status': PaymentSessionStatus;
|
|
9976
|
+
}
|
|
9859
9977
|
/**
|
|
9860
9978
|
*
|
|
9861
9979
|
* @export
|
|
@@ -15838,7 +15956,7 @@ export type PrinterTypeEnum = typeof PrinterTypeEnum[keyof typeof PrinterTypeEnu
|
|
|
15838
15956
|
export interface ProcessOrderActionsDto {
|
|
15839
15957
|
/**
|
|
15840
15958
|
* Array of actions to process
|
|
15841
|
-
* @type {Array<
|
|
15959
|
+
* @type {Array<ActionsEnum>}
|
|
15842
15960
|
* @memberof ProcessOrderActionsDto
|
|
15843
15961
|
*/
|
|
15844
15962
|
'actions': Array<ActionsEnum>;
|
|
@@ -15849,16 +15967,6 @@ export interface ProcessOrderActionsDto {
|
|
|
15849
15967
|
*/
|
|
15850
15968
|
'data': ProcessOrderActionsDtoData;
|
|
15851
15969
|
}
|
|
15852
|
-
export declare const ActionsEnum: {
|
|
15853
|
-
readonly Ticketing: "Ticketing";
|
|
15854
|
-
readonly OrderChange: "OrderChange";
|
|
15855
|
-
readonly NewOrder: "NewOrder";
|
|
15856
|
-
readonly Printing: "Printing";
|
|
15857
|
-
readonly PosOrderChange: "PosOrderChange";
|
|
15858
|
-
readonly UpdateLoyaltyPoints: "UpdateLoyaltyPoints";
|
|
15859
|
-
readonly CourseFire: "CourseFire";
|
|
15860
|
-
};
|
|
15861
|
-
export type ActionsEnum = typeof ActionsEnum[keyof typeof ActionsEnum];
|
|
15862
15970
|
/**
|
|
15863
15971
|
* Action-specific data
|
|
15864
15972
|
* @export
|
|
@@ -16156,6 +16264,19 @@ export interface ProcessOrderActionsResponseDtoOrder {
|
|
|
16156
16264
|
*/
|
|
16157
16265
|
'tableGroupId'?: string | null;
|
|
16158
16266
|
}
|
|
16267
|
+
/**
|
|
16268
|
+
*
|
|
16269
|
+
* @export
|
|
16270
|
+
* @interface ProcessPosOrderActionsQueueDto
|
|
16271
|
+
*/
|
|
16272
|
+
export interface ProcessPosOrderActionsQueueDto {
|
|
16273
|
+
/**
|
|
16274
|
+
* qid of the enqueued order-actions job to process.
|
|
16275
|
+
* @type {string}
|
|
16276
|
+
* @memberof ProcessPosOrderActionsQueueDto
|
|
16277
|
+
*/
|
|
16278
|
+
'qid': string;
|
|
16279
|
+
}
|
|
16159
16280
|
/**
|
|
16160
16281
|
*
|
|
16161
16282
|
* @export
|
|
@@ -19142,6 +19263,304 @@ export interface SupportedChannelDto {
|
|
|
19142
19263
|
*/
|
|
19143
19264
|
'label': string;
|
|
19144
19265
|
}
|
|
19266
|
+
/**
|
|
19267
|
+
*
|
|
19268
|
+
* @export
|
|
19269
|
+
* @interface SyncPosOrderDto
|
|
19270
|
+
*/
|
|
19271
|
+
export interface SyncPosOrderDto {
|
|
19272
|
+
/**
|
|
19273
|
+
*
|
|
19274
|
+
* @type {SyncPosOrderDtoOrder}
|
|
19275
|
+
* @memberof SyncPosOrderDto
|
|
19276
|
+
*/
|
|
19277
|
+
'order': SyncPosOrderDtoOrder;
|
|
19278
|
+
/**
|
|
19279
|
+
*
|
|
19280
|
+
* @type {SyncPosOrderDtoWorkflow}
|
|
19281
|
+
* @memberof SyncPosOrderDto
|
|
19282
|
+
*/
|
|
19283
|
+
'workflow'?: SyncPosOrderDtoWorkflow;
|
|
19284
|
+
}
|
|
19285
|
+
/**
|
|
19286
|
+
* POS order snapshot to persist. paymentEvents are ignored (server-owned).
|
|
19287
|
+
* @export
|
|
19288
|
+
* @interface SyncPosOrderDtoOrder
|
|
19289
|
+
*/
|
|
19290
|
+
export interface SyncPosOrderDtoOrder {
|
|
19291
|
+
/**
|
|
19292
|
+
*
|
|
19293
|
+
* @type {string}
|
|
19294
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19295
|
+
*/
|
|
19296
|
+
'id': string;
|
|
19297
|
+
/**
|
|
19298
|
+
*
|
|
19299
|
+
* @type {string}
|
|
19300
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19301
|
+
*/
|
|
19302
|
+
'businessId': string;
|
|
19303
|
+
/**
|
|
19304
|
+
*
|
|
19305
|
+
* @type {ProviderEnum}
|
|
19306
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19307
|
+
*/
|
|
19308
|
+
'provider': ProviderEnum;
|
|
19309
|
+
/**
|
|
19310
|
+
*
|
|
19311
|
+
* @type {CurrencyCode}
|
|
19312
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19313
|
+
*/
|
|
19314
|
+
'currency': CurrencyCode;
|
|
19315
|
+
/**
|
|
19316
|
+
*
|
|
19317
|
+
* @type {PosBusinessDto}
|
|
19318
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19319
|
+
*/
|
|
19320
|
+
'business': PosBusinessDto;
|
|
19321
|
+
/**
|
|
19322
|
+
*
|
|
19323
|
+
* @type {string}
|
|
19324
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19325
|
+
*/
|
|
19326
|
+
'createdAt': string;
|
|
19327
|
+
/**
|
|
19328
|
+
*
|
|
19329
|
+
* @type {OrderStatusEnum}
|
|
19330
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19331
|
+
*/
|
|
19332
|
+
'status': OrderStatusEnum;
|
|
19333
|
+
/**
|
|
19334
|
+
*
|
|
19335
|
+
* @type {string}
|
|
19336
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19337
|
+
*/
|
|
19338
|
+
'updatedAt': string;
|
|
19339
|
+
/**
|
|
19340
|
+
*
|
|
19341
|
+
* @type {string}
|
|
19342
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19343
|
+
*/
|
|
19344
|
+
'completedAt'?: string;
|
|
19345
|
+
/**
|
|
19346
|
+
*
|
|
19347
|
+
* @type {string}
|
|
19348
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19349
|
+
*/
|
|
19350
|
+
'orderNumber': string;
|
|
19351
|
+
/**
|
|
19352
|
+
*
|
|
19353
|
+
* @type {CheckoutModelEnum}
|
|
19354
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19355
|
+
*/
|
|
19356
|
+
'checkoutModel': CheckoutModelEnum;
|
|
19357
|
+
/**
|
|
19358
|
+
*
|
|
19359
|
+
* @type {OrderTypePOS}
|
|
19360
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19361
|
+
*/
|
|
19362
|
+
'orderType': OrderTypePOS;
|
|
19363
|
+
/**
|
|
19364
|
+
*
|
|
19365
|
+
* @type {string}
|
|
19366
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19367
|
+
*/
|
|
19368
|
+
'spotNumber': string | null;
|
|
19369
|
+
/**
|
|
19370
|
+
* ID of the floor plan dining table linked to this order
|
|
19371
|
+
* @type {string}
|
|
19372
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19373
|
+
*/
|
|
19374
|
+
'tableId'?: string | null;
|
|
19375
|
+
/**
|
|
19376
|
+
*
|
|
19377
|
+
* @type {string}
|
|
19378
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19379
|
+
*/
|
|
19380
|
+
'comments': string | null;
|
|
19381
|
+
/**
|
|
19382
|
+
*
|
|
19383
|
+
* @type {PosOrderDtoTableService}
|
|
19384
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19385
|
+
*/
|
|
19386
|
+
'tableService'?: PosOrderDtoTableService | null;
|
|
19387
|
+
/**
|
|
19388
|
+
*
|
|
19389
|
+
* @type {PosOrderDtoEqualSplitState}
|
|
19390
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19391
|
+
*/
|
|
19392
|
+
'equalSplitState'?: PosOrderDtoEqualSplitState | null;
|
|
19393
|
+
/**
|
|
19394
|
+
* Id of the staff in shift
|
|
19395
|
+
* @type {string}
|
|
19396
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19397
|
+
*/
|
|
19398
|
+
'staffId': string | null;
|
|
19399
|
+
/**
|
|
19400
|
+
* Id of the shift
|
|
19401
|
+
* @type {string}
|
|
19402
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19403
|
+
*/
|
|
19404
|
+
'shiftId': string | null;
|
|
19405
|
+
/**
|
|
19406
|
+
*
|
|
19407
|
+
* @type {OrderRefundStatus}
|
|
19408
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19409
|
+
*/
|
|
19410
|
+
'orderRefundStatus': OrderRefundStatus;
|
|
19411
|
+
/**
|
|
19412
|
+
*
|
|
19413
|
+
* @type {LocatorType}
|
|
19414
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19415
|
+
*/
|
|
19416
|
+
'locatorType': LocatorType;
|
|
19417
|
+
/**
|
|
19418
|
+
*
|
|
19419
|
+
* @type {PosOrderPriceDto}
|
|
19420
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19421
|
+
*/
|
|
19422
|
+
'basketPrice': PosOrderPriceDto;
|
|
19423
|
+
/**
|
|
19424
|
+
*
|
|
19425
|
+
* @type {Array<PosOrderItemDto>}
|
|
19426
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19427
|
+
*/
|
|
19428
|
+
'items': Array<PosOrderItemDto>;
|
|
19429
|
+
/**
|
|
19430
|
+
*
|
|
19431
|
+
* @type {Array<PosDiscountDto>}
|
|
19432
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19433
|
+
*/
|
|
19434
|
+
'discounts': Array<PosDiscountDto>;
|
|
19435
|
+
/**
|
|
19436
|
+
*
|
|
19437
|
+
* @type {PosCustomerDto}
|
|
19438
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19439
|
+
*/
|
|
19440
|
+
'customer': PosCustomerDto | null;
|
|
19441
|
+
/**
|
|
19442
|
+
*
|
|
19443
|
+
* @type {Array<TransactionDto>}
|
|
19444
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19445
|
+
*/
|
|
19446
|
+
'paymentEvents': Array<TransactionDto>;
|
|
19447
|
+
/**
|
|
19448
|
+
*
|
|
19449
|
+
* @type {Array<PaymentRefundDto>}
|
|
19450
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19451
|
+
*/
|
|
19452
|
+
'refunds'?: Array<PaymentRefundDto>;
|
|
19453
|
+
/**
|
|
19454
|
+
* Data version code
|
|
19455
|
+
* @type {string}
|
|
19456
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19457
|
+
*/
|
|
19458
|
+
'version': string;
|
|
19459
|
+
/**
|
|
19460
|
+
*
|
|
19461
|
+
* @type {OrderFormat}
|
|
19462
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19463
|
+
*/
|
|
19464
|
+
'orderFormat'?: OrderFormat;
|
|
19465
|
+
/**
|
|
19466
|
+
* The ID of the loyalty program active during this order.
|
|
19467
|
+
* @type {string}
|
|
19468
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19469
|
+
*/
|
|
19470
|
+
'loyaltyProgramId': string | null;
|
|
19471
|
+
/**
|
|
19472
|
+
* An array of loyalty transaction IDs related to this order.
|
|
19473
|
+
* @type {Array<string>}
|
|
19474
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19475
|
+
*/
|
|
19476
|
+
'loyaltyTransactionIds': Array<string>;
|
|
19477
|
+
/**
|
|
19478
|
+
*
|
|
19479
|
+
* @type {PosOrderDtoTaxSummary}
|
|
19480
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19481
|
+
*/
|
|
19482
|
+
'taxSummary'?: PosOrderDtoTaxSummary;
|
|
19483
|
+
/**
|
|
19484
|
+
* Name of staff member who created the order
|
|
19485
|
+
* @type {string}
|
|
19486
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19487
|
+
*/
|
|
19488
|
+
'staffName'?: string | null;
|
|
19489
|
+
/**
|
|
19490
|
+
*
|
|
19491
|
+
* @type {PosOrderDtoInvoiceCompany}
|
|
19492
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19493
|
+
*/
|
|
19494
|
+
'invoiceCompany'?: PosOrderDtoInvoiceCompany | null;
|
|
19495
|
+
/**
|
|
19496
|
+
*
|
|
19497
|
+
* @type {object}
|
|
19498
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19499
|
+
*/
|
|
19500
|
+
'lastPaymentError'?: object;
|
|
19501
|
+
/**
|
|
19502
|
+
*
|
|
19503
|
+
* @type {Array<OrderFeeDto>}
|
|
19504
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19505
|
+
*/
|
|
19506
|
+
'fees'?: Array<OrderFeeDto> | null;
|
|
19507
|
+
/**
|
|
19508
|
+
* Loyalty user ID associated with this order
|
|
19509
|
+
* @type {number}
|
|
19510
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19511
|
+
*/
|
|
19512
|
+
'targetUserId'?: number;
|
|
19513
|
+
/**
|
|
19514
|
+
* ID of the table group this order belongs to
|
|
19515
|
+
* @type {string}
|
|
19516
|
+
* @memberof SyncPosOrderDtoOrder
|
|
19517
|
+
*/
|
|
19518
|
+
'tableGroupId'?: string | null;
|
|
19519
|
+
}
|
|
19520
|
+
/**
|
|
19521
|
+
* POS order actions to run in the background after persist (same shape as /pos/actions). Omit to only sync the order.
|
|
19522
|
+
* @export
|
|
19523
|
+
* @interface SyncPosOrderDtoWorkflow
|
|
19524
|
+
*/
|
|
19525
|
+
export interface SyncPosOrderDtoWorkflow {
|
|
19526
|
+
/**
|
|
19527
|
+
* Array of actions to process
|
|
19528
|
+
* @type {Array<ActionsEnum>}
|
|
19529
|
+
* @memberof SyncPosOrderDtoWorkflow
|
|
19530
|
+
*/
|
|
19531
|
+
'actions': Array<ActionsEnum>;
|
|
19532
|
+
/**
|
|
19533
|
+
*
|
|
19534
|
+
* @type {ProcessOrderActionsDtoData}
|
|
19535
|
+
* @memberof SyncPosOrderDtoWorkflow
|
|
19536
|
+
*/
|
|
19537
|
+
'data': ProcessOrderActionsDtoData;
|
|
19538
|
+
}
|
|
19539
|
+
/**
|
|
19540
|
+
*
|
|
19541
|
+
* @export
|
|
19542
|
+
* @interface SyncPosOrderResponseDto
|
|
19543
|
+
*/
|
|
19544
|
+
export interface SyncPosOrderResponseDto {
|
|
19545
|
+
/**
|
|
19546
|
+
* Whether the order snapshot was persisted.
|
|
19547
|
+
* @type {boolean}
|
|
19548
|
+
* @memberof SyncPosOrderResponseDto
|
|
19549
|
+
*/
|
|
19550
|
+
'synced': boolean;
|
|
19551
|
+
/**
|
|
19552
|
+
* Id of the synced order.
|
|
19553
|
+
* @type {string}
|
|
19554
|
+
* @memberof SyncPosOrderResponseDto
|
|
19555
|
+
*/
|
|
19556
|
+
'orderId': string;
|
|
19557
|
+
/**
|
|
19558
|
+
* Enqueued order-actions job id, or null when no workflow was provided.
|
|
19559
|
+
* @type {string}
|
|
19560
|
+
* @memberof SyncPosOrderResponseDto
|
|
19561
|
+
*/
|
|
19562
|
+
'jobId': string | null;
|
|
19563
|
+
}
|
|
19145
19564
|
/**
|
|
19146
19565
|
*
|
|
19147
19566
|
* @export
|
|
@@ -30907,6 +31326,14 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
30907
31326
|
* @throws {RequiredError}
|
|
30908
31327
|
*/
|
|
30909
31328
|
rejectOrder: (rejectOrderDto: RejectOrderDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31329
|
+
/**
|
|
31330
|
+
*
|
|
31331
|
+
* @summary Sync a POS order and enqueue background order actions
|
|
31332
|
+
* @param {SyncPosOrderDto} syncPosOrderDto
|
|
31333
|
+
* @param {*} [options] Override http request option.
|
|
31334
|
+
* @throws {RequiredError}
|
|
31335
|
+
*/
|
|
31336
|
+
syncPosOrder: (syncPosOrderDto: SyncPosOrderDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
30910
31337
|
/**
|
|
30911
31338
|
*
|
|
30912
31339
|
* @summary Update a POS order status
|
|
@@ -31020,6 +31447,14 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
|
31020
31447
|
* @throws {RequiredError}
|
|
31021
31448
|
*/
|
|
31022
31449
|
rejectOrder(rejectOrderDto: RejectOrderDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderStatusResponseDto>>;
|
|
31450
|
+
/**
|
|
31451
|
+
*
|
|
31452
|
+
* @summary Sync a POS order and enqueue background order actions
|
|
31453
|
+
* @param {SyncPosOrderDto} syncPosOrderDto
|
|
31454
|
+
* @param {*} [options] Override http request option.
|
|
31455
|
+
* @throws {RequiredError}
|
|
31456
|
+
*/
|
|
31457
|
+
syncPosOrder(syncPosOrderDto: SyncPosOrderDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncPosOrderResponseDto>>;
|
|
31023
31458
|
/**
|
|
31024
31459
|
*
|
|
31025
31460
|
* @summary Update a POS order status
|
|
@@ -31133,6 +31568,14 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
|
|
|
31133
31568
|
* @throws {RequiredError}
|
|
31134
31569
|
*/
|
|
31135
31570
|
rejectOrder(rejectOrderDto: RejectOrderDto, options?: any): AxiosPromise<OrderStatusResponseDto>;
|
|
31571
|
+
/**
|
|
31572
|
+
*
|
|
31573
|
+
* @summary Sync a POS order and enqueue background order actions
|
|
31574
|
+
* @param {SyncPosOrderDto} syncPosOrderDto
|
|
31575
|
+
* @param {*} [options] Override http request option.
|
|
31576
|
+
* @throws {RequiredError}
|
|
31577
|
+
*/
|
|
31578
|
+
syncPosOrder(syncPosOrderDto: SyncPosOrderDto, options?: any): AxiosPromise<SyncPosOrderResponseDto>;
|
|
31136
31579
|
/**
|
|
31137
31580
|
*
|
|
31138
31581
|
* @summary Update a POS order status
|
|
@@ -31259,6 +31702,15 @@ export interface OrdersApiInterface {
|
|
|
31259
31702
|
* @memberof OrdersApiInterface
|
|
31260
31703
|
*/
|
|
31261
31704
|
rejectOrder(rejectOrderDto: RejectOrderDto, options?: AxiosRequestConfig): AxiosPromise<OrderStatusResponseDto>;
|
|
31705
|
+
/**
|
|
31706
|
+
*
|
|
31707
|
+
* @summary Sync a POS order and enqueue background order actions
|
|
31708
|
+
* @param {SyncPosOrderDto} syncPosOrderDto
|
|
31709
|
+
* @param {*} [options] Override http request option.
|
|
31710
|
+
* @throws {RequiredError}
|
|
31711
|
+
* @memberof OrdersApiInterface
|
|
31712
|
+
*/
|
|
31713
|
+
syncPosOrder(syncPosOrderDto: SyncPosOrderDto, options?: AxiosRequestConfig): AxiosPromise<SyncPosOrderResponseDto>;
|
|
31262
31714
|
/**
|
|
31263
31715
|
*
|
|
31264
31716
|
* @summary Update a POS order status
|
|
@@ -31387,6 +31839,15 @@ export declare class OrdersApi extends BaseAPI implements OrdersApiInterface {
|
|
|
31387
31839
|
* @memberof OrdersApi
|
|
31388
31840
|
*/
|
|
31389
31841
|
rejectOrder(rejectOrderDto: RejectOrderDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderStatusResponseDto, any, {}>>;
|
|
31842
|
+
/**
|
|
31843
|
+
*
|
|
31844
|
+
* @summary Sync a POS order and enqueue background order actions
|
|
31845
|
+
* @param {SyncPosOrderDto} syncPosOrderDto
|
|
31846
|
+
* @param {*} [options] Override http request option.
|
|
31847
|
+
* @throws {RequiredError}
|
|
31848
|
+
* @memberof OrdersApi
|
|
31849
|
+
*/
|
|
31850
|
+
syncPosOrder(syncPosOrderDto: SyncPosOrderDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncPosOrderResponseDto, any, {}>>;
|
|
31390
31851
|
/**
|
|
31391
31852
|
*
|
|
31392
31853
|
* @summary Update a POS order status
|
|
@@ -32525,13 +32986,13 @@ export declare class PaymentMethodsApi extends BaseAPI implements PaymentMethods
|
|
|
32525
32986
|
*/
|
|
32526
32987
|
export declare const PaymentSessionApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
32527
32988
|
/**
|
|
32528
|
-
* Arms cancelRequestedAt + aborts the Viva terminal session. Does not flip status — the webhook/sweep resolves the real outcome
|
|
32529
|
-
* @summary Cancel an in-flight
|
|
32989
|
+
* Arms cancelRequestedAt + aborts at the gateway (Viva session abort / Nets terminal cancelAction, dispatched on the session\'s provider). Does not flip status — the webhook/sweep resolves the real outcome; a late success parks at VOID_PENDING with a dev alert. Card sessions only.
|
|
32990
|
+
* @summary Cancel an in-flight card payment session (Viva or Nets)
|
|
32530
32991
|
* @param {string} clientToken
|
|
32531
32992
|
* @param {*} [options] Override http request option.
|
|
32532
32993
|
* @throws {RequiredError}
|
|
32533
32994
|
*/
|
|
32534
|
-
|
|
32995
|
+
cancelSession: (clientToken: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32535
32996
|
/**
|
|
32536
32997
|
* Reads PaymentSession from Postgres. Use this to poll session lifecycle without hitting the Viva API.
|
|
32537
32998
|
* @summary Get payment session status by clientToken
|
|
@@ -32540,6 +33001,15 @@ export declare const PaymentSessionApiAxiosParamCreator: (configuration?: Config
|
|
|
32540
33001
|
* @throws {RequiredError}
|
|
32541
33002
|
*/
|
|
32542
33003
|
getPaymentSession: (clientToken: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33004
|
+
/**
|
|
33005
|
+
* Creates a PaymentSession row, pushes the transaction to the station\'s Nets terminal (async — the result arrives via the Nets webhook), returns a client-facing token to poll. Idempotent via X-Idempotency-Key header.
|
|
33006
|
+
* @summary Initiate a Nets terminal payment session
|
|
33007
|
+
* @param {InitiateNetsSessionDto} initiateNetsSessionDto
|
|
33008
|
+
* @param {string} [xIdempotencyKey] Client-generated UUID. If a session already exists for this key, the existing session is returned.
|
|
33009
|
+
* @param {*} [options] Override http request option.
|
|
33010
|
+
* @throws {RequiredError}
|
|
33011
|
+
*/
|
|
33012
|
+
initiateNetsSession: (initiateNetsSessionDto: InitiateNetsSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32543
33013
|
/**
|
|
32544
33014
|
* 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.
|
|
32545
33015
|
* @summary Initiate a Viva app-to-app payment session
|
|
@@ -32573,6 +33043,14 @@ export declare const PaymentSessionApiAxiosParamCreator: (configuration?: Config
|
|
|
32573
33043
|
* @throws {RequiredError}
|
|
32574
33044
|
*/
|
|
32575
33045
|
recordManualPayment: (createManualSessionDto: CreateManualSessionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33046
|
+
/**
|
|
33047
|
+
* Starts a terminal-present ReturnOfGoods on the station\'s Nets terminal for the given sessionId, refunding the payload `amount` (defaults to the full session amount). Returns a PENDING refund session (status INITIATED) — the customer must tap their card; poll GET /:clientToken until REFUNDED/FAILED/CANCELLED. Does NOT write a reversal paymentEvent to the order.
|
|
33048
|
+
* @summary Refund a settled Nets payment session (gateway only, async)
|
|
33049
|
+
* @param {ReverseSessionDto} reverseSessionDto
|
|
33050
|
+
* @param {*} [options] Override http request option.
|
|
33051
|
+
* @throws {RequiredError}
|
|
33052
|
+
*/
|
|
33053
|
+
refundNetsSession: (reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32576
33054
|
/**
|
|
32577
33055
|
* Refunds a Viva card payment at the gateway by its sessionId, optionally a partial `amount` (item / cluster refund). Validates the remaining refundable balance and supports multiple partial refunds. Does NOT write a reversal paymentEvent to the order — order-side accounting is handled by the refund plan. For a full reversal that writes the order paymentEvent, use /revert.
|
|
32578
33056
|
* @summary Refund a settled Viva payment session (gateway only)
|
|
@@ -32581,6 +33059,14 @@ export declare const PaymentSessionApiAxiosParamCreator: (configuration?: Config
|
|
|
32581
33059
|
* @throws {RequiredError}
|
|
32582
33060
|
*/
|
|
32583
33061
|
refundVivaSession: (reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33062
|
+
/**
|
|
33063
|
+
* 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.
|
|
33064
|
+
* @summary Revert (fully reverse) a settled Nets payment session (async)
|
|
33065
|
+
* @param {ReverseSessionDto} reverseSessionDto
|
|
33066
|
+
* @param {*} [options] Override http request option.
|
|
33067
|
+
* @throws {RequiredError}
|
|
33068
|
+
*/
|
|
33069
|
+
revertNetsSession: (reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32584
33070
|
/**
|
|
32585
33071
|
* Fully reverses a completed Viva card payment (SUCCESS / CLOSED) by its sessionId: refunds the full amount at the gateway AND writes a reversal paymentEvent to the order via the settlement engine. Idempotent: re-calling a reverted session is a no-op.
|
|
32586
33072
|
* @summary Revert (fully reverse) a settled Viva payment session
|
|
@@ -32604,13 +33090,13 @@ export declare const PaymentSessionApiAxiosParamCreator: (configuration?: Config
|
|
|
32604
33090
|
*/
|
|
32605
33091
|
export declare const PaymentSessionApiFp: (configuration?: Configuration) => {
|
|
32606
33092
|
/**
|
|
32607
|
-
* Arms cancelRequestedAt + aborts the Viva terminal session. Does not flip status — the webhook/sweep resolves the real outcome
|
|
32608
|
-
* @summary Cancel an in-flight
|
|
33093
|
+
* Arms cancelRequestedAt + aborts at the gateway (Viva session abort / Nets terminal cancelAction, dispatched on the session\'s provider). Does not flip status — the webhook/sweep resolves the real outcome; a late success parks at VOID_PENDING with a dev alert. Card sessions only.
|
|
33094
|
+
* @summary Cancel an in-flight card payment session (Viva or Nets)
|
|
32609
33095
|
* @param {string} clientToken
|
|
32610
33096
|
* @param {*} [options] Override http request option.
|
|
32611
33097
|
* @throws {RequiredError}
|
|
32612
33098
|
*/
|
|
32613
|
-
|
|
33099
|
+
cancelSession(clientToken: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentSessionViewDto>>;
|
|
32614
33100
|
/**
|
|
32615
33101
|
* Reads PaymentSession from Postgres. Use this to poll session lifecycle without hitting the Viva API.
|
|
32616
33102
|
* @summary Get payment session status by clientToken
|
|
@@ -32619,6 +33105,15 @@ export declare const PaymentSessionApiFp: (configuration?: Configuration) => {
|
|
|
32619
33105
|
* @throws {RequiredError}
|
|
32620
33106
|
*/
|
|
32621
33107
|
getPaymentSession(clientToken: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentSessionViewDto>>;
|
|
33108
|
+
/**
|
|
33109
|
+
* Creates a PaymentSession row, pushes the transaction to the station\'s Nets terminal (async — the result arrives via the Nets webhook), returns a client-facing token to poll. Idempotent via X-Idempotency-Key header.
|
|
33110
|
+
* @summary Initiate a Nets terminal payment session
|
|
33111
|
+
* @param {InitiateNetsSessionDto} initiateNetsSessionDto
|
|
33112
|
+
* @param {string} [xIdempotencyKey] Client-generated UUID. If a session already exists for this key, the existing session is returned.
|
|
33113
|
+
* @param {*} [options] Override http request option.
|
|
33114
|
+
* @throws {RequiredError}
|
|
33115
|
+
*/
|
|
33116
|
+
initiateNetsSession(initiateNetsSessionDto: InitiateNetsSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InitiateNetsSessionResponseDto>>;
|
|
32622
33117
|
/**
|
|
32623
33118
|
* 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.
|
|
32624
33119
|
* @summary Initiate a Viva app-to-app payment session
|
|
@@ -32652,6 +33147,14 @@ export declare const PaymentSessionApiFp: (configuration?: Configuration) => {
|
|
|
32652
33147
|
* @throws {RequiredError}
|
|
32653
33148
|
*/
|
|
32654
33149
|
recordManualPayment(createManualSessionDto: CreateManualSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RecordManualPaymentResultDto>>;
|
|
33150
|
+
/**
|
|
33151
|
+
* Starts a terminal-present ReturnOfGoods on the station\'s Nets terminal for the given sessionId, refunding the payload `amount` (defaults to the full session amount). Returns a PENDING refund session (status INITIATED) — the customer must tap their card; poll GET /:clientToken until REFUNDED/FAILED/CANCELLED. Does NOT write a reversal paymentEvent to the order.
|
|
33152
|
+
* @summary Refund a settled Nets payment session (gateway only, async)
|
|
33153
|
+
* @param {ReverseSessionDto} reverseSessionDto
|
|
33154
|
+
* @param {*} [options] Override http request option.
|
|
33155
|
+
* @throws {RequiredError}
|
|
33156
|
+
*/
|
|
33157
|
+
refundNetsSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentSessionViewDto>>;
|
|
32655
33158
|
/**
|
|
32656
33159
|
* Refunds a Viva card payment at the gateway by its sessionId, optionally a partial `amount` (item / cluster refund). Validates the remaining refundable balance and supports multiple partial refunds. Does NOT write a reversal paymentEvent to the order — order-side accounting is handled by the refund plan. For a full reversal that writes the order paymentEvent, use /revert.
|
|
32657
33160
|
* @summary Refund a settled Viva payment session (gateway only)
|
|
@@ -32660,6 +33163,14 @@ export declare const PaymentSessionApiFp: (configuration?: Configuration) => {
|
|
|
32660
33163
|
* @throws {RequiredError}
|
|
32661
33164
|
*/
|
|
32662
33165
|
refundVivaSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentSessionViewDto>>;
|
|
33166
|
+
/**
|
|
33167
|
+
* 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.
|
|
33168
|
+
* @summary Revert (fully reverse) a settled Nets payment session (async)
|
|
33169
|
+
* @param {ReverseSessionDto} reverseSessionDto
|
|
33170
|
+
* @param {*} [options] Override http request option.
|
|
33171
|
+
* @throws {RequiredError}
|
|
33172
|
+
*/
|
|
33173
|
+
revertNetsSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NetsRevertResponseDto>>;
|
|
32663
33174
|
/**
|
|
32664
33175
|
* Fully reverses a completed Viva card payment (SUCCESS / CLOSED) by its sessionId: refunds the full amount at the gateway AND writes a reversal paymentEvent to the order via the settlement engine. Idempotent: re-calling a reverted session is a no-op.
|
|
32665
33176
|
* @summary Revert (fully reverse) a settled Viva payment session
|
|
@@ -32683,13 +33194,13 @@ export declare const PaymentSessionApiFp: (configuration?: Configuration) => {
|
|
|
32683
33194
|
*/
|
|
32684
33195
|
export declare const PaymentSessionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
32685
33196
|
/**
|
|
32686
|
-
* Arms cancelRequestedAt + aborts the Viva terminal session. Does not flip status — the webhook/sweep resolves the real outcome
|
|
32687
|
-
* @summary Cancel an in-flight
|
|
33197
|
+
* Arms cancelRequestedAt + aborts at the gateway (Viva session abort / Nets terminal cancelAction, dispatched on the session\'s provider). Does not flip status — the webhook/sweep resolves the real outcome; a late success parks at VOID_PENDING with a dev alert. Card sessions only.
|
|
33198
|
+
* @summary Cancel an in-flight card payment session (Viva or Nets)
|
|
32688
33199
|
* @param {string} clientToken
|
|
32689
33200
|
* @param {*} [options] Override http request option.
|
|
32690
33201
|
* @throws {RequiredError}
|
|
32691
33202
|
*/
|
|
32692
|
-
|
|
33203
|
+
cancelSession(clientToken: string, options?: any): AxiosPromise<PaymentSessionViewDto>;
|
|
32693
33204
|
/**
|
|
32694
33205
|
* Reads PaymentSession from Postgres. Use this to poll session lifecycle without hitting the Viva API.
|
|
32695
33206
|
* @summary Get payment session status by clientToken
|
|
@@ -32698,6 +33209,15 @@ export declare const PaymentSessionApiFactory: (configuration?: Configuration, b
|
|
|
32698
33209
|
* @throws {RequiredError}
|
|
32699
33210
|
*/
|
|
32700
33211
|
getPaymentSession(clientToken: string, options?: any): AxiosPromise<PaymentSessionViewDto>;
|
|
33212
|
+
/**
|
|
33213
|
+
* Creates a PaymentSession row, pushes the transaction to the station\'s Nets terminal (async — the result arrives via the Nets webhook), returns a client-facing token to poll. Idempotent via X-Idempotency-Key header.
|
|
33214
|
+
* @summary Initiate a Nets terminal payment session
|
|
33215
|
+
* @param {InitiateNetsSessionDto} initiateNetsSessionDto
|
|
33216
|
+
* @param {string} [xIdempotencyKey] Client-generated UUID. If a session already exists for this key, the existing session is returned.
|
|
33217
|
+
* @param {*} [options] Override http request option.
|
|
33218
|
+
* @throws {RequiredError}
|
|
33219
|
+
*/
|
|
33220
|
+
initiateNetsSession(initiateNetsSessionDto: InitiateNetsSessionDto, xIdempotencyKey?: string, options?: any): AxiosPromise<InitiateNetsSessionResponseDto>;
|
|
32701
33221
|
/**
|
|
32702
33222
|
* 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.
|
|
32703
33223
|
* @summary Initiate a Viva app-to-app payment session
|
|
@@ -32731,6 +33251,14 @@ export declare const PaymentSessionApiFactory: (configuration?: Configuration, b
|
|
|
32731
33251
|
* @throws {RequiredError}
|
|
32732
33252
|
*/
|
|
32733
33253
|
recordManualPayment(createManualSessionDto: CreateManualSessionDto, options?: any): AxiosPromise<RecordManualPaymentResultDto>;
|
|
33254
|
+
/**
|
|
33255
|
+
* Starts a terminal-present ReturnOfGoods on the station\'s Nets terminal for the given sessionId, refunding the payload `amount` (defaults to the full session amount). Returns a PENDING refund session (status INITIATED) — the customer must tap their card; poll GET /:clientToken until REFUNDED/FAILED/CANCELLED. Does NOT write a reversal paymentEvent to the order.
|
|
33256
|
+
* @summary Refund a settled Nets payment session (gateway only, async)
|
|
33257
|
+
* @param {ReverseSessionDto} reverseSessionDto
|
|
33258
|
+
* @param {*} [options] Override http request option.
|
|
33259
|
+
* @throws {RequiredError}
|
|
33260
|
+
*/
|
|
33261
|
+
refundNetsSession(reverseSessionDto: ReverseSessionDto, options?: any): AxiosPromise<PaymentSessionViewDto>;
|
|
32734
33262
|
/**
|
|
32735
33263
|
* Refunds a Viva card payment at the gateway by its sessionId, optionally a partial `amount` (item / cluster refund). Validates the remaining refundable balance and supports multiple partial refunds. Does NOT write a reversal paymentEvent to the order — order-side accounting is handled by the refund plan. For a full reversal that writes the order paymentEvent, use /revert.
|
|
32736
33264
|
* @summary Refund a settled Viva payment session (gateway only)
|
|
@@ -32739,6 +33267,14 @@ export declare const PaymentSessionApiFactory: (configuration?: Configuration, b
|
|
|
32739
33267
|
* @throws {RequiredError}
|
|
32740
33268
|
*/
|
|
32741
33269
|
refundVivaSession(reverseSessionDto: ReverseSessionDto, options?: any): AxiosPromise<PaymentSessionViewDto>;
|
|
33270
|
+
/**
|
|
33271
|
+
* 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.
|
|
33272
|
+
* @summary Revert (fully reverse) a settled Nets payment session (async)
|
|
33273
|
+
* @param {ReverseSessionDto} reverseSessionDto
|
|
33274
|
+
* @param {*} [options] Override http request option.
|
|
33275
|
+
* @throws {RequiredError}
|
|
33276
|
+
*/
|
|
33277
|
+
revertNetsSession(reverseSessionDto: ReverseSessionDto, options?: any): AxiosPromise<NetsRevertResponseDto>;
|
|
32742
33278
|
/**
|
|
32743
33279
|
* Fully reverses a completed Viva card payment (SUCCESS / CLOSED) by its sessionId: refunds the full amount at the gateway AND writes a reversal paymentEvent to the order via the settlement engine. Idempotent: re-calling a reverted session is a no-op.
|
|
32744
33280
|
* @summary Revert (fully reverse) a settled Viva payment session
|
|
@@ -32763,14 +33299,14 @@ export declare const PaymentSessionApiFactory: (configuration?: Configuration, b
|
|
|
32763
33299
|
*/
|
|
32764
33300
|
export interface PaymentSessionApiInterface {
|
|
32765
33301
|
/**
|
|
32766
|
-
* Arms cancelRequestedAt + aborts the Viva terminal session. Does not flip status — the webhook/sweep resolves the real outcome
|
|
32767
|
-
* @summary Cancel an in-flight
|
|
33302
|
+
* Arms cancelRequestedAt + aborts at the gateway (Viva session abort / Nets terminal cancelAction, dispatched on the session\'s provider). Does not flip status — the webhook/sweep resolves the real outcome; a late success parks at VOID_PENDING with a dev alert. Card sessions only.
|
|
33303
|
+
* @summary Cancel an in-flight card payment session (Viva or Nets)
|
|
32768
33304
|
* @param {string} clientToken
|
|
32769
33305
|
* @param {*} [options] Override http request option.
|
|
32770
33306
|
* @throws {RequiredError}
|
|
32771
33307
|
* @memberof PaymentSessionApiInterface
|
|
32772
33308
|
*/
|
|
32773
|
-
|
|
33309
|
+
cancelSession(clientToken: string, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionViewDto>;
|
|
32774
33310
|
/**
|
|
32775
33311
|
* Reads PaymentSession from Postgres. Use this to poll session lifecycle without hitting the Viva API.
|
|
32776
33312
|
* @summary Get payment session status by clientToken
|
|
@@ -32780,6 +33316,16 @@ export interface PaymentSessionApiInterface {
|
|
|
32780
33316
|
* @memberof PaymentSessionApiInterface
|
|
32781
33317
|
*/
|
|
32782
33318
|
getPaymentSession(clientToken: string, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionViewDto>;
|
|
33319
|
+
/**
|
|
33320
|
+
* Creates a PaymentSession row, pushes the transaction to the station\'s Nets terminal (async — the result arrives via the Nets webhook), returns a client-facing token to poll. Idempotent via X-Idempotency-Key header.
|
|
33321
|
+
* @summary Initiate a Nets terminal payment session
|
|
33322
|
+
* @param {InitiateNetsSessionDto} initiateNetsSessionDto
|
|
33323
|
+
* @param {string} [xIdempotencyKey] Client-generated UUID. If a session already exists for this key, the existing session is returned.
|
|
33324
|
+
* @param {*} [options] Override http request option.
|
|
33325
|
+
* @throws {RequiredError}
|
|
33326
|
+
* @memberof PaymentSessionApiInterface
|
|
33327
|
+
*/
|
|
33328
|
+
initiateNetsSession(initiateNetsSessionDto: InitiateNetsSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig): AxiosPromise<InitiateNetsSessionResponseDto>;
|
|
32783
33329
|
/**
|
|
32784
33330
|
* 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.
|
|
32785
33331
|
* @summary Initiate a Viva app-to-app payment session
|
|
@@ -32817,6 +33363,15 @@ export interface PaymentSessionApiInterface {
|
|
|
32817
33363
|
* @memberof PaymentSessionApiInterface
|
|
32818
33364
|
*/
|
|
32819
33365
|
recordManualPayment(createManualSessionDto: CreateManualSessionDto, options?: AxiosRequestConfig): AxiosPromise<RecordManualPaymentResultDto>;
|
|
33366
|
+
/**
|
|
33367
|
+
* Starts a terminal-present ReturnOfGoods on the station\'s Nets terminal for the given sessionId, refunding the payload `amount` (defaults to the full session amount). Returns a PENDING refund session (status INITIATED) — the customer must tap their card; poll GET /:clientToken until REFUNDED/FAILED/CANCELLED. Does NOT write a reversal paymentEvent to the order.
|
|
33368
|
+
* @summary Refund a settled Nets payment session (gateway only, async)
|
|
33369
|
+
* @param {ReverseSessionDto} reverseSessionDto
|
|
33370
|
+
* @param {*} [options] Override http request option.
|
|
33371
|
+
* @throws {RequiredError}
|
|
33372
|
+
* @memberof PaymentSessionApiInterface
|
|
33373
|
+
*/
|
|
33374
|
+
refundNetsSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionViewDto>;
|
|
32820
33375
|
/**
|
|
32821
33376
|
* Refunds a Viva card payment at the gateway by its sessionId, optionally a partial `amount` (item / cluster refund). Validates the remaining refundable balance and supports multiple partial refunds. Does NOT write a reversal paymentEvent to the order — order-side accounting is handled by the refund plan. For a full reversal that writes the order paymentEvent, use /revert.
|
|
32822
33377
|
* @summary Refund a settled Viva payment session (gateway only)
|
|
@@ -32826,6 +33381,15 @@ export interface PaymentSessionApiInterface {
|
|
|
32826
33381
|
* @memberof PaymentSessionApiInterface
|
|
32827
33382
|
*/
|
|
32828
33383
|
refundVivaSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionViewDto>;
|
|
33384
|
+
/**
|
|
33385
|
+
* 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.
|
|
33386
|
+
* @summary Revert (fully reverse) a settled Nets payment session (async)
|
|
33387
|
+
* @param {ReverseSessionDto} reverseSessionDto
|
|
33388
|
+
* @param {*} [options] Override http request option.
|
|
33389
|
+
* @throws {RequiredError}
|
|
33390
|
+
* @memberof PaymentSessionApiInterface
|
|
33391
|
+
*/
|
|
33392
|
+
revertNetsSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): AxiosPromise<NetsRevertResponseDto>;
|
|
32829
33393
|
/**
|
|
32830
33394
|
* Fully reverses a completed Viva card payment (SUCCESS / CLOSED) by its sessionId: refunds the full amount at the gateway AND writes a reversal paymentEvent to the order via the settlement engine. Idempotent: re-calling a reverted session is a no-op.
|
|
32831
33395
|
* @summary Revert (fully reverse) a settled Viva payment session
|
|
@@ -32853,14 +33417,14 @@ export interface PaymentSessionApiInterface {
|
|
|
32853
33417
|
*/
|
|
32854
33418
|
export declare class PaymentSessionApi extends BaseAPI implements PaymentSessionApiInterface {
|
|
32855
33419
|
/**
|
|
32856
|
-
* Arms cancelRequestedAt + aborts the Viva terminal session. Does not flip status — the webhook/sweep resolves the real outcome
|
|
32857
|
-
* @summary Cancel an in-flight
|
|
33420
|
+
* Arms cancelRequestedAt + aborts at the gateway (Viva session abort / Nets terminal cancelAction, dispatched on the session\'s provider). Does not flip status — the webhook/sweep resolves the real outcome; a late success parks at VOID_PENDING with a dev alert. Card sessions only.
|
|
33421
|
+
* @summary Cancel an in-flight card payment session (Viva or Nets)
|
|
32858
33422
|
* @param {string} clientToken
|
|
32859
33423
|
* @param {*} [options] Override http request option.
|
|
32860
33424
|
* @throws {RequiredError}
|
|
32861
33425
|
* @memberof PaymentSessionApi
|
|
32862
33426
|
*/
|
|
32863
|
-
|
|
33427
|
+
cancelSession(clientToken: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentSessionViewDto, any, {}>>;
|
|
32864
33428
|
/**
|
|
32865
33429
|
* Reads PaymentSession from Postgres. Use this to poll session lifecycle without hitting the Viva API.
|
|
32866
33430
|
* @summary Get payment session status by clientToken
|
|
@@ -32870,6 +33434,16 @@ export declare class PaymentSessionApi extends BaseAPI implements PaymentSession
|
|
|
32870
33434
|
* @memberof PaymentSessionApi
|
|
32871
33435
|
*/
|
|
32872
33436
|
getPaymentSession(clientToken: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentSessionViewDto, any, {}>>;
|
|
33437
|
+
/**
|
|
33438
|
+
* Creates a PaymentSession row, pushes the transaction to the station\'s Nets terminal (async — the result arrives via the Nets webhook), returns a client-facing token to poll. Idempotent via X-Idempotency-Key header.
|
|
33439
|
+
* @summary Initiate a Nets terminal payment session
|
|
33440
|
+
* @param {InitiateNetsSessionDto} initiateNetsSessionDto
|
|
33441
|
+
* @param {string} [xIdempotencyKey] Client-generated UUID. If a session already exists for this key, the existing session is returned.
|
|
33442
|
+
* @param {*} [options] Override http request option.
|
|
33443
|
+
* @throws {RequiredError}
|
|
33444
|
+
* @memberof PaymentSessionApi
|
|
33445
|
+
*/
|
|
33446
|
+
initiateNetsSession(initiateNetsSessionDto: InitiateNetsSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateNetsSessionResponseDto, any, {}>>;
|
|
32873
33447
|
/**
|
|
32874
33448
|
* 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.
|
|
32875
33449
|
* @summary Initiate a Viva app-to-app payment session
|
|
@@ -32907,6 +33481,15 @@ export declare class PaymentSessionApi extends BaseAPI implements PaymentSession
|
|
|
32907
33481
|
* @memberof PaymentSessionApi
|
|
32908
33482
|
*/
|
|
32909
33483
|
recordManualPayment(createManualSessionDto: CreateManualSessionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RecordManualPaymentResultDto, any, {}>>;
|
|
33484
|
+
/**
|
|
33485
|
+
* Starts a terminal-present ReturnOfGoods on the station\'s Nets terminal for the given sessionId, refunding the payload `amount` (defaults to the full session amount). Returns a PENDING refund session (status INITIATED) — the customer must tap their card; poll GET /:clientToken until REFUNDED/FAILED/CANCELLED. Does NOT write a reversal paymentEvent to the order.
|
|
33486
|
+
* @summary Refund a settled Nets payment session (gateway only, async)
|
|
33487
|
+
* @param {ReverseSessionDto} reverseSessionDto
|
|
33488
|
+
* @param {*} [options] Override http request option.
|
|
33489
|
+
* @throws {RequiredError}
|
|
33490
|
+
* @memberof PaymentSessionApi
|
|
33491
|
+
*/
|
|
33492
|
+
refundNetsSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentSessionViewDto, any, {}>>;
|
|
32910
33493
|
/**
|
|
32911
33494
|
* Refunds a Viva card payment at the gateway by its sessionId, optionally a partial `amount` (item / cluster refund). Validates the remaining refundable balance and supports multiple partial refunds. Does NOT write a reversal paymentEvent to the order — order-side accounting is handled by the refund plan. For a full reversal that writes the order paymentEvent, use /revert.
|
|
32912
33495
|
* @summary Refund a settled Viva payment session (gateway only)
|
|
@@ -32916,6 +33499,15 @@ export declare class PaymentSessionApi extends BaseAPI implements PaymentSession
|
|
|
32916
33499
|
* @memberof PaymentSessionApi
|
|
32917
33500
|
*/
|
|
32918
33501
|
refundVivaSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentSessionViewDto, any, {}>>;
|
|
33502
|
+
/**
|
|
33503
|
+
* 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.
|
|
33504
|
+
* @summary Revert (fully reverse) a settled Nets payment session (async)
|
|
33505
|
+
* @param {ReverseSessionDto} reverseSessionDto
|
|
33506
|
+
* @param {*} [options] Override http request option.
|
|
33507
|
+
* @throws {RequiredError}
|
|
33508
|
+
* @memberof PaymentSessionApi
|
|
33509
|
+
*/
|
|
33510
|
+
revertNetsSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NetsRevertResponseDto, any, {}>>;
|
|
32919
33511
|
/**
|
|
32920
33512
|
* Fully reverses a completed Viva card payment (SUCCESS / CLOSED) by its sessionId: refunds the full amount at the gateway AND writes a reversal paymentEvent to the order via the settlement engine. Idempotent: re-calling a reverted session is a no-op.
|
|
32921
33513
|
* @summary Revert (fully reverse) a settled Viva payment session
|
|
@@ -35673,6 +36265,13 @@ export declare const WebhookApiAxiosParamCreator: (configuration?: Configuration
|
|
|
35673
36265
|
* @throws {RequiredError}
|
|
35674
36266
|
*/
|
|
35675
36267
|
handleNetsEventsV2: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
36268
|
+
/**
|
|
36269
|
+
* Per-transaction callback registered at initiate (ConnectCloud-Webhook-Address). Finalizes the PaymentSession to SUCCESS/FAILED/CANCELLED and triggers order reconciliation. Legacy /nets and /v2/nets stay untouched.
|
|
36270
|
+
* @summary Handle Nets webhook events for the payment-session flow
|
|
36271
|
+
* @param {*} [options] Override http request option.
|
|
36272
|
+
* @throws {RequiredError}
|
|
36273
|
+
*/
|
|
36274
|
+
handleNetsSessionEvents: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35676
36275
|
/**
|
|
35677
36276
|
*
|
|
35678
36277
|
* @summary Handle preorder reminder (triggered by scheduler)
|
|
@@ -35702,7 +36301,7 @@ export declare const WebhookApiAxiosParamCreator: (configuration?: Configuration
|
|
|
35702
36301
|
*/
|
|
35703
36302
|
handleVivaEvents: (vivaWebhookPayloadDto: VivaWebhookPayloadDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35704
36303
|
/**
|
|
35705
|
-
*
|
|
36304
|
+
* Shared dispatcher: session-backed Viva events -> PaymentSession update + reconciliation, others -> legacy flow. Both /viva/verification and /viva/payments resolve to the same dispatcher so Viva may deliver to either URL.
|
|
35706
36305
|
* @summary Handle Viva webhook events for the payment-session flow
|
|
35707
36306
|
* @param {VivaWebhookPayloadDto} vivaWebhookPayloadDto
|
|
35708
36307
|
* @param {*} [options] Override http request option.
|
|
@@ -35734,6 +36333,14 @@ export declare const WebhookApiAxiosParamCreator: (configuration?: Configuration
|
|
|
35734
36333
|
* @throws {RequiredError}
|
|
35735
36334
|
*/
|
|
35736
36335
|
handleWorldlineEvents: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
36336
|
+
/**
|
|
36337
|
+
*
|
|
36338
|
+
* @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
|
|
36339
|
+
* @param {ProcessPosOrderActionsQueueDto} processPosOrderActionsQueueDto
|
|
36340
|
+
* @param {*} [options] Override http request option.
|
|
36341
|
+
* @throws {RequiredError}
|
|
36342
|
+
*/
|
|
36343
|
+
processPosOrderActionsQueue: (processPosOrderActionsQueueDto: ProcessPosOrderActionsQueueDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35737
36344
|
/**
|
|
35738
36345
|
*
|
|
35739
36346
|
* @param {*} [options] Override http request option.
|
|
@@ -35797,6 +36404,13 @@ export declare const WebhookApiFp: (configuration?: Configuration) => {
|
|
|
35797
36404
|
* @throws {RequiredError}
|
|
35798
36405
|
*/
|
|
35799
36406
|
handleNetsEventsV2(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
36407
|
+
/**
|
|
36408
|
+
* Per-transaction callback registered at initiate (ConnectCloud-Webhook-Address). Finalizes the PaymentSession to SUCCESS/FAILED/CANCELLED and triggers order reconciliation. Legacy /nets and /v2/nets stay untouched.
|
|
36409
|
+
* @summary Handle Nets webhook events for the payment-session flow
|
|
36410
|
+
* @param {*} [options] Override http request option.
|
|
36411
|
+
* @throws {RequiredError}
|
|
36412
|
+
*/
|
|
36413
|
+
handleNetsSessionEvents(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
35800
36414
|
/**
|
|
35801
36415
|
*
|
|
35802
36416
|
* @summary Handle preorder reminder (triggered by scheduler)
|
|
@@ -35826,7 +36440,7 @@ export declare const WebhookApiFp: (configuration?: Configuration) => {
|
|
|
35826
36440
|
*/
|
|
35827
36441
|
handleVivaEvents(vivaWebhookPayloadDto: VivaWebhookPayloadDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
35828
36442
|
/**
|
|
35829
|
-
*
|
|
36443
|
+
* Shared dispatcher: session-backed Viva events -> PaymentSession update + reconciliation, others -> legacy flow. Both /viva/verification and /viva/payments resolve to the same dispatcher so Viva may deliver to either URL.
|
|
35830
36444
|
* @summary Handle Viva webhook events for the payment-session flow
|
|
35831
36445
|
* @param {VivaWebhookPayloadDto} vivaWebhookPayloadDto
|
|
35832
36446
|
* @param {*} [options] Override http request option.
|
|
@@ -35858,6 +36472,14 @@ export declare const WebhookApiFp: (configuration?: Configuration) => {
|
|
|
35858
36472
|
* @throws {RequiredError}
|
|
35859
36473
|
*/
|
|
35860
36474
|
handleWorldlineEvents(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
36475
|
+
/**
|
|
36476
|
+
*
|
|
36477
|
+
* @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
|
|
36478
|
+
* @param {ProcessPosOrderActionsQueueDto} processPosOrderActionsQueueDto
|
|
36479
|
+
* @param {*} [options] Override http request option.
|
|
36480
|
+
* @throws {RequiredError}
|
|
36481
|
+
*/
|
|
36482
|
+
processPosOrderActionsQueue(processPosOrderActionsQueueDto: ProcessPosOrderActionsQueueDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
35861
36483
|
/**
|
|
35862
36484
|
*
|
|
35863
36485
|
* @param {*} [options] Override http request option.
|
|
@@ -35921,6 +36543,13 @@ export declare const WebhookApiFactory: (configuration?: Configuration, basePath
|
|
|
35921
36543
|
* @throws {RequiredError}
|
|
35922
36544
|
*/
|
|
35923
36545
|
handleNetsEventsV2(options?: any): AxiosPromise<void>;
|
|
36546
|
+
/**
|
|
36547
|
+
* Per-transaction callback registered at initiate (ConnectCloud-Webhook-Address). Finalizes the PaymentSession to SUCCESS/FAILED/CANCELLED and triggers order reconciliation. Legacy /nets and /v2/nets stay untouched.
|
|
36548
|
+
* @summary Handle Nets webhook events for the payment-session flow
|
|
36549
|
+
* @param {*} [options] Override http request option.
|
|
36550
|
+
* @throws {RequiredError}
|
|
36551
|
+
*/
|
|
36552
|
+
handleNetsSessionEvents(options?: any): AxiosPromise<void>;
|
|
35924
36553
|
/**
|
|
35925
36554
|
*
|
|
35926
36555
|
* @summary Handle preorder reminder (triggered by scheduler)
|
|
@@ -35950,7 +36579,7 @@ export declare const WebhookApiFactory: (configuration?: Configuration, basePath
|
|
|
35950
36579
|
*/
|
|
35951
36580
|
handleVivaEvents(vivaWebhookPayloadDto: VivaWebhookPayloadDto, options?: any): AxiosPromise<void>;
|
|
35952
36581
|
/**
|
|
35953
|
-
*
|
|
36582
|
+
* Shared dispatcher: session-backed Viva events -> PaymentSession update + reconciliation, others -> legacy flow. Both /viva/verification and /viva/payments resolve to the same dispatcher so Viva may deliver to either URL.
|
|
35954
36583
|
* @summary Handle Viva webhook events for the payment-session flow
|
|
35955
36584
|
* @param {VivaWebhookPayloadDto} vivaWebhookPayloadDto
|
|
35956
36585
|
* @param {*} [options] Override http request option.
|
|
@@ -35982,6 +36611,14 @@ export declare const WebhookApiFactory: (configuration?: Configuration, basePath
|
|
|
35982
36611
|
* @throws {RequiredError}
|
|
35983
36612
|
*/
|
|
35984
36613
|
handleWorldlineEvents(options?: any): AxiosPromise<void>;
|
|
36614
|
+
/**
|
|
36615
|
+
*
|
|
36616
|
+
* @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
|
|
36617
|
+
* @param {ProcessPosOrderActionsQueueDto} processPosOrderActionsQueueDto
|
|
36618
|
+
* @param {*} [options] Override http request option.
|
|
36619
|
+
* @throws {RequiredError}
|
|
36620
|
+
*/
|
|
36621
|
+
processPosOrderActionsQueue(processPosOrderActionsQueueDto: ProcessPosOrderActionsQueueDto, options?: any): AxiosPromise<void>;
|
|
35985
36622
|
/**
|
|
35986
36623
|
*
|
|
35987
36624
|
* @param {*} [options] Override http request option.
|
|
@@ -36052,6 +36689,14 @@ export interface WebhookApiInterface {
|
|
|
36052
36689
|
* @memberof WebhookApiInterface
|
|
36053
36690
|
*/
|
|
36054
36691
|
handleNetsEventsV2(options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
36692
|
+
/**
|
|
36693
|
+
* Per-transaction callback registered at initiate (ConnectCloud-Webhook-Address). Finalizes the PaymentSession to SUCCESS/FAILED/CANCELLED and triggers order reconciliation. Legacy /nets and /v2/nets stay untouched.
|
|
36694
|
+
* @summary Handle Nets webhook events for the payment-session flow
|
|
36695
|
+
* @param {*} [options] Override http request option.
|
|
36696
|
+
* @throws {RequiredError}
|
|
36697
|
+
* @memberof WebhookApiInterface
|
|
36698
|
+
*/
|
|
36699
|
+
handleNetsSessionEvents(options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
36055
36700
|
/**
|
|
36056
36701
|
*
|
|
36057
36702
|
* @summary Handle preorder reminder (triggered by scheduler)
|
|
@@ -36085,7 +36730,7 @@ export interface WebhookApiInterface {
|
|
|
36085
36730
|
*/
|
|
36086
36731
|
handleVivaEvents(vivaWebhookPayloadDto: VivaWebhookPayloadDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
36087
36732
|
/**
|
|
36088
|
-
*
|
|
36733
|
+
* Shared dispatcher: session-backed Viva events -> PaymentSession update + reconciliation, others -> legacy flow. Both /viva/verification and /viva/payments resolve to the same dispatcher so Viva may deliver to either URL.
|
|
36089
36734
|
* @summary Handle Viva webhook events for the payment-session flow
|
|
36090
36735
|
* @param {VivaWebhookPayloadDto} vivaWebhookPayloadDto
|
|
36091
36736
|
* @param {*} [options] Override http request option.
|
|
@@ -36122,6 +36767,15 @@ export interface WebhookApiInterface {
|
|
|
36122
36767
|
* @memberof WebhookApiInterface
|
|
36123
36768
|
*/
|
|
36124
36769
|
handleWorldlineEvents(options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
36770
|
+
/**
|
|
36771
|
+
*
|
|
36772
|
+
* @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
|
|
36773
|
+
* @param {ProcessPosOrderActionsQueueDto} processPosOrderActionsQueueDto
|
|
36774
|
+
* @param {*} [options] Override http request option.
|
|
36775
|
+
* @throws {RequiredError}
|
|
36776
|
+
* @memberof WebhookApiInterface
|
|
36777
|
+
*/
|
|
36778
|
+
processPosOrderActionsQueue(processPosOrderActionsQueueDto: ProcessPosOrderActionsQueueDto, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
36125
36779
|
/**
|
|
36126
36780
|
*
|
|
36127
36781
|
* @param {*} [options] Override http request option.
|
|
@@ -36196,6 +36850,14 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
36196
36850
|
* @memberof WebhookApi
|
|
36197
36851
|
*/
|
|
36198
36852
|
handleNetsEventsV2(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
36853
|
+
/**
|
|
36854
|
+
* Per-transaction callback registered at initiate (ConnectCloud-Webhook-Address). Finalizes the PaymentSession to SUCCESS/FAILED/CANCELLED and triggers order reconciliation. Legacy /nets and /v2/nets stay untouched.
|
|
36855
|
+
* @summary Handle Nets webhook events for the payment-session flow
|
|
36856
|
+
* @param {*} [options] Override http request option.
|
|
36857
|
+
* @throws {RequiredError}
|
|
36858
|
+
* @memberof WebhookApi
|
|
36859
|
+
*/
|
|
36860
|
+
handleNetsSessionEvents(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
36199
36861
|
/**
|
|
36200
36862
|
*
|
|
36201
36863
|
* @summary Handle preorder reminder (triggered by scheduler)
|
|
@@ -36229,7 +36891,7 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
36229
36891
|
*/
|
|
36230
36892
|
handleVivaEvents(vivaWebhookPayloadDto: VivaWebhookPayloadDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
36231
36893
|
/**
|
|
36232
|
-
*
|
|
36894
|
+
* Shared dispatcher: session-backed Viva events -> PaymentSession update + reconciliation, others -> legacy flow. Both /viva/verification and /viva/payments resolve to the same dispatcher so Viva may deliver to either URL.
|
|
36233
36895
|
* @summary Handle Viva webhook events for the payment-session flow
|
|
36234
36896
|
* @param {VivaWebhookPayloadDto} vivaWebhookPayloadDto
|
|
36235
36897
|
* @param {*} [options] Override http request option.
|
|
@@ -36266,6 +36928,15 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
36266
36928
|
* @memberof WebhookApi
|
|
36267
36929
|
*/
|
|
36268
36930
|
handleWorldlineEvents(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
36931
|
+
/**
|
|
36932
|
+
*
|
|
36933
|
+
* @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
|
|
36934
|
+
* @param {ProcessPosOrderActionsQueueDto} processPosOrderActionsQueueDto
|
|
36935
|
+
* @param {*} [options] Override http request option.
|
|
36936
|
+
* @throws {RequiredError}
|
|
36937
|
+
* @memberof WebhookApi
|
|
36938
|
+
*/
|
|
36939
|
+
processPosOrderActionsQueue(processPosOrderActionsQueueDto: ProcessPosOrderActionsQueueDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
36269
36940
|
/**
|
|
36270
36941
|
*
|
|
36271
36942
|
* @param {*} [options] Override http request option.
|